summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-11-03 20:29:11 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-11-03 20:29:11 (GMT)
commitfee0dc2bb63617ec1ea6c8f09b3ff01e798a2e85 (patch)
tree936555cfbf88e5f348d406a054e4881173223643 /configure
parentada3710bc71fc8781a69cb0d87718dc608a9e553 (diff)
downloadhdf5-fee0dc2bb63617ec1ea6c8f09b3ff01e798a2e85.zip
hdf5-fee0dc2bb63617ec1ea6c8f09b3ff01e798a2e85.tar.gz
hdf5-fee0dc2bb63617ec1ea6c8f09b3ff01e798a2e85.tar.bz2
[svn-r2798] Purpose:
Bug Fix...AGAIN! Description: The logic to create the DYNAMIC_DIRS macro was accepting such things as -lnoop_stubs which would cause libtools to barf. Solution: I'm pretty sure I fixed this once before. The change was lost. I now test to make sure that the flag I'm adding has a "-L" prefix on it...
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure b/configure
index 0a2567d..6ba0616 100755
--- a/configure
+++ b/configure
@@ -9375,13 +9375,17 @@ fi
DYNAMIC_DIRS=""
if test -n "$LDFLAGS"; then
for d in $LDFLAGS ; do
- d=`echo $d | sed -e 's/-L//g'`
case "$d" in
- .*)
- d=${ROOT}/$d
+ -L.*)
+ d=`echo $d | sed -e 's/-L//g'`
+ case "$d" in
+ .*)
+ d=${ROOT}/$d
+ ;;
+ esac
+ DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
;;
esac
- DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
done
fi