filter contents of LDFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11428 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
10
cf/db.m4
10
cf/db.m4
@@ -190,7 +190,15 @@ AM_CONDITIONAL(HAVE_DB1, test "$db_type" = db1)dnl
|
||||
AM_CONDITIONAL(HAVE_DB3, test "$db_type" = db3)dnl
|
||||
AM_CONDITIONAL(HAVE_NDBM, test "$db_type" = ndbm)dnl
|
||||
|
||||
DBLIB="$LDFLAGS $DBLIB"
|
||||
## it's probably not correct to include LDFLAGS here, but we might
|
||||
## need it, for now just add any possible -L
|
||||
z=""
|
||||
for i in $LDFLAGS; do
|
||||
case "$i" in
|
||||
-L*) z="$z $i";;
|
||||
esac
|
||||
done
|
||||
DBLIB="$z $DBLIB"
|
||||
AC_SUBST(DBLIB)dnl
|
||||
AC_SUBST(LIB_NDBM)dnl
|
||||
])
|
||||
|
Reference in New Issue
Block a user