2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for memcached 1.4.20.
3
# Generated by GNU Autoconf 2.69 for memcached 1.4.25.
5
5
# Report bugs to <memcached@googlegroups.com>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
13
11
# This configure script is free software; the Free Software Foundation
137
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
139
162
if test "x$CONFIG_SHELL" = x; then
140
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
216
240
if test "x$CONFIG_SHELL" != x; then :
217
# We cannot yet assume a decent shell, so we have to provide a
218
# neutralization value for shells without unset; and this also
219
# works around shells that cannot unset nonexistent variables.
220
# Preserve -v and -x to the replacement shell.
223
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226
*v*x* | *x*v* ) as_opts=-vx ;;
231
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
# We cannot yet assume a decent shell, so we have to provide a
243
# neutralization value for shells without unset; and this also
244
# works around shells that cannot unset nonexistent variables.
245
# Preserve -v and -x to the replacement shell.
248
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250
*v*x* | *x*v* ) as_opts=-vx ;;
255
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256
# Admittedly, this is quite paranoid, since all the known shells bail
257
# out after a failed `exec'.
258
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
234
262
if test x$as_have_required = xno; then :
452
488
chmod +x "$as_me.lineno" ||
453
489
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492
# already done that, so ensure we don't try to do so again and fall
493
# in an infinite loop. This has already happened in practice.
494
_as_can_reexec=no; export _as_can_reexec
455
495
# Don't try to exec as it changes $[0], causing all sort of problems
456
496
# (the dirname of $[0] is not the place where we might find the
457
497
# original and so on. Autoconf is especially sensitive to this).
486
526
# ... but there are two gotchas:
487
527
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488
528
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489
# In both cases, we have to default to `cp -p'.
529
# In both cases, we have to default to `cp -pR'.
490
530
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492
532
elif ln conf$$.file conf$$ 2>/dev/null; then
500
540
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501
541
rmdir conf$$.dir 2>/dev/null
1361
1379
--disable-option-checking ignore unrecognized --enable/--with options
1362
1380
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1363
1381
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1364
--disable-dependency-tracking speeds up one-time build
1365
--enable-dependency-tracking do not reject slow dependency extractors
1382
--enable-silent-rules less verbose build output (undo: "make V=1")
1383
--disable-silent-rules verbose build output (undo: "make V=0")
1384
--enable-dependency-tracking
1385
do not reject slow dependency extractors
1386
--disable-dependency-tracking
1387
speeds up one-time build
1366
1388
--enable-sasl Enable SASL authentication
1367
1389
--enable-sasl-pwdb Enable plaintext password db
1368
1390
--enable-dtrace Enable dtrace probes
1451
1473
test -n "$ac_init_help" && exit $ac_status
1452
1474
if $ac_init_version; then
1454
memcached configure 1.4.20
1455
generated by GNU Autoconf 2.68
1476
memcached configure 1.4.25
1477
generated by GNU Autoconf 2.69
1457
Copyright (C) 2010 Free Software Foundation, Inc.
1479
Copyright (C) 2012 Free Software Foundation, Inc.
1458
1480
This configure script is free software; the Free Software Foundation
1459
1481
gives unlimited permission to copy, distribute and modify it.
2368
2390
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2372
$as_echo_n "checking target system type... " >&6; }
2373
if ${ac_cv_target+:} false; then :
2374
$as_echo_n "(cached) " >&6
2376
if test "x$target_alias" = x; then
2377
ac_cv_target=$ac_cv_host
2379
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2380
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2385
$as_echo "$ac_cv_target" >&6; }
2386
case $ac_cv_target in
2388
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2390
target=$ac_cv_target
2391
ac_save_IFS=$IFS; IFS='-'
2397
# Remember, the first character of IFS is used to create $*,
2398
# except with old shells:
2401
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2404
# The aliases save the names the user supplied, while $host etc.
2405
# will get canonicalized.
2406
test -n "$target_alias" &&
2407
test "$program_prefix$program_suffix$program_transform_name" = \
2409
program_prefix=${target_alias}-
2412
am__api_version='1.11'
2394
am__api_version='1.14'
2414
2396
# Find a good install program. We prefer a C program (faster),
2415
2397
# so one script is as good as another. But avoid the broken or
2520
2499
case $srcdir in
2521
2500
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2522
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2501
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2525
# Do `set' in a subshell so we don't clobber the current shell's
2504
# Do 'set' in a subshell so we don't clobber the current shell's
2526
2505
# arguments. Must try -L first in case configure is actually a
2527
2506
# symlink; some systems play weird games with the mod time of symlinks
2528
2507
# (eg FreeBSD returns the mod time of the symlink's containing
2531
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2532
if test "$*" = "X"; then
2534
set X `ls -t "$srcdir/configure" conftest.file`
2537
if test "$*" != "X $srcdir/configure conftest.file" \
2538
&& test "$*" != "X conftest.file $srcdir/configure"; then
2540
# If neither matched, then we have a broken ls. This can happen
2541
# if, for instance, CONFIG_SHELL is bash and it inherits a
2542
# broken ls alias from the environment. This has actually
2543
# happened. Such a system could not be considered "sane".
2544
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2545
alias in your environment" "$LINENO" 5
2511
for am_try in 1 2; do
2512
echo "timestamp, slept: $am_has_slept" > conftest.file
2513
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2514
if test "$*" = "X"; then
2516
set X `ls -t "$srcdir/configure" conftest.file`
2518
if test "$*" != "X $srcdir/configure conftest.file" \
2519
&& test "$*" != "X conftest.file $srcdir/configure"; then
2521
# If neither matched, then we have a broken ls. This can happen
2522
# if, for instance, CONFIG_SHELL is bash and it inherits a
2523
# broken ls alias from the environment. This has actually
2524
# happened. Such a system could not be considered "sane".
2525
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2526
alias in your environment" "$LINENO" 5
2528
if test "$2" = conftest.file || test $am_try -eq 2; then
2548
2535
test "$2" = conftest.file
2580
2577
# Use eval to expand $SHELL
2581
if eval "$MISSING --run true"; then
2582
am_missing_run="$MISSING --run "
2578
if eval "$MISSING --is-lightweight"; then
2579
am_missing_run="$MISSING "
2584
2581
am_missing_run=
2585
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2586
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2582
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2583
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2589
2586
if test x"${install_sh}" != xset; then
2598
# Installed binaries are usually stripped using `strip' when the user
2599
# run `make install-strip'. However `strip' might not be the right
2595
# Installed binaries are usually stripped using 'strip' when the user
2596
# run "make install-strip". However 'strip' might not be the right
2600
2597
# tool to use in cross-compilation environments, therefore Automake
2601
# will honor the `STRIP' environment variable to overrule this program.
2598
# will honor the 'STRIP' environment variable to overrule this program.
2602
2599
if test "$cross_compiling" != no; then
2603
2600
if test -n "$ac_tool_prefix"; then
2604
2601
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2826
2817
rmdir .tst 2>/dev/null
2819
# Check whether --enable-silent-rules was given.
2820
if test "${enable_silent_rules+set}" = set; then :
2821
enableval=$enable_silent_rules;
2824
case $enable_silent_rules in # (((
2825
yes) AM_DEFAULT_VERBOSITY=0;;
2826
no) AM_DEFAULT_VERBOSITY=1;;
2827
*) AM_DEFAULT_VERBOSITY=1;;
2829
am_make=${MAKE-make}
2830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2831
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2832
if ${am_cv_make_support_nested_variables+:} false; then :
2833
$as_echo_n "(cached) " >&6
2835
if $as_echo 'TRUE=$(BAR$(V))
2841
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2842
am_cv_make_support_nested_variables=yes
2844
am_cv_make_support_nested_variables=no
2847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2848
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2849
if test $am_cv_make_support_nested_variables = yes; then
2851
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2853
AM_V=$AM_DEFAULT_VERBOSITY
2854
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2828
2858
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2829
2859
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2830
2860
# is not polluted with repeated "-I."
2876
2906
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2908
# For better backward compatibility. To be removed once Automake 1.9.x
2909
# dies out for good. For more background, see:
2910
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2911
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2912
mkdir_p='$(MKDIR_P)'
2878
2914
# We need awk for the "check" target. The system "awk" is bad on
2879
2915
# some platforms.
2880
2916
# Always define AMTAR for backward compatibility. Yes, it's still used
2881
2917
# in the wild :-( We should find a proper way to deprecate it ...
2882
2918
AMTAR='$${TAR-tar}'
2921
# We'll loop over all known methods to create a tar archive until one works.
2922
_am_tools='gnutar pax cpio none'
2884
2924
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2931
# POSIX will say in a future version that running "rm -f" with no argument
2932
# is OK; and we want to be able to make that assumption in our Makefile
2933
# recipes. So use an aggressive probe to check that the usage we want is
2934
# actually supported "in the wild" to an acceptable degree.
2935
# See automake bug#10828.
2936
# To make any issue more visible, cause the running configure to be aborted
2937
# by default if the 'rm' program in use doesn't match our expectations; the
2938
# user can still override this though.
2939
if rm -f && rm -fr && rm -rf; then : OK; else
2943
Your 'rm' program seems unable to run without file operands specified
2944
on the command line, even when the '-f' option is present. This is contrary
2945
to the behaviour of most rm programs out there, and not conforming with
2946
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2948
Please tell bug-automake@gnu.org about your system, including the value
2949
of your $PATH and any error possibly output before this message. This
2950
can help us improve future automake versions.
2953
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2954
echo 'Configuration will proceed anyway, since you have set the' >&2
2955
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2959
Aborting the configuration process, to ensure you take notice of the issue.
2961
You can download and install GNU coreutils to get an 'rm' implementation
2962
that behaves properly: <http://www.gnu.org/software/coreutils/>.
2964
If you want to complete the configuration process using your problematic
2965
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2966
to "yes", and re-run configure.
2969
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2890
2972
ac_config_headers="$ac_config_headers config.h"
3679
3760
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680
3761
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681
3762
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765
ac_cpp='$CPP $CPPFLAGS'
3766
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3767
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3768
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3770
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3771
if ${am_cv_prog_cc_c_o+:} false; then :
3772
$as_echo_n "(cached) " >&6
3774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775
/* end confdefs.h. */
3785
# Make sure it works both with $CC and with simple cc.
3786
# Following AC_PROG_CC_C_O, we do the test twice because some
3787
# compilers refuse to overwrite an existing .o file with -o,
3788
# though they will create one.
3789
am_cv_prog_cc_c_o=yes
3791
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3792
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795
(exit $ac_status); } \
3796
&& test -f conftest2.$ac_objext; then
3799
am_cv_prog_cc_c_o=no
3803
rm -f core conftest*
3806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3807
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3808
if test "$am_cv_prog_cc_c_o" != yes; then
3809
# Losing compiler, so override with the script.
3810
# FIXME: It is wrong to rewrite CC.
3811
# But if we don't then we get into trouble of one sort or another.
3812
# A longer-term fix would be to have automake use am__CC in this case,
3813
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3814
CC="$am_aux_dir/compile $CC"
3817
ac_cpp='$CPP $CPPFLAGS'
3818
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3819
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3820
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682
3822
DEPDIR="${am__leading_dot}deps"
3684
3824
ac_config_commands="$ac_config_commands depfiles"
3790
3930
: > sub/conftest.c
3791
3931
for i in 1 2 3 4 5 6; do
3792
3932
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3793
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3794
# Solaris 8's {/usr,}/bin/sh.
3795
touch sub/conftst$i.h
3933
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3934
# Solaris 10 /bin/sh.
3935
echo '/* dummy */' > sub/conftst$i.h
3797
3937
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3799
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3939
# We check with '-c' and '-o' for the sake of the "dashmstdout"
3800
3940
# mode. It turns out that the SunPro C++ compiler does not properly
3801
# handle `-M -o', and we need to detect this. Also, some Intel
3802
# versions had trouble with output in subdirs
3941
# handle '-M -o', and we need to detect this. Also, some Intel
3942
# versions had trouble with output in subdirs.
3803
3943
am__obj=sub/conftest.${OBJEXT-o}
3804
3944
am__minus_obj="-o $am__obj"
3805
3945
case $depmode in
4538
if test "x$CC" != xcc; then
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4540
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4543
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4545
set dummy $CC; ac_cc=`$as_echo "$2" |
4546
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4547
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4548
$as_echo_n "(cached) " >&6
4550
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551
/* end confdefs.h. */
4561
# Make sure it works both with $CC and with simple cc.
4562
# We do the test twice because some compilers refuse to overwrite an
4563
# existing .o file with -o, though they will create one.
4564
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4566
if { { case "(($ac_try" in
4567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568
*) ac_try_echo=$ac_try;;
4570
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4571
$as_echo "$ac_try_echo"; } >&5
4572
(eval "$ac_try") 2>&5
4574
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4575
test $ac_status = 0; } &&
4576
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578
*) ac_try_echo=$ac_try;;
4580
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4581
$as_echo "$ac_try_echo"; } >&5
4582
(eval "$ac_try") 2>&5
4584
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4585
test $ac_status = 0; };
4587
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4588
if test "x$CC" != xcc; then
4589
# Test first that cc exists at all.
4590
if { ac_try='cc -c conftest.$ac_ext >&5'
4591
{ { case "(($ac_try" in
4592
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593
*) ac_try_echo=$ac_try;;
4595
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4596
$as_echo "$ac_try_echo"; } >&5
4597
(eval "$ac_try") 2>&5
4599
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600
test $ac_status = 0; }; }; then
4601
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4603
if { { case "(($ac_try" in
4604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605
*) ac_try_echo=$ac_try;;
4607
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608
$as_echo "$ac_try_echo"; } >&5
4609
(eval "$ac_try") 2>&5
4611
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612
test $ac_status = 0; } &&
4613
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4614
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4615
*) ac_try_echo=$ac_try;;
4617
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4618
$as_echo "$ac_try_echo"; } >&5
4619
(eval "$ac_try") 2>&5
4621
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4622
test $ac_status = 0; };
4627
# cc exists but doesn't like -o.
4628
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4633
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4635
rm -f core conftest*
4638
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4640
$as_echo "yes" >&6; }
4642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643
$as_echo "no" >&6; }
4645
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4649
# FIXME: we rely on the cache variable name because
4650
# there is no other way.
4652
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4653
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4654
if test "$am_t" != yes; then
4655
# Losing compiler, so override with the script.
4656
# FIXME: It is wrong to rewrite CC.
4657
# But if we don't then we get into trouble of one sort or another.
4658
# A longer-term fix would be to have automake use am__CC in this case,
4659
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4660
CC="$am_aux_dir/compile $CC"
5550
5565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551
5566
/* end confdefs.h. */
5553
#include <stdbool.h>
5555
"error: bool is not defined"
5558
"error: false is not defined"
5561
"error: false is not 0"
5564
"error: true is not defined"
5567
"error: true is not 1"
5569
#ifndef __bool_true_false_are_defined
5570
"error: __bool_true_false_are_defined is not defined"
5573
struct s { _Bool s: 1; _Bool t; } s;
5575
char a[true == 1 ? 1 : -1];
5576
char b[false == 0 ? 1 : -1];
5577
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5578
char d[(bool) 0.5 == true ? 1 : -1];
5579
/* See body of main program for 'e'. */
5580
char f[(_Bool) 0.0 == false ? 1 : -1];
5582
char h[sizeof (_Bool)];
5584
enum { j = false, k = true, l = false * true, m = true * 256 };
5585
/* The following fails for
5586
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5588
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5589
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5590
/* Catch a bug in an HP-UX C compiler. See
5591
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5592
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5568
#include <stdbool.h>
5570
"error: bool is not defined"
5573
"error: false is not defined"
5576
"error: false is not 0"
5579
"error: true is not defined"
5582
"error: true is not 1"
5584
#ifndef __bool_true_false_are_defined
5585
"error: __bool_true_false_are_defined is not defined"
5588
struct s { _Bool s: 1; _Bool t; } s;
5590
char a[true == 1 ? 1 : -1];
5591
char b[false == 0 ? 1 : -1];
5592
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5593
char d[(bool) 0.5 == true ? 1 : -1];
5594
/* See body of main program for 'e'. */
5595
char f[(_Bool) 0.0 == false ? 1 : -1];
5597
char h[sizeof (_Bool)];
5599
enum { j = false, k = true, l = false * true, m = true * 256 };
5600
/* The following fails for
5601
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5603
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5604
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5605
/* Catch a bug in an HP-UX C compiler. See
5606
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5607
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5604
/* Refer to every declared value, to avoid compiler optimizations. */
5605
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5606
+ !m + !n + !o + !p + !q + !pq);
5619
/* Refer to every declared value, to avoid compiler optimizations. */
5620
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5621
+ !m + !n + !o + !p + !q + !pq);
6835
6859
# ... but there are two gotchas:
6836
6860
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6837
6861
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6838
# In both cases, we have to default to `cp -p'.
6862
# In both cases, we have to default to `cp -pR'.
6839
6863
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6841
6865
elif ln conf$$.file conf$$ 2>/dev/null; then
6849
6873
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6850
6874
rmdir conf$$.dir 2>/dev/null
6904
6928
as_mkdir_p=false
6907
if test -x / >/dev/null 2>&1; then
6910
if ls -dL / >/dev/null 2>&1; then
6917
if test -d "$1"; then
6923
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6924
???[sx]*):;;*)false;;esac;fi
6928
as_executable_p=$as_test_x
6932
# as_fn_executable_p FILE
6933
# -----------------------
6934
# Test if FILE is an executable regular file.
6935
as_fn_executable_p ()
6937
test -f "$1" && test -x "$1"
6938
} # as_fn_executable_p
6940
as_executable_p=as_fn_executable_p
6930
6942
# Sed expression to map a string onto a valid CPP name.
6931
6943
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7012
7024
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7013
7025
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7014
7026
ac_cs_version="\\
7015
memcached config.status 1.4.20
7016
configured by $0, generated by GNU Autoconf 2.68,
7027
memcached config.status 1.4.25
7028
configured by $0, generated by GNU Autoconf 2.69,
7017
7029
with options \\"\$ac_cs_config\\"
7019
Copyright (C) 2010 Free Software Foundation, Inc.
7031
Copyright (C) 2012 Free Software Foundation, Inc.
7020
7032
This config.status script is free software; the Free Software Foundation
7021
7033
gives unlimited permission to copy, distribute and modify it."
7790
7802
# Extract the definition of DEPDIR, am__include, and am__quote
7791
# from the Makefile without running `make'.
7803
# from the Makefile without running 'make'.
7792
7804
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7793
7805
test -z "$DEPDIR" && continue
7794
7806
am__include=`sed -n 's/^am__include = //p' < "$mf"`
7795
test -z "am__include" && continue
7807
test -z "$am__include" && continue
7796
7808
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7797
# When using ansi2knr, U may be empty or an underscore; expand it
7798
U=`sed -n 's/^U = //p' < "$mf"`
7799
7809
# Find all dependency output files, they are included files with
7800
7810
# $(DEPDIR) in their names. We invoke sed twice because it is the
7801
7811
# simplest approach to changing $(DEPDIR) to its actual value in the
7803
7813
for file in `sed -n "
7804
7814
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7805
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7815
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7806
7816
# Make sure the directory exists.
7807
7817
test -f "$dirpart/$file" && continue
7808
7818
fdir=`$as_dirname -- "$file" ||