freebsd-ports/misc/gnomeutils2/files/patch-configure
2001-07-03 18:16:25 +00:00

36 lines
791 B
Text

$FreeBSD$
--- configure 2001/07/03 16:13:39 1.1
+++ configure 2001/07/03 16:14:05
@@ -6438,7 +6438,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpam -ldl $LIBS"
+LIBS="-lpam $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6444 "configure"
#include "confdefs.h"
@@ -6478,7 +6478,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpam_misc -ldl -lpam $LIBS"
+LIBS="-lpam_misc -lpam $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6484 "configure"
#include "confdefs.h"
@@ -6506,10 +6506,10 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- PAM_LIBS="-ldl -lpam -lpam_misc"
+ PAM_LIBS="-lpam -lpam_misc"
else
echo "$ac_t""no" 1>&6
-PAM_LIBS="-ldl -lpam"
+PAM_LIBS="-lpam"
fi