From a7181f94c8d5e7f42938b7fa6133589608760f2c Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Mon, 19 Mar 2001 01:56:36 +0000 Subject: Relevant BUGIDs: 407282 Purpose of commit: cleanup Commit summary: --------------- FreeBSD supporting change to the autoconf stuff. --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 8da57a28..fb3752db 100644 --- a/configure.in +++ b/configure.in @@ -35,7 +35,6 @@ AC_SUBST(OS) dnl These are most likely platform specific - I think HPUX differs DYNTYPE=so ; AC_SUBST(DYNTYPE) -LIBDL=-ldl ; AC_SUBST(LIBDL) USESONAME=yes ; AC_SUBST(USESONAME) NEEDSONAME=yes ; AC_SUBST(NEEDSONAME) SHLIBMODE=755 ; AC_SUBST(SHLIBMODE) @@ -161,6 +160,10 @@ dnl Checks for the existence of lckpwdf in libc AC_CHECK_LIB(c, lckpwdf, HAVE_LCKPWDF=yes, HAVE_LCKPWDF=no) AC_SUBST(HAVE_LCKPWDF) +dnl Checks for the existence of libdl - on BSD its part of libc +AC_CHECK_LIB(dl, dlopen, LIBDL=-ldl) +AC_SUBST(LIBDL) + dnl dnl At least on Solaris, the existing libcrack must be dynamic. dnl Ought to introduce a check for this. -- cgit v1.2.3