Unbreak the port by getting rid of -ldl which we don't have.

I submitted this fix to the author several days ago but got no
answer yet.

Approved by:	knu (mentor)
This commit is contained in:
Norikatsu Shigemura 2002-04-10 18:51:25 +00:00
parent 8210b67ce4
commit ddce43c67d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57540

View File

@ -1,6 +1,19 @@
--- configure.in.orig Tue Sep 21 23:16:21 1999
+++ configure.in Mon Nov 1 05:26:32 1999
@@ -66,6 +66,10 @@
--- configure.in.orig Tue Feb 29 18:40:50 2000
+++ configure.in Thu Apr 11 03:33:45 2002
@@ -50,9 +50,10 @@
AM_CONDITIONAL(INSTALLPAM, test x$enable_pam = xyes)
if test "$enable_pam" = yes; then
- AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam -ldl"
+ AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam"
AC_DEFINE_UNQUOTED(HAVE_PAM_LIB)],
- [],-ldl)
+ [AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam -ldl"
+ AC_DEFINE_UNQUOTED(HAVE_PAM_LIB)],[],-ldl)])
fi
AC_ARG_WITH(pamdir,
@@ -66,6 +67,10 @@
AC_MSG_CHECKING(for pam directory $PAM_DIR_PATH)
if test -d "$PAM_DIR_PATH"; then
AC_MSG_RESULT(exists)
@ -11,7 +24,7 @@
else
AC_MSG_RESULT(does not exist)
AC_MSG_WARN([this may not be a pam system <<--------------])
@@ -183,7 +183,7 @@
@@ -183,7 +188,7 @@
XLFLAGS="$X_LIBS"
@ -20,7 +33,7 @@
XDM_EXTRA_LIBS="-lXmu -lXau -lXdmcp"
@@ -504,7 +504,7 @@
@@ -504,7 +509,7 @@
AC_DEFINE_UNQUOTED(WDMDIR,"$DMDIR")
AC_DEFINE_UNQUOTED(DEF_XDM_CONFIG,"$DMDIR/wdm-config")
AC_DEFINE_UNQUOTED(DEF_CHOOSER,"$DMDIR/chooser")