1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 19:14:46 +02:00

Fixed some ./configure errors

This commit is contained in:
stskeeps
2002-07-23 17:55:02 +00:00
parent 8aabac59e9
commit 775f3fe272
3 changed files with 13 additions and 3 deletions
+1
View File
@@ -1403,3 +1403,4 @@ seen. gmtime warning still there
- Made ./configure remove uscore.c and uscore binary after test
- Removed mutex.c
- Credits changes, various tweaks mzp ftq Gzdqmx qhqdk dqxqmeq oapq otmxxqzsq. Tmbbk tgzfuzs.
- Fixed some ./configure errors
+6 -1
View File
@@ -72,7 +72,12 @@ fi
dnl module checking based on Hyb7's module checking code
AC_DEFUN(AC_ENABLE_DYN,
[
AC_CHECK_FUNC(dlopen,, AC_CHECK_LIB(dl, dlopen,IRCDLIBS="$IRCDLIBS-ldl",AC_MSG_WARN(Dynamic linking is not enabled because dlopen was not found) AC_DEFINE(STATIC_LINKING)))
AC_CHECK_FUNC(dlopen,, AC_CHECK_LIB(dl, dlopen,IRCDLIBS="$IRCDLIBS-ldl",
[
AC_MSG_WARN(Dynamic linking is not enabled because dlopen was not found)
AC_DEFINE(STATIC_LINKING)
]))
hold_cflags=$CFLAGS
CFLAGS="$CFLAGS -export-dynamic"
AC_CACHE_CHECK(if we need the -export-dynamic flag, ac_cv_export_dynamic, [
Vendored
+6 -2
View File
@@ -9446,15 +9446,19 @@ echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
if test $ac_cv_lib_dl_dlopen = yes; then
IRCDLIBS="$IRCDLIBS-ldl"
else
{ echo "$as_me:$LINENO: WARNING: Dynamic linking is not enabled because dlopen was not found" >&5
echo "$as_me: WARNING: Dynamic linking is not enabled because dlopen was not found" >&2;} cat >>confdefs.h <<\_ACEOF
{ echo "$as_me:$LINENO: WARNING: Dynamic linking is not enabled because dlopen was not found" >&5
echo "$as_me: WARNING: Dynamic linking is not enabled because dlopen was not found" >&2;}
cat >>confdefs.h <<\_ACEOF
#define STATIC_LINKING 1
_ACEOF
fi
fi
hold_cflags=$CFLAGS
CFLAGS="$CFLAGS -export-dynamic"
echo "$as_me:$LINENO: checking if we need the -export-dynamic flag" >&5