summaryrefslogtreecommitdiffstats
path: root/fortran/configure
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-10-11 15:04:05 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-10-11 15:04:05 (GMT)
commit076301d28dee008bd0359525f722aa1ca09b5e1e (patch)
treecb781490ae70f57a4001a3f5e8a992a04487217a /fortran/configure
parent820b18e5982fc81789a458677a020464dc649454 (diff)
downloadhdf5-076301d28dee008bd0359525f722aa1ca09b5e1e.zip
hdf5-076301d28dee008bd0359525f722aa1ca09b5e1e.tar.gz
hdf5-076301d28dee008bd0359525f722aa1ca09b5e1e.tar.bz2
[svn-r2660] Purpose:
Bug Fix Description: The "fix" for search paths was wrong. It would try to recompute the SEARCH macro at the end. Solution: Stopped it from doing that if the $SEARCH macro has a value. One question, will fortran always be built from the top directory? Platforms tested: Modi4
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=":"