summaryrefslogtreecommitdiffstats
path: root/fortran/configure
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/configure')
-rwxr-xr-xfortran/configure8
1 files changed, 5 insertions, 3 deletions
diff --git a/fortran/configure b/fortran/configure
index b4535c6..242af3a 100755
--- a/fortran/configure
+++ b/fortran/configure
@@ -2652,9 +2652,11 @@ fi
COMMENCE=config/commence
CONCLUDE=config/conclude
- SEARCH='$(srcdir) $(top_builddir)/src $(top_srcdir)/src'
-cmd='echo $SEARCH |sed "s/ /'$SEARCH_SEP'/g"'
-SEARCH="$SEARCH_RULE`eval $cmd`"
+if test -z "$SEARCH"; then
+ SEARCH='$(srcdir) $(top_builddir)/src $(top_srcdir)/src'
+ cmd='echo $SEARCH |sed "s/ /'$SEARCH_SEP'/g"'
+ SEARCH="$SEARCH_RULE`eval $cmd`"
+fi
if test "X$GMAKE" = "Xyes"; then
SETX=":"