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:
@@ -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
|
||||
|
||||
@@ -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, [
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user