diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-03-28 14:54:17 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-03-28 14:54:17 (GMT) |
commit | 1e4cd1f99d8edfdf405b271cdf6880290e2eda1b (patch) | |
tree | eaf4328dcfb9251dbd206c9a163589f701496bca /fortran | |
parent | cab06634e0636df28214849026b81d5ff687635a (diff) | |
download | hdf5-1e4cd1f99d8edfdf405b271cdf6880290e2eda1b.zip hdf5-1e4cd1f99d8edfdf405b271cdf6880290e2eda1b.tar.gz hdf5-1e4cd1f99d8edfdf405b271cdf6880290e2eda1b.tar.bz2 |
[svn-r5105]
Purpose:
Bug Fix
Description:
When restoring the LDFLAGS variable after an error, forgot to put a $
on the saved_LDFLAGS variable. This resulted in an assignment of
the string "saved_LDFLAGS" to LDFLAGS...
Solution:
Added the $ to saved_LDFLAGS
Platforms tested:
Modi4
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/acsite.m4 | 2 | ||||
-rwxr-xr-x | fortran/configure | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fortran/acsite.m4 b/fortran/acsite.m4 index 9824c0a..5f34c7d 100644 --- a/fortran/acsite.m4 +++ b/fortran/acsite.m4 @@ -324,7 +324,7 @@ if AC_TRY_EVAL(ac_compile) && AC_TRY_EVAL(ac_link); then : [$3] else - LDFLAGS="saved_LDFLAGS" + LDFLAGS="$saved_LDFLAGS" [$4] fi cd .. diff --git a/fortran/configure b/fortran/configure index beda575..7bea3d0 100755 --- a/fortran/configure +++ b/fortran/configure @@ -2412,7 +2412,7 @@ if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2 : else - LDFLAGS="saved_LDFLAGS" + LDFLAGS="$saved_LDFLAGS" PARALLEL=no fi cd .. @@ -2479,7 +2479,7 @@ if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2 : else - LDFLAGS="saved_LDFLAGS" + LDFLAGS="$saved_LDFLAGS" PARALLEL=no fi cd .. @@ -2535,7 +2535,7 @@ if { (eval echo configure:__oline__: \"$ac_compile\") 1>&5; (eval $ac_compile) 2 : else - LDFLAGS="saved_LDFLAGS" + LDFLAGS="$saved_LDFLAGS" { echo "configure: error: no mpich library" 1>&2; exit 1; } fi cd .. |