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 1730 by michael, Sun Jan 6 11:27:11 2013 UTC vs.
Revision 4333 by michael, Sat Aug 2 15:53:16 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 1720 2012-12-28 21:06:21Z michael .
2 > # From configure.ac Id: configure.ac 3724 2014-05-31 16:27:09Z 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
816 – enable_select
817 – with_nicklen
818 – with_topiclen
819 – enable_halfops
815   enable_debugging
816   enable_warnings
817   '
# Line 1464 | Line 1459 | Optional Features:
1459                            optimize for fast installation [default=yes]
1460    --disable-libtool-lock  avoid locking (might break parallel builds)
1461    --enable-ltdl-install   install libltdl
1462 <  --disable-libpcre       Disable PCRE support
1462 >  --disable-libgeoip      Disable GeoIP support
1463    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1464    --disable-openssl            Disable OpenSSL support.
1465    --enable-assert         Enable assert() statements
1466    --enable-kqueue         Force kqueue usage.
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1474 –  --enable-rtsigio        Force rtsigio usage.
1469    --enable-poll           Force poll usage.
1476 –  --enable-select         Force select usage.
1477 –  --enable-halfops        Enable halfops support.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1489 | Line 1481 | Optional Packages:
1481    --with-included-ltdl    use the GNU ltdl sources included here
1482    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1483    --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).
1484  
1485   Some influential environment variables:
1486    CC          C compiler command
# Line 2459 | Line 2449 | ac_link='$CC -o conftest$ac_exeext $CFLA
2449   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450  
2451  
2452 < am__api_version='1.13'
2452 > am__api_version='1.14'
2453  
2454   ac_aux_dir=
2455   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 3014 | Line 3004 | mkdir_p='$(MKDIR_P)'
3004   # in the wild :-(  We should find a proper way to deprecate it ...
3005   AMTAR='$${TAR-tar}'
3006  
3007 +
3008 + # We'll loop over all known methods to create a tar archive until one works.
3009 + _am_tools='gnutar  pax cpio none'
3010 +
3011   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3012  
3013  
# Line 3021 | Line 3015 | am__tar='$${TAR-tar} chof - "$$tardir"'
3015  
3016  
3017  
3018 + # POSIX will say in a future version that running "rm -f" with no argument
3019 + # is OK; and we want to be able to make that assumption in our Makefile
3020 + # recipes.  So use an aggressive probe to check that the usage we want is
3021 + # actually supported "in the wild" to an acceptable degree.
3022 + # See automake bug#10828.
3023 + # To make any issue more visible, cause the running configure to be aborted
3024 + # by default if the 'rm' program in use doesn't match our expectations; the
3025 + # user can still override this though.
3026 + if rm -f && rm -fr && rm -rf; then : OK; else
3027 +  cat >&2 <<'END'
3028 + Oops!
3029 +
3030 + Your 'rm' program seems unable to run without file operands specified
3031 + on the command line, even when the '-f' option is present.  This is contrary
3032 + to the behaviour of most rm programs out there, and not conforming with
3033 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3034 +
3035 + Please tell bug-automake@gnu.org about your system, including the value
3036 + of your $PATH and any error possibly output before this message.  This
3037 + can help us improve future automake versions.
3038 +
3039 + END
3040 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3041 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3042 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3043 +    echo >&2
3044 +  else
3045 +    cat >&2 <<'END'
3046 + Aborting the configuration process, to ensure you take notice of the issue.
3047 +
3048 + You can download and install GNU coreutils to get an 'rm' implementation
3049 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3050 +
3051 + If you want to complete the configuration process using your problematic
3052 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3053 + to "yes", and re-run configure.
3054 +
3055 + END
3056 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3057 +  fi
3058 + fi
3059 +
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3061   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3062      # Check whether --enable-maintainer-mode was given.
# Line 3043 | Line 3079 | fi
3079    MAINT=$MAINTAINER_MODE_TRUE
3080  
3081  
3082 +
3083   ac_config_headers="$ac_config_headers config.h"
3084  
3085  
# Line 3900 | Line 3937 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
3937   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939  
3940 + ac_ext=c
3941 + ac_cpp='$CPP $CPPFLAGS'
3942 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3946 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3947 + if ${am_cv_prog_cc_c_o+:} false; then :
3948 +  $as_echo_n "(cached) " >&6
3949 + else
3950 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 + /* end confdefs.h.  */
3952 +
3953 + int
3954 + main ()
3955 + {
3956 +
3957 +  ;
3958 +  return 0;
3959 + }
3960 + _ACEOF
3961 +  # Make sure it works both with $CC and with simple cc.
3962 +  # Following AC_PROG_CC_C_O, we do the test twice because some
3963 +  # compilers refuse to overwrite an existing .o file with -o,
3964 +  # though they will create one.
3965 +  am_cv_prog_cc_c_o=yes
3966 +  for am_i in 1 2; do
3967 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3968 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3969 +   ac_status=$?
3970 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 +   (exit $ac_status); } \
3972 +         && test -f conftest2.$ac_objext; then
3973 +      : OK
3974 +    else
3975 +      am_cv_prog_cc_c_o=no
3976 +      break
3977 +    fi
3978 +  done
3979 +  rm -f core conftest*
3980 +  unset am_i
3981 + fi
3982 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3983 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
3984 + if test "$am_cv_prog_cc_c_o" != yes; then
3985 +   # Losing compiler, so override with the script.
3986 +   # FIXME: It is wrong to rewrite CC.
3987 +   # But if we don't then we get into trouble of one sort or another.
3988 +   # A longer-term fix would be to have automake use am__CC in this case,
3989 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3990 +   CC="$am_aux_dir/compile $CC"
3991 + fi
3992 + ac_ext=c
3993 + ac_cpp='$CPP $CPPFLAGS'
3994 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 +
3998 +
3999   depcc="$CC"   am_compiler_list=
4000  
4001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 8460 | Line 8556 | _lt_linker_boilerplate=`cat conftest.err
8556   $RM -r conftest*
8557  
8558  
8559 + ## CAVEAT EMPTOR:
8560 + ## There is no encapsulation within the following macros, do not change
8561 + ## the running order or otherwise move them around unless you know exactly
8562 + ## what you are doing...
8563   if test -n "$compiler"; then
8564  
8565   lt_prog_compiler_no_builtin_flag=
# Line 13073 | Line 13173 | LIBTOOL="$LIBTOOL --silent"
13173  
13174   # Checks for libraries.
13175  
13176 +
13177 +  if test "X$CC" != "X"; then
13178 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
13179 + $as_echo_n "checking whether ${CC} accepts -fstack-protector... " >&6; }
13180 + if ${ssp_cv_cc+:} false; then :
13181 +  $as_echo_n "(cached) " >&6
13182 + else
13183 +  ssp_old_cflags="$CFLAGS"
13184 +       CFLAGS="$CFLAGS -fstack-protector"
13185 +       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 + /* end confdefs.h.  */
13187 +
13188 + int
13189 + main ()
13190 + {
13191 +
13192 +  ;
13193 +  return 0;
13194 + }
13195 + _ACEOF
13196 + if ac_fn_c_try_compile "$LINENO"; then :
13197 +  ssp_cv_cc=yes
13198 + else
13199 +  ssp_cv_cc=no
13200 + fi
13201 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13202 +       CFLAGS="$ssp_old_cflags"
13203 +
13204 + fi
13205 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
13206 + $as_echo "$ssp_cv_cc" >&6; }
13207 +    if test $ssp_cv_cc = yes; then
13208 +      CFLAGS="$CFLAGS -fstack-protector"
13209 +
13210 + $as_echo "#define ENABLE_SSP_CC 1" >>confdefs.h
13211 +
13212 +    fi
13213 +  fi
13214 +
13215 +
13216 +
13217 +
13218 +
13219 +
13220 + for flag in -fno-strict-aliasing; do
13221 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
13222 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13223 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13224 + if eval \${$as_CACHEVAR+:} false; then :
13225 +  $as_echo_n "(cached) " >&6
13226 + else
13227 +
13228 +  ax_check_save_flags=$CFLAGS
13229 +  CFLAGS="$CFLAGS  $flag"
13230 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 + /* end confdefs.h.  */
13232 +
13233 + int
13234 + main ()
13235 + {
13236 +
13237 +  ;
13238 +  return 0;
13239 + }
13240 + _ACEOF
13241 + if ac_fn_c_try_compile "$LINENO"; then :
13242 +  eval "$as_CACHEVAR=yes"
13243 + else
13244 +  eval "$as_CACHEVAR=no"
13245 + fi
13246 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13247 +  CFLAGS=$ax_check_save_flags
13248 + fi
13249 + eval ac_res=\$$as_CACHEVAR
13250 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13251 + $as_echo "$ac_res" >&6; }
13252 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
13253 +  if ${CFLAGS+:} false; then :
13254 +  case " $CFLAGS " in
13255 +    *" $flag "*)
13256 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13257 +  (: CFLAGS already contains $flag) 2>&5
13258 +  ac_status=$?
13259 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13260 +  test $ac_status = 0; }
13261 +      ;;
13262 +    *)
13263 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
13264 +  (: CFLAGS="$CFLAGS $flag") 2>&5
13265 +  ac_status=$?
13266 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 +  test $ac_status = 0; }
13268 +      CFLAGS="$CFLAGS $flag"
13269 +      ;;
13270 +   esac
13271 + else
13272 +  CFLAGS="$flag"
13273 + fi
13274 +
13275 + else
13276 +  :
13277 + fi
13278 +
13279 + done
13280 +
13281 +
13282 +
13283    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13284   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13285  
# Line 13662 | Line 13869 | if test "$ac_res" != no; then :
13869   fi
13870  
13871  
13872 < # Check whether --enable-libpcre was given.
13873 < if test "${enable_libpcre+set}" = set; then :
13874 <  enableval=$enable_libpcre;
13875 < else
13876 <  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13877 < if test "x$ac_cv_header_pcre_h" = xyes; then :
13878 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcre_study" >&5
13879 < $as_echo_n "checking for library containing pcre_study... " >&6; }
13880 < if ${ac_cv_search_pcre_study+:} false; then :
13872 > # Check whether --enable-libgeoip was given.
13873 > if test "${enable_libgeoip+set}" = set; then :
13874 >  enableval=$enable_libgeoip;
13875 > else
13876 >  ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
13877 > if test "x$ac_cv_header_GeoIP_h" = xyes; then :
13878 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing GeoIP_id_by_ipnum_v6_gl" >&5
13879 > $as_echo_n "checking for library containing GeoIP_id_by_ipnum_v6_gl... " >&6; }
13880 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13881    $as_echo_n "(cached) " >&6
13882   else
13883    ac_func_search_save_LIBS=$LIBS
# Line 13683 | Line 13890 | cat confdefs.h - <<_ACEOF >conftest.$ac_
13890   #ifdef __cplusplus
13891   extern "C"
13892   #endif
13893 < char pcre_study ();
13893 > char GeoIP_id_by_ipnum_v6_gl ();
13894   int
13895   main ()
13896   {
13897 < return pcre_study ();
13897 > return GeoIP_id_by_ipnum_v6_gl ();
13898    ;
13899    return 0;
13900   }
13901   _ACEOF
13902 < for ac_lib in '' pcre; do
13902 > for ac_lib in '' GeoIP; do
13903    if test -z "$ac_lib"; then
13904      ac_res="none required"
13905    else
# Line 13700 | Line 13907 | for ac_lib in '' pcre; do
13907      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13908    fi
13909    if ac_fn_c_try_link "$LINENO"; then :
13910 <  ac_cv_search_pcre_study=$ac_res
13910 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=$ac_res
13911   fi
13912   rm -f core conftest.err conftest.$ac_objext \
13913      conftest$ac_exeext
13914 <  if ${ac_cv_search_pcre_study+:} false; then :
13914 >  if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13915    break
13916   fi
13917   done
13918 < if ${ac_cv_search_pcre_study+:} false; then :
13918 > if ${ac_cv_search_GeoIP_id_by_ipnum_v6_gl+:} false; then :
13919  
13920   else
13921 <  ac_cv_search_pcre_study=no
13921 >  ac_cv_search_GeoIP_id_by_ipnum_v6_gl=no
13922   fi
13923   rm conftest.$ac_ext
13924   LIBS=$ac_func_search_save_LIBS
13925   fi
13926 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcre_study" >&5
13927 < $as_echo "$ac_cv_search_pcre_study" >&6; }
13928 < ac_res=$ac_cv_search_pcre_study
13926 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&5
13927 > $as_echo "$ac_cv_search_GeoIP_id_by_ipnum_v6_gl" >&6; }
13928 > ac_res=$ac_cv_search_GeoIP_id_by_ipnum_v6_gl
13929   if test "$ac_res" != no; then :
13930    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13931  
13932 < $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13932 > $as_echo "#define HAVE_LIBGEOIP 1" >>confdefs.h
13933  
13934   fi
13935  
# Line 13732 | Line 13939 | fi
13939   fi
13940  
13941  
13942 +
13943   # Check whether --enable-openssl was given.
13944   if test "${enable_openssl+set}" = set; then :
13945    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13786 | Line 13994 | $as_echo "disabled" >&6; }
13994   fi
13995  
13996   if test "$cf_enable_openssl" != "no"; then :
13997 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13998 < $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13997 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8m or above" >&5
13998 > $as_echo_n "checking for OpenSSL 0.9.8m or above... " >&6; }
13999    if test "$cross_compiling" = yes; then :
14000    cf_openssl_version_ok=no
14001   else
# Line 13800 | Line 14008 | else
14008   int
14009   main ()
14010   {
14011 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14011 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080dfL));
14012    ;
14013    return 0;
14014   }
# Line 13944 | Line 14152 | $as_echo "#define NDEBUG 1" >>confdefs.h
14152   fi
14153  
14154  
14155 + $as_echo "#define NICKNAMEHISTORYLENGTH 32768" >>confdefs.h
14156  
13948 – $as_echo "#define NICKNAMEHISTORYLENGTH 16384" >>confdefs.h
14157  
14158 + $as_echo "#define MP_CHUNK_SIZE_CHANNEL 1024*1024" >>confdefs.h
14159  
13951 – $as_echo "#define MP_CHUNK_SIZE_CHANNEL 64*1024" >>confdefs.h
14160  
14161 + $as_echo "#define MP_CHUNK_SIZE_MEMBER 2048*1024" >>confdefs.h
14162  
13954 – $as_echo "#define MP_CHUNK_SIZE_MEMBER 32*1024" >>confdefs.h
14163  
14164 + $as_echo "#define MP_CHUNK_SIZE_BAN 1024*1024" >>confdefs.h
14165  
13957 – $as_echo "#define MP_CHUNK_SIZE_BAN 16*1024" >>confdefs.h
14166  
14167 + $as_echo "#define MP_CHUNK_SIZE_CLIENT 1024*1024" >>confdefs.h
14168  
13960 – $as_echo "#define MP_CHUNK_SIZE_CLIENT 256*1024" >>confdefs.h
14169  
14170 + $as_echo "#define MP_CHUNK_SIZE_LCLIENT 512*1024" >>confdefs.h
14171  
13963 – $as_echo "#define MP_CHUNK_SIZE_LCLIENT 128*1024" >>confdefs.h
14172  
14173 <
13966 < $as_echo "#define MP_CHUNK_SIZE_DNODE 8*1024" >>confdefs.h
14173 > $as_echo "#define MP_CHUNK_SIZE_DNODE 32*1024" >>confdefs.h
14174  
14175  
14176   $as_echo "#define MP_CHUNK_SIZE_DBUF 512*1024" >>confdefs.h
14177  
14178  
14179 < $as_echo "#define MP_CHUNK_SIZE_AUTH 32*1024" >>confdefs.h
14179 > $as_echo "#define MP_CHUNK_SIZE_AUTH 128*1024" >>confdefs.h
14180 >
14181 >
14182 > $as_echo "#define MP_CHUNK_SIZE_DNS 64*1024" >>confdefs.h
14183 >
14184  
14185 + $as_echo "#define MP_CHUNK_SIZE_WATCH 8*1024" >>confdefs.h
14186  
13975 – $as_echo "#define MP_CHUNK_SIZE_DNS 16*1024" >>confdefs.h
14187  
14188 + $as_echo "#define MP_CHUNK_SIZE_NAMEHOST 64*1024" >>confdefs.h
14189  
14190 < $as_echo "#define MP_CHUNK_SIZE_WATCH 4*1024" >>confdefs.h
14190 >
14191 > $as_echo "#define MP_CHUNK_SIZE_USERHOST 128*1024" >>confdefs.h
14192 >
14193 >
14194 > $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY 128*1024" >>confdefs.h
14195  
14196  
14197   # Argument processing.
# Line 13996 | Line 14212 | if test "${enable_devpoll+set}" = set; t
14212    enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
14213   fi
14214  
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 –
14215    # Check whether --enable-poll was given.
14216   if test "${enable_poll+set}" = set; then :
14217    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14218   fi
14219  
14009 –  # Check whether --enable-select was given.
14010 – if test "${enable_select+set}" = set; then :
14011 –  enableval=$enable_select; desired_iopoll_mechanism="select"
14012 – fi
14013 –
14220        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14221   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14222    iopoll_mechanism_none=0
# Line 14184 | Line 14390 | rm -f core conftest.err conftest.$ac_obj
14390   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14391  
14392    fi
14393 <      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
14393 >      iopoll_mechanism_poll=4
14394  
14395   cat >>confdefs.h <<_ACEOF
14396   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14279 | Line 14444 | else
14444   fi
14445   rm -f core conftest.err conftest.$ac_objext \
14446      conftest$ac_exeext conftest.$ac_ext
14282 –      iopoll_mechanism_select=6
14283 –
14284 – cat >>confdefs.h <<_ACEOF
14285 – #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14286 – _ACEOF
14287 –
14288 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 – /* end confdefs.h.  */
14290 – /* Define select to an innocuous variant, in case <limits.h> declares select.
14291 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14292 – #define select innocuous_select
14293 –
14294 – /* System header to define __stub macros and hopefully few prototypes,
14295 –    which can conflict with char select (); below.
14296 –    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14297 –    <limits.h> exists even on freestanding compilers.  */
14298 –
14299 – #ifdef __STDC__
14300 – # include <limits.h>
14301 – #else
14302 – # include <assert.h>
14303 – #endif
14304 –
14305 – #undef select
14306 –
14307 – /* Override any GCC internal prototype to avoid an error.
14308 –   Use char because int might match the return type of a GCC
14309 –   builtin and then its argument prototype would still apply.  */
14310 – #ifdef __cplusplus
14311 – extern "C"
14312 – #endif
14313 – char select ();
14314 – /* The GNU C library defines this for functions which it implements
14315 –    to always fail with ENOSYS.  Some functions are actually named
14316 –    something starting with __ and the normal name is an alias.  */
14317 – #if defined __stub_select || defined __stub___select
14318 – choke me
14319 – #endif
14320 –
14321 – int
14322 – main ()
14323 – {
14324 – return select ();
14325 –  ;
14326 –  return 0;
14327 – }
14328 – _ACEOF
14329 – if ac_fn_c_try_link "$LINENO"; then :
14330 –  is_select_mechanism_available="yes"
14331 – else
14332 –  is_select_mechanism_available="no"
14333 – fi
14334 – rm -f core conftest.err conftest.$ac_objext \
14335 –    conftest$ac_exeext conftest.$ac_ext
14447        optimal_iopoll_mechanism="none"
14448 <  for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14448 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14449      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14450      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14451        optimal_iopoll_mechanism="$mechanism"
# Line 14371 | Line 14482 | _ACEOF
14482  
14483  
14484  
14485 +  # Check whether --enable-debugging was given.
14486 + if test "${enable_debugging+set}" = set; then :
14487 +  enableval=$enable_debugging; debugging="$enableval"
14488 + else
14489 +  debugging="no"
14490 + fi
14491 +
14492 +  if test "$debugging" = "yes" ; then
14493 +    CFLAGS="-Wall -g -O0"
14494 +  fi
14495 +
14496  
14497 < # Check whether --with-nicklen was given.
14498 < if test "${with_nicklen+set}" = set; then :
14499 <  withval=$with_nicklen; nicklen="$withval"
14497 >  # Check whether --enable-warnings was given.
14498 > if test "${enable_warnings+set}" = set; then :
14499 >  enableval=$enable_warnings; warnings="$enableval"
14500   else
14501 <  nicklen="9"
14501 >  warnings="no"
14502   fi
14503  
14504 +  if test "$warnings" = "yes" ; then
14505  
14506 < cat >>confdefs.h <<_ACEOF
14507 < #define NICKLEN ($nicklen)
14506 >
14507 >
14508 >
14509 > for flag in -Wall; do
14510 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14511 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14512 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14513 > if eval \${$as_CACHEVAR+:} false; then :
14514 >  $as_echo_n "(cached) " >&6
14515 > else
14516 >
14517 >  ax_check_save_flags=$CFLAGS
14518 >  CFLAGS="$CFLAGS  $flag"
14519 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 > /* end confdefs.h.  */
14521 >
14522 > int
14523 > main ()
14524 > {
14525 >
14526 >  ;
14527 >  return 0;
14528 > }
14529   _ACEOF
14530 + if ac_fn_c_try_compile "$LINENO"; then :
14531 +  eval "$as_CACHEVAR=yes"
14532 + else
14533 +  eval "$as_CACHEVAR=no"
14534 + fi
14535 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14536 +  CFLAGS=$ax_check_save_flags
14537 + fi
14538 + eval ac_res=\$$as_CACHEVAR
14539 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14540 + $as_echo "$ac_res" >&6; }
14541 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14542 +  if ${CFLAGS+:} false; then :
14543 +  case " $CFLAGS " in
14544 +    *" $flag "*)
14545 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14546 +  (: CFLAGS already contains $flag) 2>&5
14547 +  ac_status=$?
14548 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14549 +  test $ac_status = 0; }
14550 +      ;;
14551 +    *)
14552 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14553 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14554 +  ac_status=$?
14555 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14556 +  test $ac_status = 0; }
14557 +      CFLAGS="$CFLAGS $flag"
14558 +      ;;
14559 +   esac
14560 + else
14561 +  CFLAGS="$flag"
14562 + fi
14563 +
14564 + else
14565 +  :
14566 + fi
14567 +
14568 + done
14569 +
14570 +
14571 +
14572  
14573  
14574 + for flag in -Wextra; do
14575 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14576 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14577 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14578 + if eval \${$as_CACHEVAR+:} false; then :
14579 +  $as_echo_n "(cached) " >&6
14580 + else
14581 +
14582 +  ax_check_save_flags=$CFLAGS
14583 +  CFLAGS="$CFLAGS  $flag"
14584 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 + /* end confdefs.h.  */
14586 +
14587 + int
14588 + main ()
14589 + {
14590  
14591 +  ;
14592 +  return 0;
14593 + }
14594 + _ACEOF
14595 + if ac_fn_c_try_compile "$LINENO"; then :
14596 +  eval "$as_CACHEVAR=yes"
14597 + else
14598 +  eval "$as_CACHEVAR=no"
14599 + fi
14600 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14601 +  CFLAGS=$ax_check_save_flags
14602 + fi
14603 + eval ac_res=\$$as_CACHEVAR
14604 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14605 + $as_echo "$ac_res" >&6; }
14606 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14607 +  if ${CFLAGS+:} false; then :
14608 +  case " $CFLAGS " in
14609 +    *" $flag "*)
14610 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14611 +  (: CFLAGS already contains $flag) 2>&5
14612 +  ac_status=$?
14613 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14614 +  test $ac_status = 0; }
14615 +      ;;
14616 +    *)
14617 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14618 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14619 +  ac_status=$?
14620 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621 +  test $ac_status = 0; }
14622 +      CFLAGS="$CFLAGS $flag"
14623 +      ;;
14624 +   esac
14625 + else
14626 +  CFLAGS="$flag"
14627 + fi
14628  
14390 – # Check whether --with-topiclen was given.
14391 – if test "${with_topiclen+set}" = set; then :
14392 –  withval=$with_topiclen; topiclen="$withval"
14629   else
14630 <  topiclen="160"
14630 >  :
14631   fi
14632  
14633 + done
14634  
14635 < cat >>confdefs.h <<_ACEOF
14636 < #define TOPICLEN ($topiclen)
14635 >
14636 >
14637 >
14638 >
14639 > for flag in -Wno-unused; 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  
14703 <  # Check whether --enable-halfops was given.
14704 < if test "${enable_halfops+set}" = set; then :
14705 <  enableval=$enable_halfops; halfops="$enableval"
14703 >
14704 > for flag in -Wcast-qual; do
14705 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14706 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14707 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14708 > if eval \${$as_CACHEVAR+:} false; then :
14709 >  $as_echo_n "(cached) " >&6
14710   else
14711 <  halfops="no"
14711 >
14712 >  ax_check_save_flags=$CFLAGS
14713 >  CFLAGS="$CFLAGS  $flag"
14714 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 > /* end confdefs.h.  */
14716 >
14717 > int
14718 > main ()
14719 > {
14720 >
14721 >  ;
14722 >  return 0;
14723 > }
14724 > _ACEOF
14725 > if ac_fn_c_try_compile "$LINENO"; then :
14726 >  eval "$as_CACHEVAR=yes"
14727 > else
14728 >  eval "$as_CACHEVAR=no"
14729 > fi
14730 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14731 >  CFLAGS=$ax_check_save_flags
14732 > fi
14733 > eval ac_res=\$$as_CACHEVAR
14734 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14735 > $as_echo "$ac_res" >&6; }
14736 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14737 >  if ${CFLAGS+:} false; then :
14738 >  case " $CFLAGS " in
14739 >    *" $flag "*)
14740 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14741 >  (: CFLAGS already contains $flag) 2>&5
14742 >  ac_status=$?
14743 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14744 >  test $ac_status = 0; }
14745 >      ;;
14746 >    *)
14747 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14748 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14749 >  ac_status=$?
14750 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14751 >  test $ac_status = 0; }
14752 >      CFLAGS="$CFLAGS $flag"
14753 >      ;;
14754 >   esac
14755 > else
14756 >  CFLAGS="$flag"
14757 > fi
14758 >
14759 > else
14760 >  :
14761   fi
14762  
14763 <  if test "$halfops" = "yes" ; then
14763 > done
14764  
14413 – $as_echo "#define HALFOPS 1" >>confdefs.h
14765  
14415 –  fi
14766  
14767  
14768 <  # Check whether --enable-debugging was given.
14769 < if test "${enable_debugging+set}" = set; then :
14770 <  enableval=$enable_debugging; debugging="$enableval"
14768 >
14769 > for flag in -Wcast-align; do
14770 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14771 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14772 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14773 > if eval \${$as_CACHEVAR+:} false; then :
14774 >  $as_echo_n "(cached) " >&6
14775   else
14776 <  debugging="no"
14776 >
14777 >  ax_check_save_flags=$CFLAGS
14778 >  CFLAGS="$CFLAGS  $flag"
14779 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 > /* end confdefs.h.  */
14781 >
14782 > int
14783 > main ()
14784 > {
14785 >
14786 >  ;
14787 >  return 0;
14788 > }
14789 > _ACEOF
14790 > if ac_fn_c_try_compile "$LINENO"; then :
14791 >  eval "$as_CACHEVAR=yes"
14792 > else
14793 >  eval "$as_CACHEVAR=no"
14794 > fi
14795 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 >  CFLAGS=$ax_check_save_flags
14797 > fi
14798 > eval ac_res=\$$as_CACHEVAR
14799 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14800 > $as_echo "$ac_res" >&6; }
14801 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14802 >  if ${CFLAGS+:} false; then :
14803 >  case " $CFLAGS " in
14804 >    *" $flag "*)
14805 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14806 >  (: CFLAGS already contains $flag) 2>&5
14807 >  ac_status=$?
14808 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14809 >  test $ac_status = 0; }
14810 >      ;;
14811 >    *)
14812 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14813 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14814 >  ac_status=$?
14815 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14816 >  test $ac_status = 0; }
14817 >      CFLAGS="$CFLAGS $flag"
14818 >      ;;
14819 >   esac
14820 > else
14821 >  CFLAGS="$flag"
14822   fi
14823  
14824 <  if test "$debugging" = "yes" ; then
14825 <    CFLAGS="-Wall -g -O0"
14826 <  fi
14824 > else
14825 >  :
14826 > fi
14827  
14828 + done
14829  
14830 <  # Check whether --enable-warnings was given.
14831 < if test "${enable_warnings+set}" = set; then :
14832 <  enableval=$enable_warnings; warnings="$enableval"
14830 >
14831 >
14832 >
14833 >
14834 > for flag in -Wbad-function-cast; do
14835 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14836 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14837 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14838 > if eval \${$as_CACHEVAR+:} false; then :
14839 >  $as_echo_n "(cached) " >&6
14840   else
14841 <  warnings="no"
14841 >
14842 >  ax_check_save_flags=$CFLAGS
14843 >  CFLAGS="$CFLAGS  $flag"
14844 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 > /* end confdefs.h.  */
14846 >
14847 > int
14848 > main ()
14849 > {
14850 >
14851 >  ;
14852 >  return 0;
14853 > }
14854 > _ACEOF
14855 > if ac_fn_c_try_compile "$LINENO"; then :
14856 >  eval "$as_CACHEVAR=yes"
14857 > else
14858 >  eval "$as_CACHEVAR=no"
14859 > fi
14860 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14861 >  CFLAGS=$ax_check_save_flags
14862 > fi
14863 > eval ac_res=\$$as_CACHEVAR
14864 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14865 > $as_echo "$ac_res" >&6; }
14866 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14867 >  if ${CFLAGS+:} false; then :
14868 >  case " $CFLAGS " in
14869 >    *" $flag "*)
14870 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14871 >  (: CFLAGS already contains $flag) 2>&5
14872 >  ac_status=$?
14873 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14874 >  test $ac_status = 0; }
14875 >      ;;
14876 >    *)
14877 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14878 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14879 >  ac_status=$?
14880 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14881 >  test $ac_status = 0; }
14882 >      CFLAGS="$CFLAGS $flag"
14883 >      ;;
14884 >   esac
14885 > else
14886 >  CFLAGS="$flag"
14887   fi
14888  
14889 <  if test "$warnings" = "yes" ; then
14890 <    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14889 > else
14890 >  :
14891 > fi
14892 >
14893 > done
14894 >
14895 >
14896 >
14897 >
14898 >
14899 > for flag in -Wlogical-op; do
14900 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14901 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14902 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14903 > if eval \${$as_CACHEVAR+:} false; then :
14904 >  $as_echo_n "(cached) " >&6
14905 > else
14906 >
14907 >  ax_check_save_flags=$CFLAGS
14908 >  CFLAGS="$CFLAGS  $flag"
14909 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 > /* end confdefs.h.  */
14911 >
14912 > int
14913 > main ()
14914 > {
14915 >
14916 >  ;
14917 >  return 0;
14918 > }
14919 > _ACEOF
14920 > if ac_fn_c_try_compile "$LINENO"; then :
14921 >  eval "$as_CACHEVAR=yes"
14922 > else
14923 >  eval "$as_CACHEVAR=no"
14924 > fi
14925 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14926 >  CFLAGS=$ax_check_save_flags
14927 > fi
14928 > eval ac_res=\$$as_CACHEVAR
14929 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14930 > $as_echo "$ac_res" >&6; }
14931 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14932 >  if ${CFLAGS+:} false; then :
14933 >  case " $CFLAGS " in
14934 >    *" $flag "*)
14935 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14936 >  (: CFLAGS already contains $flag) 2>&5
14937 >  ac_status=$?
14938 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 >  test $ac_status = 0; }
14940 >      ;;
14941 >    *)
14942 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14943 >  (: CFLAGS="$CFLAGS $flag") 2>&5
14944 >  ac_status=$?
14945 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14946 >  test $ac_status = 0; }
14947 >      CFLAGS="$CFLAGS $flag"
14948 >      ;;
14949 >   esac
14950 > else
14951 >  CFLAGS="$flag"
14952 > fi
14953 >
14954 > else
14955 >  :
14956 > fi
14957 >
14958 > done
14959 >
14960 >
14961 >
14962 >
14963 >
14964 > for flag in -Wmissing-declarations; do
14965 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14966 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14967 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14968 > if eval \${$as_CACHEVAR+:} false; then :
14969 >  $as_echo_n "(cached) " >&6
14970 > else
14971 >
14972 >  ax_check_save_flags=$CFLAGS
14973 >  CFLAGS="$CFLAGS  $flag"
14974 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 > /* end confdefs.h.  */
14976 >
14977 > int
14978 > main ()
14979 > {
14980 >
14981 >  ;
14982 >  return 0;
14983 > }
14984 > _ACEOF
14985 > if ac_fn_c_try_compile "$LINENO"; then :
14986 >  eval "$as_CACHEVAR=yes"
14987 > else
14988 >  eval "$as_CACHEVAR=no"
14989 > fi
14990 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14991 >  CFLAGS=$ax_check_save_flags
14992 > fi
14993 > eval ac_res=\$$as_CACHEVAR
14994 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14995 > $as_echo "$ac_res" >&6; }
14996 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14997 >  if ${CFLAGS+:} false; then :
14998 >  case " $CFLAGS " in
14999 >    *" $flag "*)
15000 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15001 >  (: CFLAGS already contains $flag) 2>&5
15002 >  ac_status=$?
15003 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 >  test $ac_status = 0; }
15005 >      ;;
15006 >    *)
15007 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15008 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15009 >  ac_status=$?
15010 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011 >  test $ac_status = 0; }
15012 >      CFLAGS="$CFLAGS $flag"
15013 >      ;;
15014 >   esac
15015 > else
15016 >  CFLAGS="$flag"
15017 > fi
15018 >
15019 > else
15020 >  :
15021 > fi
15022 >
15023 > done
15024 >
15025 >
15026 >
15027 >
15028 >
15029 > for flag in -Wmissing-include-dirs; do
15030 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15031 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15032 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15033 > if eval \${$as_CACHEVAR+:} false; then :
15034 >  $as_echo_n "(cached) " >&6
15035 > else
15036 >
15037 >  ax_check_save_flags=$CFLAGS
15038 >  CFLAGS="$CFLAGS  $flag"
15039 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 > /* end confdefs.h.  */
15041 >
15042 > int
15043 > main ()
15044 > {
15045 >
15046 >  ;
15047 >  return 0;
15048 > }
15049 > _ACEOF
15050 > if ac_fn_c_try_compile "$LINENO"; then :
15051 >  eval "$as_CACHEVAR=yes"
15052 > else
15053 >  eval "$as_CACHEVAR=no"
15054 > fi
15055 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15056 >  CFLAGS=$ax_check_save_flags
15057 > fi
15058 > eval ac_res=\$$as_CACHEVAR
15059 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15060 > $as_echo "$ac_res" >&6; }
15061 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15062 >  if ${CFLAGS+:} false; then :
15063 >  case " $CFLAGS " in
15064 >    *" $flag "*)
15065 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15066 >  (: CFLAGS already contains $flag) 2>&5
15067 >  ac_status=$?
15068 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15069 >  test $ac_status = 0; }
15070 >      ;;
15071 >    *)
15072 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15073 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15074 >  ac_status=$?
15075 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15076 >  test $ac_status = 0; }
15077 >      CFLAGS="$CFLAGS $flag"
15078 >      ;;
15079 >   esac
15080 > else
15081 >  CFLAGS="$flag"
15082 > fi
15083 >
15084 > else
15085 >  :
15086 > fi
15087 >
15088 > done
15089 >
15090 >
15091 >
15092 >
15093 >
15094 > for flag in -Wmissing-prototypes; do
15095 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15096 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15097 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15098 > if eval \${$as_CACHEVAR+:} false; then :
15099 >  $as_echo_n "(cached) " >&6
15100 > else
15101 >
15102 >  ax_check_save_flags=$CFLAGS
15103 >  CFLAGS="$CFLAGS  $flag"
15104 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 > /* end confdefs.h.  */
15106 >
15107 > int
15108 > main ()
15109 > {
15110 >
15111 >  ;
15112 >  return 0;
15113 > }
15114 > _ACEOF
15115 > if ac_fn_c_try_compile "$LINENO"; then :
15116 >  eval "$as_CACHEVAR=yes"
15117 > else
15118 >  eval "$as_CACHEVAR=no"
15119 > fi
15120 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 >  CFLAGS=$ax_check_save_flags
15122 > fi
15123 > eval ac_res=\$$as_CACHEVAR
15124 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15125 > $as_echo "$ac_res" >&6; }
15126 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15127 >  if ${CFLAGS+:} false; then :
15128 >  case " $CFLAGS " in
15129 >    *" $flag "*)
15130 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15131 >  (: CFLAGS already contains $flag) 2>&5
15132 >  ac_status=$?
15133 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15134 >  test $ac_status = 0; }
15135 >      ;;
15136 >    *)
15137 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15138 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15139 >  ac_status=$?
15140 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15141 >  test $ac_status = 0; }
15142 >      CFLAGS="$CFLAGS $flag"
15143 >      ;;
15144 >   esac
15145 > else
15146 >  CFLAGS="$flag"
15147 > fi
15148 >
15149 > else
15150 >  :
15151 > fi
15152 >
15153 > done
15154 >
15155 >
15156 >
15157 >
15158 >
15159 > for flag in -Wnested-externs; do
15160 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15161 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15162 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15163 > if eval \${$as_CACHEVAR+:} false; then :
15164 >  $as_echo_n "(cached) " >&6
15165 > else
15166 >
15167 >  ax_check_save_flags=$CFLAGS
15168 >  CFLAGS="$CFLAGS  $flag"
15169 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 > /* end confdefs.h.  */
15171 >
15172 > int
15173 > main ()
15174 > {
15175 >
15176 >  ;
15177 >  return 0;
15178 > }
15179 > _ACEOF
15180 > if ac_fn_c_try_compile "$LINENO"; then :
15181 >  eval "$as_CACHEVAR=yes"
15182 > else
15183 >  eval "$as_CACHEVAR=no"
15184 > fi
15185 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 >  CFLAGS=$ax_check_save_flags
15187 > fi
15188 > eval ac_res=\$$as_CACHEVAR
15189 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15190 > $as_echo "$ac_res" >&6; }
15191 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15192 >  if ${CFLAGS+:} false; then :
15193 >  case " $CFLAGS " in
15194 >    *" $flag "*)
15195 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15196 >  (: CFLAGS already contains $flag) 2>&5
15197 >  ac_status=$?
15198 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 >  test $ac_status = 0; }
15200 >      ;;
15201 >    *)
15202 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15203 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15204 >  ac_status=$?
15205 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15206 >  test $ac_status = 0; }
15207 >      CFLAGS="$CFLAGS $flag"
15208 >      ;;
15209 >   esac
15210 > else
15211 >  CFLAGS="$flag"
15212 > fi
15213 >
15214 > else
15215 >  :
15216 > fi
15217 >
15218 > done
15219 >
15220 >
15221 >
15222 >
15223 >
15224 > for flag in -Wpointer-arith; do
15225 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15226 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15227 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15228 > if eval \${$as_CACHEVAR+:} false; then :
15229 >  $as_echo_n "(cached) " >&6
15230 > else
15231 >
15232 >  ax_check_save_flags=$CFLAGS
15233 >  CFLAGS="$CFLAGS  $flag"
15234 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 > /* end confdefs.h.  */
15236 >
15237 > int
15238 > main ()
15239 > {
15240 >
15241 >  ;
15242 >  return 0;
15243 > }
15244 > _ACEOF
15245 > if ac_fn_c_try_compile "$LINENO"; then :
15246 >  eval "$as_CACHEVAR=yes"
15247 > else
15248 >  eval "$as_CACHEVAR=no"
15249 > fi
15250 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15251 >  CFLAGS=$ax_check_save_flags
15252 > fi
15253 > eval ac_res=\$$as_CACHEVAR
15254 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15255 > $as_echo "$ac_res" >&6; }
15256 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15257 >  if ${CFLAGS+:} false; then :
15258 >  case " $CFLAGS " in
15259 >    *" $flag "*)
15260 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15261 >  (: CFLAGS already contains $flag) 2>&5
15262 >  ac_status=$?
15263 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15264 >  test $ac_status = 0; }
15265 >      ;;
15266 >    *)
15267 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15268 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15269 >  ac_status=$?
15270 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15271 >  test $ac_status = 0; }
15272 >      CFLAGS="$CFLAGS $flag"
15273 >      ;;
15274 >   esac
15275 > else
15276 >  CFLAGS="$flag"
15277 > fi
15278 >
15279 > else
15280 >  :
15281 > fi
15282 >
15283 > done
15284 >
15285 >
15286 >
15287 >
15288 >
15289 > for flag in -Wredundant-decls; do
15290 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15291 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15292 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15293 > if eval \${$as_CACHEVAR+:} false; then :
15294 >  $as_echo_n "(cached) " >&6
15295 > else
15296 >
15297 >  ax_check_save_flags=$CFLAGS
15298 >  CFLAGS="$CFLAGS  $flag"
15299 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 > /* end confdefs.h.  */
15301 >
15302 > int
15303 > main ()
15304 > {
15305 >
15306 >  ;
15307 >  return 0;
15308 > }
15309 > _ACEOF
15310 > if ac_fn_c_try_compile "$LINENO"; then :
15311 >  eval "$as_CACHEVAR=yes"
15312 > else
15313 >  eval "$as_CACHEVAR=no"
15314 > fi
15315 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15316 >  CFLAGS=$ax_check_save_flags
15317 > fi
15318 > eval ac_res=\$$as_CACHEVAR
15319 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15320 > $as_echo "$ac_res" >&6; }
15321 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15322 >  if ${CFLAGS+:} false; then :
15323 >  case " $CFLAGS " in
15324 >    *" $flag "*)
15325 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15326 >  (: CFLAGS already contains $flag) 2>&5
15327 >  ac_status=$?
15328 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 >  test $ac_status = 0; }
15330 >      ;;
15331 >    *)
15332 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15333 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15334 >  ac_status=$?
15335 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15336 >  test $ac_status = 0; }
15337 >      CFLAGS="$CFLAGS $flag"
15338 >      ;;
15339 >   esac
15340 > else
15341 >  CFLAGS="$flag"
15342 > fi
15343 >
15344 > else
15345 >  :
15346 > fi
15347 >
15348 > done
15349 >
15350 >
15351 >
15352 >
15353 >
15354 > for flag in -Wshadow; do
15355 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15356 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15357 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15358 > if eval \${$as_CACHEVAR+:} false; then :
15359 >  $as_echo_n "(cached) " >&6
15360 > else
15361 >
15362 >  ax_check_save_flags=$CFLAGS
15363 >  CFLAGS="$CFLAGS  $flag"
15364 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 > /* end confdefs.h.  */
15366 >
15367 > int
15368 > main ()
15369 > {
15370 >
15371 >  ;
15372 >  return 0;
15373 > }
15374 > _ACEOF
15375 > if ac_fn_c_try_compile "$LINENO"; then :
15376 >  eval "$as_CACHEVAR=yes"
15377 > else
15378 >  eval "$as_CACHEVAR=no"
15379 > fi
15380 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 >  CFLAGS=$ax_check_save_flags
15382 > fi
15383 > eval ac_res=\$$as_CACHEVAR
15384 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15385 > $as_echo "$ac_res" >&6; }
15386 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15387 >  if ${CFLAGS+:} false; then :
15388 >  case " $CFLAGS " in
15389 >    *" $flag "*)
15390 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15391 >  (: CFLAGS already contains $flag) 2>&5
15392 >  ac_status=$?
15393 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 >  test $ac_status = 0; }
15395 >      ;;
15396 >    *)
15397 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15398 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15399 >  ac_status=$?
15400 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15401 >  test $ac_status = 0; }
15402 >      CFLAGS="$CFLAGS $flag"
15403 >      ;;
15404 >   esac
15405 > else
15406 >  CFLAGS="$flag"
15407 > fi
15408 >
15409 > else
15410 >  :
15411 > fi
15412 >
15413 > done
15414 >
15415 >
15416 >
15417 >
15418 >
15419 > for flag in -Wwrite-strings; do
15420 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15421 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15422 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15423 > if eval \${$as_CACHEVAR+:} false; then :
15424 >  $as_echo_n "(cached) " >&6
15425 > else
15426 >
15427 >  ax_check_save_flags=$CFLAGS
15428 >  CFLAGS="$CFLAGS  $flag"
15429 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 > /* end confdefs.h.  */
15431 >
15432 > int
15433 > main ()
15434 > {
15435 >
15436 >  ;
15437 >  return 0;
15438 > }
15439 > _ACEOF
15440 > if ac_fn_c_try_compile "$LINENO"; then :
15441 >  eval "$as_CACHEVAR=yes"
15442 > else
15443 >  eval "$as_CACHEVAR=no"
15444 > fi
15445 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15446 >  CFLAGS=$ax_check_save_flags
15447 > fi
15448 > eval ac_res=\$$as_CACHEVAR
15449 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15450 > $as_echo "$ac_res" >&6; }
15451 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15452 >  if ${CFLAGS+:} false; then :
15453 >  case " $CFLAGS " in
15454 >    *" $flag "*)
15455 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15456 >  (: CFLAGS already contains $flag) 2>&5
15457 >  ac_status=$?
15458 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15459 >  test $ac_status = 0; }
15460 >      ;;
15461 >    *)
15462 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15463 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15464 >  ac_status=$?
15465 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466 >  test $ac_status = 0; }
15467 >      CFLAGS="$CFLAGS $flag"
15468 >      ;;
15469 >   esac
15470 > else
15471 >  CFLAGS="$flag"
15472 > fi
15473 >
15474 > else
15475 >  :
15476 > fi
15477 >
15478 > done
15479 >
15480 >
15481 >
15482 >
15483 >
15484 > for flag in -Wundef; do
15485 >  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15486 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15487 > $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
15488 > if eval \${$as_CACHEVAR+:} false; then :
15489 >  $as_echo_n "(cached) " >&6
15490 > else
15491 >
15492 >  ax_check_save_flags=$CFLAGS
15493 >  CFLAGS="$CFLAGS  $flag"
15494 >  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 > /* end confdefs.h.  */
15496 >
15497 > int
15498 > main ()
15499 > {
15500 >
15501 >  ;
15502 >  return 0;
15503 > }
15504 > _ACEOF
15505 > if ac_fn_c_try_compile "$LINENO"; then :
15506 >  eval "$as_CACHEVAR=yes"
15507 > else
15508 >  eval "$as_CACHEVAR=no"
15509 > fi
15510 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 >  CFLAGS=$ax_check_save_flags
15512 > fi
15513 > eval ac_res=\$$as_CACHEVAR
15514 >               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15515 > $as_echo "$ac_res" >&6; }
15516 > if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
15517 >  if ${CFLAGS+:} false; then :
15518 >  case " $CFLAGS " in
15519 >    *" $flag "*)
15520 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15521 >  (: CFLAGS already contains $flag) 2>&5
15522 >  ac_status=$?
15523 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 >  test $ac_status = 0; }
15525 >      ;;
15526 >    *)
15527 >      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
15528 >  (: CFLAGS="$CFLAGS $flag") 2>&5
15529 >  ac_status=$?
15530 >  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 >  test $ac_status = 0; }
15532 >      CFLAGS="$CFLAGS $flag"
15533 >      ;;
15534 >   esac
15535 > else
15536 >  CFLAGS="$flag"
15537 > fi
15538 >
15539 > else
15540 >  :
15541 > fi
15542 >
15543 > done
15544 >
15545    fi
15546  
15547  
# Line 14525 | Line 15631 | _ACEOF
15631    test "$exec_prefix_NONE" && exec_prefix=NONE
15632  
15633  
15634 < 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"
15634 > ac_config_files="$ac_config_files Makefile src/Makefile libltdl/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile tools/Makefile"
15635  
15636  
15637   cat >confcache <<\_ACEOF
# Line 15570 | Line 16676 | do
16676      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16677      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16678      "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15573 –    "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
16679      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
16680      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
16681      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16682      "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" ;;
16683      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
16684  
16685    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 16225 | Line 17328 | $as_echo X"$mf" |
17328      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17329      test -z "$DEPDIR" && continue
17330      am__include=`sed -n 's/^am__include = //p' < "$mf"`
17331 <    test -z "am__include" && continue
17331 >    test -z "$am__include" && continue
17332      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17333      # Find all dependency output files, they are included files with
17334      # $(DEPDIR) in their names.  We invoke sed twice because it is the

Diff Legend

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