2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for osso-statusbar-sync 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='osso-statusbar-sync'
728 PACKAGE_TARNAME='osso-statusbar-sync'
729 PACKAGE_VERSION='0.1'
730 PACKAGE_STRING='osso-statusbar-sync 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
887 LIBHILDONDESKTOP_CFLAGS
888 LIBHILDONDESKTOP_LIBS
891 STATUSBAR_SYNC_CFLAGS
896 hildonstatusmenudesktopentrydir
901 ac_precious_vars='build_alias
917 LIBHILDONDESKTOP_CFLAGS
918 LIBHILDONDESKTOP_LIBS
921 STATUSBAR_SYNC_CFLAGS
925 # Initialize some variables set by options.
927 ac_init_version=false
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
937 program_transform_name=s,x,x,
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir='${exec_prefix}/bin'
952 sbindir='${exec_prefix}/sbin'
953 libexecdir='${exec_prefix}/libexec'
954 datarootdir='${prefix}/share'
955 datadir='${datarootdir}'
956 sysconfdir='${prefix}/etc'
957 sharedstatedir='${prefix}/com'
958 localstatedir='${prefix}/var'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir='${datarootdir}/info'
967 libdir='${exec_prefix}/lib'
968 localedir='${datarootdir}/locale'
969 mandir='${datarootdir}/man'
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\$ac_option
983 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
987 # Accept the important Cygnus configure options, so we can diagnose typos.
989 case $ac_dashdash$ac_option in
993 -bindir | --bindir | --bindi | --bind | --bin | --bi)
995 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
998 -build | --build | --buil | --bui | --bu)
999 ac_prev=build_alias ;;
1000 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001 build_alias=$ac_optarg ;;
1003 -cache-file | --cache-file | --cache-fil | --cache-fi \
1004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005 ac_prev=cache_file ;;
1006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008 cache_file=$ac_optarg ;;
1010 --config-cache | -C)
1011 cache_file=config.cache ;;
1013 -datadir | --datadir | --datadi | --datad)
1015 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016 datadir=$ac_optarg ;;
1018 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019 | --dataroo | --dataro | --datar)
1020 ac_prev=datarootdir ;;
1021 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023 datarootdir=$ac_optarg ;;
1025 -disable-* | --disable-*)
1026 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1030 { (exit 1); exit 1; }; }
1031 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1032 eval enable_$ac_feature=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1049 { (exit 1); exit 1; }; }
1050 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1051 eval enable_$ac_feature=\$ac_optarg ;;
1053 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1054 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1055 | --exec | --exe | --ex)
1056 ac_prev=exec_prefix ;;
1057 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1058 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1059 | --exec=* | --exe=* | --ex=*)
1060 exec_prefix=$ac_optarg ;;
1062 -gas | --gas | --ga | --g)
1063 # Obsolete; use --with-gas.
1066 -help | --help | --hel | --he | -h)
1067 ac_init_help=long ;;
1068 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1069 ac_init_help=recursive ;;
1070 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1071 ac_init_help=short ;;
1073 -host | --host | --hos | --ho)
1074 ac_prev=host_alias ;;
1075 -host=* | --host=* | --hos=* | --ho=*)
1076 host_alias=$ac_optarg ;;
1078 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1080 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1082 htmldir=$ac_optarg ;;
1084 -includedir | --includedir | --includedi | --included | --include \
1085 | --includ | --inclu | --incl | --inc)
1086 ac_prev=includedir ;;
1087 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1088 | --includ=* | --inclu=* | --incl=* | --inc=*)
1089 includedir=$ac_optarg ;;
1091 -infodir | --infodir | --infodi | --infod | --info | --inf)
1093 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1094 infodir=$ac_optarg ;;
1096 -libdir | --libdir | --libdi | --libd)
1098 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1099 libdir=$ac_optarg ;;
1101 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1102 | --libexe | --libex | --libe)
1103 ac_prev=libexecdir ;;
1104 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1105 | --libexe=* | --libex=* | --libe=*)
1106 libexecdir=$ac_optarg ;;
1108 -localedir | --localedir | --localedi | --localed | --locale)
1109 ac_prev=localedir ;;
1110 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1111 localedir=$ac_optarg ;;
1113 -localstatedir | --localstatedir | --localstatedi | --localstated \
1114 | --localstate | --localstat | --localsta | --localst | --locals)
1115 ac_prev=localstatedir ;;
1116 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1117 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1118 localstatedir=$ac_optarg ;;
1120 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1122 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1123 mandir=$ac_optarg ;;
1125 -nfp | --nfp | --nf)
1126 # Obsolete; use --without-fp.
1129 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1130 | --no-cr | --no-c | -n)
1133 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1134 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1137 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1138 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1139 | --oldin | --oldi | --old | --ol | --o)
1140 ac_prev=oldincludedir ;;
1141 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1142 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1143 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1144 oldincludedir=$ac_optarg ;;
1146 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1148 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1149 prefix=$ac_optarg ;;
1151 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1152 | --program-pre | --program-pr | --program-p)
1153 ac_prev=program_prefix ;;
1154 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1155 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1156 program_prefix=$ac_optarg ;;
1158 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1159 | --program-suf | --program-su | --program-s)
1160 ac_prev=program_suffix ;;
1161 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1162 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1163 program_suffix=$ac_optarg ;;
1165 -program-transform-name | --program-transform-name \
1166 | --program-transform-nam | --program-transform-na \
1167 | --program-transform-n | --program-transform- \
1168 | --program-transform | --program-transfor \
1169 | --program-transfo | --program-transf \
1170 | --program-trans | --program-tran \
1171 | --progr-tra | --program-tr | --program-t)
1172 ac_prev=program_transform_name ;;
1173 -program-transform-name=* | --program-transform-name=* \
1174 | --program-transform-nam=* | --program-transform-na=* \
1175 | --program-transform-n=* | --program-transform-=* \
1176 | --program-transform=* | --program-transfor=* \
1177 | --program-transfo=* | --program-transf=* \
1178 | --program-trans=* | --program-tran=* \
1179 | --progr-tra=* | --program-tr=* | --program-t=*)
1180 program_transform_name=$ac_optarg ;;
1182 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1184 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1185 pdfdir=$ac_optarg ;;
1187 -psdir | --psdir | --psdi | --psd | --ps)
1189 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1193 | -silent | --silent | --silen | --sile | --sil)
1196 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1198 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1200 sbindir=$ac_optarg ;;
1202 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1203 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1204 | --sharedst | --shareds | --shared | --share | --shar \
1206 ac_prev=sharedstatedir ;;
1207 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1208 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1209 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1211 sharedstatedir=$ac_optarg ;;
1213 -site | --site | --sit)
1215 -site=* | --site=* | --sit=*)
1218 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1220 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1221 srcdir=$ac_optarg ;;
1223 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1224 | --syscon | --sysco | --sysc | --sys | --sy)
1225 ac_prev=sysconfdir ;;
1226 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1227 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1228 sysconfdir=$ac_optarg ;;
1230 -target | --target | --targe | --targ | --tar | --ta | --t)
1231 ac_prev=target_alias ;;
1232 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1233 target_alias=$ac_optarg ;;
1235 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1238 -version | --version | --versio | --versi | --vers | -V)
1239 ac_init_version=: ;;
1242 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 { echo "$as_me: error: invalid package name: $ac_package" >&2
1246 { (exit 1); exit 1; }; }
1247 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1248 eval with_$ac_package=\$ac_optarg ;;
1250 -without-* | --without-*)
1251 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254 { echo "$as_me: error: invalid package name: $ac_package" >&2
1255 { (exit 1); exit 1; }; }
1256 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1257 eval with_$ac_package=no ;;
1260 # Obsolete; use --with-x.
1263 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1264 | --x-incl | --x-inc | --x-in | --x-i)
1265 ac_prev=x_includes ;;
1266 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1267 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1268 x_includes=$ac_optarg ;;
1270 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1271 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1272 ac_prev=x_libraries ;;
1273 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1274 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1275 x_libraries=$ac_optarg ;;
1277 -*) { echo "$as_me: error: unrecognized option: $ac_option
1278 Try \`$0 --help' for more information." >&2
1279 { (exit 1); exit 1; }; }
1283 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1286 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1287 { (exit 1); exit 1; }; }
1288 eval $ac_envvar=\$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1295 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1302 if test -n "$ac_prev"; then
1303 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1304 { echo "$as_me: error: missing argument to $ac_option" >&2
1305 { (exit 1); exit 1; }; }
1308 # Be sure to have absolute directory names.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val=\$$ac_var
1316 [\\/$]* | ?:[\\/]* ) continue;;
1317 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1319 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1320 { (exit 1); exit 1; }; }
1323 # There might be people who depend on the old broken behavior: `$host'
1324 # used to hold the argument of --host etc.
1325 # FIXME: To remove some day.
1328 target=$target_alias
1330 # FIXME: To remove some day.
1331 if test "x$host_alias" != x; then
1332 if test "x$build_alias" = x; then
1333 cross_compiling=maybe
1334 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1335 If a cross compiler is detected then cross compile mode will be used." >&2
1336 elif test "x$build_alias" != "x$host_alias"; then
1342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1344 test "$silent" = yes && exec 6>/dev/null
1347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1348 ac_ls_di=`ls -di .` &&
1349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1350 { echo "$as_me: error: Working directory cannot be determined" >&2
1351 { (exit 1); exit 1; }; }
1352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1353 { echo "$as_me: error: pwd does not report name of working directory" >&2
1354 { (exit 1); exit 1; }; }
1357 # Find the source files, if location was not specified.
1358 if test -z "$srcdir"; then
1359 ac_srcdir_defaulted=yes
1360 # Try the directory containing this script, then the parent directory.
1361 ac_confdir=`$as_dirname -- "$0" ||
1362 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1363 X"$0" : 'X\(//\)[^/]' \| \
1364 X"$0" : 'X\(//\)$' \| \
1365 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1385 if test ! -r "$srcdir/$ac_unique_file"; then
1389 ac_srcdir_defaulted=no
1391 if test ! -r "$srcdir/$ac_unique_file"; then
1392 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1393 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1394 { (exit 1); exit 1; }; }
1396 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1399 { (exit 1); exit 1; }; }
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var in $ac_precious_vars; do
1412 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_${ac_var}_value=\$${ac_var}
1414 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures osso-statusbar-sync 0.1 to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/osso-statusbar-sync]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488 --build=BUILD configure for building on BUILD [guessed]
1489 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1493 if test -n "$ac_init_help"; then
1494 case $ac_init_help in
1495 short | recursive ) echo "Configuration of osso-statusbar-sync 0.1:";;
1500 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1501 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1502 --disable-dependency-tracking speeds up one-time build
1503 --enable-dependency-tracking do not reject slow dependency extractors
1504 --enable-shared[=PKGS] build shared libraries [default=yes]
1505 --enable-static[=PKGS] build static libraries [default=yes]
1506 --enable-fast-install[=PKGS]
1507 optimize for fast installation [default=yes]
1508 --disable-libtool-lock avoid locking (might break parallel builds)
1509 --enable-debug Enable debug [default=false]
1512 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1513 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1514 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1515 --with-pic try to use only PIC/non-PIC objects [default=use
1517 --with-tags[=TAGS] include additional configurations [automatic]
1519 Some influential environment variables:
1520 CC C compiler command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1523 nonstandard directory <lib dir>
1524 LIBS libraries to pass to the linker, e.g. -l<library>
1525 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1526 you have headers in a nonstandard directory <include dir>
1528 CXX C++ compiler command
1529 CXXFLAGS C++ compiler flags
1530 CXXCPP C++ preprocessor
1531 F77 Fortran 77 compiler command
1532 FFLAGS Fortran 77 compiler flags
1533 PKG_CONFIG path to pkg-config utility
1534 LIBHILDONDESKTOP_CFLAGS
1535 C compiler flags for LIBHILDONDESKTOP, overriding pkg-config
1536 LIBHILDONDESKTOP_LIBS
1537 linker flags for LIBHILDONDESKTOP, overriding pkg-config
1539 C compiler flags for CONIC, overriding pkg-config
1540 CONIC_LIBS linker flags for CONIC, overriding pkg-config
1541 STATUSBAR_SYNC_CFLAGS
1542 C compiler flags for STATUSBAR_SYNC, overriding pkg-config
1544 linker flags for STATUSBAR_SYNC, overriding pkg-config
1546 Use these variables to override the choices made by `configure' or to help
1547 it to find libraries and programs with nonstandard names/locations.
1553 if test "$ac_init_help" = "recursive"; then
1554 # If there are subdirs, report their specific --help.
1555 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1556 test -d "$ac_dir" || continue
1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1563 # A ".." for each directory in $ac_dir_suffix.
1564 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1565 case $ac_top_builddir_sub in
1566 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1570 ac_abs_top_builddir=$ac_pwd
1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir=$ac_top_build_prefix
1576 .) # We are building in place.
1578 ac_top_srcdir=$ac_top_builddir_sub
1579 ac_abs_top_srcdir=$ac_pwd ;;
1580 [\\/]* | ?:[\\/]* ) # Absolute name.
1581 ac_srcdir=$srcdir$ac_dir_suffix;
1582 ac_top_srcdir=$srcdir
1583 ac_abs_top_srcdir=$srcdir ;;
1585 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586 ac_top_srcdir=$ac_top_build_prefix$srcdir
1587 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1591 cd "$ac_dir" || { ac_status=$?; continue; }
1592 # Check for guested configure.
1593 if test -f "$ac_srcdir/configure.gnu"; then
1595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596 elif test -f "$ac_srcdir/configure"; then
1598 $SHELL "$ac_srcdir/configure" --help=recursive
1600 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602 cd "$ac_pwd" || { ac_status=$?; break; }
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1609 osso-statusbar-sync configure 0.1
1610 generated by GNU Autoconf 2.61
1612 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1613 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1614 This configure script is free software; the Free Software Foundation
1615 gives unlimited permission to copy, distribute and modify it.
1619 cat >config.log <<_ACEOF
1620 This file contains any messages produced by compilers while
1621 running configure, to aid debugging if configure makes a mistake.
1623 It was created by osso-statusbar-sync $as_me 0.1, which was
1624 generated by GNU Autoconf 2.61. Invocation command line was
1636 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1637 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1638 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1639 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1640 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1642 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1643 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1645 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1646 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1647 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1648 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1649 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1650 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1651 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1659 test -z "$as_dir" && as_dir=.
1660 echo "PATH: $as_dir"
1676 # Keep a trace of the command line.
1677 # Strip out --no-create and --no-recursion so they do not pile up.
1678 # Strip out --silent because we don't want to record it for future runs.
1679 # Also quote any args containing shell meta-characters.
1680 # Make two passes to allow for proper duplicate-argument suppression.
1684 ac_must_keep_next=false
1690 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1691 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1692 | -silent | --silent | --silen | --sile | --sil)
1695 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1698 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1700 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1701 if test $ac_must_keep_next = true; then
1702 ac_must_keep_next=false # Got value, back to normal.
1705 *=* | --config-cache | -C | -disable-* | --disable-* \
1706 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1707 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1708 | -with-* | --with-* | -without-* | --without-* | --x)
1709 case "$ac_configure_args0 " in
1710 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1713 -* ) ac_must_keep_next=true ;;
1716 ac_configure_args="$ac_configure_args '$ac_arg'"
1721 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1722 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1724 # When interrupted or exit'd, cleanup temporary files, and complete
1725 # config.log. We remove comments because anyway the quotes in there
1726 # would cause problems or look ugly.
1727 # WARNING: Use '\'' to represent an apostrophe within the trap.
1728 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1729 trap 'exit_status=$?
1730 # Save into config.log some information that might help in debugging.
1735 ## ---------------- ##
1736 ## Cache variables. ##
1737 ## ---------------- ##
1740 # The following way of writing the cache mishandles newlines in values,
1742 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1743 eval ac_val=\$$ac_var
1747 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1748 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1751 _ | IFS | as_nl) ;; #(
1752 *) $as_unset $ac_var ;;
1757 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1758 *${as_nl}ac_space=\ *)
1760 "s/'\''/'\''\\\\'\'''\''/g;
1761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1772 ## ----------------- ##
1773 ## Output variables. ##
1774 ## ----------------- ##
1777 for ac_var in $ac_subst_vars
1779 eval ac_val=\$$ac_var
1781 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1783 echo "$ac_var='\''$ac_val'\''"
1787 if test -n "$ac_subst_files"; then
1789 ## ------------------- ##
1790 ## File substitutions. ##
1791 ## ------------------- ##
1794 for ac_var in $ac_subst_files
1796 eval ac_val=\$$ac_var
1798 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1800 echo "$ac_var='\''$ac_val'\''"
1805 if test -s confdefs.h; then
1815 test "$ac_signal" != 0 &&
1816 echo "$as_me: caught signal $ac_signal"
1817 echo "$as_me: exit $exit_status"
1819 rm -f core *.core core.conftest.* &&
1820 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1823 for ac_signal in 1 2 13 15; do
1824 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1828 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1829 rm -f -r conftest* confdefs.h
1831 # Predefined preprocessor variables.
1833 cat >>confdefs.h <<_ACEOF
1834 #define PACKAGE_NAME "$PACKAGE_NAME"
1838 cat >>confdefs.h <<_ACEOF
1839 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_STRING "$PACKAGE_STRING"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1858 # Let the site file select an alternate cache file if it wants to.
1859 # Prefer explicitly selected file to automatically selected ones.
1860 if test -n "$CONFIG_SITE"; then
1861 set x "$CONFIG_SITE"
1862 elif test "x$prefix" != xNONE; then
1863 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1865 set x "$ac_default_prefix/share/config.site" \
1866 "$ac_default_prefix/etc/config.site"
1871 if test -r "$ac_site_file"; then
1872 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1873 echo "$as_me: loading site script $ac_site_file" >&6;}
1874 sed 's/^/| /' "$ac_site_file" >&5
1879 if test -r "$cache_file"; then
1880 # Some versions of bash will fail to source /dev/null (special
1881 # files actually), so we avoid doing that.
1882 if test -f "$cache_file"; then
1883 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1884 echo "$as_me: loading cache $cache_file" >&6;}
1886 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1887 *) . "./$cache_file";;
1891 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1892 echo "$as_me: creating cache $cache_file" >&6;}
1896 # Check that the precious variables saved in the cache have kept the same
1898 ac_cache_corrupted=false
1899 for ac_var in $ac_precious_vars; do
1900 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1901 eval ac_new_set=\$ac_env_${ac_var}_set
1902 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1903 eval ac_new_val=\$ac_env_${ac_var}_value
1904 case $ac_old_set,$ac_new_set in
1906 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1907 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1908 ac_cache_corrupted=: ;;
1910 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1911 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1912 ac_cache_corrupted=: ;;
1915 if test "x$ac_old_val" != "x$ac_new_val"; then
1916 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1917 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1918 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1919 echo "$as_me: former value: $ac_old_val" >&2;}
1920 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1921 echo "$as_me: current value: $ac_new_val" >&2;}
1922 ac_cache_corrupted=:
1925 # Pass precious variables to config.status.
1926 if test "$ac_new_set" = set; then
1928 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1929 *) ac_arg=$ac_var=$ac_new_val ;;
1931 case " $ac_configure_args " in
1932 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1933 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1937 if $ac_cache_corrupted; then
1938 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1939 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1940 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1941 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1942 { (exit 1); exit 1; }; }
1970 ac_cpp='$CPP $CPPFLAGS'
1971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1976 #AC_CONFIG_AUX_DIR([build-aux])
1977 am__api_version="1.8"
1979 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1980 if test -f "$ac_dir/install-sh"; then
1982 ac_install_sh="$ac_aux_dir/install-sh -c"
1984 elif test -f "$ac_dir/install.sh"; then
1986 ac_install_sh="$ac_aux_dir/install.sh -c"
1988 elif test -f "$ac_dir/shtool"; then
1990 ac_install_sh="$ac_aux_dir/shtool install -c"
1994 if test -z "$ac_aux_dir"; then
1995 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1996 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1997 { (exit 1); exit 1; }; }
2000 # These three variables are undocumented and unsupported,
2001 # and are intended to be withdrawn in a future Autoconf release.
2002 # They can cause serious problems if a builder's source tree is in a directory
2003 # whose full name contains unusual characters.
2004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2009 # Find a good install program. We prefer a C program (faster),
2010 # so one script is as good as another. But avoid the broken or
2011 # incompatible versions:
2012 # SysV /etc/install, /usr/sbin/install
2013 # SunOS /usr/etc/install
2014 # IRIX /sbin/install
2016 # AmigaOS /C/install, which installs bootblocks on floppy discs
2017 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2018 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2019 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2020 # OS/2's system install, which has a completely different semantic
2021 # ./install, which can be erroneously created by make from ./install.sh.
2022 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2023 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2024 if test -z "$INSTALL"; then
2025 if test "${ac_cv_path_install+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir=.
2033 # Account for people who put trailing slashes in PATH elements.
2035 ./ | .// | /cC/* | \
2036 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2037 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2040 # OSF1 and SCO ODT 3.0 have their own names for install.
2041 # Don't use installbsd from OSF since it installs stuff as root
2043 for ac_prog in ginstall scoinst install; do
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2046 if test $ac_prog = install &&
2047 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2048 # AIX install. It has an incompatible calling convention.
2050 elif test $ac_prog = install &&
2051 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2052 # program-specific install script used by HP pwplus--don't use.
2055 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2068 if test "${ac_cv_path_install+set}" = set; then
2069 INSTALL=$ac_cv_path_install
2071 # As a last resort, use the slow shell script. Don't cache a
2072 # value for INSTALL within a source directory, because that will
2073 # break other packages using the cache if that directory is
2074 # removed, or if the value is a relative name.
2075 INSTALL=$ac_install_sh
2078 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2079 echo "${ECHO_T}$INSTALL" >&6; }
2081 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2082 # It thinks the first close brace ends the variable substitution.
2083 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2085 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2087 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2089 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2090 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2093 echo timestamp > conftest.file
2094 # Do `set' in a subshell so we don't clobber the current shell's
2095 # arguments. Must try -L first in case configure is actually a
2096 # symlink; some systems play weird games with the mod time of symlinks
2097 # (eg FreeBSD returns the mod time of the symlink's containing
2100 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2101 if test "$*" = "X"; then
2103 set X `ls -t $srcdir/configure conftest.file`
2106 if test "$*" != "X $srcdir/configure conftest.file" \
2107 && test "$*" != "X conftest.file $srcdir/configure"; then
2109 # If neither matched, then we have a broken ls. This can happen
2110 # if, for instance, CONFIG_SHELL is bash and it inherits a
2111 # broken ls alias from the environment. This has actually
2112 # happened. Such a system could not be considered "sane".
2113 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2114 alias in your environment" >&5
2115 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2116 alias in your environment" >&2;}
2117 { (exit 1); exit 1; }; }
2120 test "$2" = conftest.file
2126 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2127 Check your system clock" >&5
2128 echo "$as_me: error: newly created file is older than distributed files!
2129 Check your system clock" >&2;}
2130 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: result: yes" >&5
2133 echo "${ECHO_T}yes" >&6; }
2134 test "$program_prefix" != NONE &&
2135 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2136 # Use a double $ so make ignores it.
2137 test "$program_suffix" != NONE &&
2138 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2139 # Double any \ or $. echo might interpret backslashes.
2140 # By default was `s,x,x', remove it if useless.
2141 cat <<\_ACEOF >conftest.sed
2142 s/[\\$]/&&/g;s/;s,x,x,$//
2144 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2147 # expand $ac_aux_dir to an absolute path
2148 am_aux_dir=`cd $ac_aux_dir && pwd`
2150 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2151 # Use eval to expand $SHELL
2152 if eval "$MISSING --run true"; then
2153 am_missing_run="$MISSING --run "
2156 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2157 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2160 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2161 # Keeping the `.' argument allows $(mkdir_p) to be used without
2162 # argument. Indeed, we sometimes output rules like
2163 # $(mkdir_p) $(somedir)
2164 # where $(somedir) is conditionally defined.
2165 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
2166 # expensive solution, as it forces Make to start a sub-shell.)
2167 mkdir_p='mkdir -p -- .'
2169 # On NextStep and OpenStep, the `mkdir' command does not
2170 # recognize any option. It will interpret all options as
2171 # directories to create, and then abort because `.' already
2173 for d in ./-p ./--version;
2175 test -d $d && rmdir $d
2177 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2178 if test -f "$ac_aux_dir/mkinstalldirs"; then
2179 mkdir_p='$(mkinstalldirs)'
2181 mkdir_p='$(install_sh) -d'
2185 for ac_prog in gawk mawk nawk awk
2187 # Extract the first word of "$ac_prog", so it can be a program name with args.
2188 set dummy $ac_prog; ac_word=$2
2189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2191 if test "${ac_cv_prog_AWK+set}" = set; then
2192 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 if test -n "$AWK"; then
2195 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2201 test -z "$as_dir" && as_dir=.
2202 for ac_exec_ext in '' $ac_executable_extensions; do
2203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2204 ac_cv_prog_AWK="$ac_prog"
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 if test -n "$AWK"; then
2216 { echo "$as_me:$LINENO: result: $AWK" >&5
2217 echo "${ECHO_T}$AWK" >&6; }
2219 { echo "$as_me:$LINENO: result: no" >&5
2220 echo "${ECHO_T}no" >&6; }
2224 test -n "$AWK" && break
2227 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2228 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2229 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2230 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 cat >conftest.make <<\_ACEOF
2236 @echo '@@@%%%=$(MAKE)=@@@%%%'
2238 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2241 eval ac_cv_prog_make_${ac_make}_set=yes;;
2243 eval ac_cv_prog_make_${ac_make}_set=no;;
2247 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2248 { echo "$as_me:$LINENO: result: yes" >&5
2249 echo "${ECHO_T}yes" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2254 SET_MAKE="MAKE=${MAKE-make}"
2257 rm -rf .tst 2>/dev/null
2258 mkdir .tst 2>/dev/null
2259 if test -d .tst; then
2264 rmdir .tst 2>/dev/null
2266 # test to see if srcdir already configured
2267 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2268 test -f $srcdir/config.status; then
2269 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2270 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2271 { (exit 1); exit 1; }; }
2274 # test whether we have cygpath
2275 if test -z "$CYGPATH_W"; then
2276 if (cygpath --version) >/dev/null 2>/dev/null; then
2277 CYGPATH_W='cygpath -w'
2284 # Define the identity of the package.
2285 PACKAGE='osso-statusbar-sync'
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE "$PACKAGE"
2294 cat >>confdefs.h <<_ACEOF
2295 #define VERSION "$VERSION"
2298 # Some tools Automake needs.
2300 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2303 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2306 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2309 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2312 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2315 AMTAR=${AMTAR-"${am_missing_run}tar"}
2317 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2319 # Installed binaries are usually stripped using `strip' when the user
2320 # run `make install-strip'. However `strip' might not be the right
2321 # tool to use in cross-compilation environments, therefore Automake
2322 # will honor the `STRIP' environment variable to overrule this program.
2323 if test "$cross_compiling" != no; then
2324 if test -n "$ac_tool_prefix"; then
2325 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2326 set dummy ${ac_tool_prefix}strip; ac_word=$2
2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2329 if test "${ac_cv_prog_STRIP+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 if test -n "$STRIP"; then
2333 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2352 STRIP=$ac_cv_prog_STRIP
2353 if test -n "$STRIP"; then
2354 { echo "$as_me:$LINENO: result: $STRIP" >&5
2355 echo "${ECHO_T}$STRIP" >&6; }
2357 { echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6; }
2363 if test -z "$ac_cv_prog_STRIP"; then
2365 # Extract the first word of "strip", so it can be a program name with args.
2366 set dummy strip; ac_word=$2
2367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2369 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 if test -n "$ac_ct_STRIP"; then
2373 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir=.
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2382 ac_cv_prog_ac_ct_STRIP="strip"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2392 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2393 if test -n "$ac_ct_STRIP"; then
2394 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2395 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2397 { echo "$as_me:$LINENO: result: no" >&5
2398 echo "${ECHO_T}no" >&6; }
2401 if test "x$ac_ct_STRIP" = x; then
2404 case $cross_compiling:$ac_tool_warned in
2406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2407 whose name does not start with the host triplet. If you think this
2408 configuration is useful to you, please write to autoconf@gnu.org." >&5
2409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2410 whose name does not start with the host triplet. If you think this
2411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2412 ac_tool_warned=yes ;;
2417 STRIP="$ac_cv_prog_STRIP"
2421 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2423 # We need awk for the "check" target. The system "awk" is bad on
2429 ac_config_headers="$ac_config_headers config.h"
2433 ac_cpp='$CPP $CPPFLAGS'
2434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2437 if test -n "$ac_tool_prefix"; then
2438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2442 if test "${ac_cv_prog_CC+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 if test -n "$CC"; then
2446 ac_cv_prog_CC="$CC" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 if test -n "$CC"; then
2467 { echo "$as_me:$LINENO: result: $CC" >&5
2468 echo "${ECHO_T}$CC" >&6; }
2470 { echo "$as_me:$LINENO: result: no" >&5
2471 echo "${ECHO_T}no" >&6; }
2476 if test -z "$ac_cv_prog_CC"; then
2478 # Extract the first word of "gcc", so it can be a program name with args.
2479 set dummy gcc; ac_word=$2
2480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$ac_ct_CC"; then
2486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495 ac_cv_prog_ac_ct_CC="gcc"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2506 if test -n "$ac_ct_CC"; then
2507 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2508 echo "${ECHO_T}$ac_ct_CC" >&6; }
2510 { echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6; }
2514 if test "x$ac_ct_CC" = x; then
2517 case $cross_compiling:$ac_tool_warned in
2519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet. If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&5
2522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2523 whose name does not start with the host triplet. If you think this
2524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2525 ac_tool_warned=yes ;;
2533 if test -z "$CC"; then
2534 if test -n "$ac_tool_prefix"; then
2535 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2536 set dummy ${ac_tool_prefix}cc; ac_word=$2
2537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2539 if test "${ac_cv_prog_CC+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 if test -n "$CC"; then
2543 ac_cv_prog_CC="$CC" # Let the user override the test.
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir=.
2550 for ac_exec_ext in '' $ac_executable_extensions; do
2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2552 ac_cv_prog_CC="${ac_tool_prefix}cc"
2553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 if test -n "$CC"; then
2564 { echo "$as_me:$LINENO: result: $CC" >&5
2565 echo "${ECHO_T}$CC" >&6; }
2567 { echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6; }
2574 if test -z "$CC"; then
2575 # Extract the first word of "cc", so it can be a program name with args.
2576 set dummy cc; ac_word=$2
2577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2579 if test "${ac_cv_prog_CC+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 if test -n "$CC"; then
2583 ac_cv_prog_CC="$CC" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2594 ac_prog_rejected=yes
2598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 if test $ac_prog_rejected = yes; then
2606 # We found a bogon in the path, so make sure we never use it.
2607 set dummy $ac_cv_prog_CC
2609 if test $# != 0; then
2610 # We chose a different compiler from the bogus one.
2611 # However, it has the same basename, so the bogon will be chosen
2612 # first if we set CC to just the basename; use the full file name.
2614 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2620 if test -n "$CC"; then
2621 { echo "$as_me:$LINENO: result: $CC" >&5
2622 echo "${ECHO_T}$CC" >&6; }
2624 { echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6; }
2630 if test -z "$CC"; then
2631 if test -n "$ac_tool_prefix"; then
2632 for ac_prog in cl.exe
2634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2635 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2638 if test "${ac_cv_prog_CC+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 if test -n "$CC"; then
2642 ac_cv_prog_CC="$CC" # Let the user override the test.
2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir=.
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 if test -n "$CC"; then
2663 { echo "$as_me:$LINENO: result: $CC" >&5
2664 echo "${ECHO_T}$CC" >&6; }
2666 { echo "$as_me:$LINENO: result: no" >&5
2667 echo "${ECHO_T}no" >&6; }
2671 test -n "$CC" && break
2674 if test -z "$CC"; then
2676 for ac_prog in cl.exe
2678 # Extract the first word of "$ac_prog", so it can be a program name with args.
2679 set dummy $ac_prog; ac_word=$2
2680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 if test -n "$ac_ct_CC"; then
2686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_ac_ct_CC="$ac_prog"
2696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2706 if test -n "$ac_ct_CC"; then
2707 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2708 echo "${ECHO_T}$ac_ct_CC" >&6; }
2710 { echo "$as_me:$LINENO: result: no" >&5
2711 echo "${ECHO_T}no" >&6; }
2715 test -n "$ac_ct_CC" && break
2718 if test "x$ac_ct_CC" = x; then
2721 case $cross_compiling:$ac_tool_warned in
2723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2724 whose name does not start with the host triplet. If you think this
2725 configuration is useful to you, please write to autoconf@gnu.org." >&5
2726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2727 whose name does not start with the host triplet. If you think this
2728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2729 ac_tool_warned=yes ;;
2738 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2739 See \`config.log' for more details." >&5
2740 echo "$as_me: error: no acceptable C compiler found in \$PATH
2741 See \`config.log' for more details." >&2;}
2742 { (exit 1); exit 1; }; }
2744 # Provide some information about the compiler.
2745 echo "$as_me:$LINENO: checking for C compiler version" >&5
2746 ac_compiler=`set X $ac_compile; echo $2`
2747 { (ac_try="$ac_compiler --version >&5"
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compiler --version >&5") 2>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }
2757 { (ac_try="$ac_compiler -v >&5"
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2763 (eval "$ac_compiler -v >&5") 2>&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }
2767 { (ac_try="$ac_compiler -V >&5"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compiler -V >&5") 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }
2778 cat >conftest.$ac_ext <<_ACEOF
2781 cat confdefs.h >>conftest.$ac_ext
2782 cat >>conftest.$ac_ext <<_ACEOF
2783 /* end confdefs.h. */
2793 ac_clean_files_save=$ac_clean_files
2794 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2795 # Try to create an executable without -o first, disregard a.out.
2796 # It will help us diagnose broken compilers, and finding out an intuition
2798 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2799 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2800 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2802 # List of possible output files, starting from the most likely.
2803 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2804 # only as a last resort. b.out is created by i960 compilers.
2805 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2807 # The IRIX 6 linker writes into existing files which may not be
2808 # executable, retaining their permissions. Remove them first so a
2809 # subsequent execution test works.
2811 for ac_file in $ac_files
2814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2815 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2820 if { (ac_try="$ac_link_default"
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_link_default") 2>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }; then
2830 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2831 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2832 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2833 # so that the user can short-circuit this test for compilers unknown to
2835 for ac_file in $ac_files ''
2837 test -f "$ac_file" || continue
2839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2842 # We found the default executable, but exeext='' is most
2846 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2848 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2850 # We set ac_cv_exeext here because the later test for it is not
2851 # safe: cross compilers may not add the suffix if given an `-o'
2852 # argument, so we may need to know it at that point already.
2853 # Even if this section looks crufty: it has the advantage of
2860 test "$ac_cv_exeext" = no && ac_cv_exeext=
2866 { echo "$as_me:$LINENO: result: $ac_file" >&5
2867 echo "${ECHO_T}$ac_file" >&6; }
2868 if test -z "$ac_file"; then
2869 echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2872 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2873 See \`config.log' for more details." >&5
2874 echo "$as_me: error: C compiler cannot create executables
2875 See \`config.log' for more details." >&2;}
2876 { (exit 77); exit 77; }; }
2879 ac_exeext=$ac_cv_exeext
2881 # Check that the compiler produces executables we can run. If not, either
2882 # the compiler is broken, or we cross compile.
2883 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2884 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2885 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2886 # If not cross compiling, check that we can run a simple program.
2887 if test "$cross_compiling" != yes; then
2888 if { ac_try='./$ac_file'
2889 { (case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2894 (eval "$ac_try") 2>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }; }; then
2900 if test "$cross_compiling" = maybe; then
2903 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2904 If you meant to cross compile, use \`--host'.
2905 See \`config.log' for more details." >&5
2906 echo "$as_me: error: cannot run C compiled programs.
2907 If you meant to cross compile, use \`--host'.
2908 See \`config.log' for more details." >&2;}
2909 { (exit 1); exit 1; }; }
2913 { echo "$as_me:$LINENO: result: yes" >&5
2914 echo "${ECHO_T}yes" >&6; }
2916 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2917 ac_clean_files=$ac_clean_files_save
2918 # Check that the compiler produces executables we can run. If not, either
2919 # the compiler is broken, or we cross compile.
2920 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2921 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2922 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2923 echo "${ECHO_T}$cross_compiling" >&6; }
2925 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2926 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2927 if { (ac_try="$ac_link"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_link") 2>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; then
2937 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2938 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2939 # work properly (i.e., refer to `conftest.exe'), while it won't with
2941 for ac_file in conftest.exe conftest conftest.*; do
2942 test -f "$ac_file" || continue
2944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2945 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2951 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2952 See \`config.log' for more details." >&5
2953 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2954 See \`config.log' for more details." >&2;}
2955 { (exit 1); exit 1; }; }
2958 rm -f conftest$ac_cv_exeext
2959 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2960 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2962 rm -f conftest.$ac_ext
2963 EXEEXT=$ac_cv_exeext
2965 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2966 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2967 if test "${ac_cv_objext+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2985 rm -f conftest.o conftest.obj
2986 if { (ac_try="$ac_compile"
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2992 (eval "$ac_compile") 2>&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; then
2996 for ac_file in conftest.o conftest.obj conftest.*; do
2997 test -f "$ac_file" || continue;
2999 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3000 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.$ac_ext >&5
3008 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3009 See \`config.log' for more details." >&5
3010 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3011 See \`config.log' for more details." >&2;}
3012 { (exit 1); exit 1; }; }
3015 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3017 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3018 echo "${ECHO_T}$ac_cv_objext" >&6; }
3019 OBJEXT=$ac_cv_objext
3021 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3022 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3023 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 cat >conftest.$ac_ext <<_ACEOF
3029 cat confdefs.h >>conftest.$ac_ext
3030 cat >>conftest.$ac_ext <<_ACEOF
3031 /* end confdefs.h. */
3044 rm -f conftest.$ac_objext
3045 if { (ac_try="$ac_compile"
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051 (eval "$ac_compile") 2>conftest.er1
3053 grep -v '^ *+' conftest.er1 >conftest.err
3055 cat conftest.err >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } && {
3058 test -z "$ac_c_werror_flag" ||
3059 test ! -s conftest.err
3060 } && test -s conftest.$ac_objext; then
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3073 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3074 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3075 GCC=`test $ac_compiler_gnu = yes && echo yes`
3076 ac_test_CFLAGS=${CFLAGS+set}
3077 ac_save_CFLAGS=$CFLAGS
3078 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3079 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3080 if test "${ac_cv_prog_cc_g+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 ac_save_c_werror_flag=$ac_c_werror_flag
3084 ac_c_werror_flag=yes
3087 cat >conftest.$ac_ext <<_ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3102 rm -f conftest.$ac_objext
3103 if { (ac_try="$ac_compile"
3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3109 (eval "$ac_compile") 2>conftest.er1
3111 grep -v '^ *+' conftest.er1 >conftest.err
3113 cat conftest.err >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); } && {
3116 test -z "$ac_c_werror_flag" ||
3117 test ! -s conftest.err
3118 } && test -s conftest.$ac_objext; then
3121 echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3125 cat >conftest.$ac_ext <<_ACEOF
3128 cat confdefs.h >>conftest.$ac_ext
3129 cat >>conftest.$ac_ext <<_ACEOF
3130 /* end confdefs.h. */
3140 rm -f conftest.$ac_objext
3141 if { (ac_try="$ac_compile"
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147 (eval "$ac_compile") 2>conftest.er1
3149 grep -v '^ *+' conftest.er1 >conftest.err
3151 cat conftest.err >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } && {
3154 test -z "$ac_c_werror_flag" ||
3155 test ! -s conftest.err
3156 } && test -s conftest.$ac_objext; then
3159 echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3162 ac_c_werror_flag=$ac_save_c_werror_flag
3164 cat >conftest.$ac_ext <<_ACEOF
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3179 rm -f conftest.$ac_objext
3180 if { (ac_try="$ac_compile"
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3186 (eval "$ac_compile") 2>conftest.er1
3188 grep -v '^ *+' conftest.er1 >conftest.err
3190 cat conftest.err >&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } && {
3193 test -z "$ac_c_werror_flag" ||
3194 test ! -s conftest.err
3195 } && test -s conftest.$ac_objext; then
3198 echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 ac_c_werror_flag=$ac_save_c_werror_flag
3213 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3214 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3215 if test "$ac_test_CFLAGS" = set; then
3216 CFLAGS=$ac_save_CFLAGS
3217 elif test $ac_cv_prog_cc_g = yes; then
3218 if test "$GCC" = yes; then
3224 if test "$GCC" = yes; then
3230 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3231 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3232 if test "${ac_cv_prog_cc_c89+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 ac_cv_prog_cc_c89=no
3237 cat >conftest.$ac_ext <<_ACEOF
3240 cat confdefs.h >>conftest.$ac_ext
3241 cat >>conftest.$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3245 #include <sys/types.h>
3246 #include <sys/stat.h>
3247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3248 struct buf { int x; };
3249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3250 static char *e (p, i)
3256 static char *f (char * (*g) (char **, int), char **p, ...)
3261 s = g (p, va_arg (v,int));
3266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3267 function prototypes and stuff, but not '\xHH' hex character constants.
3268 These don't provoke an error unfortunately, instead are silently treated
3269 as 'x'. The following induces an error, until -std is added to get
3270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3271 array size at least. It's necessary to write '\x00'==0 to get something
3272 that's true only with -std. */
3273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3276 inside strings and character constants. */
3278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3280 int test (int i, double x);
3281 struct s1 {int (*f) (int a);};
3282 struct s2 {int (*f) (double a);};
3283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3289 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3297 CC="$ac_save_CC $ac_arg"
3298 rm -f conftest.$ac_objext
3299 if { (ac_try="$ac_compile"
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_c_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.$ac_objext; then
3315 ac_cv_prog_cc_c89=$ac_arg
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3323 rm -f core conftest.err conftest.$ac_objext
3324 test "x$ac_cv_prog_cc_c89" != "xno" && break
3326 rm -f conftest.$ac_ext
3331 case "x$ac_cv_prog_cc_c89" in
3333 { echo "$as_me:$LINENO: result: none needed" >&5
3334 echo "${ECHO_T}none needed" >&6; } ;;
3336 { echo "$as_me:$LINENO: result: unsupported" >&5
3337 echo "${ECHO_T}unsupported" >&6; } ;;
3339 CC="$CC $ac_cv_prog_cc_c89"
3340 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3341 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3350 DEPDIR="${am__leading_dot}deps"
3352 ac_config_commands="$ac_config_commands depfiles"
3355 am_make=${MAKE-make}
3356 cat > confinc << 'END'
3361 # If we don't find an include directive, just comment out the code.
3362 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3363 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3367 # First try GNU make style include.
3368 echo "include confinc" > confmf
3369 # We grep out `Entering directory' and `Leaving directory'
3370 # messages which can occur if `w' ends up in MAKEFLAGS.
3371 # In particular we don't look at `^make:' because GNU make might
3372 # be invoked under some other name (usually "gmake"), in which
3373 # case it prints its new name instead of `make'.
3374 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3379 # Now try BSD make style include.
3380 if test "$am__include" = "#"; then
3381 echo '.include "confinc"' > confmf
3382 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3383 am__include=.include
3390 { echo "$as_me:$LINENO: result: $_am_result" >&5
3391 echo "${ECHO_T}$_am_result" >&6; }
3392 rm -f confinc confmf
3394 # Check whether --enable-dependency-tracking was given.
3395 if test "${enable_dependency_tracking+set}" = set; then
3396 enableval=$enable_dependency_tracking;
3399 if test "x$enable_dependency_tracking" != xno; then
3400 am_depcomp="$ac_aux_dir/depcomp"
3405 if test "x$enable_dependency_tracking" != xno; then
3416 depcc="$CC" am_compiler_list=
3418 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3419 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3420 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3424 # We make a subdir and do the tests there. Otherwise we can end up
3425 # making bogus files that we don't know about and never remove. For
3426 # instance it was reported that on HP-UX the gcc test will end up
3427 # making a dummy file named `D' -- because `-MD' means `put the output
3430 # Copy depcomp to subdir because otherwise we won't find it if we're
3431 # using a relative directory.
3432 cp "$am_depcomp" conftest.dir
3434 # We will build objects and dependencies in a subdirectory because
3435 # it helps to detect inapplicable dependency modes. For instance
3436 # both Tru64's cc and ICC support -MD to output dependencies as a
3437 # side effect of compilation, but ICC will put the dependencies in
3438 # the current directory while Tru64 will put them in the object
3442 am_cv_CC_dependencies_compiler_type=none
3443 if test "$am_compiler_list" = ""; then
3444 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3446 for depmode in $am_compiler_list; do
3447 # Setup a source with many dependencies, because some compilers
3448 # like to wrap large dependency lists on column 80 (with \), and
3449 # we should not choose a depcomp mode which is confused by this.
3451 # We need to recreate these files for each test, as the compiler may
3452 # overwrite some of them when testing with obscure command lines.
3453 # This happens at least with the AIX C compiler.
3455 for i in 1 2 3 4 5 6; do
3456 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3457 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3458 # Solaris 8's {/usr,}/bin/sh.
3459 touch sub/conftst$i.h
3461 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3465 # after this tag, mechanisms are not by side-effect, so they'll
3466 # only be used when explicitly requested
3467 if test "x$enable_dependency_tracking" = xyes; then
3475 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3476 # mode. It turns out that the SunPro C++ compiler does not properly
3477 # handle `-M -o', and we need to detect this.
3478 if depmode=$depmode \
3479 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3480 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3481 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3482 >/dev/null 2>conftest.err &&
3483 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3484 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3485 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3486 # icc doesn't choke on unknown options, it will just issue warnings
3487 # or remarks (even with -Werror). So we grep stderr for any message
3488 # that says an option was ignored or not supported.
3489 # When given -MP, icc 7.0 and 7.1 complain thusly:
3490 # icc: Command line warning: ignoring option '-M'; no argument required
3491 # The diagnosis changed in icc 8.0:
3492 # icc: Command line remark: option '-MP' not supported
3493 if (grep 'ignoring option' conftest.err ||
3494 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3495 am_cv_CC_dependencies_compiler_type=$depmode
3504 am_cv_CC_dependencies_compiler_type=none
3508 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3509 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3510 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3515 test "x$enable_dependency_tracking" != xno \
3516 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3518 am__fastdepCC_FALSE='#'
3520 am__fastdepCC_TRUE='#'
3521 am__fastdepCC_FALSE=
3526 ac_cpp='$CPP $CPPFLAGS'
3527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3530 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3531 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3532 # On Suns, sometimes $CPP names a directory.
3533 if test -n "$CPP" && test -d "$CPP"; then
3536 if test -z "$CPP"; then
3537 if test "${ac_cv_prog_CPP+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 # Double quotes because CPP needs to be expanded
3541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3544 for ac_c_preproc_warn_flag in '' yes
3546 # Use a header file that comes with gcc, so configuring glibc
3547 # with a fresh cross-compiler works.
3548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3549 # <limits.h> exists even on freestanding compilers.
3550 # On the NeXT, cc -E runs the code through the compiler's parser,
3551 # not just through cpp. "Syntax error" is here to catch this case.
3552 cat >conftest.$ac_ext <<_ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3559 # include <limits.h>
3561 # include <assert.h>
3565 if { (ac_try="$ac_cpp conftest.$ac_ext"
3567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3573 grep -v '^ *+' conftest.er1 >conftest.err
3575 cat conftest.err >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); } >/dev/null && {
3578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3579 test ! -s conftest.err
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3586 # Broken: fails on valid input.
3590 rm -f conftest.err conftest.$ac_ext
3592 # OK, works on sane cases. Now check whether nonexistent headers
3593 # can be detected and how.
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3600 #include <ac_nonexistent.h>
3602 if { (ac_try="$ac_cpp conftest.$ac_ext"
3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3610 grep -v '^ *+' conftest.er1 >conftest.err
3612 cat conftest.err >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } >/dev/null && {
3615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3616 test ! -s conftest.err
3618 # Broken: success on invalid input.
3621 echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.$ac_ext >&5
3624 # Passes both tests.
3629 rm -f conftest.err conftest.$ac_ext
3632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3633 rm -f conftest.err conftest.$ac_ext
3634 if $ac_preproc_ok; then
3646 { echo "$as_me:$LINENO: result: $CPP" >&5
3647 echo "${ECHO_T}$CPP" >&6; }
3649 for ac_c_preproc_warn_flag in '' yes
3651 # Use a header file that comes with gcc, so configuring glibc
3652 # with a fresh cross-compiler works.
3653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3654 # <limits.h> exists even on freestanding compilers.
3655 # On the NeXT, cc -E runs the code through the compiler's parser,
3656 # not just through cpp. "Syntax error" is here to catch this case.
3657 cat >conftest.$ac_ext <<_ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3664 # include <limits.h>
3666 # include <assert.h>
3670 if { (ac_try="$ac_cpp conftest.$ac_ext"
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } >/dev/null && {
3683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3684 test ! -s conftest.err
3688 echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 # Broken: fails on valid input.
3695 rm -f conftest.err conftest.$ac_ext
3697 # OK, works on sane cases. Now check whether nonexistent headers
3698 # can be detected and how.
3699 cat >conftest.$ac_ext <<_ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3705 #include <ac_nonexistent.h>
3707 if { (ac_try="$ac_cpp conftest.$ac_ext"
3709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3715 grep -v '^ *+' conftest.er1 >conftest.err
3717 cat conftest.err >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } >/dev/null && {
3720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3721 test ! -s conftest.err
3723 # Broken: success on invalid input.
3726 echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3729 # Passes both tests.
3734 rm -f conftest.err conftest.$ac_ext
3737 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3738 rm -f conftest.err conftest.$ac_ext
3739 if $ac_preproc_ok; then
3742 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3743 See \`config.log' for more details." >&5
3744 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3745 See \`config.log' for more details." >&2;}
3746 { (exit 1); exit 1; }; }
3750 ac_cpp='$CPP $CPPFLAGS'
3751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3757 ac_cpp='$CXXCPP $CPPFLAGS'
3758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3761 if test -z "$CXX"; then
3762 if test -n "$CCC"; then
3765 if test -n "$ac_tool_prefix"; then
3766 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3769 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3772 if test "${ac_cv_prog_CXX+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 if test -n "$CXX"; then
3776 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 if test -n "$CXX"; then
3797 { echo "$as_me:$LINENO: result: $CXX" >&5
3798 echo "${ECHO_T}$CXX" >&6; }
3800 { echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6; }
3805 test -n "$CXX" && break
3808 if test -z "$CXX"; then
3810 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3812 # Extract the first word of "$ac_prog", so it can be a program name with args.
3813 set dummy $ac_prog; ac_word=$2
3814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3816 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 if test -n "$ac_ct_CXX"; then
3820 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3829 ac_cv_prog_ac_ct_CXX="$ac_prog"
3830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3840 if test -n "$ac_ct_CXX"; then
3841 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3842 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3849 test -n "$ac_ct_CXX" && break
3852 if test "x$ac_ct_CXX" = x; then
3855 case $cross_compiling:$ac_tool_warned in
3857 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3858 whose name does not start with the host triplet. If you think this
3859 configuration is useful to you, please write to autoconf@gnu.org." >&5
3860 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3861 whose name does not start with the host triplet. If you think this
3862 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3863 ac_tool_warned=yes ;;
3871 # Provide some information about the compiler.
3872 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3873 ac_compiler=`set X $ac_compile; echo $2`
3874 { (ac_try="$ac_compiler --version >&5"
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3880 (eval "$ac_compiler --version >&5") 2>&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }
3884 { (ac_try="$ac_compiler -v >&5"
3886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3887 *) ac_try_echo=$ac_try;;
3889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3890 (eval "$ac_compiler -v >&5") 2>&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }
3894 { (ac_try="$ac_compiler -V >&5"
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897 *) ac_try_echo=$ac_try;;
3899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3900 (eval "$ac_compiler -V >&5") 2>&5
3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3903 (exit $ac_status); }
3905 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3906 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3907 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 cat >conftest.$ac_ext <<_ACEOF
3913 cat confdefs.h >>conftest.$ac_ext
3914 cat >>conftest.$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3928 rm -f conftest.$ac_objext
3929 if { (ac_try="$ac_compile"
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3935 (eval "$ac_compile") 2>conftest.er1
3937 grep -v '^ *+' conftest.er1 >conftest.err
3939 cat conftest.err >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); } && {
3942 test -z "$ac_cxx_werror_flag" ||
3943 test ! -s conftest.err
3944 } && test -s conftest.$ac_objext; then
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3957 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3958 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3959 GXX=`test $ac_compiler_gnu = yes && echo yes`
3960 ac_test_CXXFLAGS=${CXXFLAGS+set}
3961 ac_save_CXXFLAGS=$CXXFLAGS
3962 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3963 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3964 if test "${ac_cv_prog_cxx_g+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3968 ac_cxx_werror_flag=yes
3971 cat >conftest.$ac_ext <<_ACEOF
3974 cat confdefs.h >>conftest.$ac_ext
3975 cat >>conftest.$ac_ext <<_ACEOF
3976 /* end confdefs.h. */
3986 rm -f conftest.$ac_objext
3987 if { (ac_try="$ac_compile"
3989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3990 *) ac_try_echo=$ac_try;;
3992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3993 (eval "$ac_compile") 2>conftest.er1
3995 grep -v '^ *+' conftest.er1 >conftest.err
3997 cat conftest.err >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); } && {
4000 test -z "$ac_cxx_werror_flag" ||
4001 test ! -s conftest.err
4002 } && test -s conftest.$ac_objext; then
4003 ac_cv_prog_cxx_g=yes
4005 echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.$ac_ext >&5
4009 cat >conftest.$ac_ext <<_ACEOF
4012 cat confdefs.h >>conftest.$ac_ext
4013 cat >>conftest.$ac_ext <<_ACEOF
4014 /* end confdefs.h. */
4024 rm -f conftest.$ac_objext
4025 if { (ac_try="$ac_compile"
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_compile") 2>conftest.er1
4033 grep -v '^ *+' conftest.er1 >conftest.err
4035 cat conftest.err >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } && {
4038 test -z "$ac_cxx_werror_flag" ||
4039 test ! -s conftest.err
4040 } && test -s conftest.$ac_objext; then
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4046 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4063 rm -f conftest.$ac_objext
4064 if { (ac_try="$ac_compile"
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4070 (eval "$ac_compile") 2>conftest.er1
4072 grep -v '^ *+' conftest.er1 >conftest.err
4074 cat conftest.err >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } && {
4077 test -z "$ac_cxx_werror_flag" ||
4078 test ! -s conftest.err
4079 } && test -s conftest.$ac_objext; then
4080 ac_cv_prog_cxx_g=yes
4082 echo "$as_me: failed program was:" >&5
4083 sed 's/^/| /' conftest.$ac_ext >&5
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4097 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4098 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4099 if test "$ac_test_CXXFLAGS" = set; then
4100 CXXFLAGS=$ac_save_CXXFLAGS
4101 elif test $ac_cv_prog_cxx_g = yes; then
4102 if test "$GXX" = yes; then
4108 if test "$GXX" = yes; then
4115 ac_cpp='$CPP $CPPFLAGS'
4116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120 depcc="$CXX" am_compiler_list=
4122 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4123 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4124 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4128 # We make a subdir and do the tests there. Otherwise we can end up
4129 # making bogus files that we don't know about and never remove. For
4130 # instance it was reported that on HP-UX the gcc test will end up
4131 # making a dummy file named `D' -- because `-MD' means `put the output
4134 # Copy depcomp to subdir because otherwise we won't find it if we're
4135 # using a relative directory.
4136 cp "$am_depcomp" conftest.dir
4138 # We will build objects and dependencies in a subdirectory because
4139 # it helps to detect inapplicable dependency modes. For instance
4140 # both Tru64's cc and ICC support -MD to output dependencies as a
4141 # side effect of compilation, but ICC will put the dependencies in
4142 # the current directory while Tru64 will put them in the object
4146 am_cv_CXX_dependencies_compiler_type=none
4147 if test "$am_compiler_list" = ""; then
4148 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4150 for depmode in $am_compiler_list; do
4151 # Setup a source with many dependencies, because some compilers
4152 # like to wrap large dependency lists on column 80 (with \), and
4153 # we should not choose a depcomp mode which is confused by this.
4155 # We need to recreate these files for each test, as the compiler may
4156 # overwrite some of them when testing with obscure command lines.
4157 # This happens at least with the AIX C compiler.
4159 for i in 1 2 3 4 5 6; do
4160 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4161 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4162 # Solaris 8's {/usr,}/bin/sh.
4163 touch sub/conftst$i.h
4165 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4169 # after this tag, mechanisms are not by side-effect, so they'll
4170 # only be used when explicitly requested
4171 if test "x$enable_dependency_tracking" = xyes; then
4179 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4180 # mode. It turns out that the SunPro C++ compiler does not properly
4181 # handle `-M -o', and we need to detect this.
4182 if depmode=$depmode \
4183 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4184 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4185 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4186 >/dev/null 2>conftest.err &&
4187 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4188 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4189 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4190 # icc doesn't choke on unknown options, it will just issue warnings
4191 # or remarks (even with -Werror). So we grep stderr for any message
4192 # that says an option was ignored or not supported.
4193 # When given -MP, icc 7.0 and 7.1 complain thusly:
4194 # icc: Command line warning: ignoring option '-M'; no argument required
4195 # The diagnosis changed in icc 8.0:
4196 # icc: Command line remark: option '-MP' not supported
4197 if (grep 'ignoring option' conftest.err ||
4198 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4199 am_cv_CXX_dependencies_compiler_type=$depmode
4208 am_cv_CXX_dependencies_compiler_type=none
4212 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4213 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4214 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4219 test "x$enable_dependency_tracking" != xno \
4220 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4221 am__fastdepCXX_TRUE=
4222 am__fastdepCXX_FALSE='#'
4224 am__fastdepCXX_TRUE='#'
4225 am__fastdepCXX_FALSE=
4230 # Check whether --enable-shared was given.
4231 if test "${enable_shared+set}" = set; then
4232 enableval=$enable_shared; p=${PACKAGE-default}
4234 yes) enable_shared=yes ;;
4235 no) enable_shared=no ;;
4238 # Look at the argument we got. We use all the common list separators.
4239 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4240 for pkg in $enableval; do
4242 if test "X$pkg" = "X$p"; then
4254 # Check whether --enable-static was given.
4255 if test "${enable_static+set}" = set; then
4256 enableval=$enable_static; p=${PACKAGE-default}
4258 yes) enable_static=yes ;;
4259 no) enable_static=no ;;
4262 # Look at the argument we got. We use all the common list separators.
4263 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4264 for pkg in $enableval; do
4266 if test "X$pkg" = "X$p"; then
4278 # Check whether --enable-fast-install was given.
4279 if test "${enable_fast_install+set}" = set; then
4280 enableval=$enable_fast_install; p=${PACKAGE-default}
4282 yes) enable_fast_install=yes ;;
4283 no) enable_fast_install=no ;;
4285 enable_fast_install=no
4286 # Look at the argument we got. We use all the common list separators.
4287 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4288 for pkg in $enableval; do
4290 if test "X$pkg" = "X$p"; then
4291 enable_fast_install=yes
4298 enable_fast_install=yes
4302 # Make sure we can run config.sub.
4303 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4304 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4305 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4306 { (exit 1); exit 1; }; }
4308 { echo "$as_me:$LINENO: checking build system type" >&5
4309 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4310 if test "${ac_cv_build+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 ac_build_alias=$build_alias
4314 test "x$ac_build_alias" = x &&
4315 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4316 test "x$ac_build_alias" = x &&
4317 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4318 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4319 { (exit 1); exit 1; }; }
4320 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4321 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4322 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4323 { (exit 1); exit 1; }; }
4326 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4327 echo "${ECHO_T}$ac_cv_build" >&6; }
4328 case $ac_cv_build in
4330 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4331 echo "$as_me: error: invalid value of canonical build" >&2;}
4332 { (exit 1); exit 1; }; };;
4335 ac_save_IFS=$IFS; IFS='-'
4341 # Remember, the first character of IFS is used to create $*,
4342 # except with old shells:
4345 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4348 { echo "$as_me:$LINENO: checking host system type" >&5
4349 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4350 if test "${ac_cv_host+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 if test "x$host_alias" = x; then
4354 ac_cv_host=$ac_cv_build
4356 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4357 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4358 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4359 { (exit 1); exit 1; }; }
4363 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4364 echo "${ECHO_T}$ac_cv_host" >&6; }
4367 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4368 echo "$as_me: error: invalid value of canonical host" >&2;}
4369 { (exit 1); exit 1; }; };;
4372 ac_save_IFS=$IFS; IFS='-'
4378 # Remember, the first character of IFS is used to create $*,
4379 # except with old shells:
4382 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4385 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4386 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4387 if test "${lt_cv_path_SED+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 # Loop through the user's path and test for sed and gsed.
4391 # Then use that list of sed's as ones to test for truncation.
4392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir=.
4397 for lt_ac_prog in sed gsed; do
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4400 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4407 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4408 # along with /bin/sed that truncates output.
4409 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4410 test ! -f $lt_ac_sed && continue
4411 cat /dev/null > conftest.in
4413 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4414 # Check for GNU sed and select it if it is found.
4415 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4416 lt_cv_path_SED=$lt_ac_sed
4420 cat conftest.in conftest.in >conftest.tmp
4421 mv conftest.tmp conftest.in
4422 cp conftest.in conftest.nl
4424 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4425 cmp -s conftest.out conftest.nl || break
4426 # 10000 chars as input seems more than enough
4427 test $lt_ac_count -gt 10 && break
4428 lt_ac_count=`expr $lt_ac_count + 1`
4429 if test $lt_ac_count -gt $lt_ac_max; then
4430 lt_ac_max=$lt_ac_count
4431 lt_cv_path_SED=$lt_ac_sed
4439 { echo "$as_me:$LINENO: result: $SED" >&5
4440 echo "${ECHO_T}$SED" >&6; }
4442 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4443 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4444 if test "${ac_cv_path_GREP+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 # Extract the first word of "grep ggrep" to use in msg output
4448 if test -z "$GREP"; then
4449 set dummy grep ggrep; ac_prog_name=$2
4450 if test "${ac_cv_path_GREP+set}" = set; then
4451 echo $ECHO_N "(cached) $ECHO_C" >&6
4453 ac_path_GREP_found=false
4454 # Loop through the user's path and test for each of PROGNAME-LIST
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4459 test -z "$as_dir" && as_dir=.
4460 for ac_prog in grep ggrep; do
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4463 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4464 # Check for GNU ac_path_GREP and select it if it is found.
4465 # Check for GNU $ac_path_GREP
4466 case `"$ac_path_GREP" --version 2>&1` in
4468 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4471 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4474 cat "conftest.in" "conftest.in" >"conftest.tmp"
4475 mv "conftest.tmp" "conftest.in"
4476 cp "conftest.in" "conftest.nl"
4477 echo 'GREP' >> "conftest.nl"
4478 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4479 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4480 ac_count=`expr $ac_count + 1`
4481 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4482 # Best one so far, save it but keep looking for a better one
4483 ac_cv_path_GREP="$ac_path_GREP"
4484 ac_path_GREP_max=$ac_count
4486 # 10*(2^10) chars as input seems more than enough
4487 test $ac_count -gt 10 && break
4489 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4493 $ac_path_GREP_found && break 3
4503 GREP="$ac_cv_path_GREP"
4504 if test -z "$GREP"; then
4505 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4506 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4507 { (exit 1); exit 1; }; }
4511 ac_cv_path_GREP=$GREP
4516 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4517 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4518 GREP="$ac_cv_path_GREP"
4521 { echo "$as_me:$LINENO: checking for egrep" >&5
4522 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4523 if test "${ac_cv_path_EGREP+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4527 then ac_cv_path_EGREP="$GREP -E"
4529 # Extract the first word of "egrep" to use in msg output
4530 if test -z "$EGREP"; then
4531 set dummy egrep; ac_prog_name=$2
4532 if test "${ac_cv_path_EGREP+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 ac_path_EGREP_found=false
4536 # Loop through the user's path and test for each of PROGNAME-LIST
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4541 test -z "$as_dir" && as_dir=.
4542 for ac_prog in egrep; do
4543 for ac_exec_ext in '' $ac_executable_extensions; do
4544 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4545 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4546 # Check for GNU ac_path_EGREP and select it if it is found.
4547 # Check for GNU $ac_path_EGREP
4548 case `"$ac_path_EGREP" --version 2>&1` in
4550 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4553 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4556 cat "conftest.in" "conftest.in" >"conftest.tmp"
4557 mv "conftest.tmp" "conftest.in"
4558 cp "conftest.in" "conftest.nl"
4559 echo 'EGREP' >> "conftest.nl"
4560 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4561 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4562 ac_count=`expr $ac_count + 1`
4563 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4564 # Best one so far, save it but keep looking for a better one
4565 ac_cv_path_EGREP="$ac_path_EGREP"
4566 ac_path_EGREP_max=$ac_count
4568 # 10*(2^10) chars as input seems more than enough
4569 test $ac_count -gt 10 && break
4571 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4575 $ac_path_EGREP_found && break 3
4585 EGREP="$ac_cv_path_EGREP"
4586 if test -z "$EGREP"; then
4587 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4588 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4589 { (exit 1); exit 1; }; }
4593 ac_cv_path_EGREP=$EGREP
4599 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4600 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4601 EGREP="$ac_cv_path_EGREP"