[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:
Bill Wendling 2000-11-14 18:17:32 -05:00
parent e558d37f0f
commit e7612be488
2 changed files with 18 additions and 10 deletions

4
fortran/configure vendored
View File

@ -2646,6 +2646,8 @@ 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
case "$d" in
-L*)
d=`echo $d | sed -e 's/-L//g'`
case "$d" in
.*)
@ -2653,6 +2655,8 @@ if test -n "$LDFLAGS"; then
;;
esac
DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
;;
esac
done
fi

View File

@ -537,6 +537,8 @@ dnl
DYNAMIC_DIRS=""
if test -n "$LDFLAGS"; then
for d in $LDFLAGS ; do
case "$d" in
-L*)
d=`echo $d | sed -e 's/-L//g'`
case "$d" in
.*)
@ -546,6 +548,8 @@ if test -n "$LDFLAGS"; then
;;
esac
DYNAMIC_DIRS="-R${d} $DYNAMIC_DIRS"
;;
esac
done
fi
AC_SUBST(DYNAMIC_DIRS)