ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/configure
(Generate patch)

Comparing ircd-hybrid/trunk/configure (file contents):
Revision 1720 by michael, Fri Dec 28 21:06:21 2012 UTC vs.
Revision 2602 by michael, Sat Nov 23 20:01:36 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1680 2012-12-18 18:06:32Z michael .
2 > # From configure.ac Id: configure.ac 2594 2013-11-21 17:20:41Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
5   #
# Line 805 | Line 805 | with_included_ltdl
805   with_ltdl_include
806   with_ltdl_lib
807   enable_ltdl_install
808 < enable_libpcre
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
811   enable_kqueue
812   enable_epoll
813   enable_devpoll
814 enable_rtsigio
814   enable_poll
815   enable_select
817 with_nicklen
818 with_topiclen
816   enable_halfops
817   enable_debugging
818   enable_warnings
# Line 1464 | Line 1461 | Optional Features:
1461                            optimize for fast installation [default=yes]
1462    --disable-libtool-lock  avoid locking (might break parallel builds)
1463    --enable-ltdl-install   install libltdl
1464 <  --disable-libpcre       Disable PCRE support
1464 >  --disable-libgeoip      Disable GeoIP support
1465    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1466    --disable-openssl            Disable OpenSSL support.
1467    --enable-assert         Enable assert() statements
1468    --enable-kqueue         Force kqueue usage.
1469    --enable-epoll          Force epoll usage.
1470    --enable-devpoll        Force devpoll usage.
1474  --enable-rtsigio        Force rtsigio usage.
1471    --enable-poll           Force poll usage.
1472    --enable-select         Force select usage.
1473    --enable-halfops        Enable halfops support.
# Line 1489 | Line 1485 | Optional Packages:
1485    --with-included-ltdl    use the GNU ltdl sources included here
1486    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1487    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1492  --with-nicklen=<value>  Set nickname length (default 9).
1493  --with-topiclen=<value> Set topic length (default 160).
1488  
1489   Some influential environment variables:
1490    CC          C compiler command
# Line 2459 | Line 2453 | ac_link='$CC -o conftest$ac_exeext $CFLA
2453   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454  
2455  
2456 < am__api_version='1.13'
2456 > am__api_version='1.14'
2457  
2458   ac_aux_dir=
2459   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 3014 | Line 3008 | mkdir_p='$(MKDIR_P)'
3008   # in the wild :-(  We should find a proper way to deprecate it ...
3009   AMTAR='$${TAR-tar}'
3010  
3011 +
3012 + # We'll loop over all known methods to create a tar archive until one works.
3013 + _am_tools='gnutar  pax cpio none'
3014 +
3015   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3016  
3017  
# Line 3021 | Line 3019 | am__tar='$${TAR-tar} chof - "$$tardir"'
3019  
3020  
3021  
3022 + # POSIX will say in a future version that running "rm -f" with no argument
3023 + # is OK; and we want to be able to make that assumption in our Makefile
3024 + # recipes.  So use an aggressive probe to check that the usage we want is
3025 + # actually supported "in the wild" to an acceptable degree.
3026 + # See automake bug#10828.
3027 + # To make any issue more visible, cause the running configure to be aborted
3028 + # by default if the 'rm' program in use doesn't match our expectations; the
3029 + # user can still override this though.
3030 + if rm -f && rm -fr && rm -rf; then : OK; else
3031 +  cat >&2 <<'END'
3032 + Oops!
3033 +
3034 + Your 'rm' program seems unable to run without file operands specified
3035 + on the command line, even when the '-f' option is present.  This is contrary
3036 + to the behaviour of most rm programs out there, and not conforming with
3037 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3038 +
3039 + Please tell bug-automake@gnu.org about your system, including the value
3040 + of your $PATH and any error possibly output before this message.  This
3041 + can help us improve future automake versions.
3042 +
3043 + END
3044 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3045 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3046 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3047 +    echo >&2
3048 +  else
3049 +    cat >&2 <<'END'
3050 + Aborting the configuration process, to ensure you take notice of the issue.
3051 +
3052 + You can download and install GNU coreutils to get an 'rm' implementation
3053 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3054 +
3055 + If you want to complete the configuration process using your problematic
3056 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3057 + to "yes", and re-run configure.
3058 +
3059 + END
3060 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3061 +  fi
3062 + fi
3063 +
3064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3065   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3066      # Check whether --enable-maintainer-mode was given.
# Line 3043 | Line 3083 | fi
3083    MAINT=$MAINTAINER_MODE_TRUE
3084  
3085  
3086 +
3087   ac_config_headers="$ac_config_headers config.h"
3088  
3089  
# Line 3900 | Line 3941 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3941   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943  
3944 + ac_ext=c
3945 + ac_cpp='$CPP $CPPFLAGS'
3946 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3947 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3948 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3949 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3950 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3951 + if ${am_cv_prog_cc_c_o+:} false; then :
3952 +  $as_echo_n "(cached) " >&6
3953 + else
3954 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 + /* end confdefs.h.  */
3956 +
3957 + int
3958 + main ()
3959 + {
3960 +
3961 +  ;
3962 +  return 0;
3963 + }
3964 + _ACEOF
3965 +  # Make sure it works both with $CC and with simple cc.
3966 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3967 +  # compilers refuse to overwrite an existing .o file with -o,
3968 +  # though they will create one.
3969 +  am_cv_prog_cc_c_o=yes
3970 +  for am_i in 1 2; do
3971 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3972 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3973 +   ac_status=$?
3974 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 +   (exit $ac_status); } \
3976 +         && test -f conftest2.$ac_objext; then
3977 +      : OK
3978 +    else
3979 +      am_cv_prog_cc_c_o=no
3980 +      break
3981 +    fi
3982 +  done
3983 +  rm -f core conftest*
3984 +  unset am_i
3985 + fi
3986 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3987 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3988 + if test "$am_cv_prog_cc_c_o" != yes; then
3989 +   # Losing compiler, so override with the script.
3990 +   # FIXME: It is wrong to rewrite CC.
3991 +   # But if we don't then we get into trouble of one sort or another.
3992 +   # A longer-term fix would be to have automake use am__CC in this case,
3993 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3994 +   CC="$am_aux_dir/compile $CC"
3995 + fi
3996 + ac_ext=c
3997 + ac_cpp='$CPP $CPPFLAGS'
3998 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3999 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4000 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
4001 +
4002 +
4003   depcc="$CC"   am_compiler_list=
4004  
4005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 8460 | Line 8560 | _lt_linker_boilerplate=`cat conftest.err
8560   $RM -r conftest*
8561  
8562  
8563 + ## CAVEAT EMPTOR:
8564 + ## There is no encapsulation within the following macros, do not change
8565 + ## the running order or otherwise move them around unless you know exactly
8566 + ## what you are doing...
8567   if test -n "$compiler"; then
8568  
8569   lt_prog_compiler_no_builtin_flag=
# Line 13073 | Line 13177 | LIBTOOL="$LIBTOOL --silent"
13177  
13178   # Checks for libraries.
13179  
13180 +
13181 +  if test "X$CC" != "X"; then
13182 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13183 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13184 + if ${ssp_cv_cc+:} false; then :
13185 +  $as_echo_n "(cached) " >&6
13186 + else
13187 +  ssp_old_cflags="$CFLAGS"
13188 +       CFLAGS="$CFLAGS -fstack-protector"
13189 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 + /* end confdefs.h.  */
13191 +
13192 + int
13193 + main ()
13194 + {
13195 +
13196 +  ;
13197 +  return 0;
13198 + }
13199 + _ACEOF
13200 + if ac_fn_c_try_compile "$LINENO"; then :
13201 +  ssp_cv_cc=yes
13202 + else
13203 +  ssp_cv_cc=no
13204 + fi
13205 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 +       CFLAGS="$ssp_old_cflags"
13207 +
13208 + fi
13209 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13210 + $as_echo "$ssp_cv_cc" >&6; }
13211 +    if test $ssp_cv_cc = yes; then
13212 +      CFLAGS="$CFLAGS -fstack-protector"
13213 +
13214 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13215 +
13216 +    fi
13217 +  fi
13218 +
13219 +
13220 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13221 + $as_echo_n "checking whether C compiler accepts ... " >&6; }
13222 + if ${ax_cv_check_cflags__+:} false; then :
13223 +  $as_echo_n "(cached) " >&6
13224 + else
13225 +
13226 +  ax_check_save_flags=$CFLAGS
13227 +  CFLAGS="$CFLAGS  "
13228 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13229 + /* end confdefs.h.  */
13230 +
13231 + int
13232 + main ()
13233 + {
13234 +
13235 +  ;
13236 +  return 0;
13237 + }
13238 + _ACEOF
13239 + if ac_fn_c_try_compile "$LINENO"; then :
13240 +  ax_cv_check_cflags__=yes
13241 + else
13242 +  ax_cv_check_cflags__=no
13243 + fi
13244 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13245 +  CFLAGS=$ax_check_save_flags
13246 + fi
13247 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13248 + $as_echo "$ax_cv_check_cflags__" >&6; }
13249 + if test x"$ax_cv_check_cflags__" = xyes; then :
13250 +  :
13251 + else
13252 +  :
13253 + fi
13254 +
13255 + if ${CFLAGS+:} false; then :
13256 +  case " $CFLAGS " in
13257 +    *"  "*)
13258 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13259 +  (: CFLAGS already contains ) 2>&5
13260 +  ac_status=$?
13261 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13262 +  test $ac_status = 0; }
13263 +      ;;
13264 +    *)
13265 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
13266 +  (: CFLAGS="$CFLAGS ") 2>&5
13267 +  ac_status=$?
13268 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13269 +  test $ac_status = 0; }
13270 +      CFLAGS="$CFLAGS "
13271 +      ;;
13272 +   esac
13273 + else
13274 +  CFLAGS=""
13275 + fi
13276 +
13277 +
13278 +
13279 + for flag in -fno-strict-aliasing; do
13280 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13281 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13282 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13283 + if eval \${$as_CACHEVAR+:} false; then :
13284 +  $as_echo_n "(cached) " >&6
13285 + else
13286 +
13287 +  ax_check_save_flags=$CFLAGS
13288 +  CFLAGS="$CFLAGS  $flag"
13289 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 + /* end confdefs.h.  */
13291 +
13292 + int
13293 + main ()
13294 + {
13295 +
13296 +  ;
13297 +  return 0;
13298 + }
13299 + _ACEOF
13300 + if ac_fn_c_try_compile "$LINENO"; then :
13301 +  eval "$as_CACHEVAR=yes"
13302 + else
13303 +  eval "$as_CACHEVAR=no"
13304 + fi
13305 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13306 +  CFLAGS=$ax_check_save_flags
13307 + fi
13308 + eval ac_res=\$$as_CACHEVAR
13309 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13310 + $as_echo "$ac_res" >&6; }
13311 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13312 +  if ${CFLAGS+:} false; then :
13313 +  case " $CFLAGS " in
13314 +    *" $flag "*)
13315 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13316 +  (: CFLAGS already contains $flag) 2>&5
13317 +  ac_status=$?
13318 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13319 +  test $ac_status = 0; }
13320 +      ;;
13321 +    *)
13322 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13323 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13324 +  ac_status=$?
13325 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326 +  test $ac_status = 0; }
13327 +      CFLAGS="$CFLAGS $flag"
13328 +      ;;
13329 +   esac
13330 + else
13331 +  CFLAGS="$flag"
13332 + fi
13333 +
13334 + else
13335 +  :
13336 + fi
13337 +
13338 + done
13339 +
13340 +
13341 +
13342    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13343   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13344  
# Line 13662 | Line 13928 | if test "$ac_res" != no; then :
13928   fi
13929  
13930  
13931 < # Check whether --enable-libpcre was given.
13932 < if test "${enable_libpcre+set}" = set; then :
13933 <  enableval=$enable_libpcre;
13934 < else
13935 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13936 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13937 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13938 < $as_echo_n "checking for library containing pcre_study... " >&6; }
13939 < if ${ac_cv_search_pcre_study+:} false; then :
13931 > # Check whether --enable-libgeoip was given.
13932 > if test "${enable_libgeoip+set}" = set; then :
13933 >  enableval=$enable_libgeoip;
13934 > else
13935 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13936 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13937 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13938 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13939 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13940    $as_echo_n "(cached) " >&6
13941   else
13942    ac_func_search_save_LIBS=$LIBS
# Line 13683 | Line 13949 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13949   #ifdef __cplusplus
13950   extern "C"
13951   #endif
13952 < char pcre_study ();
13952 > char GeoIP_id_by_ipnum_v6_gl ();
13953   int
13954   main ()
13955   {
13956 < return pcre_study ();
13956 > return GeoIP_id_by_ipnum_v6_gl ();
13957    ;
13958    return 0;
13959   }
13960   _ACEOF
13961 < for ac_lib in '' pcre; do
13961 > for ac_lib in '' GeoIP; do
13962    if test -z "$ac_lib"; then
13963      ac_res="none required"
13964    else
# Line 13700 | Line 13966 | for ac_lib in '' pcre; do
13966      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13967    fi
13968    if ac_fn_c_try_link "$LINENO"; then :
13969 <  ac_cv_search_pcre_study=$ac_res
13969 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13970   fi
13971   rm -f core conftest.err conftest.$ac_objext \
13972      conftest$ac_exeext
13973 <  if ${ac_cv_search_pcre_study+:} false; then :
13973 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13974    break
13975   fi
13976   done
13977 < if ${ac_cv_search_pcre_study+:} false; then :
13977 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13978  
13979   else
13980 <  ac_cv_search_pcre_study=no
13980 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13981   fi
13982   rm conftest.$ac_ext
13983   LIBS=$ac_func_search_save_LIBS
13984   fi
13985 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13986 < $as_echo "$ac_cv_search_pcre_study" >&6; }
13987 < ac_res=$ac_cv_search_pcre_study
13985 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13986 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13987 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13988   if test "$ac_res" != no; then :
13989    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13990  
13991 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13991 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13992  
13993   fi
13994  
# Line 13732 | Line 13998 | fi
13998   fi
13999  
14000  
14001 +
14002   # Check whether --enable-openssl was given.
14003   if test "${enable_openssl+set}" = set; then :
14004    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13944 | Line 14211 | $as_echo "#define NDEBUG 1" >>confdefs.h
14211   fi
14212  
14213  
14214 <
13948 < $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
14214 > $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14215  
14216  
14217 < $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
14217 > $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14218  
14219  
14220 < $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
14220 > $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14221  
14222  
14223 < $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
14223 > $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14224  
14225  
14226 < $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
14226 > $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14227  
14228  
14229 < $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
14229 > $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14230  
14231  
14232 < $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
14232 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14233  
14234  
14235   $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14236  
14237  
14238 < $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
14238 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14239  
14240  
14241 < $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
14241 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14242  
14243  
14244 < $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
14244 > $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14245 >
14246 >
14247 > $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14248 >
14249 >
14250 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14251 >
14252 >
14253 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14254  
14255  
14256   # Argument processing.
# Line 13996 | Line 14271 | if test "${enable_devpoll+set}" = set; t
14271    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14272   fi
14273  
13999  # Check whether --enable-rtsigio was given.
14000 if test "${enable_rtsigio+set}" = set; then :
14001  enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
14002 fi
14003
14274    # Check whether --enable-poll was given.
14275   if test "${enable_poll+set}" = set; then :
14276    enableval=$enable_poll; desired_iopoll_mechanism="poll"
# Line 14184 | Line 14454 | rm -f core conftest.err conftest.$ac_obj
14454   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14455  
14456    fi
14457 <      iopoll_mechanism_rtsigio=4
14188 <
14189 < cat >>confdefs.h <<_ACEOF
14190 < #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14191 < _ACEOF
14192 <
14193 <  if test "$cross_compiling" = yes; then :
14194 <  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14195 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14196 < as_fn_error $? "cannot run test program while cross compiling
14197 < See \`config.log' for more details" "$LINENO" 5; }
14198 < else
14199 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 < /* end confdefs.h.  */
14201 <
14202 < #define _GNU_SOURCE
14203 < #include <fcntl.h>
14204 < static unsigned int have_f_setsig = 0;
14205 <
14206 < int
14207 < main ()
14208 < {
14209 <
14210 < #ifdef F_SETSIG
14211 <  have_f_setsig = 1;
14212 < #endif
14213 <  return have_f_setsig == 0;
14214 <
14215 <  ;
14216 <  return 0;
14217 < }
14218 < _ACEOF
14219 < if ac_fn_c_try_run "$LINENO"; then :
14220 <  is_rtsigio_mechanism_available="yes"
14221 < else
14222 <  is_rtsigio_mechanism_available="no"
14223 < fi
14224 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14225 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14226 < fi
14227 <
14228 <      iopoll_mechanism_poll=5
14457 >      iopoll_mechanism_poll=4
14458  
14459   cat >>confdefs.h <<_ACEOF
14460   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14279 | Line 14508 | else
14508   fi
14509   rm -f core conftest.err conftest.$ac_objext \
14510      conftest$ac_exeext conftest.$ac_ext
14511 <      iopoll_mechanism_select=6
14511 >      iopoll_mechanism_select=5
14512  
14513   cat >>confdefs.h <<_ACEOF
14514   #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
# Line 14334 | Line 14563 | fi
14563   rm -f core conftest.err conftest.$ac_objext \
14564      conftest$ac_exeext conftest.$ac_ext
14565        optimal_iopoll_mechanism="none"
14566 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14566 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14567      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14568      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14569        optimal_iopoll_mechanism="$mechanism"
# Line 14371 | Line 14600 | _ACEOF
14600  
14601  
14602  
14374
14375 # Check whether --with-nicklen was given.
14376 if test "${with_nicklen+set}" = set; then :
14377  withval=$with_nicklen; nicklen="$withval"
14378 else
14379  nicklen="9"
14380 fi
14381
14382
14383 cat >>confdefs.h <<_ACEOF
14384 #define NICKLEN ($nicklen)
14385 _ACEOF
14386
14387
14388
14389
14390 # Check whether --with-topiclen was given.
14391 if test "${with_topiclen+set}" = set; then :
14392  withval=$with_topiclen; topiclen="$withval"
14393 else
14394  topiclen="160"
14395 fi
14396
14397
14398 cat >>confdefs.h <<_ACEOF
14399 #define TOPICLEN ($topiclen)
14400 _ACEOF
14401
14402
14403
14603    # Check whether --enable-halfops was given.
14604   if test "${enable_halfops+set}" = set; then :
14605    enableval=$enable_halfops; halfops="$enableval"
# Line 14435 | Line 14634 | else
14634   fi
14635  
14636    if test "$warnings" = "yes" ; then
14637 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14637 >
14638 >
14639 > for flag in -Wall; do
14640 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14641 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14642 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14643 > if eval \${$as_CACHEVAR+:} false; then :
14644 >  $as_echo_n "(cached) " >&6
14645 > else
14646 >
14647 >  ax_check_save_flags=$CFLAGS
14648 >  CFLAGS="$CFLAGS  $flag"
14649 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 > /* end confdefs.h.  */
14651 >
14652 > int
14653 > main ()
14654 > {
14655 >
14656 >  ;
14657 >  return 0;
14658 > }
14659 > _ACEOF
14660 > if ac_fn_c_try_compile "$LINENO"; then :
14661 >  eval "$as_CACHEVAR=yes"
14662 > else
14663 >  eval "$as_CACHEVAR=no"
14664 > fi
14665 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14666 >  CFLAGS=$ax_check_save_flags
14667 > fi
14668 > eval ac_res=\$$as_CACHEVAR
14669 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14670 > $as_echo "$ac_res" >&6; }
14671 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14672 >  if ${CFLAGS+:} false; then :
14673 >  case " $CFLAGS " in
14674 >    *" $flag "*)
14675 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14676 >  (: CFLAGS already contains $flag) 2>&5
14677 >  ac_status=$?
14678 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14679 >  test $ac_status = 0; }
14680 >      ;;
14681 >    *)
14682 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14683 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14684 >  ac_status=$?
14685 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14686 >  test $ac_status = 0; }
14687 >      CFLAGS="$CFLAGS $flag"
14688 >      ;;
14689 >   esac
14690 > else
14691 >  CFLAGS="$flag"
14692 > fi
14693 >
14694 > else
14695 >  :
14696 > fi
14697 >
14698 > done
14699 >
14700 >
14701 >
14702 > for flag in -Wextra; do
14703 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14704 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14705 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14706 > if eval \${$as_CACHEVAR+:} false; then :
14707 >  $as_echo_n "(cached) " >&6
14708 > else
14709 >
14710 >  ax_check_save_flags=$CFLAGS
14711 >  CFLAGS="$CFLAGS  $flag"
14712 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 > /* end confdefs.h.  */
14714 >
14715 > int
14716 > main ()
14717 > {
14718 >
14719 >  ;
14720 >  return 0;
14721 > }
14722 > _ACEOF
14723 > if ac_fn_c_try_compile "$LINENO"; then :
14724 >  eval "$as_CACHEVAR=yes"
14725 > else
14726 >  eval "$as_CACHEVAR=no"
14727 > fi
14728 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14729 >  CFLAGS=$ax_check_save_flags
14730 > fi
14731 > eval ac_res=\$$as_CACHEVAR
14732 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14733 > $as_echo "$ac_res" >&6; }
14734 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14735 >  if ${CFLAGS+:} false; then :
14736 >  case " $CFLAGS " in
14737 >    *" $flag "*)
14738 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14739 >  (: CFLAGS already contains $flag) 2>&5
14740 >  ac_status=$?
14741 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14742 >  test $ac_status = 0; }
14743 >      ;;
14744 >    *)
14745 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14746 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14747 >  ac_status=$?
14748 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14749 >  test $ac_status = 0; }
14750 >      CFLAGS="$CFLAGS $flag"
14751 >      ;;
14752 >   esac
14753 > else
14754 >  CFLAGS="$flag"
14755 > fi
14756 >
14757 > else
14758 >  :
14759 > fi
14760 >
14761 > done
14762 >
14763 >
14764 >
14765 > for flag in -Wno-unused; do
14766 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14767 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14768 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14769 > if eval \${$as_CACHEVAR+:} false; then :
14770 >  $as_echo_n "(cached) " >&6
14771 > else
14772 >
14773 >  ax_check_save_flags=$CFLAGS
14774 >  CFLAGS="$CFLAGS  $flag"
14775 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 > /* end confdefs.h.  */
14777 >
14778 > int
14779 > main ()
14780 > {
14781 >
14782 >  ;
14783 >  return 0;
14784 > }
14785 > _ACEOF
14786 > if ac_fn_c_try_compile "$LINENO"; then :
14787 >  eval "$as_CACHEVAR=yes"
14788 > else
14789 >  eval "$as_CACHEVAR=no"
14790 > fi
14791 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14792 >  CFLAGS=$ax_check_save_flags
14793 > fi
14794 > eval ac_res=\$$as_CACHEVAR
14795 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14796 > $as_echo "$ac_res" >&6; }
14797 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14798 >  if ${CFLAGS+:} false; then :
14799 >  case " $CFLAGS " in
14800 >    *" $flag "*)
14801 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14802 >  (: CFLAGS already contains $flag) 2>&5
14803 >  ac_status=$?
14804 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14805 >  test $ac_status = 0; }
14806 >      ;;
14807 >    *)
14808 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14809 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14810 >  ac_status=$?
14811 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14812 >  test $ac_status = 0; }
14813 >      CFLAGS="$CFLAGS $flag"
14814 >      ;;
14815 >   esac
14816 > else
14817 >  CFLAGS="$flag"
14818 > fi
14819 >
14820 > else
14821 >  :
14822 > fi
14823 >
14824 > done
14825 >
14826 >
14827 >
14828 > for flag in -Wcast-qual; do
14829 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14830 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14831 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14832 > if eval \${$as_CACHEVAR+:} false; then :
14833 >  $as_echo_n "(cached) " >&6
14834 > else
14835 >
14836 >  ax_check_save_flags=$CFLAGS
14837 >  CFLAGS="$CFLAGS  $flag"
14838 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 > /* end confdefs.h.  */
14840 >
14841 > int
14842 > main ()
14843 > {
14844 >
14845 >  ;
14846 >  return 0;
14847 > }
14848 > _ACEOF
14849 > if ac_fn_c_try_compile "$LINENO"; then :
14850 >  eval "$as_CACHEVAR=yes"
14851 > else
14852 >  eval "$as_CACHEVAR=no"
14853 > fi
14854 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14855 >  CFLAGS=$ax_check_save_flags
14856 > fi
14857 > eval ac_res=\$$as_CACHEVAR
14858 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14859 > $as_echo "$ac_res" >&6; }
14860 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14861 >  if ${CFLAGS+:} false; then :
14862 >  case " $CFLAGS " in
14863 >    *" $flag "*)
14864 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14865 >  (: CFLAGS already contains $flag) 2>&5
14866 >  ac_status=$?
14867 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14868 >  test $ac_status = 0; }
14869 >      ;;
14870 >    *)
14871 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14872 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14873 >  ac_status=$?
14874 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14875 >  test $ac_status = 0; }
14876 >      CFLAGS="$CFLAGS $flag"
14877 >      ;;
14878 >   esac
14879 > else
14880 >  CFLAGS="$flag"
14881 > fi
14882 >
14883 > else
14884 >  :
14885 > fi
14886 >
14887 > done
14888 >
14889 >
14890 >
14891 > for flag in -Wcast-align; do
14892 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14893 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14894 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14895 > if eval \${$as_CACHEVAR+:} false; then :
14896 >  $as_echo_n "(cached) " >&6
14897 > else
14898 >
14899 >  ax_check_save_flags=$CFLAGS
14900 >  CFLAGS="$CFLAGS  $flag"
14901 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 > /* end confdefs.h.  */
14903 >
14904 > int
14905 > main ()
14906 > {
14907 >
14908 >  ;
14909 >  return 0;
14910 > }
14911 > _ACEOF
14912 > if ac_fn_c_try_compile "$LINENO"; then :
14913 >  eval "$as_CACHEVAR=yes"
14914 > else
14915 >  eval "$as_CACHEVAR=no"
14916 > fi
14917 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14918 >  CFLAGS=$ax_check_save_flags
14919 > fi
14920 > eval ac_res=\$$as_CACHEVAR
14921 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14922 > $as_echo "$ac_res" >&6; }
14923 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14924 >  if ${CFLAGS+:} false; then :
14925 >  case " $CFLAGS " in
14926 >    *" $flag "*)
14927 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14928 >  (: CFLAGS already contains $flag) 2>&5
14929 >  ac_status=$?
14930 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14931 >  test $ac_status = 0; }
14932 >      ;;
14933 >    *)
14934 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14935 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14936 >  ac_status=$?
14937 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14938 >  test $ac_status = 0; }
14939 >      CFLAGS="$CFLAGS $flag"
14940 >      ;;
14941 >   esac
14942 > else
14943 >  CFLAGS="$flag"
14944 > fi
14945 >
14946 > else
14947 >  :
14948 > fi
14949 >
14950 > done
14951 >
14952 >
14953 >
14954 > for flag in -Wbad-function-cast; do
14955 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14956 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14957 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14958 > if eval \${$as_CACHEVAR+:} false; then :
14959 >  $as_echo_n "(cached) " >&6
14960 > else
14961 >
14962 >  ax_check_save_flags=$CFLAGS
14963 >  CFLAGS="$CFLAGS  $flag"
14964 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 > /* end confdefs.h.  */
14966 >
14967 > int
14968 > main ()
14969 > {
14970 >
14971 >  ;
14972 >  return 0;
14973 > }
14974 > _ACEOF
14975 > if ac_fn_c_try_compile "$LINENO"; then :
14976 >  eval "$as_CACHEVAR=yes"
14977 > else
14978 >  eval "$as_CACHEVAR=no"
14979 > fi
14980 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14981 >  CFLAGS=$ax_check_save_flags
14982 > fi
14983 > eval ac_res=\$$as_CACHEVAR
14984 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14985 > $as_echo "$ac_res" >&6; }
14986 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14987 >  if ${CFLAGS+:} false; then :
14988 >  case " $CFLAGS " in
14989 >    *" $flag "*)
14990 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14991 >  (: CFLAGS already contains $flag) 2>&5
14992 >  ac_status=$?
14993 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14994 >  test $ac_status = 0; }
14995 >      ;;
14996 >    *)
14997 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14998 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14999 >  ac_status=$?
15000 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15001 >  test $ac_status = 0; }
15002 >      CFLAGS="$CFLAGS $flag"
15003 >      ;;
15004 >   esac
15005 > else
15006 >  CFLAGS="$flag"
15007 > fi
15008 >
15009 > else
15010 >  :
15011 > fi
15012 >
15013 > done
15014 >
15015 >
15016 >
15017 > for flag in -Wmissing-declarations; do
15018 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15019 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15020 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15021 > if eval \${$as_CACHEVAR+:} false; then :
15022 >  $as_echo_n "(cached) " >&6
15023 > else
15024 >
15025 >  ax_check_save_flags=$CFLAGS
15026 >  CFLAGS="$CFLAGS  $flag"
15027 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15028 > /* end confdefs.h.  */
15029 >
15030 > int
15031 > main ()
15032 > {
15033 >
15034 >  ;
15035 >  return 0;
15036 > }
15037 > _ACEOF
15038 > if ac_fn_c_try_compile "$LINENO"; then :
15039 >  eval "$as_CACHEVAR=yes"
15040 > else
15041 >  eval "$as_CACHEVAR=no"
15042 > fi
15043 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15044 >  CFLAGS=$ax_check_save_flags
15045 > fi
15046 > eval ac_res=\$$as_CACHEVAR
15047 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15048 > $as_echo "$ac_res" >&6; }
15049 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15050 >  if ${CFLAGS+:} false; then :
15051 >  case " $CFLAGS " in
15052 >    *" $flag "*)
15053 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15054 >  (: CFLAGS already contains $flag) 2>&5
15055 >  ac_status=$?
15056 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15057 >  test $ac_status = 0; }
15058 >      ;;
15059 >    *)
15060 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15061 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15062 >  ac_status=$?
15063 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15064 >  test $ac_status = 0; }
15065 >      CFLAGS="$CFLAGS $flag"
15066 >      ;;
15067 >   esac
15068 > else
15069 >  CFLAGS="$flag"
15070 > fi
15071 >
15072 > else
15073 >  :
15074 > fi
15075 >
15076 > done
15077 >
15078 >
15079 >
15080 > for flag in -Wmissing-prototypes; do
15081 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15082 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15083 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15084 > if eval \${$as_CACHEVAR+:} false; then :
15085 >  $as_echo_n "(cached) " >&6
15086 > else
15087 >
15088 >  ax_check_save_flags=$CFLAGS
15089 >  CFLAGS="$CFLAGS  $flag"
15090 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 > /* end confdefs.h.  */
15092 >
15093 > int
15094 > main ()
15095 > {
15096 >
15097 >  ;
15098 >  return 0;
15099 > }
15100 > _ACEOF
15101 > if ac_fn_c_try_compile "$LINENO"; then :
15102 >  eval "$as_CACHEVAR=yes"
15103 > else
15104 >  eval "$as_CACHEVAR=no"
15105 > fi
15106 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107 >  CFLAGS=$ax_check_save_flags
15108 > fi
15109 > eval ac_res=\$$as_CACHEVAR
15110 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15111 > $as_echo "$ac_res" >&6; }
15112 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15113 >  if ${CFLAGS+:} false; then :
15114 >  case " $CFLAGS " in
15115 >    *" $flag "*)
15116 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15117 >  (: CFLAGS already contains $flag) 2>&5
15118 >  ac_status=$?
15119 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15120 >  test $ac_status = 0; }
15121 >      ;;
15122 >    *)
15123 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15124 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15125 >  ac_status=$?
15126 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127 >  test $ac_status = 0; }
15128 >      CFLAGS="$CFLAGS $flag"
15129 >      ;;
15130 >   esac
15131 > else
15132 >  CFLAGS="$flag"
15133 > fi
15134 >
15135 > else
15136 >  :
15137 > fi
15138 >
15139 > done
15140 >
15141 >
15142 >
15143 > for flag in -Wnested-externs; do
15144 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15145 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15146 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15147 > if eval \${$as_CACHEVAR+:} false; then :
15148 >  $as_echo_n "(cached) " >&6
15149 > else
15150 >
15151 >  ax_check_save_flags=$CFLAGS
15152 >  CFLAGS="$CFLAGS  $flag"
15153 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 > /* end confdefs.h.  */
15155 >
15156 > int
15157 > main ()
15158 > {
15159 >
15160 >  ;
15161 >  return 0;
15162 > }
15163 > _ACEOF
15164 > if ac_fn_c_try_compile "$LINENO"; then :
15165 >  eval "$as_CACHEVAR=yes"
15166 > else
15167 >  eval "$as_CACHEVAR=no"
15168 > fi
15169 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15170 >  CFLAGS=$ax_check_save_flags
15171 > fi
15172 > eval ac_res=\$$as_CACHEVAR
15173 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15174 > $as_echo "$ac_res" >&6; }
15175 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15176 >  if ${CFLAGS+:} false; then :
15177 >  case " $CFLAGS " in
15178 >    *" $flag "*)
15179 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15180 >  (: CFLAGS already contains $flag) 2>&5
15181 >  ac_status=$?
15182 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15183 >  test $ac_status = 0; }
15184 >      ;;
15185 >    *)
15186 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15187 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15188 >  ac_status=$?
15189 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15190 >  test $ac_status = 0; }
15191 >      CFLAGS="$CFLAGS $flag"
15192 >      ;;
15193 >   esac
15194 > else
15195 >  CFLAGS="$flag"
15196 > fi
15197 >
15198 > else
15199 >  :
15200 > fi
15201 >
15202 > done
15203 >
15204 >
15205 >
15206 > for flag in -Wredundant-decls; do
15207 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15208 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15209 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15210 > if eval \${$as_CACHEVAR+:} false; then :
15211 >  $as_echo_n "(cached) " >&6
15212 > else
15213 >
15214 >  ax_check_save_flags=$CFLAGS
15215 >  CFLAGS="$CFLAGS  $flag"
15216 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 > /* end confdefs.h.  */
15218 >
15219 > int
15220 > main ()
15221 > {
15222 >
15223 >  ;
15224 >  return 0;
15225 > }
15226 > _ACEOF
15227 > if ac_fn_c_try_compile "$LINENO"; then :
15228 >  eval "$as_CACHEVAR=yes"
15229 > else
15230 >  eval "$as_CACHEVAR=no"
15231 > fi
15232 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15233 >  CFLAGS=$ax_check_save_flags
15234 > fi
15235 > eval ac_res=\$$as_CACHEVAR
15236 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15237 > $as_echo "$ac_res" >&6; }
15238 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15239 >  if ${CFLAGS+:} false; then :
15240 >  case " $CFLAGS " in
15241 >    *" $flag "*)
15242 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15243 >  (: CFLAGS already contains $flag) 2>&5
15244 >  ac_status=$?
15245 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15246 >  test $ac_status = 0; }
15247 >      ;;
15248 >    *)
15249 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15250 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15251 >  ac_status=$?
15252 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15253 >  test $ac_status = 0; }
15254 >      CFLAGS="$CFLAGS $flag"
15255 >      ;;
15256 >   esac
15257 > else
15258 >  CFLAGS="$flag"
15259 > fi
15260 >
15261 > else
15262 >  :
15263 > fi
15264 >
15265 > done
15266 >
15267 >
15268 >
15269 > for flag in -Wshadow; do
15270 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15271 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15272 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15273 > if eval \${$as_CACHEVAR+:} false; then :
15274 >  $as_echo_n "(cached) " >&6
15275 > else
15276 >
15277 >  ax_check_save_flags=$CFLAGS
15278 >  CFLAGS="$CFLAGS  $flag"
15279 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 > /* end confdefs.h.  */
15281 >
15282 > int
15283 > main ()
15284 > {
15285 >
15286 >  ;
15287 >  return 0;
15288 > }
15289 > _ACEOF
15290 > if ac_fn_c_try_compile "$LINENO"; then :
15291 >  eval "$as_CACHEVAR=yes"
15292 > else
15293 >  eval "$as_CACHEVAR=no"
15294 > fi
15295 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15296 >  CFLAGS=$ax_check_save_flags
15297 > fi
15298 > eval ac_res=\$$as_CACHEVAR
15299 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15300 > $as_echo "$ac_res" >&6; }
15301 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15302 >  if ${CFLAGS+:} false; then :
15303 >  case " $CFLAGS " in
15304 >    *" $flag "*)
15305 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15306 >  (: CFLAGS already contains $flag) 2>&5
15307 >  ac_status=$?
15308 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15309 >  test $ac_status = 0; }
15310 >      ;;
15311 >    *)
15312 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15313 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15314 >  ac_status=$?
15315 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15316 >  test $ac_status = 0; }
15317 >      CFLAGS="$CFLAGS $flag"
15318 >      ;;
15319 >   esac
15320 > else
15321 >  CFLAGS="$flag"
15322 > fi
15323 >
15324 > else
15325 >  :
15326 > fi
15327 >
15328 > done
15329 >
15330 >
15331 >
15332 > for flag in -Wwrite-strings; do
15333 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15334 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15335 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15336 > if eval \${$as_CACHEVAR+:} false; then :
15337 >  $as_echo_n "(cached) " >&6
15338 > else
15339 >
15340 >  ax_check_save_flags=$CFLAGS
15341 >  CFLAGS="$CFLAGS  $flag"
15342 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 > /* end confdefs.h.  */
15344 >
15345 > int
15346 > main ()
15347 > {
15348 >
15349 >  ;
15350 >  return 0;
15351 > }
15352 > _ACEOF
15353 > if ac_fn_c_try_compile "$LINENO"; then :
15354 >  eval "$as_CACHEVAR=yes"
15355 > else
15356 >  eval "$as_CACHEVAR=no"
15357 > fi
15358 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15359 >  CFLAGS=$ax_check_save_flags
15360 > fi
15361 > eval ac_res=\$$as_CACHEVAR
15362 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15363 > $as_echo "$ac_res" >&6; }
15364 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15365 >  if ${CFLAGS+:} false; then :
15366 >  case " $CFLAGS " in
15367 >    *" $flag "*)
15368 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15369 >  (: CFLAGS already contains $flag) 2>&5
15370 >  ac_status=$?
15371 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15372 >  test $ac_status = 0; }
15373 >      ;;
15374 >    *)
15375 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15376 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15377 >  ac_status=$?
15378 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 >  test $ac_status = 0; }
15380 >      CFLAGS="$CFLAGS $flag"
15381 >      ;;
15382 >   esac
15383 > else
15384 >  CFLAGS="$flag"
15385 > fi
15386 >
15387 > else
15388 >  :
15389 > fi
15390 >
15391 > done
15392 >
15393 >
15394 >
15395 > for flag in -Wundef; do
15396 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15397 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15398 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15399 > if eval \${$as_CACHEVAR+:} false; then :
15400 >  $as_echo_n "(cached) " >&6
15401 > else
15402 >
15403 >  ax_check_save_flags=$CFLAGS
15404 >  CFLAGS="$CFLAGS  $flag"
15405 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 > /* end confdefs.h.  */
15407 >
15408 > int
15409 > main ()
15410 > {
15411 >
15412 >  ;
15413 >  return 0;
15414 > }
15415 > _ACEOF
15416 > if ac_fn_c_try_compile "$LINENO"; then :
15417 >  eval "$as_CACHEVAR=yes"
15418 > else
15419 >  eval "$as_CACHEVAR=no"
15420 > fi
15421 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15422 >  CFLAGS=$ax_check_save_flags
15423 > fi
15424 > eval ac_res=\$$as_CACHEVAR
15425 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15426 > $as_echo "$ac_res" >&6; }
15427 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15428 >  if ${CFLAGS+:} false; then :
15429 >  case " $CFLAGS " in
15430 >    *" $flag "*)
15431 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15432 >  (: CFLAGS already contains $flag) 2>&5
15433 >  ac_status=$?
15434 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 >  test $ac_status = 0; }
15436 >      ;;
15437 >    *)
15438 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15439 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15440 >  ac_status=$?
15441 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15442 >  test $ac_status = 0; }
15443 >      CFLAGS="$CFLAGS $flag"
15444 >      ;;
15445 >   esac
15446 > else
15447 >  CFLAGS="$flag"
15448 > fi
15449 >
15450 > else
15451 >  :
15452 > fi
15453 >
15454 > done
15455 >
15456    fi
15457  
15458  
# Line 14525 | Line 15542 | _ACEOF
15542    test "$exec_prefix_NONE" && exec_prefix=NONE
15543  
15544  
15545 < ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
15545 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15546  
15547  
15548   cat >confcache <<\_ACEOF
# Line 15570 | Line 16587 | do
16587      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16588      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16589      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15573    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16590      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16591      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16592      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16593      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15578    "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15579    "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
16594      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16595  
16596    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16225 | Line 17239 | $as_echo X"$mf" |
17239      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17240      test -z "$DEPDIR" && continue
17241      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17242 <    test -z "am__include" && continue
17242 >    test -z "$am__include" && continue
17243      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17244      # Find all dependency output files, they are included files with
17245      # $(DEPDIR) in their names.  We invoke sed twice because it is the

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)