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 3812 by michael, Tue Jun 3 19:34:53 2014 UTC vs.
Revision 4361 by michael, Sat Aug 2 20:51:40 2014 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 3724 2014-05-31 16:27:09Z michael .
2 > # From configure.ac Id: configure.ac 4360 2014-08-02 20:40:29Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4   # Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK.
5   #
# Line 812 | Line 812 | enable_kqueue
812   enable_epoll
813   enable_devpoll
814   enable_poll
815 – enable_select
815   enable_debugging
816   enable_warnings
817   '
# Line 1468 | Line 1467 | Optional Features:
1467    --enable-epoll          Force epoll usage.
1468    --enable-devpoll        Force devpoll usage.
1469    --enable-poll           Force poll usage.
1471 –  --enable-select         Force select usage.
1470    --enable-debugging      Enable debugging.
1471    --enable-warnings       Enable compiler warnings.
1472  
# Line 1941 | Line 1939 | $as_echo "$ac_res" >&6; }
1939  
1940   } # ac_fn_c_check_type
1941  
1944 – # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1945 – # ----------------------------------------------------
1946 – # Tries to find if the field MEMBER exists in type AGGR, after including
1947 – # INCLUDES, setting cache variable VAR accordingly.
1948 – ac_fn_c_check_member ()
1949 – {
1950 –  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 –  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1952 – $as_echo_n "checking for $2.$3... " >&6; }
1953 – if eval \${$4+:} false; then :
1954 –  $as_echo_n "(cached) " >&6
1955 – else
1956 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 – /* end confdefs.h.  */
1958 – $5
1959 – int
1960 – main ()
1961 – {
1962 – static $2 ac_aggr;
1963 – if (ac_aggr.$3)
1964 – return 0;
1965 –  ;
1966 –  return 0;
1967 – }
1968 – _ACEOF
1969 – if ac_fn_c_try_compile "$LINENO"; then :
1970 –  eval "$4=yes"
1971 – else
1972 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 – /* end confdefs.h.  */
1974 – $5
1975 – int
1976 – main ()
1977 – {
1978 – static $2 ac_aggr;
1979 – if (sizeof ac_aggr.$3)
1980 – return 0;
1981 –  ;
1982 –  return 0;
1983 – }
1984 – _ACEOF
1985 – if ac_fn_c_try_compile "$LINENO"; then :
1986 –  eval "$4=yes"
1987 – else
1988 –  eval "$4=no"
1989 – fi
1990 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 – fi
1992 – rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993 – fi
1994 – eval ac_res=\$$4
1995 –               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 – $as_echo "$ac_res" >&6; }
1997 –  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 –
1999 – } # ac_fn_c_check_member
2000 –
1942   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943   # -------------------------------------------------------
1944   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 13215 | Line 13156 | $as_echo "#define ENABLE_SSP_CC 1" >>con
13156    fi
13157  
13158  
13159 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts " >&5
13160 < $as_echo_n "checking whether C compiler accepts ... " >&6; }
13161 < if ${ax_cv_check_cflags__+:} false; then :
13159 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
13160 > $as_echo_n "checking whether libssp exists... " >&6; }
13161 > if ${ssp_cv_lib+:} false; then :
13162    $as_echo_n "(cached) " >&6
13163   else
13164 <
13165 <  ax_check_save_flags=$CFLAGS
13166 <  CFLAGS="$CFLAGS  "
13226 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 >  ssp_old_libs="$LIBS"
13165 >     LIBS="$LIBS -lssp"
13166 >     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13167   /* end confdefs.h.  */
13168  
13169   int
# Line 13234 | Line 13174 | main ()
13174    return 0;
13175   }
13176   _ACEOF
13177 < if ac_fn_c_try_compile "$LINENO"; then :
13178 <  ax_cv_check_cflags__=yes
13239 < else
13240 <  ax_cv_check_cflags__=no
13241 < fi
13242 < rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13243 <  CFLAGS=$ax_check_save_flags
13244 < fi
13245 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__" >&5
13246 < $as_echo "$ax_cv_check_cflags__" >&6; }
13247 < if test x"$ax_cv_check_cflags__" = xyes; then :
13248 <  :
13177 > if ac_fn_c_try_link "$LINENO"; then :
13178 >  ssp_cv_lib=yes
13179   else
13180 <  :
13180 >  ssp_cv_lib=no
13181   fi
13182 + rm -f core conftest.err conftest.$ac_objext \
13183 +    conftest$ac_exeext conftest.$ac_ext
13184 +     LIBS="$ssp_old_libs"
13185  
13253 – if ${CFLAGS+:} false; then :
13254 –  case " $CFLAGS " in
13255 –    *"  "*)
13256 –      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
13257 –  (: CFLAGS already contains ) 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 \""; } >&5
13264 –  (: CFLAGS="$CFLAGS ") 2>&5
13265 –  ac_status=$?
13266 –  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267 –  test $ac_status = 0; }
13268 –      CFLAGS="$CFLAGS "
13269 –      ;;
13270 –   esac
13271 – else
13272 –  CFLAGS=""
13186   fi
13187 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13188 + $as_echo "$ssp_cv_lib" >&6; }
13189 +  if test $ssp_cv_lib = yes; then
13190 +    LIBS="$LIBS -lssp"
13191 +  fi
13192 +
13193 +
13194 +
13195  
13196  
13197  
# Line 13336 | Line 13257 | fi
13257   done
13258  
13259  
13339 –
13260    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13261   if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13262  
# Line 13519 | Line 13439 | else
13439    as_fn_error $? "socket library not found" "$LINENO" 5
13440   fi
13441  
13442 +  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13443 + "
13444 + if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13445 +
13446 + $as_echo "#define IPV6 1" >>confdefs.h
13447 +
13448 + fi
13449 +
13450    ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13451     #include <sys/socket.h>
13452     #include <netdb.h>
# Line 13559 | Line 13487 | _ACEOF
13487  
13488   fi
13489  
13562 –  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13563 –  <sys/socket.h>
13564 – "
13565 – if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13566 –
13567 – cat >>confdefs.h <<_ACEOF
13568 – #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
13569 – _ACEOF
13570 –
13571 –
13572 – fi
13573 –
13574 –
13575 –
13576 –  ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13577 – "
13578 – if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13579 –
13580 – $as_echo "#define IPV6 1" >>confdefs.h
13581 –
13582 – fi
13583 –
13490  
13491  
13492   # Checks for typedefs, structures, and compiler characteristics.
# Line 14051 | Line 13957 | $as_echo "disabled" >&6; }
13957   fi
13958  
13959   if test "$cf_enable_openssl" != "no"; then :
13960 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13961 < $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13960 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5
13961 > $as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; }
13962    if test "$cross_compiling" = yes; then :
13963    cf_openssl_version_ok=no
13964   else
# Line 14065 | Line 13971 | else
13971   int
13972   main ()
13973   {
13974 < exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13974 > exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL));
13975    ;
13976    return 0;
13977   }
# Line 14253 | Line 14159 | $as_echo "#define MP_CHUNK_SIZE_IP_ENTRY
14159  
14160   # Argument processing.
14161  
14162 <    desired_iopoll_mechanism="none"
14163 <    # Check whether --enable-kqueue was given.
14162 >  desired_iopoll_mechanism="none"
14163 >
14164 >  # Check whether --enable-kqueue was given.
14165   if test "${enable_kqueue+set}" = set; then :
14166    enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
14167   fi
# Line 14274 | Line 14181 | if test "${enable_poll+set}" = set; then
14181    enableval=$enable_poll; desired_iopoll_mechanism="poll"
14182   fi
14183  
14277 –  # Check whether --enable-select was given.
14278 – if test "${enable_select+set}" = set; then :
14279 –  enableval=$enable_select; desired_iopoll_mechanism="select"
14280 – fi
14184  
14185 <      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14185 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14186   $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14187 +
14188    iopoll_mechanism_none=0
14189  
14190   cat >>confdefs.h <<_ACEOF
14191   #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14192   _ACEOF
14193  
14194 <      iopoll_mechanism_kqueue=1
14194 >
14195 >  iopoll_mechanism_kqueue=1
14196  
14197   cat >>confdefs.h <<_ACEOF
14198   #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
# Line 14341 | Line 14246 | else
14246   fi
14247   rm -f core conftest.err conftest.$ac_objext \
14248      conftest$ac_exeext conftest.$ac_ext
14249 <      iopoll_mechanism_epoll=2
14249 >
14250 >  iopoll_mechanism_epoll=2
14251  
14252   cat >>confdefs.h <<_ACEOF
14253   #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14254   _ACEOF
14255  
14350 –  if test "$cross_compiling" = yes; then :
14351 –  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14352 – $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14353 – as_fn_error $? "cannot run test program while cross compiling
14354 – See \`config.log' for more details" "$LINENO" 5; }
14355 – else
14256    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257   /* end confdefs.h.  */
14358 –
14258   #include <sys/epoll.h>
14360 – #include <sys/syscall.h>
14361 – #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14362 – #if !defined(__NR_epoll_create)
14363 – #if defined(__ia64__)
14364 – #define __NR_epoll_create 1243
14365 – #elif defined(__x86_64__)
14366 – #define __NR_epoll_create 214
14367 – #elif defined(__sparc64__) || defined(__sparc__)
14368 – #define __NR_epoll_create 193
14369 – #elif defined(__s390__) || defined(__m68k__)
14370 – #define __NR_epoll_create 249
14371 – #elif defined(__ppc64__) || defined(__ppc__)
14372 – #define __NR_epoll_create 236
14373 – #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14374 – #define __NR_epoll_create 224
14375 – #elif defined(__alpha__)
14376 – #define __NR_epoll_create 407
14377 – #elif defined(__sh64__)
14378 – #define __NR_epoll_create 282
14379 – #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14380 – #define __NR_epoll_create 254
14381 – #else
14382 – #error No system call numbers defined for epoll family.
14383 – #endif
14384 – #endif
14385 – _syscall1(int, epoll_create, int, size)
14386 – #endif
14387 –
14259   int
14260   main ()
14261   {
14262 < return epoll_create(256) == -1 ? 1 : 0
14262 > epoll_create(256);
14263    ;
14264    return 0;
14265   }
14266   _ACEOF
14267 < if ac_fn_c_try_run "$LINENO"; then :
14267 > if ac_fn_c_try_link "$LINENO"; then :
14268    is_epoll_mechanism_available="yes"
14269   else
14270    is_epoll_mechanism_available="no"
14271   fi
14272 < rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14273 <  conftest.$ac_objext conftest.beam conftest.$ac_ext
14403 < fi
14272 > rm -f core conftest.err conftest.$ac_objext \
14273 >    conftest$ac_exeext conftest.$ac_ext
14274  
14275 <      iopoll_mechanism_devpoll=3
14275 >  iopoll_mechanism_devpoll=3
14276  
14277   cat >>confdefs.h <<_ACEOF
14278   #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
# Line 14452 | Line 14322 | rm -f core conftest.err conftest.$ac_obj
14322   $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14323  
14324    fi
14325 <      iopoll_mechanism_poll=4
14325 >
14326 >  iopoll_mechanism_poll=4
14327  
14328   cat >>confdefs.h <<_ACEOF
14329   #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
# Line 14506 | Line 14377 | else
14377   fi
14378   rm -f core conftest.err conftest.$ac_objext \
14379      conftest$ac_exeext conftest.$ac_ext
14509 –      iopoll_mechanism_select=5
14510 –
14511 – cat >>confdefs.h <<_ACEOF
14512 – #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14513 – _ACEOF
14514 –
14515 –  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 – /* end confdefs.h.  */
14517 – /* Define select to an innocuous variant, in case <limits.h> declares select.
14518 –   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14519 – #define select innocuous_select
14520 –
14521 – /* System header to define __stub macros and hopefully few prototypes,
14522 –    which can conflict with char select (); below.
14523 –    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14524 –    <limits.h> exists even on freestanding compilers.  */
14380  
14381 < #ifdef __STDC__
14382 < # include <limits.h>
14528 < #else
14529 < # include <assert.h>
14530 < #endif
14531 <
14532 < #undef select
14533 <
14534 < /* Override any GCC internal prototype to avoid an error.
14535 <   Use char because int might match the return type of a GCC
14536 <   builtin and then its argument prototype would still apply.  */
14537 < #ifdef __cplusplus
14538 < extern "C"
14539 < #endif
14540 < char select ();
14541 < /* The GNU C library defines this for functions which it implements
14542 <    to always fail with ENOSYS.  Some functions are actually named
14543 <    something starting with __ and the normal name is an alias.  */
14544 < #if defined __stub_select || defined __stub___select
14545 < choke me
14546 < #endif
14547 <
14548 < int
14549 < main ()
14550 < {
14551 < return select ();
14552 <  ;
14553 <  return 0;
14554 < }
14555 < _ACEOF
14556 < if ac_fn_c_try_link "$LINENO"; then :
14557 <  is_select_mechanism_available="yes"
14558 < else
14559 <  is_select_mechanism_available="no"
14560 < fi
14561 < rm -f core conftest.err conftest.$ac_objext \
14562 <    conftest$ac_exeext conftest.$ac_ext
14563 <      optimal_iopoll_mechanism="none"
14564 <  for mechanism in "kqueue" "epoll" "devpoll" "poll" "select" ; do # order is important
14381 >  optimal_iopoll_mechanism="none"
14382 >  for mechanism in "kqueue" "epoll" "devpoll" "poll" ; do # order is important
14383      eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14384      if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14385        optimal_iopoll_mechanism="$mechanism"
14386        break
14387      fi
14388    done
14389 <      if test "$desired_iopoll_mechanism" = "none" ; then
14389 >
14390 >  if test "$desired_iopoll_mechanism" = "none" ; then
14391      if test "$optimal_iopoll_mechanism" = "none" ; then
14392        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14393   $as_echo "none" >&6; }
# Line 14590 | Line 14409 | $as_echo "none" >&6; }
14409        as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14410      fi
14411    fi
14412 <      eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14412 >
14413 >  eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14414  
14415   cat >>confdefs.h <<_ACEOF
14416   #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
# Line 14617 | Line 14437 | else
14437    warnings="no"
14438   fi
14439  
14440 +
14441    if test "$warnings" = "yes" ; then
14442  
14443  
14444 +
14445 +
14446   for flag in -Wall; do
14447    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14683 | Line 14506 | done
14506  
14507  
14508  
14509 +
14510 +
14511   for flag in -Wextra; do
14512    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14746 | Line 14571 | done
14571  
14572  
14573  
14574 +
14575 +
14576   for flag in -Wno-unused; do
14577    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14809 | Line 14636 | done
14636  
14637  
14638  
14639 +
14640 +
14641   for flag in -Wcast-qual; do
14642    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14872 | Line 14701 | done
14701  
14702  
14703  
14704 +
14705 +
14706   for flag in -Wcast-align; do
14707    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14935 | Line 14766 | done
14766  
14767  
14768  
14769 +
14770 +
14771   for flag in -Wbad-function-cast; do
14772    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 14998 | Line 14831 | done
14831  
14832  
14833  
14834 +
14835 +
14836 + for flag in -Wlogical-op; do
14837 +  as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14838 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14839 + $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
14840 + if eval \${$as_CACHEVAR+:} false; then :
14841 +  $as_echo_n "(cached) " >&6
14842 + else
14843 +
14844 +  ax_check_save_flags=$CFLAGS
14845 +  CFLAGS="$CFLAGS  $flag"
14846 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 + /* end confdefs.h.  */
14848 +
14849 + int
14850 + main ()
14851 + {
14852 +
14853 +  ;
14854 +  return 0;
14855 + }
14856 + _ACEOF
14857 + if ac_fn_c_try_compile "$LINENO"; then :
14858 +  eval "$as_CACHEVAR=yes"
14859 + else
14860 +  eval "$as_CACHEVAR=no"
14861 + fi
14862 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14863 +  CFLAGS=$ax_check_save_flags
14864 + fi
14865 + eval ac_res=\$$as_CACHEVAR
14866 +               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14867 + $as_echo "$ac_res" >&6; }
14868 + if test x"`eval 'as_val=${'$as_CACHEVAR'};$as_echo "$as_val"'`" = xyes; then :
14869 +  if ${CFLAGS+:} false; then :
14870 +  case " $CFLAGS " in
14871 +    *" $flag "*)
14872 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14873 +  (: CFLAGS already contains $flag) 2>&5
14874 +  ac_status=$?
14875 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14876 +  test $ac_status = 0; }
14877 +      ;;
14878 +    *)
14879 +      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$flag\""; } >&5
14880 +  (: CFLAGS="$CFLAGS $flag") 2>&5
14881 +  ac_status=$?
14882 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14883 +  test $ac_status = 0; }
14884 +      CFLAGS="$CFLAGS $flag"
14885 +      ;;
14886 +   esac
14887 + else
14888 +  CFLAGS="$flag"
14889 + fi
14890 +
14891 + else
14892 +  :
14893 + fi
14894 +
14895 + done
14896 +
14897 +
14898 +
14899 +
14900 +
14901   for flag in -Wmissing-declarations; do
14902    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15061 | Line 14961 | done
14961  
14962  
14963  
14964 +
14965 +
14966   for flag in -Wmissing-include-dirs; do
14967    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
14968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15124 | Line 15026 | done
15026  
15027  
15028  
15029 +
15030 +
15031   for flag in -Wmissing-prototypes; do
15032    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15187 | Line 15091 | done
15091  
15092  
15093  
15094 +
15095 +
15096   for flag in -Wnested-externs; do
15097    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15250 | Line 15156 | done
15156  
15157  
15158  
15159 +
15160 +
15161   for flag in -Wpointer-arith; do
15162    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15313 | Line 15221 | done
15221  
15222  
15223  
15224 +
15225 +
15226   for flag in -Wredundant-decls; do
15227    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15376 | Line 15286 | done
15286  
15287  
15288  
15289 +
15290 +
15291   for flag in -Wshadow; do
15292    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15439 | Line 15351 | done
15351  
15352  
15353  
15354 +
15355 +
15356   for flag in -Wwrite-strings; do
15357    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
# Line 15502 | Line 15416 | done
15416  
15417  
15418  
15419 +
15420 +
15421   for flag in -Wundef; do
15422    as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
15423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5

Diff Legend

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