2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for sharing-plugin-gallery2 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597 echo_test_string=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617 for dir in $PATH /usr/ucb; do
619 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X/bin/ksh; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL=/bin/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658 SHELL="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames=${tagnames+${tagnames},}CXX
704 tagnames=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev/null 6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix=/usr/local
718 ac_config_libobj_dir=.
724 SHELL=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
727 PACKAGE_NAME='sharing-plugin-gallery2'
728 PACKAGE_TARNAME='sharing-plugin-gallery2'
729 PACKAGE_VERSION='0.1'
730 PACKAGE_STRING='sharing-plugin-gallery2 0.1'
733 # Factoring default headers for most tests.
734 ac_includes_default="\
736 #ifdef HAVE_SYS_TYPES_H
737 # include <sys/types.h>
739 #ifdef HAVE_SYS_STAT_H
740 # include <sys/stat.h>
746 # ifdef HAVE_STDLIB_H
751 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
756 #ifdef HAVE_STRINGS_H
757 # include <strings.h>
759 #ifdef HAVE_INTTYPES_H
760 # include <inttypes.h>
778 program_transform_name
820 INSTALL_STRIP_PROGRAM
826 MAINTAINER_MODE_FALSE
886 ac_precious_vars='build_alias
908 # Initialize some variables set by options.
910 ac_init_version=false
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
920 program_transform_name=s,x,x,
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir='${exec_prefix}/bin'
935 sbindir='${exec_prefix}/sbin'
936 libexecdir='${exec_prefix}/libexec'
937 datarootdir='${prefix}/share'
938 datadir='${datarootdir}'
939 sysconfdir='${prefix}/etc'
940 sharedstatedir='${prefix}/com'
941 localstatedir='${prefix}/var'
942 includedir='${prefix}/include'
943 oldincludedir='/usr/include'
944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
945 infodir='${datarootdir}/info'
950 libdir='${exec_prefix}/lib'
951 localedir='${datarootdir}/locale'
952 mandir='${datarootdir}/man'
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\$ac_option
966 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
970 # Accept the important Cygnus configure options, so we can diagnose typos.
972 case $ac_dashdash$ac_option in
976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
981 -build | --build | --buil | --bui | --bu)
982 ac_prev=build_alias ;;
983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
984 build_alias=$ac_optarg ;;
986 -cache-file | --cache-file | --cache-fil | --cache-fi \
987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
988 ac_prev=cache_file ;;
989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
991 cache_file=$ac_optarg ;;
994 cache_file=config.cache ;;
996 -datadir | --datadir | --datadi | --datad)
998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
999 datadir=$ac_optarg ;;
1001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1002 | --dataroo | --dataro | --datar)
1003 ac_prev=datarootdir ;;
1004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1006 datarootdir=$ac_optarg ;;
1008 -disable-* | --disable-*)
1009 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1013 { (exit 1); exit 1; }; }
1014 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1015 eval enable_$ac_feature=no ;;
1017 -docdir | --docdir | --docdi | --doc | --do)
1019 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1020 docdir=$ac_optarg ;;
1022 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1024 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1025 dvidir=$ac_optarg ;;
1027 -enable-* | --enable-*)
1028 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1032 { (exit 1); exit 1; }; }
1033 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1034 eval enable_$ac_feature=\$ac_optarg ;;
1036 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1037 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1038 | --exec | --exe | --ex)
1039 ac_prev=exec_prefix ;;
1040 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1041 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1042 | --exec=* | --exe=* | --ex=*)
1043 exec_prefix=$ac_optarg ;;
1045 -gas | --gas | --ga | --g)
1046 # Obsolete; use --with-gas.
1049 -help | --help | --hel | --he | -h)
1050 ac_init_help=long ;;
1051 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1052 ac_init_help=recursive ;;
1053 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1054 ac_init_help=short ;;
1056 -host | --host | --hos | --ho)
1057 ac_prev=host_alias ;;
1058 -host=* | --host=* | --hos=* | --ho=*)
1059 host_alias=$ac_optarg ;;
1061 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1063 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1065 htmldir=$ac_optarg ;;
1067 -includedir | --includedir | --includedi | --included | --include \
1068 | --includ | --inclu | --incl | --inc)
1069 ac_prev=includedir ;;
1070 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1071 | --includ=* | --inclu=* | --incl=* | --inc=*)
1072 includedir=$ac_optarg ;;
1074 -infodir | --infodir | --infodi | --infod | --info | --inf)
1076 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1077 infodir=$ac_optarg ;;
1079 -libdir | --libdir | --libdi | --libd)
1081 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1082 libdir=$ac_optarg ;;
1084 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1085 | --libexe | --libex | --libe)
1086 ac_prev=libexecdir ;;
1087 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1088 | --libexe=* | --libex=* | --libe=*)
1089 libexecdir=$ac_optarg ;;
1091 -localedir | --localedir | --localedi | --localed | --locale)
1092 ac_prev=localedir ;;
1093 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1094 localedir=$ac_optarg ;;
1096 -localstatedir | --localstatedir | --localstatedi | --localstated \
1097 | --localstate | --localstat | --localsta | --localst | --locals)
1098 ac_prev=localstatedir ;;
1099 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1100 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1101 localstatedir=$ac_optarg ;;
1103 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1105 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1106 mandir=$ac_optarg ;;
1108 -nfp | --nfp | --nf)
1109 # Obsolete; use --without-fp.
1112 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1113 | --no-cr | --no-c | -n)
1116 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1117 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1120 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1121 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1122 | --oldin | --oldi | --old | --ol | --o)
1123 ac_prev=oldincludedir ;;
1124 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1125 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1126 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1127 oldincludedir=$ac_optarg ;;
1129 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1131 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1132 prefix=$ac_optarg ;;
1134 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1135 | --program-pre | --program-pr | --program-p)
1136 ac_prev=program_prefix ;;
1137 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1138 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1139 program_prefix=$ac_optarg ;;
1141 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1142 | --program-suf | --program-su | --program-s)
1143 ac_prev=program_suffix ;;
1144 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1145 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1146 program_suffix=$ac_optarg ;;
1148 -program-transform-name | --program-transform-name \
1149 | --program-transform-nam | --program-transform-na \
1150 | --program-transform-n | --program-transform- \
1151 | --program-transform | --program-transfor \
1152 | --program-transfo | --program-transf \
1153 | --program-trans | --program-tran \
1154 | --progr-tra | --program-tr | --program-t)
1155 ac_prev=program_transform_name ;;
1156 -program-transform-name=* | --program-transform-name=* \
1157 | --program-transform-nam=* | --program-transform-na=* \
1158 | --program-transform-n=* | --program-transform-=* \
1159 | --program-transform=* | --program-transfor=* \
1160 | --program-transfo=* | --program-transf=* \
1161 | --program-trans=* | --program-tran=* \
1162 | --progr-tra=* | --program-tr=* | --program-t=*)
1163 program_transform_name=$ac_optarg ;;
1165 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1167 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1168 pdfdir=$ac_optarg ;;
1170 -psdir | --psdir | --psdi | --psd | --ps)
1172 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1176 | -silent | --silent | --silen | --sile | --sil)
1179 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1181 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1183 sbindir=$ac_optarg ;;
1185 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1186 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1187 | --sharedst | --shareds | --shared | --share | --shar \
1189 ac_prev=sharedstatedir ;;
1190 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1191 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1192 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1194 sharedstatedir=$ac_optarg ;;
1196 -site | --site | --sit)
1198 -site=* | --site=* | --sit=*)
1201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1204 srcdir=$ac_optarg ;;
1206 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1207 | --syscon | --sysco | --sysc | --sys | --sy)
1208 ac_prev=sysconfdir ;;
1209 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1210 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1211 sysconfdir=$ac_optarg ;;
1213 -target | --target | --targe | --targ | --tar | --ta | --t)
1214 ac_prev=target_alias ;;
1215 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1216 target_alias=$ac_optarg ;;
1218 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1221 -version | --version | --versio | --versi | --vers | -V)
1222 ac_init_version=: ;;
1225 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1228 { echo "$as_me: error: invalid package name: $ac_package" >&2
1229 { (exit 1); exit 1; }; }
1230 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1231 eval with_$ac_package=\$ac_optarg ;;
1233 -without-* | --without-*)
1234 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235 # Reject names that are not valid shell variable names.
1236 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1237 { echo "$as_me: error: invalid package name: $ac_package" >&2
1238 { (exit 1); exit 1; }; }
1239 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1240 eval with_$ac_package=no ;;
1243 # Obsolete; use --with-x.
1246 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1247 | --x-incl | --x-inc | --x-in | --x-i)
1248 ac_prev=x_includes ;;
1249 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1250 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1251 x_includes=$ac_optarg ;;
1253 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1254 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1255 ac_prev=x_libraries ;;
1256 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1257 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1258 x_libraries=$ac_optarg ;;
1260 -*) { echo "$as_me: error: unrecognized option: $ac_option
1261 Try \`$0 --help' for more information." >&2
1262 { (exit 1); exit 1; }; }
1266 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1269 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1270 { (exit 1); exit 1; }; }
1271 eval $ac_envvar=\$ac_optarg
1272 export $ac_envvar ;;
1275 # FIXME: should be removed in autoconf 3.0.
1276 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1277 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1278 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1279 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1285 if test -n "$ac_prev"; then
1286 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1287 { echo "$as_me: error: missing argument to $ac_option" >&2
1288 { (exit 1); exit 1; }; }
1291 # Be sure to have absolute directory names.
1292 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293 datadir sysconfdir sharedstatedir localstatedir includedir \
1294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295 libdir localedir mandir
1297 eval ac_val=\$$ac_var
1299 [\\/$]* | ?:[\\/]* ) continue;;
1300 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1302 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1303 { (exit 1); exit 1; }; }
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1311 target=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x; then
1315 if test "x$build_alias" = x; then
1316 cross_compiling=maybe
1317 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1318 If a cross compiler is detected then cross compile mode will be used." >&2
1319 elif test "x$build_alias" != "x$host_alias"; then
1325 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1327 test "$silent" = yes && exec 6>/dev/null
1330 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1331 ac_ls_di=`ls -di .` &&
1332 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1333 { echo "$as_me: error: Working directory cannot be determined" >&2
1334 { (exit 1); exit 1; }; }
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 { echo "$as_me: error: pwd does not report name of working directory" >&2
1337 { (exit 1); exit 1; }; }
1340 # Find the source files, if location was not specified.
1341 if test -z "$srcdir"; then
1342 ac_srcdir_defaulted=yes
1343 # Try the directory containing this script, then the parent directory.
1344 ac_confdir=`$as_dirname -- "$0" ||
1345 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1346 X"$0" : 'X\(//\)[^/]' \| \
1347 X"$0" : 'X\(//\)$' \| \
1348 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1372 ac_srcdir_defaulted=no
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1375 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1376 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1377 { (exit 1); exit 1; }; }
1379 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1381 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1382 { (exit 1); exit 1; }; }
1384 # When building in place, set srcdir=.
1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
1388 # Remove unnecessary trailing slashes from srcdir.
1389 # Double slashes in file names in object file debugging info
1390 # mess up M-x gdb in Emacs.
1392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1394 for ac_var in $ac_precious_vars; do
1395 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1396 eval ac_env_${ac_var}_value=\$${ac_var}
1397 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1398 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1402 # Report the --help message.
1404 if test "$ac_init_help" = "long"; then
1405 # Omit some internal or obsolete options to make the list less imposing.
1406 # This message is too long to be a string in the A/UX 3.1 sh.
1408 \`configure' configures sharing-plugin-gallery2 0.1 to adapt to many kinds of systems.
1410 Usage: $0 [OPTION]... [VAR=VALUE]...
1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1413 VAR=VALUE. See below for descriptions of some of the useful variables.
1415 Defaults for the options are specified in brackets.
1418 -h, --help display this help and exit
1419 --help=short display options specific to this package
1420 --help=recursive display the short help of all the included packages
1421 -V, --version display version information and exit
1422 -q, --quiet, --silent do not print \`checking...' messages
1423 --cache-file=FILE cache test results in FILE [disabled]
1424 -C, --config-cache alias for \`--cache-file=config.cache'
1425 -n, --no-create do not create output files
1426 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1428 Installation directories:
1429 --prefix=PREFIX install architecture-independent files in PREFIX
1430 [$ac_default_prefix]
1431 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1434 By default, \`make install' will install all the files in
1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1437 for instance \`--prefix=\$HOME'.
1439 For better control, use the options below.
1441 Fine tuning of the installation directories:
1442 --bindir=DIR user executables [EPREFIX/bin]
1443 --sbindir=DIR system admin executables [EPREFIX/sbin]
1444 --libexecdir=DIR program executables [EPREFIX/libexec]
1445 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1446 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1447 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1448 --libdir=DIR object code libraries [EPREFIX/lib]
1449 --includedir=DIR C header files [PREFIX/include]
1450 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1451 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1452 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1453 --infodir=DIR info documentation [DATAROOTDIR/info]
1454 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1455 --mandir=DIR man documentation [DATAROOTDIR/man]
1456 --docdir=DIR documentation root [DATAROOTDIR/doc/sharing-plugin-gallery2]
1457 --htmldir=DIR html documentation [DOCDIR]
1458 --dvidir=DIR dvi documentation [DOCDIR]
1459 --pdfdir=DIR pdf documentation [DOCDIR]
1460 --psdir=DIR ps documentation [DOCDIR]
1466 --program-prefix=PREFIX prepend PREFIX to installed program names
1467 --program-suffix=SUFFIX append SUFFIX to installed program names
1468 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1471 --build=BUILD configure for building on BUILD [guessed]
1472 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1476 if test -n "$ac_init_help"; then
1477 case $ac_init_help in
1478 short | recursive ) echo "Configuration of sharing-plugin-gallery2 0.1:";;
1483 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1484 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1485 --enable-maintainer-mode enable make rules and dependencies not useful
1486 (and sometimes confusing) to the casual installer
1487 --enable-shared[=PKGS] build shared libraries [default=yes]
1488 --enable-static[=PKGS] build static libraries [default=no]
1489 --disable-dependency-tracking speeds up one-time build
1490 --enable-dependency-tracking do not reject slow dependency extractors
1491 --enable-fast-install[=PKGS]
1492 optimize for fast installation [default=yes]
1493 --disable-libtool-lock avoid locking (might break parallel builds)
1494 --enable-debug Turn on debug messages
1497 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1498 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1499 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1500 --with-pic try to use only PIC/non-PIC objects [default=use
1502 --with-tags[=TAGS] include additional configurations [automatic]
1504 Some influential environment variables:
1505 CC C compiler command
1506 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1512 CXX C++ compiler command
1513 CXXFLAGS C++ compiler flags
1515 CXXCPP C++ preprocessor
1516 F77 Fortran 77 compiler command
1517 FFLAGS Fortran 77 compiler flags
1518 PKG_CONFIG path to pkg-config utility
1520 C compiler flags for PACKAGE, overriding pkg-config
1522 linker flags for PACKAGE, overriding pkg-config
1524 C compiler flags for SHARING, overriding pkg-config
1526 linker flags for SHARING, overriding pkg-config
1528 Use these variables to override the choices made by `configure' or to help
1529 it to find libraries and programs with nonstandard names/locations.
1535 if test "$ac_init_help" = "recursive"; then
1536 # If there are subdirs, report their specific --help.
1537 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1538 test -d "$ac_dir" || continue
1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1545 # A ".." for each directory in $ac_dir_suffix.
1546 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1547 case $ac_top_builddir_sub in
1548 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1552 ac_abs_top_builddir=$ac_pwd
1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1554 # for backward compatibility:
1555 ac_top_builddir=$ac_top_build_prefix
1558 .) # We are building in place.
1560 ac_top_srcdir=$ac_top_builddir_sub
1561 ac_abs_top_srcdir=$ac_pwd ;;
1562 [\\/]* | ?:[\\/]* ) # Absolute name.
1563 ac_srcdir=$srcdir$ac_dir_suffix;
1564 ac_top_srcdir=$srcdir
1565 ac_abs_top_srcdir=$srcdir ;;
1567 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1568 ac_top_srcdir=$ac_top_build_prefix$srcdir
1569 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1573 cd "$ac_dir" || { ac_status=$?; continue; }
1574 # Check for guested configure.
1575 if test -f "$ac_srcdir/configure.gnu"; then
1577 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1578 elif test -f "$ac_srcdir/configure"; then
1580 $SHELL "$ac_srcdir/configure" --help=recursive
1582 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584 cd "$ac_pwd" || { ac_status=$?; break; }
1588 test -n "$ac_init_help" && exit $ac_status
1589 if $ac_init_version; then
1591 sharing-plugin-gallery2 configure 0.1
1592 generated by GNU Autoconf 2.61
1594 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1595 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1596 This configure script is free software; the Free Software Foundation
1597 gives unlimited permission to copy, distribute and modify it.
1601 cat >config.log <<_ACEOF
1602 This file contains any messages produced by compilers while
1603 running configure, to aid debugging if configure makes a mistake.
1605 It was created by sharing-plugin-gallery2 $as_me 0.1, which was
1606 generated by GNU Autoconf 2.61. Invocation command line was
1618 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1619 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1620 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1621 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1622 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1624 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1625 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1627 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1628 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1629 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1630 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1631 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1632 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1633 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1641 test -z "$as_dir" && as_dir=.
1642 echo "PATH: $as_dir"
1658 # Keep a trace of the command line.
1659 # Strip out --no-create and --no-recursion so they do not pile up.
1660 # Strip out --silent because we don't want to record it for future runs.
1661 # Also quote any args containing shell meta-characters.
1662 # Make two passes to allow for proper duplicate-argument suppression.
1666 ac_must_keep_next=false
1672 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1673 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1674 | -silent | --silent | --silen | --sile | --sil)
1677 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1680 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1682 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1683 if test $ac_must_keep_next = true; then
1684 ac_must_keep_next=false # Got value, back to normal.
1687 *=* | --config-cache | -C | -disable-* | --disable-* \
1688 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1689 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1690 | -with-* | --with-* | -without-* | --without-* | --x)
1691 case "$ac_configure_args0 " in
1692 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1695 -* ) ac_must_keep_next=true ;;
1698 ac_configure_args="$ac_configure_args '$ac_arg'"
1703 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1704 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1706 # When interrupted or exit'd, cleanup temporary files, and complete
1707 # config.log. We remove comments because anyway the quotes in there
1708 # would cause problems or look ugly.
1709 # WARNING: Use '\'' to represent an apostrophe within the trap.
1710 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1711 trap 'exit_status=$?
1712 # Save into config.log some information that might help in debugging.
1717 ## ---------------- ##
1718 ## Cache variables. ##
1719 ## ---------------- ##
1722 # The following way of writing the cache mishandles newlines in values,
1724 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1725 eval ac_val=\$$ac_var
1729 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1730 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1733 _ | IFS | as_nl) ;; #(
1734 *) $as_unset $ac_var ;;
1739 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1740 *${as_nl}ac_space=\ *)
1742 "s/'\''/'\''\\\\'\'''\''/g;
1743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1746 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1754 ## ----------------- ##
1755 ## Output variables. ##
1756 ## ----------------- ##
1759 for ac_var in $ac_subst_vars
1761 eval ac_val=\$$ac_var
1763 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1765 echo "$ac_var='\''$ac_val'\''"
1769 if test -n "$ac_subst_files"; then
1771 ## ------------------- ##
1772 ## File substitutions. ##
1773 ## ------------------- ##
1776 for ac_var in $ac_subst_files
1778 eval ac_val=\$$ac_var
1780 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1782 echo "$ac_var='\''$ac_val'\''"
1787 if test -s confdefs.h; then
1797 test "$ac_signal" != 0 &&
1798 echo "$as_me: caught signal $ac_signal"
1799 echo "$as_me: exit $exit_status"
1801 rm -f core *.core core.conftest.* &&
1802 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1805 for ac_signal in 1 2 13 15; do
1806 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1810 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1811 rm -f -r conftest* confdefs.h
1813 # Predefined preprocessor variables.
1815 cat >>confdefs.h <<_ACEOF
1816 #define PACKAGE_NAME "$PACKAGE_NAME"
1820 cat >>confdefs.h <<_ACEOF
1821 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1825 cat >>confdefs.h <<_ACEOF
1826 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1830 cat >>confdefs.h <<_ACEOF
1831 #define PACKAGE_STRING "$PACKAGE_STRING"
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1840 # Let the site file select an alternate cache file if it wants to.
1841 # Prefer explicitly selected file to automatically selected ones.
1842 if test -n "$CONFIG_SITE"; then
1843 set x "$CONFIG_SITE"
1844 elif test "x$prefix" != xNONE; then
1845 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1847 set x "$ac_default_prefix/share/config.site" \
1848 "$ac_default_prefix/etc/config.site"
1853 if test -r "$ac_site_file"; then
1854 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1855 echo "$as_me: loading site script $ac_site_file" >&6;}
1856 sed 's/^/| /' "$ac_site_file" >&5
1861 if test -r "$cache_file"; then
1862 # Some versions of bash will fail to source /dev/null (special
1863 # files actually), so we avoid doing that.
1864 if test -f "$cache_file"; then
1865 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1866 echo "$as_me: loading cache $cache_file" >&6;}
1868 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1869 *) . "./$cache_file";;
1873 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1874 echo "$as_me: creating cache $cache_file" >&6;}
1878 # Check that the precious variables saved in the cache have kept the same
1880 ac_cache_corrupted=false
1881 for ac_var in $ac_precious_vars; do
1882 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1883 eval ac_new_set=\$ac_env_${ac_var}_set
1884 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1885 eval ac_new_val=\$ac_env_${ac_var}_value
1886 case $ac_old_set,$ac_new_set in
1888 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1889 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1890 ac_cache_corrupted=: ;;
1892 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1893 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1894 ac_cache_corrupted=: ;;
1897 if test "x$ac_old_val" != "x$ac_new_val"; then
1898 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1899 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1900 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1901 echo "$as_me: former value: $ac_old_val" >&2;}
1902 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1903 echo "$as_me: current value: $ac_new_val" >&2;}
1904 ac_cache_corrupted=:
1907 # Pass precious variables to config.status.
1908 if test "$ac_new_set" = set; then
1910 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1911 *) ac_arg=$ac_var=$ac_new_val ;;
1913 case " $ac_configure_args " in
1914 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1915 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1919 if $ac_cache_corrupted; then
1920 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1921 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1922 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1923 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1924 { (exit 1); exit 1; }; }
1952 ac_cpp='$CPP $CPPFLAGS'
1953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1958 am__api_version="1.8"
1960 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1961 if test -f "$ac_dir/install-sh"; then
1963 ac_install_sh="$ac_aux_dir/install-sh -c"
1965 elif test -f "$ac_dir/install.sh"; then
1967 ac_install_sh="$ac_aux_dir/install.sh -c"
1969 elif test -f "$ac_dir/shtool"; then
1971 ac_install_sh="$ac_aux_dir/shtool install -c"
1975 if test -z "$ac_aux_dir"; then
1976 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1977 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1978 { (exit 1); exit 1; }; }
1981 # These three variables are undocumented and unsupported,
1982 # and are intended to be withdrawn in a future Autoconf release.
1983 # They can cause serious problems if a builder's source tree is in a directory
1984 # whose full name contains unusual characters.
1985 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1986 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1987 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1990 # Find a good install program. We prefer a C program (faster),
1991 # so one script is as good as another. But avoid the broken or
1992 # incompatible versions:
1993 # SysV /etc/install, /usr/sbin/install
1994 # SunOS /usr/etc/install
1995 # IRIX /sbin/install
1997 # AmigaOS /C/install, which installs bootblocks on floppy discs
1998 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1999 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2000 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2001 # OS/2's system install, which has a completely different semantic
2002 # ./install, which can be erroneously created by make from ./install.sh.
2003 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2004 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2005 if test -z "$INSTALL"; then
2006 if test "${ac_cv_path_install+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir=.
2014 # Account for people who put trailing slashes in PATH elements.
2016 ./ | .// | /cC/* | \
2017 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2018 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2021 # OSF1 and SCO ODT 3.0 have their own names for install.
2022 # Don't use installbsd from OSF since it installs stuff as root
2024 for ac_prog in ginstall scoinst install; do
2025 for ac_exec_ext in '' $ac_executable_extensions; do
2026 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2027 if test $ac_prog = install &&
2028 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2029 # AIX install. It has an incompatible calling convention.
2031 elif test $ac_prog = install &&
2032 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2033 # program-specific install script used by HP pwplus--don't use.
2036 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2049 if test "${ac_cv_path_install+set}" = set; then
2050 INSTALL=$ac_cv_path_install
2052 # As a last resort, use the slow shell script. Don't cache a
2053 # value for INSTALL within a source directory, because that will
2054 # break other packages using the cache if that directory is
2055 # removed, or if the value is a relative name.
2056 INSTALL=$ac_install_sh
2059 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2060 echo "${ECHO_T}$INSTALL" >&6; }
2062 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2063 # It thinks the first close brace ends the variable substitution.
2064 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2066 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2068 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2070 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2071 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2074 echo timestamp > conftest.file
2075 # Do `set' in a subshell so we don't clobber the current shell's
2076 # arguments. Must try -L first in case configure is actually a
2077 # symlink; some systems play weird games with the mod time of symlinks
2078 # (eg FreeBSD returns the mod time of the symlink's containing
2081 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2082 if test "$*" = "X"; then
2084 set X `ls -t $srcdir/configure conftest.file`
2087 if test "$*" != "X $srcdir/configure conftest.file" \
2088 && test "$*" != "X conftest.file $srcdir/configure"; then
2090 # If neither matched, then we have a broken ls. This can happen
2091 # if, for instance, CONFIG_SHELL is bash and it inherits a
2092 # broken ls alias from the environment. This has actually
2093 # happened. Such a system could not be considered "sane".
2094 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2095 alias in your environment" >&5
2096 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2097 alias in your environment" >&2;}
2098 { (exit 1); exit 1; }; }
2101 test "$2" = conftest.file
2107 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2108 Check your system clock" >&5
2109 echo "$as_me: error: newly created file is older than distributed files!
2110 Check your system clock" >&2;}
2111 { (exit 1); exit 1; }; }
2113 { echo "$as_me:$LINENO: result: yes" >&5
2114 echo "${ECHO_T}yes" >&6; }
2115 test "$program_prefix" != NONE &&
2116 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2117 # Use a double $ so make ignores it.
2118 test "$program_suffix" != NONE &&
2119 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2120 # Double any \ or $. echo might interpret backslashes.
2121 # By default was `s,x,x', remove it if useless.
2122 cat <<\_ACEOF >conftest.sed
2123 s/[\\$]/&&/g;s/;s,x,x,$//
2125 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2128 # expand $ac_aux_dir to an absolute path
2129 am_aux_dir=`cd $ac_aux_dir && pwd`
2131 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2132 # Use eval to expand $SHELL
2133 if eval "$MISSING --run true"; then
2134 am_missing_run="$MISSING --run "
2137 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2138 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2141 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2142 # Keeping the `.' argument allows $(mkdir_p) to be used without
2143 # argument. Indeed, we sometimes output rules like
2144 # $(mkdir_p) $(somedir)
2145 # where $(somedir) is conditionally defined.
2146 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
2147 # expensive solution, as it forces Make to start a sub-shell.)
2148 mkdir_p='mkdir -p -- .'
2150 # On NextStep and OpenStep, the `mkdir' command does not
2151 # recognize any option. It will interpret all options as
2152 # directories to create, and then abort because `.' already
2154 for d in ./-p ./--version;
2156 test -d $d && rmdir $d
2158 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2159 if test -f "$ac_aux_dir/mkinstalldirs"; then
2160 mkdir_p='$(mkinstalldirs)'
2162 mkdir_p='$(install_sh) -d'
2166 for ac_prog in gawk mawk nawk awk
2168 # Extract the first word of "$ac_prog", so it can be a program name with args.
2169 set dummy $ac_prog; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_AWK+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$AWK"; then
2176 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_AWK="$ac_prog"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test -n "$AWK"; then
2197 { echo "$as_me:$LINENO: result: $AWK" >&5
2198 echo "${ECHO_T}$AWK" >&6; }
2200 { echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6; }
2205 test -n "$AWK" && break
2208 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2209 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2210 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2211 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 cat >conftest.make <<\_ACEOF
2217 @echo '@@@%%%=$(MAKE)=@@@%%%'
2219 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2220 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2222 eval ac_cv_prog_make_${ac_make}_set=yes;;
2224 eval ac_cv_prog_make_${ac_make}_set=no;;
2228 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2229 { echo "$as_me:$LINENO: result: yes" >&5
2230 echo "${ECHO_T}yes" >&6; }
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2235 SET_MAKE="MAKE=${MAKE-make}"
2238 rm -rf .tst 2>/dev/null
2239 mkdir .tst 2>/dev/null
2240 if test -d .tst; then
2245 rmdir .tst 2>/dev/null
2247 # test to see if srcdir already configured
2248 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2249 test -f $srcdir/config.status; then
2250 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2251 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2252 { (exit 1); exit 1; }; }
2255 # test whether we have cygpath
2256 if test -z "$CYGPATH_W"; then
2257 if (cygpath --version) >/dev/null 2>/dev/null; then
2258 CYGPATH_W='cygpath -w'
2265 # Define the identity of the package.
2266 PACKAGE='sharing-plugin-gallery2'
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE "$PACKAGE"
2275 cat >>confdefs.h <<_ACEOF
2276 #define VERSION "$VERSION"
2279 # Some tools Automake needs.
2281 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2284 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2287 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2290 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2293 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 AMTAR=${AMTAR-"${am_missing_run}tar"}
2298 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2300 # Installed binaries are usually stripped using `strip' when the user
2301 # run `make install-strip'. However `strip' might not be the right
2302 # tool to use in cross-compilation environments, therefore Automake
2303 # will honor the `STRIP' environment variable to overrule this program.
2304 if test "$cross_compiling" != no; then
2305 if test -n "$ac_tool_prefix"; then
2306 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2307 set dummy ${ac_tool_prefix}strip; ac_word=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_STRIP+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$STRIP"; then
2314 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 STRIP=$ac_cv_prog_STRIP
2334 if test -n "$STRIP"; then
2335 { echo "$as_me:$LINENO: result: $STRIP" >&5
2336 echo "${ECHO_T}$STRIP" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2344 if test -z "$ac_cv_prog_STRIP"; then
2346 # Extract the first word of "strip", so it can be a program name with args.
2347 set dummy strip; ac_word=$2
2348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2350 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2351 echo $ECHO_N "(cached) $ECHO_C" >&6
2353 if test -n "$ac_ct_STRIP"; then
2354 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 test -z "$as_dir" && as_dir=.
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2363 ac_cv_prog_ac_ct_STRIP="strip"
2364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2374 if test -n "$ac_ct_STRIP"; then
2375 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2376 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2378 { echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6; }
2382 if test "x$ac_ct_STRIP" = x; then
2385 case $cross_compiling:$ac_tool_warned in
2387 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2388 whose name does not start with the host triplet. If you think this
2389 configuration is useful to you, please write to autoconf@gnu.org." >&5
2390 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2391 whose name does not start with the host triplet. If you think this
2392 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2393 ac_tool_warned=yes ;;
2398 STRIP="$ac_cv_prog_STRIP"
2402 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2404 # We need awk for the "check" target. The system "awk" is bad on
2410 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2411 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2412 # Check whether --enable-maintainer-mode was given.
2413 if test "${enable_maintainer_mode+set}" = set; then
2414 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2416 USE_MAINTAINER_MODE=no
2419 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2420 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2423 if test $USE_MAINTAINER_MODE = yes; then
2424 MAINTAINER_MODE_TRUE=
2425 MAINTAINER_MODE_FALSE='#'
2427 MAINTAINER_MODE_TRUE='#'
2428 MAINTAINER_MODE_FALSE=
2431 MAINT=$MAINTAINER_MODE_TRUE
2434 ac_config_headers="$ac_config_headers config.h"
2439 # Check whether --enable-shared was given.
2440 if test "${enable_shared+set}" = set; then
2441 enableval=$enable_shared; p=${PACKAGE-default}
2443 yes) enable_shared=yes ;;
2444 no) enable_shared=no ;;
2447 # Look at the argument we got. We use all the common list separators.
2448 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2449 for pkg in $enableval; do
2451 if test "X$pkg" = "X$p"; then
2463 # Check whether --enable-static was given.
2464 if test "${enable_static+set}" = set; then
2465 enableval=$enable_static; p=${PACKAGE-default}
2467 yes) enable_static=yes ;;
2468 no) enable_static=no ;;
2471 # Look at the argument we got. We use all the common list separators.
2472 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2473 for pkg in $enableval; do
2475 if test "X$pkg" = "X$p"; then
2487 DEPDIR="${am__leading_dot}deps"
2489 ac_config_commands="$ac_config_commands depfiles"
2492 am_make=${MAKE-make}
2493 cat > confinc << 'END'
2498 # If we don't find an include directive, just comment out the code.
2499 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2500 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2504 # First try GNU make style include.
2505 echo "include confinc" > confmf
2506 # We grep out `Entering directory' and `Leaving directory'
2507 # messages which can occur if `w' ends up in MAKEFLAGS.
2508 # In particular we don't look at `^make:' because GNU make might
2509 # be invoked under some other name (usually "gmake"), in which
2510 # case it prints its new name instead of `make'.
2511 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2516 # Now try BSD make style include.
2517 if test "$am__include" = "#"; then
2518 echo '.include "confinc"' > confmf
2519 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2520 am__include=.include
2527 { echo "$as_me:$LINENO: result: $_am_result" >&5
2528 echo "${ECHO_T}$_am_result" >&6; }
2529 rm -f confinc confmf
2531 # Check whether --enable-dependency-tracking was given.
2532 if test "${enable_dependency_tracking+set}" = set; then
2533 enableval=$enable_dependency_tracking;
2536 if test "x$enable_dependency_tracking" != xno; then
2537 am_depcomp="$ac_aux_dir/depcomp"
2542 if test "x$enable_dependency_tracking" != xno; then
2553 ac_cpp='$CPP $CPPFLAGS'
2554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2562 if test "${ac_cv_prog_CC+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 if test -n "$CC"; then
2566 ac_cv_prog_CC="$CC" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2575 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 if test -n "$CC"; then
2587 { echo "$as_me:$LINENO: result: $CC" >&5
2588 echo "${ECHO_T}$CC" >&6; }
2590 { echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6; }
2596 if test -z "$ac_cv_prog_CC"; then
2598 # Extract the first word of "gcc", so it can be a program name with args.
2599 set dummy gcc; ac_word=$2
2600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2603 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 if test -n "$ac_ct_CC"; then
2606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615 ac_cv_prog_ac_ct_CC="gcc"
2616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2626 if test -n "$ac_ct_CC"; then
2627 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2628 echo "${ECHO_T}$ac_ct_CC" >&6; }
2630 { echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6; }
2634 if test "x$ac_ct_CC" = x; then
2637 case $cross_compiling:$ac_tool_warned in
2639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2640 whose name does not start with the host triplet. If you think this
2641 configuration is useful to you, please write to autoconf@gnu.org." >&5
2642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2643 whose name does not start with the host triplet. If you think this
2644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2645 ac_tool_warned=yes ;;
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2656 set dummy ${ac_tool_prefix}cc; ac_word=$2
2657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2659 if test "${ac_cv_prog_CC+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC="$CC" # Let the user override the test.
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_CC="${ac_tool_prefix}cc"
2673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$CC"; then
2684 { echo "$as_me:$LINENO: result: $CC" >&5
2685 echo "${ECHO_T}$CC" >&6; }
2687 { echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6; }
2694 if test -z "$CC"; then
2695 # Extract the first word of "cc", so it can be a program name with args.
2696 set dummy cc; ac_word=$2
2697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2699 if test "${ac_cv_prog_CC+set}" = set; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 if test -n "$CC"; then
2703 ac_cv_prog_CC="$CC" # Let the user override the test.
2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 test -z "$as_dir" && as_dir=.
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2713 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2714 ac_prog_rejected=yes
2718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test $ac_prog_rejected = yes; then
2726 # We found a bogon in the path, so make sure we never use it.
2727 set dummy $ac_cv_prog_CC
2729 if test $# != 0; then
2730 # We chose a different compiler from the bogus one.
2731 # However, it has the same basename, so the bogon will be chosen
2732 # first if we set CC to just the basename; use the full file name.
2734 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2740 if test -n "$CC"; then
2741 { echo "$as_me:$LINENO: result: $CC" >&5
2742 echo "${ECHO_T}$CC" >&6; }
2744 { echo "$as_me:$LINENO: result: no" >&5
2745 echo "${ECHO_T}no" >&6; }
2750 if test -z "$CC"; then
2751 if test -n "$ac_tool_prefix"; then
2752 for ac_prog in cl.exe
2754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2758 if test "${ac_cv_prog_CC+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 if test -n "$CC"; then
2762 ac_cv_prog_CC="$CC" # Let the user override the test.
2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir=.
2769 for ac_exec_ext in '' $ac_executable_extensions; do
2770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2771 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 if test -n "$CC"; then
2783 { echo "$as_me:$LINENO: result: $CC" >&5
2784 echo "${ECHO_T}$CC" >&6; }
2786 { echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6; }
2791 test -n "$CC" && break
2794 if test -z "$CC"; then
2796 for ac_prog in cl.exe
2798 # Extract the first word of "$ac_prog", so it can be a program name with args.
2799 set dummy $ac_prog; ac_word=$2
2800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 if test -n "$ac_ct_CC"; then
2806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_ac_ct_CC="$ac_prog"
2816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2826 if test -n "$ac_ct_CC"; then
2827 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2828 echo "${ECHO_T}$ac_ct_CC" >&6; }
2830 { echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6; }
2835 test -n "$ac_ct_CC" && break
2838 if test "x$ac_ct_CC" = x; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2844 whose name does not start with the host triplet. If you think this
2845 configuration is useful to you, please write to autoconf@gnu.org." >&5
2846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2847 whose name does not start with the host triplet. If you think this
2848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2849 ac_tool_warned=yes ;;
2858 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2859 See \`config.log' for more details." >&5
2860 echo "$as_me: error: no acceptable C compiler found in \$PATH
2861 See \`config.log' for more details." >&2;}
2862 { (exit 1); exit 1; }; }
2864 # Provide some information about the compiler.
2865 echo "$as_me:$LINENO: checking for C compiler version" >&5
2866 ac_compiler=`set X $ac_compile; echo $2`
2867 { (ac_try="$ac_compiler --version >&5"
2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873 (eval "$ac_compiler --version >&5") 2>&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }
2877 { (ac_try="$ac_compiler -v >&5"
2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2883 (eval "$ac_compiler -v >&5") 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }
2887 { (ac_try="$ac_compiler -V >&5"
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_compiler -V >&5") 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }
2898 cat >conftest.$ac_ext <<_ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2913 ac_clean_files_save=$ac_clean_files
2914 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2915 # Try to create an executable without -o first, disregard a.out.
2916 # It will help us diagnose broken compilers, and finding out an intuition
2918 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2919 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2920 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2922 # List of possible output files, starting from the most likely.
2923 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2924 # only as a last resort. b.out is created by i960 compilers.
2925 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2927 # The IRIX 6 linker writes into existing files which may not be
2928 # executable, retaining their permissions. Remove them first so a
2929 # subsequent execution test works.
2931 for ac_file in $ac_files
2934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2940 if { (ac_try="$ac_link_default"
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946 (eval "$ac_link_default") 2>&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; then
2950 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2951 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2952 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2953 # so that the user can short-circuit this test for compilers unknown to
2955 for ac_file in $ac_files ''
2957 test -f "$ac_file" || continue
2959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2962 # We found the default executable, but exeext='' is most
2966 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2968 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2970 # We set ac_cv_exeext here because the later test for it is not
2971 # safe: cross compilers may not add the suffix if given an `-o'
2972 # argument, so we may need to know it at that point already.
2973 # Even if this section looks crufty: it has the advantage of
2980 test "$ac_cv_exeext" = no && ac_cv_exeext=
2986 { echo "$as_me:$LINENO: result: $ac_file" >&5
2987 echo "${ECHO_T}$ac_file" >&6; }
2988 if test -z "$ac_file"; then
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2993 See \`config.log' for more details." >&5
2994 echo "$as_me: error: C compiler cannot create executables
2995 See \`config.log' for more details." >&2;}
2996 { (exit 77); exit 77; }; }
2999 ac_exeext=$ac_cv_exeext
3001 # Check that the compiler produces executables we can run. If not, either
3002 # the compiler is broken, or we cross compile.
3003 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3004 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3005 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3006 # If not cross compiling, check that we can run a simple program.
3007 if test "$cross_compiling" != yes; then
3008 if { ac_try='./$ac_file'
3009 { (case "(($ac_try" in
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_try") 2>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; }; then
3020 if test "$cross_compiling" = maybe; then
3023 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3024 If you meant to cross compile, use \`--host'.
3025 See \`config.log' for more details." >&5
3026 echo "$as_me: error: cannot run C compiled programs.
3027 If you meant to cross compile, use \`--host'.
3028 See \`config.log' for more details." >&2;}
3029 { (exit 1); exit 1; }; }
3033 { echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6; }
3036 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3037 ac_clean_files=$ac_clean_files_save
3038 # Check that the compiler produces executables we can run. If not, either
3039 # the compiler is broken, or we cross compile.
3040 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3041 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3042 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3043 echo "${ECHO_T}$cross_compiling" >&6; }
3045 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3046 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3047 if { (ac_try="$ac_link"
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3053 (eval "$ac_link") 2>&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; then
3057 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3058 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3059 # work properly (i.e., refer to `conftest.exe'), while it won't with
3061 for ac_file in conftest.exe conftest conftest.*; do
3062 test -f "$ac_file" || continue
3064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3065 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3071 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3072 See \`config.log' for more details." >&5
3073 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3074 See \`config.log' for more details." >&2;}
3075 { (exit 1); exit 1; }; }
3078 rm -f conftest$ac_cv_exeext
3079 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3080 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3082 rm -f conftest.$ac_ext
3083 EXEEXT=$ac_cv_exeext
3085 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3086 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3087 if test "${ac_cv_objext+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 cat >conftest.$ac_ext <<_ACEOF
3093 cat confdefs.h >>conftest.$ac_ext
3094 cat >>conftest.$ac_ext <<_ACEOF
3095 /* end confdefs.h. */
3105 rm -f conftest.o conftest.obj
3106 if { (ac_try="$ac_compile"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compile") 2>&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; then
3116 for ac_file in conftest.o conftest.obj conftest.*; do
3117 test -f "$ac_file" || continue;
3119 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3120 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3129 See \`config.log' for more details." >&5
3130 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3131 See \`config.log' for more details." >&2;}
3132 { (exit 1); exit 1; }; }
3135 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3137 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3138 echo "${ECHO_T}$ac_cv_objext" >&6; }
3139 OBJEXT=$ac_cv_objext
3141 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3142 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3143 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 cat >conftest.$ac_ext <<_ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3190 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3193 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3194 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3195 GCC=`test $ac_compiler_gnu = yes && echo yes`
3196 ac_test_CFLAGS=${CFLAGS+set}
3197 ac_save_CFLAGS=$CFLAGS
3198 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3199 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_cc_g+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 ac_save_c_werror_flag=$ac_c_werror_flag
3204 ac_c_werror_flag=yes
3207 cat >conftest.$ac_ext <<_ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3222 rm -f conftest.$ac_objext
3223 if { (ac_try="$ac_compile"
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_compile") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } && {
3236 test -z "$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3238 } && test -s conftest.$ac_objext; then
3241 echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3245 cat >conftest.$ac_ext <<_ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3260 rm -f conftest.$ac_objext
3261 if { (ac_try="$ac_compile"
3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3267 (eval "$ac_compile") 2>conftest.er1
3269 grep -v '^ *+' conftest.er1 >conftest.err
3271 cat conftest.err >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } && {
3274 test -z "$ac_c_werror_flag" ||
3275 test ! -s conftest.err
3276 } && test -s conftest.$ac_objext; then
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3282 ac_c_werror_flag=$ac_save_c_werror_flag
3284 cat >conftest.$ac_ext <<_ACEOF
3287 cat confdefs.h >>conftest.$ac_ext
3288 cat >>conftest.$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3299 rm -f conftest.$ac_objext
3300 if { (ac_try="$ac_compile"
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_compile") 2>conftest.er1
3308 grep -v '^ *+' conftest.er1 >conftest.err
3310 cat conftest.err >&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } && {
3313 test -z "$ac_c_werror_flag" ||
3314 test ! -s conftest.err
3315 } && test -s conftest.$ac_objext; then
3318 echo "$as_me: failed program was:" >&5
3319 sed 's/^/| /' conftest.$ac_ext >&5
3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 ac_c_werror_flag=$ac_save_c_werror_flag
3333 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3334 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3335 if test "$ac_test_CFLAGS" = set; then
3336 CFLAGS=$ac_save_CFLAGS
3337 elif test $ac_cv_prog_cc_g = yes; then
3338 if test "$GCC" = yes; then
3344 if test "$GCC" = yes; then
3350 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3351 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3352 if test "${ac_cv_prog_cc_c89+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 ac_cv_prog_cc_c89=no
3357 cat >conftest.$ac_ext <<_ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3365 #include <sys/types.h>
3366 #include <sys/stat.h>
3367 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3368 struct buf { int x; };
3369 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3370 static char *e (p, i)
3376 static char *f (char * (*g) (char **, int), char **p, ...)
3381 s = g (p, va_arg (v,int));
3386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3387 function prototypes and stuff, but not '\xHH' hex character constants.
3388 These don't provoke an error unfortunately, instead are silently treated
3389 as 'x'. The following induces an error, until -std is added to get
3390 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3391 array size at least. It's necessary to write '\x00'==0 to get something
3392 that's true only with -std. */
3393 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3396 inside strings and character constants. */
3398 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3400 int test (int i, double x);
3401 struct s1 {int (*f) (int a);};
3402 struct s2 {int (*f) (double a);};
3403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3409 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3414 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3415 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3417 CC="$ac_save_CC $ac_arg"
3418 rm -f conftest.$ac_objext
3419 if { (ac_try="$ac_compile"
3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3425 (eval "$ac_compile") 2>conftest.er1
3427 grep -v '^ *+' conftest.er1 >conftest.err
3429 cat conftest.err >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } && {
3432 test -z "$ac_c_werror_flag" ||
3433 test ! -s conftest.err
3434 } && test -s conftest.$ac_objext; then
3435 ac_cv_prog_cc_c89=$ac_arg
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3443 rm -f core conftest.err conftest.$ac_objext
3444 test "x$ac_cv_prog_cc_c89" != "xno" && break
3446 rm -f conftest.$ac_ext
3451 case "x$ac_cv_prog_cc_c89" in
3453 { echo "$as_me:$LINENO: result: none needed" >&5
3454 echo "${ECHO_T}none needed" >&6; } ;;
3456 { echo "$as_me:$LINENO: result: unsupported" >&5
3457 echo "${ECHO_T}unsupported" >&6; } ;;
3459 CC="$CC $ac_cv_prog_cc_c89"
3460 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3461 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3466 ac_cpp='$CPP $CPPFLAGS'
3467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3471 depcc="$CC" am_compiler_list=
3473 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3474 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3475 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3476 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3479 # We make a subdir and do the tests there. Otherwise we can end up
3480 # making bogus files that we don't know about and never remove. For
3481 # instance it was reported that on HP-UX the gcc test will end up
3482 # making a dummy file named `D' -- because `-MD' means `put the output
3485 # Copy depcomp to subdir because otherwise we won't find it if we're
3486 # using a relative directory.
3487 cp "$am_depcomp" conftest.dir
3489 # We will build objects and dependencies in a subdirectory because
3490 # it helps to detect inapplicable dependency modes. For instance
3491 # both Tru64's cc and ICC support -MD to output dependencies as a
3492 # side effect of compilation, but ICC will put the dependencies in
3493 # the current directory while Tru64 will put them in the object
3497 am_cv_CC_dependencies_compiler_type=none
3498 if test "$am_compiler_list" = ""; then
3499 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3501 for depmode in $am_compiler_list; do
3502 # Setup a source with many dependencies, because some compilers
3503 # like to wrap large dependency lists on column 80 (with \), and
3504 # we should not choose a depcomp mode which is confused by this.
3506 # We need to recreate these files for each test, as the compiler may
3507 # overwrite some of them when testing with obscure command lines.
3508 # This happens at least with the AIX C compiler.
3510 for i in 1 2 3 4 5 6; do
3511 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3512 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3513 # Solaris 8's {/usr,}/bin/sh.
3514 touch sub/conftst$i.h
3516 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3520 # after this tag, mechanisms are not by side-effect, so they'll
3521 # only be used when explicitly requested
3522 if test "x$enable_dependency_tracking" = xyes; then
3530 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3531 # mode. It turns out that the SunPro C++ compiler does not properly
3532 # handle `-M -o', and we need to detect this.
3533 if depmode=$depmode \
3534 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3535 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3536 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3537 >/dev/null 2>conftest.err &&
3538 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3539 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3540 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3541 # icc doesn't choke on unknown options, it will just issue warnings
3542 # or remarks (even with -Werror). So we grep stderr for any message
3543 # that says an option was ignored or not supported.
3544 # When given -MP, icc 7.0 and 7.1 complain thusly:
3545 # icc: Command line warning: ignoring option '-M'; no argument required
3546 # The diagnosis changed in icc 8.0:
3547 # icc: Command line remark: option '-MP' not supported
3548 if (grep 'ignoring option' conftest.err ||
3549 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3550 am_cv_CC_dependencies_compiler_type=$depmode
3559 am_cv_CC_dependencies_compiler_type=none
3563 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3564 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3570 test "x$enable_dependency_tracking" != xno \
3571 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3573 am__fastdepCC_FALSE='#'
3575 am__fastdepCC_TRUE='#'
3576 am__fastdepCC_FALSE=
3581 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3582 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3583 if test "${ac_cv_search_strerror+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 ac_func_search_save_LIBS=$LIBS
3587 cat >conftest.$ac_ext <<_ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3594 /* Override any GCC internal prototype to avoid an error.
3595 Use char because int might match the return type of a GCC
3596 builtin and then its argument prototype would still apply. */
3609 for ac_lib in '' cposix; do
3610 if test -z "$ac_lib"; then
3611 ac_res="none required"
3614 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3616 rm -f conftest.$ac_objext conftest$ac_exeext
3617 if { (ac_try="$ac_link"
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3623 (eval "$ac_link") 2>conftest.er1
3625 grep -v '^ *+' conftest.er1 >conftest.err
3627 cat conftest.err >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } && {
3630 test -z "$ac_c_werror_flag" ||
3631 test ! -s conftest.err
3632 } && test -s conftest$ac_exeext &&
3633 $as_test_x conftest$ac_exeext; then
3634 ac_cv_search_strerror=$ac_res
3636 echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3644 if test "${ac_cv_search_strerror+set}" = set; then
3648 if test "${ac_cv_search_strerror+set}" = set; then
3651 ac_cv_search_strerror=no
3654 LIBS=$ac_func_search_save_LIBS
3656 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3657 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3658 ac_res=$ac_cv_search_strerror
3659 if test "$ac_res" != no; then
3660 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3665 ac_cpp='$CXXCPP $CPPFLAGS'
3666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3669 if test -z "$CXX"; then
3670 if test -n "$CCC"; then
3673 if test -n "$ac_tool_prefix"; then
3674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3680 if test "${ac_cv_prog_CXX+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 if test -n "$CXX"; then
3684 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 if test -n "$CXX"; then
3705 { echo "$as_me:$LINENO: result: $CXX" >&5
3706 echo "${ECHO_T}$CXX" >&6; }
3708 { echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6; }
3713 test -n "$CXX" && break
3716 if test -z "$CXX"; then
3718 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3720 # Extract the first word of "$ac_prog", so it can be a program name with args.
3721 set dummy $ac_prog; ac_word=$2
3722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3724 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 if test -n "$ac_ct_CXX"; then
3728 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 test -z "$as_dir" && as_dir=.
3735 for ac_exec_ext in '' $ac_executable_extensions; do
3736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3737 ac_cv_prog_ac_ct_CXX="$ac_prog"
3738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3748 if test -n "$ac_ct_CXX"; then
3749 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3750 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3752 { echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6; }
3757 test -n "$ac_ct_CXX" && break
3760 if test "x$ac_ct_CXX" = x; then
3763 case $cross_compiling:$ac_tool_warned in
3765 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3766 whose name does not start with the host triplet. If you think this
3767 configuration is useful to you, please write to autoconf@gnu.org." >&5
3768 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3769 whose name does not start with the host triplet. If you think this
3770 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3771 ac_tool_warned=yes ;;
3779 # Provide some information about the compiler.
3780 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3781 ac_compiler=`set X $ac_compile; echo $2`
3782 { (ac_try="$ac_compiler --version >&5"
3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3788 (eval "$ac_compiler --version >&5") 2>&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }
3792 { (ac_try="$ac_compiler -v >&5"
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_compiler -v >&5") 2>&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }
3802 { (ac_try="$ac_compiler -V >&5"
3804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805 *) ac_try_echo=$ac_try;;
3807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3808 (eval "$ac_compiler -V >&5") 2>&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }
3813 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3814 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3815 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3818 cat >conftest.$ac_ext <<_ACEOF
3821 cat confdefs.h >>conftest.$ac_ext
3822 cat >>conftest.$ac_ext <<_ACEOF
3823 /* end confdefs.h. */
3836 rm -f conftest.$ac_objext
3837 if { (ac_try="$ac_compile"
3839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840 *) ac_try_echo=$ac_try;;
3842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3843 (eval "$ac_compile") 2>conftest.er1
3845 grep -v '^ *+' conftest.er1 >conftest.err
3847 cat conftest.err >&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); } && {
3850 test -z "$ac_cxx_werror_flag" ||
3851 test ! -s conftest.err
3852 } && test -s conftest.$ac_objext; then
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.$ac_ext >&5
3861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3865 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3866 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3867 GXX=`test $ac_compiler_gnu = yes && echo yes`
3868 ac_test_CXXFLAGS=${CXXFLAGS+set}
3869 ac_save_CXXFLAGS=$CXXFLAGS
3870 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3871 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3872 if test "${ac_cv_prog_cxx_g+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3876 ac_cxx_werror_flag=yes
3879 cat >conftest.$ac_ext <<_ACEOF
3882 cat confdefs.h >>conftest.$ac_ext
3883 cat >>conftest.$ac_ext <<_ACEOF
3884 /* end confdefs.h. */
3894 rm -f conftest.$ac_objext
3895 if { (ac_try="$ac_compile"
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3901 (eval "$ac_compile") 2>conftest.er1
3903 grep -v '^ *+' conftest.er1 >conftest.err
3905 cat conftest.err >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } && {
3908 test -z "$ac_cxx_werror_flag" ||
3909 test ! -s conftest.err
3910 } && test -s conftest.$ac_objext; then
3911 ac_cv_prog_cxx_g=yes
3913 echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.$ac_ext >&5
3917 cat >conftest.$ac_ext <<_ACEOF
3920 cat confdefs.h >>conftest.$ac_ext
3921 cat >>conftest.$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3932 rm -f conftest.$ac_objext
3933 if { (ac_try="$ac_compile"
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3939 (eval "$ac_compile") 2>conftest.er1
3941 grep -v '^ *+' conftest.er1 >conftest.err
3943 cat conftest.err >&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); } && {
3946 test -z "$ac_cxx_werror_flag" ||
3947 test ! -s conftest.err
3948 } && test -s conftest.$ac_objext; then
3951 echo "$as_me: failed program was:" >&5
3952 sed 's/^/| /' conftest.$ac_ext >&5
3954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3956 cat >conftest.$ac_ext <<_ACEOF
3959 cat confdefs.h >>conftest.$ac_ext
3960 cat >>conftest.$ac_ext <<_ACEOF
3961 /* end confdefs.h. */
3971 rm -f conftest.$ac_objext
3972 if { (ac_try="$ac_compile"
3974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3978 (eval "$ac_compile") 2>conftest.er1
3980 grep -v '^ *+' conftest.er1 >conftest.err
3982 cat conftest.err >&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); } && {
3985 test -z "$ac_cxx_werror_flag" ||
3986 test ! -s conftest.err
3987 } && test -s conftest.$ac_objext; then
3988 ac_cv_prog_cxx_g=yes
3990 echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4003 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4006 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4007 if test "$ac_test_CXXFLAGS" = set; then
4008 CXXFLAGS=$ac_save_CXXFLAGS
4009 elif test $ac_cv_prog_cxx_g = yes; then
4010 if test "$GXX" = yes; then
4016 if test "$GXX" = yes; then
4023 ac_cpp='$CPP $CPPFLAGS'
4024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028 depcc="$CXX" am_compiler_list=
4030 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4031 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4032 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4033 echo $ECHO_N "(cached) $ECHO_C" >&6
4035 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4036 # We make a subdir and do the tests there. Otherwise we can end up
4037 # making bogus files that we don't know about and never remove. For
4038 # instance it was reported that on HP-UX the gcc test will end up
4039 # making a dummy file named `D' -- because `-MD' means `put the output
4042 # Copy depcomp to subdir because otherwise we won't find it if we're
4043 # using a relative directory.
4044 cp "$am_depcomp" conftest.dir
4046 # We will build objects and dependencies in a subdirectory because
4047 # it helps to detect inapplicable dependency modes. For instance
4048 # both Tru64's cc and ICC support -MD to output dependencies as a
4049 # side effect of compilation, but ICC will put the dependencies in
4050 # the current directory while Tru64 will put them in the object
4054 am_cv_CXX_dependencies_compiler_type=none
4055 if test "$am_compiler_list" = ""; then
4056 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4058 for depmode in $am_compiler_list; do
4059 # Setup a source with many dependencies, because some compilers
4060 # like to wrap large dependency lists on column 80 (with \), and
4061 # we should not choose a depcomp mode which is confused by this.
4063 # We need to recreate these files for each test, as the compiler may
4064 # overwrite some of them when testing with obscure command lines.
4065 # This happens at least with the AIX C compiler.
4067 for i in 1 2 3 4 5 6; do
4068 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4069 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4070 # Solaris 8's {/usr,}/bin/sh.
4071 touch sub/conftst$i.h
4073 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4077 # after this tag, mechanisms are not by side-effect, so they'll
4078 # only be used when explicitly requested
4079 if test "x$enable_dependency_tracking" = xyes; then
4087 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4088 # mode. It turns out that the SunPro C++ compiler does not properly
4089 # handle `-M -o', and we need to detect this.
4090 if depmode=$depmode \
4091 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4092 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4093 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4094 >/dev/null 2>conftest.err &&
4095 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4096 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4097 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4098 # icc doesn't choke on unknown options, it will just issue warnings
4099 # or remarks (even with -Werror). So we grep stderr for any message
4100 # that says an option was ignored or not supported.
4101 # When given -MP, icc 7.0 and 7.1 complain thusly:
4102 # icc: Command line warning: ignoring option '-M'; no argument required
4103 # The diagnosis changed in icc 8.0:
4104 # icc: Command line remark: option '-MP' not supported
4105 if (grep 'ignoring option' conftest.err ||
4106 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4107 am_cv_CXX_dependencies_compiler_type=$depmode
4116 am_cv_CXX_dependencies_compiler_type=none
4120 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4121 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4122 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4127 test "x$enable_dependency_tracking" != xno \
4128 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4129 am__fastdepCXX_TRUE=
4130 am__fastdepCXX_FALSE='#'
4132 am__fastdepCXX_TRUE='#'
4133 am__fastdepCXX_FALSE=
4138 ac_cpp='$CPP $CPPFLAGS'
4139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4142 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4143 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4144 # On Suns, sometimes $CPP names a directory.
4145 if test -n "$CPP" && test -d "$CPP"; then
4148 if test -z "$CPP"; then
4149 if test "${ac_cv_prog_CPP+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 # Double quotes because CPP needs to be expanded
4153 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4156 for ac_c_preproc_warn_flag in '' yes
4158 # Use a header file that comes with gcc, so configuring glibc
4159 # with a fresh cross-compiler works.
4160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4161 # <limits.h> exists even on freestanding compilers.
4162 # On the NeXT, cc -E runs the code through the compiler's parser,
4163 # not just through cpp. "Syntax error" is here to catch this case.
4164 cat >conftest.$ac_ext <<_ACEOF
4167 cat confdefs.h >>conftest.$ac_ext
4168 cat >>conftest.$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4171 # include <limits.h>
4173 # include <assert.h>
4177 if { (ac_try="$ac_cpp conftest.$ac_ext"
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4185 grep -v '^ *+' conftest.er1 >conftest.err
4187 cat conftest.err >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); } >/dev/null && {
4190 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4191 test ! -s conftest.err
4195 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.$ac_ext >&5
4198 # Broken: fails on valid input.
4202 rm -f conftest.err conftest.$ac_ext
4204 # OK, works on sane cases. Now check whether nonexistent headers
4205 # can be detected and how.
4206 cat >conftest.$ac_ext <<_ACEOF
4209 cat confdefs.h >>conftest.$ac_ext
4210 cat >>conftest.$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4212 #include <ac_nonexistent.h>
4214 if { (ac_try="$ac_cpp conftest.$ac_ext"
4216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4217 *) ac_try_echo=$ac_try;;
4219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4222 grep -v '^ *+' conftest.er1 >conftest.err
4224 cat conftest.err >&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } >/dev/null && {
4227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4228 test ! -s conftest.err
4230 # Broken: success on invalid input.
4233 echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 # Passes both tests.
4241 rm -f conftest.err conftest.$ac_ext
4244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4245 rm -f conftest.err conftest.$ac_ext
4246 if $ac_preproc_ok; then
4258 { echo "$as_me:$LINENO: result: $CPP" >&5
4259 echo "${ECHO_T}$CPP" >&6; }
4261 for ac_c_preproc_warn_flag in '' yes
4263 # Use a header file that comes with gcc, so configuring glibc
4264 # with a fresh cross-compiler works.
4265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4266 # <limits.h> exists even on freestanding compilers.
4267 # On the NeXT, cc -E runs the code through the compiler's parser,
4268 # not just through cpp. "Syntax error" is here to catch this case.
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4276 # include <limits.h>
4278 # include <assert.h>
4282 if { (ac_try="$ac_cpp conftest.$ac_ext"
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4288 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4290 grep -v '^ *+' conftest.er1 >conftest.err
4292 cat conftest.err >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); } >/dev/null && {
4295 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4296 test ! -s conftest.err
4300 echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4303 # Broken: fails on valid input.
4307 rm -f conftest.err conftest.$ac_ext
4309 # OK, works on sane cases. Now check whether nonexistent headers
4310 # can be detected and how.
4311 cat >conftest.$ac_ext <<_ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4317 #include <ac_nonexistent.h>
4319 if { (ac_try="$ac_cpp conftest.$ac_ext"
4321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4322 *) ac_try_echo=$ac_try;;
4324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4327 grep -v '^ *+' conftest.er1 >conftest.err
4329 cat conftest.err >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } >/dev/null && {
4332 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4333 test ! -s conftest.err
4335 # Broken: success on invalid input.
4338 echo "$as_me: failed program was:" >&5
4339 sed 's/^/| /' conftest.$ac_ext >&5
4341 # Passes both tests.
4346 rm -f conftest.err conftest.$ac_ext
4349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4350 rm -f conftest.err conftest.$ac_ext
4351 if $ac_preproc_ok; then
4354 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4355 See \`config.log' for more details." >&5
4356 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4357 See \`config.log' for more details." >&2;}
4358 { (exit 1); exit 1; }; }
4362 ac_cpp='$CPP $CPPFLAGS'
4363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4368 ac_cpp='$CPP $CPPFLAGS'
4369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4372 if test -n "$ac_tool_prefix"; then
4373 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4374 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4377 if test "${ac_cv_prog_CC+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 if test -n "$CC"; then
4381 ac_cv_prog_CC="$CC" # Let the user override the test.
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4390 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 if test -n "$CC"; then
4402 { echo "$as_me:$LINENO: result: $CC" >&5
4403 echo "${ECHO_T}$CC" >&6; }
4405 { echo "$as_me:$LINENO: result: no" >&5
4406 echo "${ECHO_T}no" >&6; }
4411 if test -z "$ac_cv_prog_CC"; then
4413 # Extract the first word of "gcc", so it can be a program name with args.
4414 set dummy gcc; ac_word=$2
4415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 if test -n "$ac_ct_CC"; then
4421 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_ac_ct_CC="gcc"
4431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4441 if test -n "$ac_ct_CC"; then
4442 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4443 echo "${ECHO_T}$ac_ct_CC" >&6; }
4445 { echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6; }
4449 if test "x$ac_ct_CC" = x; then
4452 case $cross_compiling:$ac_tool_warned in
4454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4455 whose name does not start with the host triplet. If you think this
4456 configuration is useful to you, please write to autoconf@gnu.org." >&5
4457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4458 whose name does not start with the host triplet. If you think this
4459 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4460 ac_tool_warned=yes ;;
4468 if test -z "$CC"; then
4469 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4471 set dummy ${ac_tool_prefix}cc; ac_word=$2
4472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4474 if test "${ac_cv_prog_CC+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC="$CC" # Let the user override the test.
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_CC="${ac_tool_prefix}cc"
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 if test -n "$CC"; then
4499 { echo "$as_me:$LINENO: result: $CC" >&5
4500 echo "${ECHO_T}$CC" >&6; }
4502 { echo "$as_me:$LINENO: result: no" >&5
4503 echo "${ECHO_T}no" >&6; }
4509 if test -z "$CC"; then
4510 # Extract the first word of "cc", so it can be a program name with args.
4511 set dummy cc; ac_word=$2
4512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514 if test "${ac_cv_prog_CC+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -n "$CC"; then
4518 ac_cv_prog_CC="$CC" # Let the user override the test.
4521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 test -z "$as_dir" && as_dir=.
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4528 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4529 ac_prog_rejected=yes
4533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 if test $ac_prog_rejected = yes; then
4541 # We found a bogon in the path, so make sure we never use it.
4542 set dummy $ac_cv_prog_CC
4544 if test $# != 0; then
4545 # We chose a different compiler from the bogus one.
4546 # However, it has the same basename, so the bogon will be chosen
4547 # first if we set CC to just the basename; use the full file name.
4549 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4555 if test -n "$CC"; then
4556 { echo "$as_me:$LINENO: result: $CC" >&5
4557 echo "${ECHO_T}$CC" >&6; }
4559 { echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6; }
4565 if test -z "$CC"; then
4566 if test -n "$ac_tool_prefix"; then
4567 for ac_prog in cl.exe
4569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4573 if test "${ac_cv_prog_CC+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 if test -n "$CC"; then
4577 ac_cv_prog_CC="$CC" # Let the user override the test.
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 test -z "$as_dir" && as_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4586 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4597 if test -n "$CC"; then
4598 { echo "$as_me:$LINENO: result: $CC" >&5
4599 echo "${ECHO_T}$CC" >&6; }
4601 { echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6; }
4606 test -n "$CC" && break
4609 if test -z "$CC"; then
4611 for ac_prog in cl.exe
4613 # Extract the first word of "$ac_prog", so it can be a program name with args.
4614 set dummy $ac_prog; ac_word=$2
4615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4617 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 if test -n "$ac_ct_CC"; then
4621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4630 ac_cv_prog_ac_ct_CC="$ac_prog"
4631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4641 if test -n "$ac_ct_CC"; then
4642 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4643 echo "${ECHO_T}$ac_ct_CC" >&6; }
4645 { echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6; }
4650 test -n "$ac_ct_CC" && break
4653 if test "x$ac_ct_CC" = x; then
4656 case $cross_compiling:$ac_tool_warned in
4658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4659 whose name does not start with the host triplet. If you think this
4660 configuration is useful to you, please write to autoconf@gnu.org." >&5
4661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4662 whose name does not start with the host triplet. If you think this
4663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4664 ac_tool_warned=yes ;;
4673 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4674 See \`config.log' for more details." >&5
4675 echo "$as_me: error: no acceptable C compiler found in \$PATH
4676 See \`config.log' for more details." >&2;}
4677 { (exit 1); exit 1; }; }
4679 # Provide some information about the compiler.
4680 echo "$as_me:$LINENO: checking for C compiler version" >&5
4681 ac_compiler=`set X $ac_compile; echo $2`
4682 { (ac_try="$ac_compiler --version >&5"
4684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685 *) ac_try_echo=$ac_try;;
4687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4688 (eval "$ac_compiler --version >&5") 2>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }
4692 { (ac_try="$ac_compiler -v >&5"
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698 (eval "$ac_compiler -v >&5") 2>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }
4702 { (ac_try="$ac_compiler -V >&5"
4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4705 *) ac_try_echo=$ac_try;;
4707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4708 (eval "$ac_compiler -V >&5") 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }
4713 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4715 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4716 echo $ECHO_N "(cached) $ECHO_C" >&6
4718 cat >conftest.$ac_ext <<_ACEOF
4721 cat confdefs.h >>conftest.$ac_ext
4722 cat >>conftest.$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4736 rm -f conftest.$ac_objext
4737 if { (ac_try="$ac_compile"
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4743 (eval "$ac_compile") 2>conftest.er1
4745 grep -v '^ *+' conftest.er1 >conftest.err
4747 cat conftest.err >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } && {
4750 test -z "$ac_c_werror_flag" ||
4751 test ! -s conftest.err
4752 } && test -s conftest.$ac_objext; then
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4765 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4766 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4767 GCC=`test $ac_compiler_gnu = yes && echo yes`
4768 ac_test_CFLAGS=${CFLAGS+set}
4769 ac_save_CFLAGS=$CFLAGS
4770 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4771 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4772 if test "${ac_cv_prog_cc_g+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 ac_save_c_werror_flag=$ac_c_werror_flag
4776 ac_c_werror_flag=yes
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4794 rm -f conftest.$ac_objext
4795 if { (ac_try="$ac_compile"
4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798 *) ac_try_echo=$ac_try;;
4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4801 (eval "$ac_compile") 2>conftest.er1
4803 grep -v '^ *+' conftest.er1 >conftest.err
4805 cat conftest.err >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); } && {
4808 test -z "$ac_c_werror_flag" ||
4809 test ! -s conftest.err
4810 } && test -s conftest.$ac_objext; then
4813 echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.$ac_ext >&5
4817 cat >conftest.$ac_ext <<_ACEOF
4820 cat confdefs.h >>conftest.$ac_ext
4821 cat >>conftest.$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4832 rm -f conftest.$ac_objext
4833 if { (ac_try="$ac_compile"
4835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4836 *) ac_try_echo=$ac_try;;
4838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4839 (eval "$ac_compile") 2>conftest.er1
4841 grep -v '^ *+' conftest.er1 >conftest.err
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } && {
4846 test -z "$ac_c_werror_flag" ||
4847 test ! -s conftest.err
4848 } && test -s conftest.$ac_objext; then
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.$ac_ext >&5
4854 ac_c_werror_flag=$ac_save_c_werror_flag
4856 cat >conftest.$ac_ext <<_ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4871 rm -f conftest.$ac_objext
4872 if { (ac_try="$ac_compile"
4874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4875 *) ac_try_echo=$ac_try;;
4877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4878 (eval "$ac_compile") 2>conftest.er1
4880 grep -v '^ *+' conftest.er1 >conftest.err
4882 cat conftest.err >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } && {
4885 test -z "$ac_c_werror_flag" ||
4886 test ! -s conftest.err
4887 } && test -s conftest.$ac_objext; then
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 ac_c_werror_flag=$ac_save_c_werror_flag
4905 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4906 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4907 if test "$ac_test_CFLAGS" = set; then
4908 CFLAGS=$ac_save_CFLAGS
4909 elif test $ac_cv_prog_cc_g = yes; then
4910 if test "$GCC" = yes; then
4916 if test "$GCC" = yes; then
4922 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4923 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4924 if test "${ac_cv_prog_cc_c89+set}" = set; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 ac_cv_prog_cc_c89=no
4929 cat >conftest.$ac_ext <<_ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4937 #include <sys/types.h>
4938 #include <sys/stat.h>
4939 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4940 struct buf { int x; };
4941 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4942 static char *e (p, i)
4948 static char *f (char * (*g) (char **, int), char **p, ...)
4953 s = g (p, va_arg (v,int));
4958 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4959 function prototypes and stuff, but not '\xHH' hex character constants.
4960 These don't provoke an error unfortunately, instead are silently treated
4961 as 'x'. The following induces an error, until -std is added to get
4962 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4963 array size at least. It's necessary to write '\x00'==0 to get something
4964 that's true only with -std. */
4965 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4967 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4968 inside strings and character constants. */
4970 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4972 int test (int i, double