mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-24 17:51:25 +08:00
[svn-r2905] Purpose:
Bug Description: Applied the DYNAMIC_DIRS patch to this configure file. It was applied to the hdf5 stuff but didn't make it down here.
This commit is contained in:
parent
e558d37f0f
commit
e7612be488
12
fortran/configure
vendored
12
fortran/configure
vendored
@ -2646,13 +2646,17 @@ rm -f conftest core core.* *.core conftest.o conftest.c dummy.o $ac_clean_files
|
||||
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
|
||||
|
||||
|
@ -537,15 +537,19 @@ dnl
|
||||
DYNAMIC_DIRS=""
|
||||
if test -n "$LDFLAGS"; then
|
||||
for d in $LDFLAGS ; do
|
||||
d=`echo $d | sed -e 's/-L//g'`
|
||||
case "$d" in
|
||||
.*)
|
||||
dnl If the path isn't absolute, make it so by prepending the
|
||||
dnl ROOT directory to it.
|
||||
d=${ROOT}/$d
|
||||
-L*)
|
||||
d=`echo $d | sed -e 's/-L//g'`
|
||||
case "$d" in
|
||||
.*)
|
||||
dnl If the path isn't absolute, make it so by prepending the
|
||||
dnl ROOT directory to it.
|
||||
d=${ROOT}/$d
|
||||
;;
|
||||
esac
|
||||
DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
|
||||
;;
|
||||
esac
|
||||
DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
|
||||
done
|
||||
fi
|
||||
AC_SUBST(DYNAMIC_DIRS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user