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

Comparing ircd-hybrid/trunk/configure (file contents):
Revision 2064 by michael, Thu May 16 09:56:02 2013 UTC vs.
Revision 2347 by michael, Wed Jul 3 19:09:32 2013 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 2030 2013-05-14 18:24:55Z michael .
2 > # From configure.ac Id: configure.ac 2334 2013-06-23 17:32:44Z 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_libGeoIP
808 > enable_libgeoip
809   enable_openssl
810   enable_assert
811   enable_kqueue
# Line 1943 | Line 1943 | $as_echo "$ac_res" >&6; }
1943  
1944   } # ac_fn_c_check_type
1945  
1946 + # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1947 + # --------------------------------------------
1948 + # Tries to find the compile-time value of EXPR in a program that includes
1949 + # INCLUDES, setting VAR accordingly. Returns whether the value could be
1950 + # computed
1951 + ac_fn_c_compute_int ()
1952 + {
1953 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 +  if test "$cross_compiling" = yes; then
1955 +    # Depending upon the size, compute the lo and hi bounds.
1956 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 + /* end confdefs.h.  */
1958 + $4
1959 + int
1960 + main ()
1961 + {
1962 + static int test_array [1 - 2 * !(($2) >= 0)];
1963 + test_array [0] = 0;
1964 + return test_array [0];
1965 +
1966 +  ;
1967 +  return 0;
1968 + }
1969 + _ACEOF
1970 + if ac_fn_c_try_compile "$LINENO"; then :
1971 +  ac_lo=0 ac_mid=0
1972 +  while :; do
1973 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 + /* end confdefs.h.  */
1975 + $4
1976 + int
1977 + main ()
1978 + {
1979 + static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1980 + test_array [0] = 0;
1981 + return test_array [0];
1982 +
1983 +  ;
1984 +  return 0;
1985 + }
1986 + _ACEOF
1987 + if ac_fn_c_try_compile "$LINENO"; then :
1988 +  ac_hi=$ac_mid; break
1989 + else
1990 +  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1991 +                        if test $ac_lo -le $ac_mid; then
1992 +                          ac_lo= ac_hi=
1993 +                          break
1994 +                        fi
1995 +                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1996 + fi
1997 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 +  done
1999 + else
2000 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 + /* end confdefs.h.  */
2002 + $4
2003 + int
2004 + main ()
2005 + {
2006 + static int test_array [1 - 2 * !(($2) < 0)];
2007 + test_array [0] = 0;
2008 + return test_array [0];
2009 +
2010 +  ;
2011 +  return 0;
2012 + }
2013 + _ACEOF
2014 + if ac_fn_c_try_compile "$LINENO"; then :
2015 +  ac_hi=-1 ac_mid=-1
2016 +  while :; do
2017 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 + /* end confdefs.h.  */
2019 + $4
2020 + int
2021 + main ()
2022 + {
2023 + static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2024 + test_array [0] = 0;
2025 + return test_array [0];
2026 +
2027 +  ;
2028 +  return 0;
2029 + }
2030 + _ACEOF
2031 + if ac_fn_c_try_compile "$LINENO"; then :
2032 +  ac_lo=$ac_mid; break
2033 + else
2034 +  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2035 +                        if test $ac_mid -le $ac_hi; then
2036 +                          ac_lo= ac_hi=
2037 +                          break
2038 +                        fi
2039 +                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2040 + fi
2041 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2042 +  done
2043 + else
2044 +  ac_lo= ac_hi=
2045 + fi
2046 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 + fi
2048 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2049 + # Binary search between lo and hi bounds.
2050 + while test "x$ac_lo" != "x$ac_hi"; do
2051 +  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2052 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 + /* end confdefs.h.  */
2054 + $4
2055 + int
2056 + main ()
2057 + {
2058 + static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2059 + test_array [0] = 0;
2060 + return test_array [0];
2061 +
2062 +  ;
2063 +  return 0;
2064 + }
2065 + _ACEOF
2066 + if ac_fn_c_try_compile "$LINENO"; then :
2067 +  ac_hi=$ac_mid
2068 + else
2069 +  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2070 + fi
2071 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072 + done
2073 + case $ac_lo in #((
2074 + ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2075 + '') ac_retval=1 ;;
2076 + esac
2077 +  else
2078 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 + /* end confdefs.h.  */
2080 + $4
2081 + static long int longval () { return $2; }
2082 + static unsigned long int ulongval () { return $2; }
2083 + #include <stdio.h>
2084 + #include <stdlib.h>
2085 + int
2086 + main ()
2087 + {
2088 +
2089 +  FILE *f = fopen ("conftest.val", "w");
2090 +  if (! f)
2091 +    return 1;
2092 +  if (($2) < 0)
2093 +    {
2094 +      long int i = longval ();
2095 +      if (i != ($2))
2096 +        return 1;
2097 +      fprintf (f, "%ld", i);
2098 +    }
2099 +  else
2100 +    {
2101 +      unsigned long int i = ulongval ();
2102 +      if (i != ($2))
2103 +        return 1;
2104 +      fprintf (f, "%lu", i);
2105 +    }
2106 +  /* Do not output a trailing newline, as this causes \r\n confusion
2107 +     on some platforms.  */
2108 +  return ferror (f) || fclose (f) != 0;
2109 +
2110 +  ;
2111 +  return 0;
2112 + }
2113 + _ACEOF
2114 + if ac_fn_c_try_run "$LINENO"; then :
2115 +  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2116 + else
2117 +  ac_retval=1
2118 + fi
2119 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2120 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
2121 + rm -f conftest.val
2122 +
2123 +  fi
2124 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 +  as_fn_set_status $ac_retval
2126 +
2127 + } # ac_fn_c_compute_int
2128 +
2129   # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2130   # ----------------------------------------------------
2131   # Tries to find if the field MEMBER exists in type AGGR, after including
# Line 2453 | Line 2636 | ac_link='$CC -o conftest$ac_exeext $CFLA
2636   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2637  
2638  
2639 < am__api_version='1.13'
2639 > am__api_version='1.14'
2640  
2641   ac_aux_dir=
2642   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 3019 | Line 3202 | am__tar='$${TAR-tar} chof - "$$tardir"'
3202  
3203  
3204  
3205 + # POSIX will say in a future version that running "rm -f" with no argument
3206 + # is OK; and we want to be able to make that assumption in our Makefile
3207 + # recipes.  So use an aggressive probe to check that the usage we want is
3208 + # actually supported "in the wild" to an acceptable degree.
3209 + # See automake bug#10828.
3210 + # To make any issue more visible, cause the running configure to be aborted
3211 + # by default if the 'rm' program in use doesn't match our expectations; the
3212 + # user can still override this though.
3213 + if rm -f && rm -fr && rm -rf; then : OK; else
3214 +  cat >&2 <<'END'
3215 + Oops!
3216 +
3217 + Your 'rm' program seems unable to run without file operands specified
3218 + on the command line, even when the '-f' option is present.  This is contrary
3219 + to the behaviour of most rm programs out there, and not conforming with
3220 + the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3221 +
3222 + Please tell bug-automake@gnu.org about your system, including the value
3223 + of your $PATH and any error possibly output before this message.  This
3224 + can help us improve future automake versions.
3225 +
3226 + END
3227 +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3228 +    echo 'Configuration will proceed anyway, since you have set the' >&2
3229 +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3230 +    echo >&2
3231 +  else
3232 +    cat >&2 <<'END'
3233 + Aborting the configuration process, to ensure you take notice of the issue.
3234 +
3235 + You can download and install GNU coreutils to get an 'rm' implementation
3236 + that behaves properly: <http://www.gnu.org/software/coreutils/>.
3237 +
3238 + If you want to complete the configuration process using your problematic
3239 + 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3240 + to "yes", and re-run configure.
3241 +
3242 + END
3243 +    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3244 +  fi
3245 + fi
3246  
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3248   $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Line 3899 | Line 4123 | ac_compile='$CC -c $CFLAGS $CPPFLAGS con
4123   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125  
4126 + ac_ext=c
4127 + ac_cpp='$CPP $CPPFLAGS'
4128 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
4131 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4132 + $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4133 + if ${am_cv_prog_cc_c_o+:} false; then :
4134 +  $as_echo_n "(cached) " >&6
4135 + else
4136 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 + /* end confdefs.h.  */
4138 +
4139 + int
4140 + main ()
4141 + {
4142 +
4143 +  ;
4144 +  return 0;
4145 + }
4146 + _ACEOF
4147 +  # Make sure it works both with $CC and with simple cc.
4148 +  # Following AC_PROG_CC_C_O, we do the test twice because some
4149 +  # compilers refuse to overwrite an existing .o file with -o,
4150 +  # though they will create one.
4151 +  am_cv_prog_cc_c_o=yes
4152 +  for am_i in 1 2; do
4153 +    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4154 +   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4155 +   ac_status=$?
4156 +   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 +   (exit $ac_status); } \
4158 +         && test -f conftest2.$ac_objext; then
4159 +      : OK
4160 +    else
4161 +      am_cv_prog_cc_c_o=no
4162 +      break
4163 +    fi
4164 +  done
4165 +  rm -f core conftest*
4166 +  unset am_i
4167 + fi
4168 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4169 + $as_echo "$am_cv_prog_cc_c_o" >&6; }
4170 + if test "$am_cv_prog_cc_c_o" != yes; then
4171 +   # Losing compiler, so override with the script.
4172 +   # FIXME: It is wrong to rewrite CC.
4173 +   # But if we don't then we get into trouble of one sort or another.
4174 +   # A longer-term fix would be to have automake use am__CC in this case,
4175 +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4176 +   CC="$am_aux_dir/compile $CC"
4177 + fi
4178 + ac_ext=c
4179 + ac_cpp='$CPP $CPPFLAGS'
4180 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4181 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4182 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
4183 +
4184 +
4185   depcc="$CC"   am_compiler_list=
4186  
4187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
# Line 13070 | Line 13353 | eval "LTDLOPEN=\"$libname_spec\""
13353  
13354   LIBTOOL="$LIBTOOL --silent"
13355  
13356 + # The cast to long int works around a bug in the HP C Compiler
13357 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13358 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13359 + # This bug is HP SR number 8606223364.
13360 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13361 + $as_echo_n "checking size of short... " >&6; }
13362 + if ${ac_cv_sizeof_short+:} false; then :
13363 +  $as_echo_n "(cached) " >&6
13364 + else
13365 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13366 +
13367 + else
13368 +  if test "$ac_cv_type_short" = yes; then
13369 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13370 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13371 + as_fn_error 77 "cannot compute sizeof (short)
13372 + See \`config.log' for more details" "$LINENO" 5; }
13373 +   else
13374 +     ac_cv_sizeof_short=0
13375 +   fi
13376 + fi
13377 +
13378 + fi
13379 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13380 + $as_echo "$ac_cv_sizeof_short" >&6; }
13381 +
13382 +
13383 +
13384 + cat >>confdefs.h <<_ACEOF
13385 + #define SIZEOF_SHORT $ac_cv_sizeof_short
13386 + _ACEOF
13387 +
13388 +
13389 + # The cast to long int works around a bug in the HP C Compiler
13390 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13391 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13392 + # This bug is HP SR number 8606223364.
13393 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13394 + $as_echo_n "checking size of int... " >&6; }
13395 + if ${ac_cv_sizeof_int+:} false; then :
13396 +  $as_echo_n "(cached) " >&6
13397 + else
13398 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13399 +
13400 + else
13401 +  if test "$ac_cv_type_int" = yes; then
13402 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13403 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13404 + as_fn_error 77 "cannot compute sizeof (int)
13405 + See \`config.log' for more details" "$LINENO" 5; }
13406 +   else
13407 +     ac_cv_sizeof_int=0
13408 +   fi
13409 + fi
13410 +
13411 + fi
13412 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13413 + $as_echo "$ac_cv_sizeof_int" >&6; }
13414 +
13415 +
13416 +
13417 + cat >>confdefs.h <<_ACEOF
13418 + #define SIZEOF_INT $ac_cv_sizeof_int
13419 + _ACEOF
13420 +
13421 +
13422 + # The cast to long int works around a bug in the HP C Compiler
13423 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13424 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13425 + # This bug is HP SR number 8606223364.
13426 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13427 + $as_echo_n "checking size of long... " >&6; }
13428 + if ${ac_cv_sizeof_long+:} false; then :
13429 +  $as_echo_n "(cached) " >&6
13430 + else
13431 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13432 +
13433 + else
13434 +  if test "$ac_cv_type_long" = yes; then
13435 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13436 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13437 + as_fn_error 77 "cannot compute sizeof (long)
13438 + See \`config.log' for more details" "$LINENO" 5; }
13439 +   else
13440 +     ac_cv_sizeof_long=0
13441 +   fi
13442 + fi
13443 +
13444 + fi
13445 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13446 + $as_echo "$ac_cv_sizeof_long" >&6; }
13447 +
13448 +
13449 +
13450 + cat >>confdefs.h <<_ACEOF
13451 + #define SIZEOF_LONG $ac_cv_sizeof_long
13452 + _ACEOF
13453 +
13454 +
13455 + # The cast to long int works around a bug in the HP C Compiler
13456 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13457 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13458 + # This bug is HP SR number 8606223364.
13459 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13460 + $as_echo_n "checking size of void *... " >&6; }
13461 + if ${ac_cv_sizeof_void_p+:} false; then :
13462 +  $as_echo_n "(cached) " >&6
13463 + else
13464 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
13465 +
13466 + else
13467 +  if test "$ac_cv_type_void_p" = yes; then
13468 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13469 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13470 + as_fn_error 77 "cannot compute sizeof (void *)
13471 + See \`config.log' for more details" "$LINENO" 5; }
13472 +   else
13473 +     ac_cv_sizeof_void_p=0
13474 +   fi
13475 + fi
13476 +
13477 + fi
13478 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13479 + $as_echo "$ac_cv_sizeof_void_p" >&6; }
13480 +
13481 +
13482 +
13483 + cat >>confdefs.h <<_ACEOF
13484 + #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13485 + _ACEOF
13486 +
13487 +
13488 + # The cast to long int works around a bug in the HP C Compiler
13489 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13490 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13491 + # This bug is HP SR number 8606223364.
13492 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
13493 + $as_echo_n "checking size of int64_t... " >&6; }
13494 + if ${ac_cv_sizeof_int64_t+:} false; then :
13495 +  $as_echo_n "(cached) " >&6
13496 + else
13497 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
13498 +
13499 + else
13500 +  if test "$ac_cv_type_int64_t" = yes; then
13501 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13502 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13503 + as_fn_error 77 "cannot compute sizeof (int64_t)
13504 + See \`config.log' for more details" "$LINENO" 5; }
13505 +   else
13506 +     ac_cv_sizeof_int64_t=0
13507 +   fi
13508 + fi
13509 +
13510 + fi
13511 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
13512 + $as_echo "$ac_cv_sizeof_int64_t" >&6; }
13513 +
13514 +
13515 +
13516 + cat >>confdefs.h <<_ACEOF
13517 + #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
13518 + _ACEOF
13519 +
13520 +
13521 + # The cast to long int works around a bug in the HP C Compiler
13522 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13523 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13524 + # This bug is HP SR number 8606223364.
13525 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13526 + $as_echo_n "checking size of long long... " >&6; }
13527 + if ${ac_cv_sizeof_long_long+:} false; then :
13528 +  $as_echo_n "(cached) " >&6
13529 + else
13530 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
13531 +
13532 + else
13533 +  if test "$ac_cv_type_long_long" = yes; then
13534 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13535 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13536 + as_fn_error 77 "cannot compute sizeof (long long)
13537 + See \`config.log' for more details" "$LINENO" 5; }
13538 +   else
13539 +     ac_cv_sizeof_long_long=0
13540 +   fi
13541 + fi
13542 +
13543 + fi
13544 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13545 + $as_echo "$ac_cv_sizeof_long_long" >&6; }
13546 +
13547 +
13548 +
13549 + cat >>confdefs.h <<_ACEOF
13550 + #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13551 + _ACEOF
13552 +
13553 +
13554 +
13555 + if test "$ac_cv_sizeof_int" = 2 ; then
13556 +  ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
13557 + if test "x$ac_cv_type_int16_t" = xyes; then :
13558 +
13559 + else
13560 +
13561 + cat >>confdefs.h <<_ACEOF
13562 + #define int16_t int
13563 + _ACEOF
13564 +
13565 + fi
13566 +
13567 +  ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13568 + if test "x$ac_cv_type_uint16_t" = xyes; then :
13569 +
13570 + else
13571 +
13572 + cat >>confdefs.h <<_ACEOF
13573 + #define uint16_t unsigned int
13574 + _ACEOF
13575 +
13576 + fi
13577 +
13578 + elif test "$ac_cv_sizeof_short" = 2 ; then
13579 +  ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
13580 + if test "x$ac_cv_type_int16_t" = xyes; then :
13581 +
13582 + else
13583 +
13584 + cat >>confdefs.h <<_ACEOF
13585 + #define int16_t short
13586 + _ACEOF
13587 +
13588 + fi
13589 +
13590 +  ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13591 + if test "x$ac_cv_type_uint16_t" = xyes; then :
13592 +
13593 + else
13594 +
13595 + cat >>confdefs.h <<_ACEOF
13596 + #define uint16_t unsigned short
13597 + _ACEOF
13598 +
13599 + fi
13600 +
13601 + else
13602 +  as_fn_error $? "Cannot find a type with size of 16 bits" "$LINENO" 5
13603 + fi
13604 + if test "$ac_cv_sizeof_int" = 4 ; then
13605 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13606 + if test "x$ac_cv_type_int32_t" = xyes; then :
13607 +
13608 + else
13609 +
13610 + cat >>confdefs.h <<_ACEOF
13611 + #define int32_t int
13612 + _ACEOF
13613 +
13614 + fi
13615 +
13616 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13617 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13618 +
13619 + else
13620 +
13621 + cat >>confdefs.h <<_ACEOF
13622 + #define uint32_t unsigned int
13623 + _ACEOF
13624 +
13625 + fi
13626 +
13627 + elif test "$ac_cv_sizeof_short" = 4 ; then
13628 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13629 + if test "x$ac_cv_type_int32_t" = xyes; then :
13630 +
13631 + else
13632 +
13633 + cat >>confdefs.h <<_ACEOF
13634 + #define int32_t short
13635 + _ACEOF
13636 +
13637 + fi
13638 +
13639 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13640 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13641 +
13642 + else
13643 +
13644 + cat >>confdefs.h <<_ACEOF
13645 + #define uint32_t unsigned short
13646 + _ACEOF
13647 +
13648 + fi
13649 +
13650 + elif test "$ac_cv_sizeof_long" = 4 ; then
13651 +  ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13652 + if test "x$ac_cv_type_int32_t" = xyes; then :
13653 +
13654 + else
13655 +
13656 + cat >>confdefs.h <<_ACEOF
13657 + #define int32_t long
13658 + _ACEOF
13659 +
13660 + fi
13661 +
13662 +  ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13663 + if test "x$ac_cv_type_uint32_t" = xyes; then :
13664 +
13665 + else
13666 +
13667 + cat >>confdefs.h <<_ACEOF
13668 + #define uint32_t unsigned long
13669 + _ACEOF
13670 +
13671 + fi
13672 +
13673 + else
13674 +  as_fn_error $? "Cannot find a type with size of 32 bits" "$LINENO" 5
13675 + fi
13676 + if test "$ac_cv_sizeof_int64_t" = 8 ; then
13677 +  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
13678 + if test "x$ac_cv_type_int64_t" = xyes; then :
13679 +
13680 + fi
13681 +
13682 +  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
13683 + if test "x$ac_cv_type_uint64_t" = xyes; then :
13684 +
13685 + fi
13686 +
13687 + elif test "$ac_cv_sizeof_long_long" = 8 ; then
13688 +  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
13689 + if test "x$ac_cv_type_int64_t" = xyes; then :
13690 +
13691 + else
13692 +
13693 + cat >>confdefs.h <<_ACEOF
13694 + #define int64_t long long
13695 + _ACEOF
13696 +
13697 + fi
13698 +
13699 +  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
13700 + if test "x$ac_cv_type_uint64_t" = xyes; then :
13701 +
13702 + else
13703 +
13704 + cat >>confdefs.h <<_ACEOF
13705 + #define uint64_t unsigned long long
13706 + _ACEOF
13707 +
13708 + fi
13709 +
13710 + else
13711 +  as_fn_error $? "Cannot find a type with size of 64 bits" "$LINENO" 5
13712 + fi
13713 +
13714 +
13715   # Checks for libraries.
13716  
13717    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
# Line 13661 | Line 14303 | if test "$ac_res" != no; then :
14303   fi
14304  
14305  
14306 < # Check whether --enable-libGeoIP was given.
14307 < if test "${enable_libGeoIP+set}" = set; then :
14308 <  enableval=$enable_libGeoIP;
14306 > # Check whether --enable-libgeoip was given.
14307 > if test "${enable_libgeoip+set}" = set; then :
14308 >  enableval=$enable_libgeoip;
14309   else
14310    ac_fn_c_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
14311   if test "x$ac_cv_header_GeoIP_h" = xyes; then :
# Line 13785 | Line 14427 | $as_echo "disabled" >&6; }
14427   fi
14428  
14429   if test "$cf_enable_openssl" != "no"; then :
14430 <  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8s or above" >&5
14431 < $as_echo_n "checking for OpenSSL 0.9.8s or above... " >&6; }
14430 >  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
14431 > $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
14432    if test "$cross_compiling" = yes; then :
14433    cf_openssl_version_ok=no
14434   else
# Line 13799 | Line 14441 | else
14441   int
14442   main ()
14443   {
14444 < exit(!(OPENSSL_VERSION_NUMBER >= 0x0090813f));
14444 > exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
14445    ;
14446    return 0;
14447   }

Diff Legend

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