|
@@ -1,6 +1,6 @@
|
|
|
#! /bin/sh
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
-# Generated by GNU Autoconf 2.67 for ngIRCd 21.
|
|
|
+# Generated by GNU Autoconf 2.67 for ngIRCd 21.1.
|
|
|
#
|
|
|
# Report bugs to <ngircd-ml@ngircd.barton.de>.
|
|
|
#
|
|
@@ -552,8 +552,8 @@ MAKEFLAGS=
|
|
|
# Identity of this package.
|
|
|
PACKAGE_NAME='ngIRCd'
|
|
|
PACKAGE_TARNAME='ngircd'
|
|
|
-PACKAGE_VERSION='21'
|
|
|
-PACKAGE_STRING='ngIRCd 21'
|
|
|
+PACKAGE_VERSION='21.1'
|
|
|
+PACKAGE_STRING='ngIRCd 21.1'
|
|
|
PACKAGE_BUGREPORT='ngircd-ml@ngircd.barton.de'
|
|
|
PACKAGE_URL='http://ngircd.barton.de/'
|
|
|
|
|
@@ -1269,7 +1269,7 @@ if test "$ac_init_help" = "long"; then
|
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
|
cat <<_ACEOF
|
|
|
-\`configure' configures ngIRCd 21 to adapt to many kinds of systems.
|
|
|
+\`configure' configures ngIRCd 21.1 to adapt to many kinds of systems.
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
|
@@ -1339,7 +1339,7 @@ fi
|
|
|
|
|
|
if test -n "$ac_init_help"; then
|
|
|
case $ac_init_help in
|
|
|
- short | recursive ) echo "Configuration of ngIRCd 21:";;
|
|
|
+ short | recursive ) echo "Configuration of ngIRCd 21.1:";;
|
|
|
esac
|
|
|
cat <<\_ACEOF
|
|
|
|
|
@@ -1452,7 +1452,7 @@ fi
|
|
|
test -n "$ac_init_help" && exit $ac_status
|
|
|
if $ac_init_version; then
|
|
|
cat <<\_ACEOF
|
|
|
-ngIRCd configure 21
|
|
|
+ngIRCd configure 21.1
|
|
|
generated by GNU Autoconf 2.67
|
|
|
|
|
|
Copyright (C) 2010 Free Software Foundation, Inc.
|
|
@@ -1985,7 +1985,7 @@ cat >config.log <<_ACEOF
|
|
|
This file contains any messages produced by compilers while
|
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
|
|
-It was created by ngIRCd $as_me 21, which was
|
|
|
+It was created by ngIRCd $as_me 21.1, which was
|
|
|
generated by GNU Autoconf 2.67. Invocation command line was
|
|
|
|
|
|
$ $0 $@
|
|
@@ -2277,7 +2277,6 @@ as_fn_append ac_header_list " varargs.h"
|
|
|
as_fn_append ac_func_list " arc4random"
|
|
|
as_fn_append ac_func_list " arc4random_stir"
|
|
|
as_fn_append ac_func_list " gai_strerror"
|
|
|
-as_fn_append ac_func_list " getaddrinfo"
|
|
|
as_fn_append ac_func_list " getnameinfo"
|
|
|
as_fn_append ac_func_list " inet_aton"
|
|
|
as_fn_append ac_func_list " sigaction"
|
|
@@ -2289,6 +2288,7 @@ as_fn_append ac_func_list " strndup"
|
|
|
as_fn_append ac_func_list " strlcpy"
|
|
|
as_fn_append ac_func_list " strlcat"
|
|
|
as_fn_append ac_func_list " strtok_r"
|
|
|
+as_fn_append ac_func_list " unsetenv"
|
|
|
as_fn_append ac_func_list " waitpid"
|
|
|
# Check that the precious variables saved in the cache have kept the same
|
|
|
# value.
|
|
@@ -2901,7 +2901,7 @@ fi
|
|
|
|
|
|
# Define the identity of the package.
|
|
|
PACKAGE='ngircd'
|
|
|
- VERSION='21'
|
|
|
+ VERSION='21.1'
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
@@ -4339,6 +4339,7 @@ $as_echo "no" >&6; }
|
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
@@ -4996,6 +4997,8 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
if test "$GCC" = "yes"; then
|
|
|
# We are using the GNU C compiler. Good!
|
|
|
CFLAGS="$CFLAGS -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes"
|
|
@@ -6005,6 +6008,68 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+ for ac_func in getaddrinfo
|
|
|
+do :
|
|
|
+ ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
|
|
|
+if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
|
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
|
+#define HAVE_GETADDRINFO 1
|
|
|
+_ACEOF
|
|
|
+
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getaddrinfo() works" >&5
|
|
|
+$as_echo_n "checking whether getaddrinfo() works... " >&6; }
|
|
|
+ if test "$cross_compiling" = yes; then :
|
|
|
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
+as_fn_error $? "cannot run test program while cross compiling
|
|
|
+See \`config.log' for more details" "$LINENO" 5 ; }
|
|
|
+else
|
|
|
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
+/* end confdefs.h. */
|
|
|
+
|
|
|
+#include <stdio.h>
|
|
|
+#include <sys/types.h>
|
|
|
+#include <sys/socket.h>
|
|
|
+#include <netdb.h>
|
|
|
+int
|
|
|
+main(int argc, char **argv)
|
|
|
+{
|
|
|
+ struct addrinfo hints, *ai;
|
|
|
+ memset(&hints, 0, sizeof(hints));
|
|
|
+ hints.ai_flags = AI_PASSIVE;
|
|
|
+ hints.ai_socktype = SOCK_STREAM;
|
|
|
+ hints.ai_family = PF_UNSPEC;
|
|
|
+ if(getaddrinfo(NULL, "0", &hints, &ai) != 0)
|
|
|
+ return 1;
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
+_ACEOF
|
|
|
+if ac_fn_c_try_run "$LINENO"; then :
|
|
|
+
|
|
|
+
|
|
|
+$as_echo "#define HAVE_WORKING_GETADDRINFO 1" >>confdefs.h
|
|
|
+
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
+$as_echo "yes" >&6; }
|
|
|
+
|
|
|
+else
|
|
|
+
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
+$as_echo "no" >&6; }
|
|
|
+
|
|
|
+fi
|
|
|
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
|
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
|
+fi
|
|
|
+
|
|
|
+
|
|
|
+fi
|
|
|
+done
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
# -- Configuration options --
|
|
|
|
|
|
# use syslog?
|
|
@@ -6805,10 +6870,14 @@ if test "${with_tcp_wrappers+set}" = set; then :
|
|
|
fi
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hosts_access" >&5
|
|
|
$as_echo_n "checking for hosts_access... " >&6; }
|
|
|
+ saved_LIBS="$LIBS"
|
|
|
LIBS="-lwrap $LIBS"
|
|
|
+ LIBS_END="-lwrap $LIBS_END"
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
/* end confdefs.h. */
|
|
|
|
|
|
+#include <sys/types.h>
|
|
|
+#include <sys/socket.h>
|
|
|
#include <tcpd.h>
|
|
|
int allow_severity = 0;
|
|
|
int deny_severity = 0;
|
|
@@ -6840,6 +6909,7 @@ $as_echo "no" >&6; }
|
|
|
fi
|
|
|
rm -f core conftest.err conftest.$ac_objext \
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
|
|
+ LIBS="$saved_LIBS"
|
|
|
fi
|
|
|
|
|
|
|
|
@@ -7302,9 +7372,12 @@ cat >>confdefs.h <<_ACEOF
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
-# Add additional CFLAGS, eventually specified on the command line, but after
|
|
|
-# running this configure script. Useful for "-Werror" for example.
|
|
|
+# Add additional CFLAGS, LDFLAGS and LIBS which were specified on the command
|
|
|
+# line or by some tests from above, but after running this script. Useful for
|
|
|
+# adding "-Werror", for example:
|
|
|
test -n "$CFLAGS_END" && CFLAGS="$CFLAGS $CFLAGS_END"
|
|
|
+test -n "$LDFLAGS_END" && LDFLAGS="$LDFLAGS $LDFLAGS_END"
|
|
|
+test -n "$LIBS_END" && LIBS="$LIBS $LIBS_END"
|
|
|
|
|
|
# -- Generate files --
|
|
|
|
|
@@ -7832,7 +7905,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
# values after options handling.
|
|
|
ac_log="
|
|
|
-This file was extended by ngIRCd $as_me 21, which was
|
|
|
+This file was extended by ngIRCd $as_me 21.1, which was
|
|
|
generated by GNU Autoconf 2.67. Invocation command line was
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
@@ -7899,7 +7972,7 @@ _ACEOF
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
|
ac_cs_version="\\
|
|
|
-ngIRCd config.status 21
|
|
|
+ngIRCd config.status 21.1
|
|
|
configured by $0, generated by GNU Autoconf 2.67,
|
|
|
with options \\"\$ac_cs_config\\"
|
|
|
|
|
@@ -8776,7 +8849,9 @@ if test $? -eq 0; then
|
|
|
# Generate debian/ link if the dpkg command exists
|
|
|
# (read: if we are running on a debian compatible system)
|
|
|
echo "creating Debian-specific links ..."
|
|
|
- test -f debian/rules || ln -s contrib/Debian debian
|
|
|
+ if test ! -f debian/rules -a -f contrib/Debian/rules; then
|
|
|
+ ln -s contrib/Debian debian
|
|
|
+ fi
|
|
|
fi
|
|
|
|
|
|
# -- Result --
|