]> arthur.barton.de Git - netatalk.git/commitdiff
check for dl* functions before AC_LTDL_DLSYM_USCORE
authorbfernhomberg <bfernhomberg>
Tue, 18 May 2004 23:42:30 +0000 (23:42 +0000)
committerbfernhomberg <bfernhomberg>
Tue, 18 May 2004 23:42:30 +0000 (23:42 +0000)
configure.in

index e771f37e3aaacaf84845f9be53b1711acc79df96..88eec162d25c331e1294a3dc2d3dcf7f225d20e7 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.179.2.3.2.27 2004-05-17 02:21:48 bfernhomberg Exp $
+dnl $Id: configure.in,v 1.179.2.3.2.28 2004-05-18 23:42:30 bfernhomberg Exp $
 dnl configure.in for netatalk
 
 AC_INIT(etc/afpd/main.c)
@@ -114,6 +114,7 @@ dnl --------------------------------------------------------------------------
 dnl check if dlsym needs to add an underscore, uses libtool macros 
 dnl --------------------------------------------------------------------------
 AC_LTDL_DLLIB
+AC_CHECK_FUNCS(dlopen dlsym dlclose)
 AC_LTDL_DLSYM_USCORE
 if test x"$libltdl_cv_need_uscore" = xyes; then
     AC_DEFINE(DLSYM_PREPEND_UNDERSCORE, 1, [BSD compatibility macro])
@@ -133,7 +134,7 @@ AC_CHECK_FUNCS(getcwd gethostname gettimeofday getusershell mkdir rmdir select s
 AC_FUNC_SETPGRP
 AC_CHECK_FUNCS(backtrace_symbols)
 AC_CHECK_FUNCS(setlocale nl_langinfo)
-AC_CHECK_FUNCS(dlopen dlclose dlsym dlerror waitpid getcwd strdup strndup strnlen strtoul strerror chown fchown chmod fchmod chroot link mknod mknod64)
+AC_CHECK_FUNCS(waitpid getcwd strdup strndup strnlen strtoul strerror chown fchown chmod fchmod chroot link mknod mknod64)
 AC_CHECK_FUNCS(strlcpy strlcat)
 AC_CHECK_MEMBERS(struct tm.tm_gmtoff,,, [#include <time.h>])
 AC_CACHE_SAVE