From 3f42e813b61a2492f5b58d514aacf459f0799cdf Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 6 Oct 2004 13:42:36 +0000 Subject: Relevant BUGIDs: Purpose of commit: Commit summary: --------------- bugfix: Last part of fixes from Red Hat --- configure | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 27756779..32aad3be 100755 --- a/configure +++ b/configure @@ -846,6 +846,7 @@ Optional Features: --enable-libdebug specify you are building debugging libraries --enable-fakeroot= --enable-securedir= default \$libdir/security + --enable-isadir= default ../../\`basename \$libdir\`/security --enable-sconfigdir= default \$sysconfdir/security --enable-suplementedir= default \$sbindir --enable-includedir= - where to put @@ -2795,6 +2796,22 @@ else fi; +# Check whether --enable-isadir or --disable-isadir was given. +if test "${enable_isadir+set}" = set; then + enableval="$enable_isadir" + ISA=$enableval +else + ISA=../../`basename $libdir`/security +fi; +unset mylibdirbase + +cat >>confdefs.h <<_ACEOF +#define _PAM_ISA "$ISA" +_ACEOF + +echo "$as_me:$LINENO: result: Defining \$ISA to \\"$ISA\\"." >&5 +echo "${ECHO_T}Defining \$ISA to \\"$ISA\\"." >&6 + # Check whether --enable-sconfigdir or --disable-sconfigdir was given. if test "${enable_sconfigdir+set}" = set; then enableval="$enable_sconfigdir" @@ -4410,13 +4427,17 @@ else fi + +if test $HAVE_LIBNSL = yes ; then + pwdblibs="$pwdblibs -lnsl" +fi echo "$as_me:$LINENO: checking for pwdb_db_name in -lpwdb" >&5 echo $ECHO_N "checking for pwdb_db_name in -lpwdb... $ECHO_C" >&6 if test "${ac_cv_lib_pwdb_pwdb_db_name+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lpwdb $LIBS" +LIBS="-lpwdb $pwdblibs $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -4484,6 +4505,8 @@ else fi +unset pwdblibs + echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 if test "${ac_cv_lib_fl_yywrap+set}" = set; then -- cgit v1.2.3