|
|
| version 1.238, 2026/09/27 13:14:56 | version 1.245, 2026/10/08 19:09:05 |
|---|---|
| Line 712 COMPILE_APACHE_MODULE_TRUE | Line 712 COMPILE_APACHE_MODULE_TRUE |
| APACHE_CFLAGS | APACHE_CFLAGS |
| APACHE_INC | APACHE_INC |
| APACHE | APACHE |
| REDIS_LIBS | |
| REDIS_INCLUDES | |
| AMQP_LIBS | AMQP_LIBS |
| AMQP_INCLUDES | AMQP_INCLUDES |
| MIME_LIBS | MIME_LIBS |
| Line 846 with_pcre | Line 848 with_pcre |
| with_xml | with_xml |
| with_mailreceive | with_mailreceive |
| with_amqp | with_amqp |
| with_redis | |
| with_sendmail | with_sendmail |
| with_apache | with_apache |
| enable_pic | enable_pic |
| Line 1552 Optional Packages: | Line 1555 Optional Packages: |
| Gnome MIME library is installed | Gnome MIME library is installed |
| --with-amqp=DIR DIR is the directory where | --with-amqp=DIR DIR is the directory where |
| RabbitMQ C library (librabbitmq) is installed | RabbitMQ C library (librabbitmq) is installed |
| --with-redis=DIR DIR is the directory where | |
| Redis C library (hiredis) is installed | |
| \"--with-sendmail=COMMAND\" forces this command to send mail. | \"--with-sendmail=COMMAND\" forces this command to send mail. |
| example: \"--with-sendmail=/usr/sbin/sendmail -t\" | example: \"--with-sendmail=/usr/sbin/sendmail -t\" |
| (makes parser ignore user-defined sendmail commands) | (makes parser ignore user-defined sendmail commands) |
| Line 6152 printf "%s\n" "$dll_extension" >&6; } | Line 6157 printf "%s\n" "$dll_extension" >&6; } |
| case "$host" in | |
| *-freebsd4*) | |
| printf "%s\n" "#define FREEBSD4 /**/" >>confdefs.h | |
| ;; | |
| *-freebsd1*) | |
| printf "%s\n" "#define FREEBSD1X /**/" >>confdefs.h | |
| ;; | |
| *-sunos5.6* | *-solaris2.6*) | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5 | |
| printf %s "checking for main in -lxnet... " >&6; } | |
| if test ${ac_cv_lib_xnet_main+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lxnet $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| int | |
| main (void) | |
| { | |
| return main (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_xnet_main=yes | |
| else case e in #( | |
| e) ac_cv_lib_xnet_main=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5 | |
| printf "%s\n" "$ac_cv_lib_xnet_main" >&6; } | |
| if test "x$ac_cv_lib_xnet_main" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBXNET 1" >>confdefs.h | |
| LIBS="-lxnet $LIBS" | |
| fi | |
| ;; | |
| *-sunos5* | *-solaris2*) | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5 | |
| printf %s "checking for main in -lsocket... " >&6; } | |
| if test ${ac_cv_lib_socket_main+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lsocket $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| int | |
| main (void) | |
| { | |
| return main (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_socket_main=yes | |
| else case e in #( | |
| e) ac_cv_lib_socket_main=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5 | |
| printf "%s\n" "$ac_cv_lib_socket_main" >&6; } | |
| if test "x$ac_cv_lib_socket_main" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h | |
| LIBS="-lsocket $LIBS" | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5 | |
| printf %s "checking for main in -lnsl... " >&6; } | |
| if test ${ac_cv_lib_nsl_main+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lnsl $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| int | |
| main (void) | |
| { | |
| return main (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_nsl_main=yes | |
| else case e in #( | |
| e) ac_cv_lib_nsl_main=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5 | |
| printf "%s\n" "$ac_cv_lib_nsl_main" >&6; } | |
| if test "x$ac_cv_lib_nsl_main" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h | |
| LIBS="-lnsl $LIBS" | |
| fi | |
| ;; | |
| *-nec-sysv4*) | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 | |
| printf %s "checking for gethostbyname in -lnsl... " >&6; } | |
| if test ${ac_cv_lib_nsl_gethostbyname+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lnsl $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char gethostbyname (void); | |
| int | |
| main (void) | |
| { | |
| return gethostbyname (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_nsl_gethostbyname=yes | |
| else case e in #( | |
| e) ac_cv_lib_nsl_gethostbyname=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 | |
| printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } | |
| if test "x$ac_cv_lib_nsl_gethostbyname" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h | |
| LIBS="-lnsl $LIBS" | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 | |
| printf %s "checking for socket in -lsocket... " >&6; } | |
| if test ${ac_cv_lib_socket_socket+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lsocket $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char socket (void); | |
| int | |
| main (void) | |
| { | |
| return socket (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_socket_socket=yes | |
| else case e in #( | |
| e) ac_cv_lib_socket_socket=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 | |
| printf "%s\n" "$ac_cv_lib_socket_socket" >&6; } | |
| if test "x$ac_cv_lib_socket_socket" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h | |
| LIBS="-lsocket $LIBS" | |
| fi | |
| ;; | |
| *-cygwin*) | |
| printf "%s\n" "#define WIN32 /**/" >>confdefs.h | |
| ;; | |
| esac | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 | |
| printf %s "checking for sin in -lm... " >&6; } | |
| if test ${ac_cv_lib_m_sin+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lm $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char sin (void); | |
| int | |
| main (void) | |
| { | |
| return sin (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_m_sin=yes | |
| else case e in #( | |
| e) ac_cv_lib_m_sin=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 | |
| printf "%s\n" "$ac_cv_lib_m_sin" >&6; } | |
| if test "x$ac_cv_lib_m_sin" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h | |
| LIBS="-lm $LIBS" | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 | |
| printf %s "checking for crypt in -lcrypt... " >&6; } | |
| if test ${ac_cv_lib_crypt_crypt+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lcrypt $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char crypt (void); | |
| int | |
| main (void) | |
| { | |
| return crypt (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_crypt_crypt=yes | |
| else case e in #( | |
| e) ac_cv_lib_crypt_crypt=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 | |
| printf "%s\n" "$ac_cv_lib_crypt_crypt" >&6; } | |
| if test "x$ac_cv_lib_crypt_crypt" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBCRYPT 1" >>confdefs.h | |
| LIBS="-lcrypt $LIBS" | |
| fi | |
| # Check whether --with-build-warnings was given. | # Check whether --with-build-warnings was given. |
| if test ${with_build_warnings+y} | if test ${with_build_warnings+y} |
| Line 6322 printf %s "checking for libgc... " >&6; | Line 6684 printf %s "checking for libgc... " >&6; |
| SAVE_LIBS=$LIBS | SAVE_LIBS=$LIBS |
| LIBS="$LIBS $GC_LIBS" | LIBS="$LIBS $GC_LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| extern int GC_dont_gc; | extern int GC_dont_gc; |
| Line 6645 fi | Line 7006 fi |
| ac_header= ac_cache= | |
| for ac_item in $ac_header_c_list | |
| do | |
| if test $ac_cache; then | |
| ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" | |
| if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then | |
| printf "%s\n" "#define $ac_item 1" >> confdefs.h | |
| fi | |
| ac_header= ac_cache= | |
| elif test $ac_header; then | |
| ac_cache=$ac_item | |
| else | |
| ac_header=$ac_item | |
| fi | |
| done | |
| if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes | |
| then : | |
| printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h | |
| fi | |
| # Check whether --with-amqp was given. | # Check whether --with-amqp was given. |
| if test ${with_amqp+y} | if test ${with_amqp+y} |
| Line 6657 then : | Line 7047 then : |
| AMQP_LIBS="-lrabbitmq" | AMQP_LIBS="-lrabbitmq" |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5 |
| printf "%s\n" "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;} | printf "%s\n" "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;} |
| ac_fn_c_check_header_compile "$LINENO" "amqp_ssl_socket.h" "ac_cv_header_amqp_ssl_socket_h" "$ac_includes_default" | |
| if test "x$ac_cv_header_amqp_ssl_socket_h" = xyes | |
| then : | |
| printf "%s\n" "#define WITH_AMQP_SSL /**/" >>confdefs.h | |
| fi | |
| else | else |
| AMQP_INCLUDES="-I$AMQP/include" | AMQP_INCLUDES="-I$AMQP/include" |
| if test -f $AMQP/lib/librabbitmq.la; then | if test -f $AMQP/lib/librabbitmq.la; then |
| Line 6669 printf "%s\n" "$as_me: WARNING: --with-a | Line 7068 printf "%s\n" "$as_me: WARNING: --with-a |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5 |
| printf %s "checking for librabbitmq... " >&6; } | printf %s "checking for librabbitmq... " >&6; } |
| SAVE_LIBS=$LIBS | SAVE_LIBS=$LIBS |
| LIBS="$LIBS $AMQP_LIBS $AMQP_INCLUDES" | LIBS="$AMQP_LIBS $AMQP_INCLUDES $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| Line 6714 fi | Line 7113 fi |
| # Check whether --with-redis was given. | |
| if test ${with_redis+y} | |
| then : | |
| withval=$with_redis; | |
| REDIS=$withval | |
| if test -z "$REDIS" -o "$REDIS" = "yes"; then | |
| REDIS_INCLUDES="" | |
| REDIS_LIBS="-lhiredis" | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-redis value was not specified, hoping linker would find it" >&5 | |
| printf "%s\n" "$as_me: WARNING: --with-redis value was not specified, hoping linker would find it" >&2;} | |
| ac_fn_c_check_header_compile "$LINENO" "hiredis/hiredis_ssl.h" "ac_cv_header_hiredis_hiredis_ssl_h" "#include <hiredis/hiredis.h> | |
| " | |
| if test "x$ac_cv_header_hiredis_hiredis_ssl_h" = xyes | |
| then : | |
| printf "%s\n" "#define WITH_REDIS_SSL /**/" >>confdefs.h | |
| REDIS_LIBS="-lhiredis_ssl $REDIS_LIBS" | |
| fi | |
| else | |
| REDIS_INCLUDES="-I$REDIS/include" | |
| if test -f $REDIS/lib/libhiredis.a; then | |
| REDIS_LIBS="$REDIS/lib/libhiredis.a" | |
| else | |
| REDIS_LIBS="-L$REDIS/lib -lhiredis" | |
| fi | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hiredis" >&5 | |
| printf %s "checking for hiredis... " >&6; } | |
| SAVE_LIBS=$LIBS | |
| LIBS="$REDIS_LIBS $REDIS_INCLUDES $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| #include <hiredis/hiredis.h> | |
| int | |
| main (void) | |
| { | |
| redisContext *c = redisConnect("", 0); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| printf "%s\n" "yes" >&6; } | |
| else case e in #( | |
| e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| printf "%s\n" "no" >&6; } | |
| if test -z "$REDIS"; then | |
| as_fn_error $? "please specify path to hiredis: --with-redis=DIR" "$LINENO" 5 | |
| else | |
| as_fn_error $? "$REDIS does not seem to be valid hiredis installation directory" "$LINENO" 5 | |
| fi | |
| ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$SAVE_LIBS | |
| printf "%s\n" "#define WITH_REDIS /**/" >>confdefs.h | |
| fi | |
| # Check whether --with-sendmail was given. | # Check whether --with-sendmail was given. |
| if test ${with_sendmail+y} | if test ${with_sendmail+y} |
| then : | then : |
| Line 10534 func_munge_path_list () | Line 11015 func_munge_path_list () |
| esac | esac |
| } | } |
| ac_header= ac_cache= | |
| for ac_item in $ac_header_c_list | |
| do | |
| if test $ac_cache; then | |
| ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" | |
| if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then | |
| printf "%s\n" "#define $ac_item 1" >> confdefs.h | |
| fi | |
| ac_header= ac_cache= | |
| elif test $ac_header; then | |
| ac_cache=$ac_item | |
| else | |
| ac_header=$ac_item | |
| fi | |
| done | |
| if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes | |
| then : | |
| printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h | |
| fi | |
| ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default | ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
| " | " |
| if test "x$ac_cv_header_dlfcn_h" = xyes | if test "x$ac_cv_header_dlfcn_h" = xyes |
| Line 22072 then : | Line 22524 then : |
| fi | fi |
| case "$host" in | |
| *-freebsd4*) | |
| printf "%s\n" "#define FREEBSD4 /**/" >>confdefs.h | |
| ;; | |
| *-freebsd1*) | |
| printf "%s\n" "#define FREEBSD1X /**/" >>confdefs.h | |
| ;; | |
| *-sunos5.6* | *-solaris2.6*) | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5 | |
| printf %s "checking for main in -lxnet... " >&6; } | |
| if test ${ac_cv_lib_xnet_main+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lxnet $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| int | |
| main (void) | |
| { | |
| return main (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_xnet_main=yes | |
| else case e in #( | |
| e) ac_cv_lib_xnet_main=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5 | |
| printf "%s\n" "$ac_cv_lib_xnet_main" >&6; } | |
| if test "x$ac_cv_lib_xnet_main" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBXNET 1" >>confdefs.h | |
| LIBS="-lxnet $LIBS" | |
| fi | |
| ;; | |
| *-sunos5* | *-solaris2*) | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5 | |
| printf %s "checking for main in -lsocket... " >&6; } | |
| if test ${ac_cv_lib_socket_main+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lsocket $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| int | |
| main (void) | |
| { | |
| return main (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_socket_main=yes | |
| else case e in #( | |
| e) ac_cv_lib_socket_main=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5 | |
| printf "%s\n" "$ac_cv_lib_socket_main" >&6; } | |
| if test "x$ac_cv_lib_socket_main" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h | |
| LIBS="-lsocket $LIBS" | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5 | |
| printf %s "checking for main in -lnsl... " >&6; } | |
| if test ${ac_cv_lib_nsl_main+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lnsl $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| int | |
| main (void) | |
| { | |
| return main (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_nsl_main=yes | |
| else case e in #( | |
| e) ac_cv_lib_nsl_main=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5 | |
| printf "%s\n" "$ac_cv_lib_nsl_main" >&6; } | |
| if test "x$ac_cv_lib_nsl_main" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h | |
| LIBS="-lnsl $LIBS" | |
| fi | |
| ;; | |
| *-nec-sysv4*) | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 | |
| printf %s "checking for gethostbyname in -lnsl... " >&6; } | |
| if test ${ac_cv_lib_nsl_gethostbyname+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lnsl $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char gethostbyname (void); | |
| int | |
| main (void) | |
| { | |
| return gethostbyname (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_nsl_gethostbyname=yes | |
| else case e in #( | |
| e) ac_cv_lib_nsl_gethostbyname=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 | |
| printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } | |
| if test "x$ac_cv_lib_nsl_gethostbyname" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h | |
| LIBS="-lnsl $LIBS" | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 | |
| printf %s "checking for socket in -lsocket... " >&6; } | |
| if test ${ac_cv_lib_socket_socket+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lsocket $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char socket (void); | |
| int | |
| main (void) | |
| { | |
| return socket (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_socket_socket=yes | |
| else case e in #( | |
| e) ac_cv_lib_socket_socket=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 | |
| printf "%s\n" "$ac_cv_lib_socket_socket" >&6; } | |
| if test "x$ac_cv_lib_socket_socket" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h | |
| LIBS="-lsocket $LIBS" | |
| fi | |
| ;; | |
| *-cygwin*) | |
| printf "%s\n" "#define WIN32 /**/" >>confdefs.h | |
| ;; | |
| esac | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 | |
| printf %s "checking for sin in -lm... " >&6; } | |
| if test ${ac_cv_lib_m_sin+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lm $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char sin (void); | |
| int | |
| main (void) | |
| { | |
| return sin (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_m_sin=yes | |
| else case e in #( | |
| e) ac_cv_lib_m_sin=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 | |
| printf "%s\n" "$ac_cv_lib_m_sin" >&6; } | |
| if test "x$ac_cv_lib_m_sin" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h | |
| LIBS="-lm $LIBS" | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 | |
| printf %s "checking for crypt in -lcrypt... " >&6; } | |
| if test ${ac_cv_lib_crypt_crypt+y} | |
| then : | |
| printf %s "(cached) " >&6 | |
| else case e in #( | |
| e) ac_check_lib_save_LIBS=$LIBS | |
| LIBS="-lcrypt $LIBS" | |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| /* end confdefs.h. */ | |
| /* Override any GCC internal prototype to avoid an error. | |
| Use char because int might match the return type of a GCC | |
| builtin and then its argument prototype would still apply. | |
| The 'extern "C"' is for builds by C++ compilers; | |
| although this is not generally supported in C code supporting it here | |
| has little cost and some practical benefit (sr 110532). */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| #endif | |
| char crypt (void); | |
| int | |
| main (void) | |
| { | |
| return crypt (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| if ac_fn_c_try_link "$LINENO" | |
| then : | |
| ac_cv_lib_crypt_crypt=yes | |
| else case e in #( | |
| e) ac_cv_lib_crypt_crypt=no ;; | |
| esac | |
| fi | |
| rm -f core conftest.err conftest.$ac_objext conftest.beam \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS ;; | |
| esac | |
| fi | |
| { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 | |
| printf "%s\n" "$ac_cv_lib_crypt_crypt" >&6; } | |
| if test "x$ac_cv_lib_crypt_crypt" = xyes | |
| then : | |
| printf "%s\n" "#define HAVE_LIBCRYPT 1" >>confdefs.h | |
| LIBS="-lcrypt $LIBS" | |
| fi | |
| ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock" | ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock" |