diff options
-rw-r--r-- | fortran/config/conclude.in | 8 | ||||
-rw-r--r-- | fortran/config/linux-gnulibc1 | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in index 39eb43e..dea5732 100644 --- a/fortran/config/conclude.in +++ b/fortran/config/conclude.in @@ -138,13 +138,13 @@ uninstall-doc: ## mostlyclean: @if test -n "$(LIB_OBJ)"; then \ - -$(RM) $(LIB_OBJ) $(LIB_OBJ:.lo=.o); \ + $(RM) $(LIB_OBJ) $(LIB_OBJ:.lo=.o); \ fi @if test -n "$(TEST_OBJ)"; then \ - -$(RM) $(TEST_OBJ) $(TEST_OBJ:.lo=.o); \ + $(RM) $(TEST_OBJ) $(TEST_OBJ:.lo=.o); \ fi @if test -n "$(PROG_OBJ)" || test -n "$(MOSTLYCLEAN)"; then \ - -$(RM) $(PROG_OBJ) $(PROG_OBJ:.lo=.o) $(MOSTLYCLEAN); \ + $(RM) $(PROG_OBJ) $(PROG_OBJ:.lo=.o) $(MOSTLYCLEAN); \ fi ## Like `mostlyclean' except it also removes the final targets: things like @@ -153,7 +153,7 @@ mostlyclean: ## clean: mostlyclean @if test -n "$(LIB)" -o -n "$(TEST_PROGS)" -o -n "$(PROGS)" -o -n "$(CLEAN)"; then \ - -$(RM) $(LIB) $(TEST_PROGS) $(PROGS) $(CLEAN); \ + $(RM) $(LIB) $(TEST_PROGS) $(PROGS) $(CLEAN); \ fi -$(RM) *.M *.a *.mod -$(RM) -r .libs diff --git a/fortran/config/linux-gnulibc1 b/fortran/config/linux-gnulibc1 index 6765b0b..b24bb85 100644 --- a/fortran/config/linux-gnulibc1 +++ b/fortran/config/linux-gnulibc1 @@ -7,7 +7,7 @@ # See BlankForm in this directory for details. # The default compiler is `gcc'. -if test "X-" = "X-$CC"; then +if test -z "$CC"; then CC=gcc CC_BASENAME=gcc fi @@ -36,11 +36,11 @@ HID_T='SELECTED_INT_KIND(R_INTEGER)' SIZE_T='SELECTED_INT_KIND(R_INTEGER)' OBJECT_NAMELEN_DEFAULT_F=-1 -if test "X-" = "X-$F9X"; then +if test -z "$F9X"; then F9X=pgf90 fi -if test "X-" = "X-$f9x_flags_set"; then +if test -z "$f9x_flags_set"; then FFLAGS= DEBUG_FFLAGS= PROD_FFLAGS= |