2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for eyes-widget 0.1.0.
6 # Report bugs to <http://bugs.maemo.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='eyes-widget'
577 PACKAGE_TARNAME='eyes-widget.so'
578 PACKAGE_VERSION='0.1.0'
579 PACKAGE_STRING='eyes-widget 0.1.0'
580 PACKAGE_BUGREPORT='http://bugs.maemo.org'
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
681 INSTALL_STRIP_PROGRAM
687 MAINTAINER_MODE_FALSE
715 ac_precious_vars='build_alias
729 # Initialize some variables set by options.
731 ac_init_version=false
732 # The variables have the same names as the options, with
733 # dashes changed to underlines.
741 program_transform_name=s,x,x,
749 # Installation directory options.
750 # These are left unexpanded so users can "make install exec_prefix=/foo"
751 # and all the variables that are supposed to be based on exec_prefix
752 # by default will actually change.
753 # Use braces instead of parens because sh, perl, etc. also accept them.
754 # (The list follows the same order as the GNU Coding Standards.)
755 bindir='${exec_prefix}/bin'
756 sbindir='${exec_prefix}/sbin'
757 libexecdir='${exec_prefix}/libexec'
758 datarootdir='${prefix}/share'
759 datadir='${datarootdir}'
760 sysconfdir='${prefix}/etc'
761 sharedstatedir='${prefix}/com'
762 localstatedir='${prefix}/var'
763 includedir='${prefix}/include'
764 oldincludedir='/usr/include'
765 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
766 infodir='${datarootdir}/info'
771 libdir='${exec_prefix}/lib'
772 localedir='${datarootdir}/locale'
773 mandir='${datarootdir}/man'
779 # If the previous option needs an argument, assign it.
780 if test -n "$ac_prev"; then
781 eval $ac_prev=\$ac_option
787 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
791 # Accept the important Cygnus configure options, so we can diagnose typos.
793 case $ac_dashdash$ac_option in
797 -bindir | --bindir | --bindi | --bind | --bin | --bi)
799 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
802 -build | --build | --buil | --bui | --bu)
803 ac_prev=build_alias ;;
804 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
805 build_alias=$ac_optarg ;;
807 -cache-file | --cache-file | --cache-fil | --cache-fi \
808 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
809 ac_prev=cache_file ;;
810 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
811 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
812 cache_file=$ac_optarg ;;
815 cache_file=config.cache ;;
817 -datadir | --datadir | --datadi | --datad)
819 -datadir=* | --datadir=* | --datadi=* | --datad=*)
820 datadir=$ac_optarg ;;
822 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
823 | --dataroo | --dataro | --datar)
824 ac_prev=datarootdir ;;
825 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
826 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
827 datarootdir=$ac_optarg ;;
829 -disable-* | --disable-*)
830 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
833 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
834 { (exit 1); exit 1; }; }
835 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
836 eval enable_$ac_feature=no ;;
838 -docdir | --docdir | --docdi | --doc | --do)
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
848 -enable-* | --enable-*)
849 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
852 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
853 { (exit 1); exit 1; }; }
854 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
855 eval enable_$ac_feature=\$ac_optarg ;;
857 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
858 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
859 | --exec | --exe | --ex)
860 ac_prev=exec_prefix ;;
861 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
862 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
863 | --exec=* | --exe=* | --ex=*)
864 exec_prefix=$ac_optarg ;;
866 -gas | --gas | --ga | --g)
867 # Obsolete; use --with-gas.
870 -help | --help | --hel | --he | -h)
872 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
873 ac_init_help=recursive ;;
874 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
875 ac_init_help=short ;;
877 -host | --host | --hos | --ho)
878 ac_prev=host_alias ;;
879 -host=* | --host=* | --hos=* | --ho=*)
880 host_alias=$ac_optarg ;;
882 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
884 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
886 htmldir=$ac_optarg ;;
888 -includedir | --includedir | --includedi | --included | --include \
889 | --includ | --inclu | --incl | --inc)
890 ac_prev=includedir ;;
891 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
892 | --includ=* | --inclu=* | --incl=* | --inc=*)
893 includedir=$ac_optarg ;;
895 -infodir | --infodir | --infodi | --infod | --info | --inf)
897 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
898 infodir=$ac_optarg ;;
900 -libdir | --libdir | --libdi | --libd)
902 -libdir=* | --libdir=* | --libdi=* | --libd=*)
905 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
906 | --libexe | --libex | --libe)
907 ac_prev=libexecdir ;;
908 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
909 | --libexe=* | --libex=* | --libe=*)
910 libexecdir=$ac_optarg ;;
912 -localedir | --localedir | --localedi | --localed | --locale)
914 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
915 localedir=$ac_optarg ;;
917 -localstatedir | --localstatedir | --localstatedi | --localstated \
918 | --localstate | --localstat | --localsta | --localst | --locals)
919 ac_prev=localstatedir ;;
920 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
921 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
922 localstatedir=$ac_optarg ;;
924 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
926 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
930 # Obsolete; use --without-fp.
933 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
934 | --no-cr | --no-c | -n)
937 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
938 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
941 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
942 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
943 | --oldin | --oldi | --old | --ol | --o)
944 ac_prev=oldincludedir ;;
945 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
946 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
947 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
948 oldincludedir=$ac_optarg ;;
950 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
952 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
955 -program-prefix | --program-prefix | --program-prefi | --program-pref \
956 | --program-pre | --program-pr | --program-p)
957 ac_prev=program_prefix ;;
958 -program-prefix=* | --program-prefix=* | --program-prefi=* \
959 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
960 program_prefix=$ac_optarg ;;
962 -program-suffix | --program-suffix | --program-suffi | --program-suff \
963 | --program-suf | --program-su | --program-s)
964 ac_prev=program_suffix ;;
965 -program-suffix=* | --program-suffix=* | --program-suffi=* \
966 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
967 program_suffix=$ac_optarg ;;
969 -program-transform-name | --program-transform-name \
970 | --program-transform-nam | --program-transform-na \
971 | --program-transform-n | --program-transform- \
972 | --program-transform | --program-transfor \
973 | --program-transfo | --program-transf \
974 | --program-trans | --program-tran \
975 | --progr-tra | --program-tr | --program-t)
976 ac_prev=program_transform_name ;;
977 -program-transform-name=* | --program-transform-name=* \
978 | --program-transform-nam=* | --program-transform-na=* \
979 | --program-transform-n=* | --program-transform-=* \
980 | --program-transform=* | --program-transfor=* \
981 | --program-transfo=* | --program-transf=* \
982 | --program-trans=* | --program-tran=* \
983 | --progr-tra=* | --program-tr=* | --program-t=*)
984 program_transform_name=$ac_optarg ;;
986 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
988 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
991 -psdir | --psdir | --psdi | --psd | --ps)
993 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
997 | -silent | --silent | --silen | --sile | --sil)
1000 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1002 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1004 sbindir=$ac_optarg ;;
1006 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1007 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1008 | --sharedst | --shareds | --shared | --share | --shar \
1010 ac_prev=sharedstatedir ;;
1011 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1012 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1013 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1015 sharedstatedir=$ac_optarg ;;
1017 -site | --site | --sit)
1019 -site=* | --site=* | --sit=*)
1022 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1024 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1025 srcdir=$ac_optarg ;;
1027 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1028 | --syscon | --sysco | --sysc | --sys | --sy)
1029 ac_prev=sysconfdir ;;
1030 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1031 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1032 sysconfdir=$ac_optarg ;;
1034 -target | --target | --targe | --targ | --tar | --ta | --t)
1035 ac_prev=target_alias ;;
1036 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1037 target_alias=$ac_optarg ;;
1039 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1042 -version | --version | --versio | --versi | --vers | -V)
1043 ac_init_version=: ;;
1046 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049 { echo "$as_me: error: invalid package name: $ac_package" >&2
1050 { (exit 1); exit 1; }; }
1051 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1052 eval with_$ac_package=\$ac_optarg ;;
1054 -without-* | --without-*)
1055 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1058 { echo "$as_me: error: invalid package name: $ac_package" >&2
1059 { (exit 1); exit 1; }; }
1060 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1061 eval with_$ac_package=no ;;
1064 # Obsolete; use --with-x.
1067 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1068 | --x-incl | --x-inc | --x-in | --x-i)
1069 ac_prev=x_includes ;;
1070 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1071 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1072 x_includes=$ac_optarg ;;
1074 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1075 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1076 ac_prev=x_libraries ;;
1077 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1078 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1079 x_libraries=$ac_optarg ;;
1081 -*) { echo "$as_me: error: unrecognized option: $ac_option
1082 Try \`$0 --help' for more information." >&2
1083 { (exit 1); exit 1; }; }
1087 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1090 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1091 { (exit 1); exit 1; }; }
1092 eval $ac_envvar=\$ac_optarg
1093 export $ac_envvar ;;
1096 # FIXME: should be removed in autoconf 3.0.
1097 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1098 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1099 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1100 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1106 if test -n "$ac_prev"; then
1107 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1108 { echo "$as_me: error: missing argument to $ac_option" >&2
1109 { (exit 1); exit 1; }; }
1112 # Be sure to have absolute directory names.
1113 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1114 datadir sysconfdir sharedstatedir localstatedir includedir \
1115 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1116 libdir localedir mandir
1118 eval ac_val=\$$ac_var
1120 [\\/$]* | ?:[\\/]* ) continue;;
1121 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1123 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1124 { (exit 1); exit 1; }; }
1127 # There might be people who depend on the old broken behavior: `$host'
1128 # used to hold the argument of --host etc.
1129 # FIXME: To remove some day.
1132 target=$target_alias
1134 # FIXME: To remove some day.
1135 if test "x$host_alias" != x; then
1136 if test "x$build_alias" = x; then
1137 cross_compiling=maybe
1138 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1139 If a cross compiler is detected then cross compile mode will be used." >&2
1140 elif test "x$build_alias" != "x$host_alias"; then
1146 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1148 test "$silent" = yes && exec 6>/dev/null
1151 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1152 ac_ls_di=`ls -di .` &&
1153 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1154 { echo "$as_me: error: Working directory cannot be determined" >&2
1155 { (exit 1); exit 1; }; }
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 { echo "$as_me: error: pwd does not report name of working directory" >&2
1158 { (exit 1); exit 1; }; }
1161 # Find the source files, if location was not specified.
1162 if test -z "$srcdir"; then
1163 ac_srcdir_defaulted=yes
1164 # Try the directory containing this script, then the parent directory.
1165 ac_confdir=`$as_dirname -- "$0" ||
1166 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167 X"$0" : 'X\(//\)[^/]' \| \
1168 X"$0" : 'X\(//\)$' \| \
1169 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1193 ac_srcdir_defaulted=no
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1196 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1197 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1198 { (exit 1); exit 1; }; }
1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1203 { (exit 1); exit 1; }; }
1205 # When building in place, set srcdir=.
1206 if test "$ac_abs_confdir" = "$ac_pwd"; then
1209 # Remove unnecessary trailing slashes from srcdir.
1210 # Double slashes in file names in object file debugging info
1211 # mess up M-x gdb in Emacs.
1213 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1215 for ac_var in $ac_precious_vars; do
1216 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1217 eval ac_env_${ac_var}_value=\$${ac_var}
1218 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1219 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1223 # Report the --help message.
1225 if test "$ac_init_help" = "long"; then
1226 # Omit some internal or obsolete options to make the list less imposing.
1227 # This message is too long to be a string in the A/UX 3.1 sh.
1229 \`configure' configures eyes-widget 0.1.0 to adapt to many kinds of systems.
1231 Usage: $0 [OPTION]... [VAR=VALUE]...
1233 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1234 VAR=VALUE. See below for descriptions of some of the useful variables.
1236 Defaults for the options are specified in brackets.
1239 -h, --help display this help and exit
1240 --help=short display options specific to this package
1241 --help=recursive display the short help of all the included packages
1242 -V, --version display version information and exit
1243 -q, --quiet, --silent do not print \`checking...' messages
1244 --cache-file=FILE cache test results in FILE [disabled]
1245 -C, --config-cache alias for \`--cache-file=config.cache'
1246 -n, --no-create do not create output files
1247 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1249 Installation directories:
1250 --prefix=PREFIX install architecture-independent files in PREFIX
1251 [$ac_default_prefix]
1252 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1255 By default, \`make install' will install all the files in
1256 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1257 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1258 for instance \`--prefix=\$HOME'.
1260 For better control, use the options below.
1262 Fine tuning of the installation directories:
1263 --bindir=DIR user executables [EPREFIX/bin]
1264 --sbindir=DIR system admin executables [EPREFIX/sbin]
1265 --libexecdir=DIR program executables [EPREFIX/libexec]
1266 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1267 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1268 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1269 --libdir=DIR object code libraries [EPREFIX/lib]
1270 --includedir=DIR C header files [PREFIX/include]
1271 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1272 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1273 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1274 --infodir=DIR info documentation [DATAROOTDIR/info]
1275 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1276 --mandir=DIR man documentation [DATAROOTDIR/man]
1277 --docdir=DIR documentation root [DATAROOTDIR/doc/eyes-widget.so]
1278 --htmldir=DIR html documentation [DOCDIR]
1279 --dvidir=DIR dvi documentation [DOCDIR]
1280 --pdfdir=DIR pdf documentation [DOCDIR]
1281 --psdir=DIR ps documentation [DOCDIR]
1287 --program-prefix=PREFIX prepend PREFIX to installed program names
1288 --program-suffix=SUFFIX append SUFFIX to installed program names
1289 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1292 --build=BUILD configure for building on BUILD [guessed]
1293 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1294 --target=TARGET configure for building compilers for TARGET [HOST]
1298 if test -n "$ac_init_help"; then
1299 case $ac_init_help in
1300 short | recursive ) echo "Configuration of eyes-widget 0.1.0:";;
1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1307 --enable-maintainer-mode enable make rules and dependencies not useful
1308 (and sometimes confusing) to the casual installer
1309 --disable-dependency-tracking speeds up one-time build
1310 --enable-dependency-tracking do not reject slow dependency extractors
1313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1315 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1317 Some influential environment variables:
1318 CC C compiler command
1319 CFLAGS C compiler flags
1320 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1321 nonstandard directory <lib dir>
1322 LIBS libraries to pass to the linker, e.g. -l<library>
1323 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1324 you have headers in a nonstandard directory <include dir>
1326 PKG_CONFIG path to pkg-config utility
1328 C compiler flags for HILDON_DEPS, overriding pkg-config
1330 linker flags for HILDON_DEPS, overriding pkg-config
1332 Use these variables to override the choices made by `configure' or to help
1333 it to find libraries and programs with nonstandard names/locations.
1335 Report bugs to <http://bugs.maemo.org>.
1340 if test "$ac_init_help" = "recursive"; then
1341 # If there are subdirs, report their specific --help.
1342 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1343 test -d "$ac_dir" || continue
1347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1349 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1350 # A ".." for each directory in $ac_dir_suffix.
1351 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1352 case $ac_top_builddir_sub in
1353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1357 ac_abs_top_builddir=$ac_pwd
1358 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1359 # for backward compatibility:
1360 ac_top_builddir=$ac_top_build_prefix
1363 .) # We are building in place.
1365 ac_top_srcdir=$ac_top_builddir_sub
1366 ac_abs_top_srcdir=$ac_pwd ;;
1367 [\\/]* | ?:[\\/]* ) # Absolute name.
1368 ac_srcdir=$srcdir$ac_dir_suffix;
1369 ac_top_srcdir=$srcdir
1370 ac_abs_top_srcdir=$srcdir ;;
1372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1373 ac_top_srcdir=$ac_top_build_prefix$srcdir
1374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1378 cd "$ac_dir" || { ac_status=$?; continue; }
1379 # Check for guested configure.
1380 if test -f "$ac_srcdir/configure.gnu"; then
1382 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1383 elif test -f "$ac_srcdir/configure"; then
1385 $SHELL "$ac_srcdir/configure" --help=recursive
1387 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1389 cd "$ac_pwd" || { ac_status=$?; break; }
1393 test -n "$ac_init_help" && exit $ac_status
1394 if $ac_init_version; then
1396 eyes-widget configure 0.1.0
1397 generated by GNU Autoconf 2.61
1399 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1400 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1401 This configure script is free software; the Free Software Foundation
1402 gives unlimited permission to copy, distribute and modify it.
1406 cat >config.log <<_ACEOF
1407 This file contains any messages produced by compilers while
1408 running configure, to aid debugging if configure makes a mistake.
1410 It was created by eyes-widget $as_me 0.1.0, which was
1411 generated by GNU Autoconf 2.61. Invocation command line was
1423 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1424 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1425 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1426 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1427 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1429 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1430 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1432 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1433 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1434 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1435 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1436 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1437 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1438 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1446 test -z "$as_dir" && as_dir=.
1447 echo "PATH: $as_dir"
1463 # Keep a trace of the command line.
1464 # Strip out --no-create and --no-recursion so they do not pile up.
1465 # Strip out --silent because we don't want to record it for future runs.
1466 # Also quote any args containing shell meta-characters.
1467 # Make two passes to allow for proper duplicate-argument suppression.
1471 ac_must_keep_next=false
1477 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1479 | -silent | --silent | --silen | --sile | --sil)
1482 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1485 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1487 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1488 if test $ac_must_keep_next = true; then
1489 ac_must_keep_next=false # Got value, back to normal.
1492 *=* | --config-cache | -C | -disable-* | --disable-* \
1493 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1494 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1495 | -with-* | --with-* | -without-* | --without-* | --x)
1496 case "$ac_configure_args0 " in
1497 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1500 -* ) ac_must_keep_next=true ;;
1503 ac_configure_args="$ac_configure_args '$ac_arg'"
1508 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1509 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1511 # When interrupted or exit'd, cleanup temporary files, and complete
1512 # config.log. We remove comments because anyway the quotes in there
1513 # would cause problems or look ugly.
1514 # WARNING: Use '\'' to represent an apostrophe within the trap.
1515 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1516 trap 'exit_status=$?
1517 # Save into config.log some information that might help in debugging.
1522 ## ---------------- ##
1523 ## Cache variables. ##
1524 ## ---------------- ##
1527 # The following way of writing the cache mishandles newlines in values,
1529 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1530 eval ac_val=\$$ac_var
1534 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1535 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1538 _ | IFS | as_nl) ;; #(
1539 *) $as_unset $ac_var ;;
1544 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1545 *${as_nl}ac_space=\ *)
1547 "s/'\''/'\''\\\\'\'''\''/g;
1548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1559 ## ----------------- ##
1560 ## Output variables. ##
1561 ## ----------------- ##
1564 for ac_var in $ac_subst_vars
1566 eval ac_val=\$$ac_var
1568 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1570 echo "$ac_var='\''$ac_val'\''"
1574 if test -n "$ac_subst_files"; then
1576 ## ------------------- ##
1577 ## File substitutions. ##
1578 ## ------------------- ##
1581 for ac_var in $ac_subst_files
1583 eval ac_val=\$$ac_var
1585 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1587 echo "$ac_var='\''$ac_val'\''"
1592 if test -s confdefs.h; then
1602 test "$ac_signal" != 0 &&
1603 echo "$as_me: caught signal $ac_signal"
1604 echo "$as_me: exit $exit_status"
1606 rm -f core *.core core.conftest.* &&
1607 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1610 for ac_signal in 1 2 13 15; do
1611 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1615 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1616 rm -f -r conftest* confdefs.h
1618 # Predefined preprocessor variables.
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_NAME "$PACKAGE_NAME"
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_STRING "$PACKAGE_STRING"
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1645 # Let the site file select an alternate cache file if it wants to.
1646 # Prefer explicitly selected file to automatically selected ones.
1647 if test -n "$CONFIG_SITE"; then
1648 set x "$CONFIG_SITE"
1649 elif test "x$prefix" != xNONE; then
1650 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1652 set x "$ac_default_prefix/share/config.site" \
1653 "$ac_default_prefix/etc/config.site"
1658 if test -r "$ac_site_file"; then
1659 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1660 echo "$as_me: loading site script $ac_site_file" >&6;}
1661 sed 's/^/| /' "$ac_site_file" >&5
1666 if test -r "$cache_file"; then
1667 # Some versions of bash will fail to source /dev/null (special
1668 # files actually), so we avoid doing that.
1669 if test -f "$cache_file"; then
1670 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1671 echo "$as_me: loading cache $cache_file" >&6;}
1673 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1674 *) . "./$cache_file";;
1678 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1679 echo "$as_me: creating cache $cache_file" >&6;}
1683 # Check that the precious variables saved in the cache have kept the same
1685 ac_cache_corrupted=false
1686 for ac_var in $ac_precious_vars; do
1687 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1688 eval ac_new_set=\$ac_env_${ac_var}_set
1689 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1690 eval ac_new_val=\$ac_env_${ac_var}_value
1691 case $ac_old_set,$ac_new_set in
1693 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1694 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1695 ac_cache_corrupted=: ;;
1697 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1698 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1699 ac_cache_corrupted=: ;;
1702 if test "x$ac_old_val" != "x$ac_new_val"; then
1703 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1704 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1705 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1706 echo "$as_me: former value: $ac_old_val" >&2;}
1707 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1708 echo "$as_me: current value: $ac_new_val" >&2;}
1709 ac_cache_corrupted=:
1712 # Pass precious variables to config.status.
1713 if test "$ac_new_set" = set; then
1715 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1716 *) ac_arg=$ac_var=$ac_new_val ;;
1718 case " $ac_configure_args " in
1719 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1720 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1724 if $ac_cache_corrupted; then
1725 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1726 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1727 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1728 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1729 { (exit 1); exit 1; }; }
1757 ac_cpp='$CPP $CPPFLAGS'
1758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1766 if test -f "$ac_dir/install-sh"; then
1768 ac_install_sh="$ac_aux_dir/install-sh -c"
1770 elif test -f "$ac_dir/install.sh"; then
1772 ac_install_sh="$ac_aux_dir/install.sh -c"
1774 elif test -f "$ac_dir/shtool"; then
1776 ac_install_sh="$ac_aux_dir/shtool install -c"
1780 if test -z "$ac_aux_dir"; then
1781 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1782 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1783 { (exit 1); exit 1; }; }
1786 # These three variables are undocumented and unsupported,
1787 # and are intended to be withdrawn in a future Autoconf release.
1788 # They can cause serious problems if a builder's source tree is in a directory
1789 # whose full name contains unusual characters.
1790 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1791 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1792 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1795 # Make sure we can run config.sub.
1796 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1797 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1798 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1799 { (exit 1); exit 1; }; }
1801 { echo "$as_me:$LINENO: checking build system type" >&5
1802 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1803 if test "${ac_cv_build+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 ac_build_alias=$build_alias
1807 test "x$ac_build_alias" = x &&
1808 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1809 test "x$ac_build_alias" = x &&
1810 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1811 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1812 { (exit 1); exit 1; }; }
1813 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1814 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1815 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1816 { (exit 1); exit 1; }; }
1819 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1820 echo "${ECHO_T}$ac_cv_build" >&6; }
1821 case $ac_cv_build in
1823 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1824 echo "$as_me: error: invalid value of canonical build" >&2;}
1825 { (exit 1); exit 1; }; };;
1828 ac_save_IFS=$IFS; IFS='-'
1834 # Remember, the first character of IFS is used to create $*,
1835 # except with old shells:
1838 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1841 { echo "$as_me:$LINENO: checking host system type" >&5
1842 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1843 if test "${ac_cv_host+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 if test "x$host_alias" = x; then
1847 ac_cv_host=$ac_cv_build
1849 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1850 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1851 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1852 { (exit 1); exit 1; }; }
1856 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1857 echo "${ECHO_T}$ac_cv_host" >&6; }
1860 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1861 echo "$as_me: error: invalid value of canonical host" >&2;}
1862 { (exit 1); exit 1; }; };;
1865 ac_save_IFS=$IFS; IFS='-'
1871 # Remember, the first character of IFS is used to create $*,
1872 # except with old shells:
1875 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1878 { echo "$as_me:$LINENO: checking target system type" >&5
1879 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1880 if test "${ac_cv_target+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test "x$target_alias" = x; then
1884 ac_cv_target=$ac_cv_host
1886 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1887 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1888 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1889 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1894 echo "${ECHO_T}$ac_cv_target" >&6; }
1895 case $ac_cv_target in
1897 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1898 echo "$as_me: error: invalid value of canonical target" >&2;}
1899 { (exit 1); exit 1; }; };;
1901 target=$ac_cv_target
1902 ac_save_IFS=$IFS; IFS='-'
1908 # Remember, the first character of IFS is used to create $*,
1909 # except with old shells:
1912 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1915 # The aliases save the names the user supplied, while $host etc.
1916 # will get canonicalized.
1917 test -n "$target_alias" &&
1918 test "$program_prefix$program_suffix$program_transform_name" = \
1920 program_prefix=${target_alias}-
1923 am__api_version="1.8"
1924 # Find a good install program. We prefer a C program (faster),
1925 # so one script is as good as another. But avoid the broken or
1926 # incompatible versions:
1927 # SysV /etc/install, /usr/sbin/install
1928 # SunOS /usr/etc/install
1929 # IRIX /sbin/install
1931 # AmigaOS /C/install, which installs bootblocks on floppy discs
1932 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1933 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1934 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1935 # OS/2's system install, which has a completely different semantic
1936 # ./install, which can be erroneously created by make from ./install.sh.
1937 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1938 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1939 if test -z "$INSTALL"; then
1940 if test "${ac_cv_path_install+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 # Account for people who put trailing slashes in PATH elements.
1950 ./ | .// | /cC/* | \
1951 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1952 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1955 # OSF1 and SCO ODT 3.0 have their own names for install.
1956 # Don't use installbsd from OSF since it installs stuff as root
1958 for ac_prog in ginstall scoinst install; do
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1961 if test $ac_prog = install &&
1962 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1963 # AIX install. It has an incompatible calling convention.
1965 elif test $ac_prog = install &&
1966 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1967 # program-specific install script used by HP pwplus--don't use.
1970 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1983 if test "${ac_cv_path_install+set}" = set; then
1984 INSTALL=$ac_cv_path_install
1986 # As a last resort, use the slow shell script. Don't cache a
1987 # value for INSTALL within a source directory, because that will
1988 # break other packages using the cache if that directory is
1989 # removed, or if the value is a relative name.
1990 INSTALL=$ac_install_sh
1993 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1994 echo "${ECHO_T}$INSTALL" >&6; }
1996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1997 # It thinks the first close brace ends the variable substitution.
1998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2002 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2004 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2005 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2008 echo timestamp > conftest.file
2009 # Do `set' in a subshell so we don't clobber the current shell's
2010 # arguments. Must try -L first in case configure is actually a
2011 # symlink; some systems play weird games with the mod time of symlinks
2012 # (eg FreeBSD returns the mod time of the symlink's containing
2015 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2016 if test "$*" = "X"; then
2018 set X `ls -t $srcdir/configure conftest.file`
2021 if test "$*" != "X $srcdir/configure conftest.file" \
2022 && test "$*" != "X conftest.file $srcdir/configure"; then
2024 # If neither matched, then we have a broken ls. This can happen
2025 # if, for instance, CONFIG_SHELL is bash and it inherits a
2026 # broken ls alias from the environment. This has actually
2027 # happened. Such a system could not be considered "sane".
2028 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2029 alias in your environment" >&5
2030 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2031 alias in your environment" >&2;}
2032 { (exit 1); exit 1; }; }
2035 test "$2" = conftest.file
2041 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2042 Check your system clock" >&5
2043 echo "$as_me: error: newly created file is older than distributed files!
2044 Check your system clock" >&2;}
2045 { (exit 1); exit 1; }; }
2047 { echo "$as_me:$LINENO: result: yes" >&5
2048 echo "${ECHO_T}yes" >&6; }
2049 test "$program_prefix" != NONE &&
2050 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2051 # Use a double $ so make ignores it.
2052 test "$program_suffix" != NONE &&
2053 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2054 # Double any \ or $. echo might interpret backslashes.
2055 # By default was `s,x,x', remove it if useless.
2056 cat <<\_ACEOF >conftest.sed
2057 s/[\\$]/&&/g;s/;s,x,x,$//
2059 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2062 # expand $ac_aux_dir to an absolute path
2063 am_aux_dir=`cd $ac_aux_dir && pwd`
2065 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2066 # Use eval to expand $SHELL
2067 if eval "$MISSING --run true"; then
2068 am_missing_run="$MISSING --run "
2071 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2072 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2075 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2076 # Keeping the `.' argument allows $(mkdir_p) to be used without
2077 # argument. Indeed, we sometimes output rules like
2078 # $(mkdir_p) $(somedir)
2079 # where $(somedir) is conditionally defined.
2080 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
2081 # expensive solution, as it forces Make to start a sub-shell.)
2082 mkdir_p='mkdir -p -- .'
2084 # On NextStep and OpenStep, the `mkdir' command does not
2085 # recognize any option. It will interpret all options as
2086 # directories to create, and then abort because `.' already
2088 for d in ./-p ./--version;
2090 test -d $d && rmdir $d
2092 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2093 if test -f "$ac_aux_dir/mkinstalldirs"; then
2094 mkdir_p='$(mkinstalldirs)'
2096 mkdir_p='$(install_sh) -d'
2100 for ac_prog in gawk mawk nawk awk
2102 # Extract the first word of "$ac_prog", so it can be a program name with args.
2103 set dummy $ac_prog; ac_word=$2
2104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2106 if test "${ac_cv_prog_AWK+set}" = set; then
2107 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 if test -n "$AWK"; then
2110 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir=.
2117 for ac_exec_ext in '' $ac_executable_extensions; do
2118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2119 ac_cv_prog_AWK="$ac_prog"
2120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 if test -n "$AWK"; then
2131 { echo "$as_me:$LINENO: result: $AWK" >&5
2132 echo "${ECHO_T}$AWK" >&6; }
2134 { echo "$as_me:$LINENO: result: no" >&5
2135 echo "${ECHO_T}no" >&6; }
2139 test -n "$AWK" && break
2142 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2143 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2144 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2145 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 cat >conftest.make <<\_ACEOF
2151 @echo '@@@%%%=$(MAKE)=@@@%%%'
2153 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2154 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2156 eval ac_cv_prog_make_${ac_make}_set=yes;;
2158 eval ac_cv_prog_make_${ac_make}_set=no;;
2162 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2163 { echo "$as_me:$LINENO: result: yes" >&5
2164 echo "${ECHO_T}yes" >&6; }
2167 { echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6; }
2169 SET_MAKE="MAKE=${MAKE-make}"
2172 rm -rf .tst 2>/dev/null
2173 mkdir .tst 2>/dev/null
2174 if test -d .tst; then
2179 rmdir .tst 2>/dev/null
2181 # test to see if srcdir already configured
2182 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2183 test -f $srcdir/config.status; then
2184 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2185 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2186 { (exit 1); exit 1; }; }
2189 # test whether we have cygpath
2190 if test -z "$CYGPATH_W"; then
2191 if (cygpath --version) >/dev/null 2>/dev/null; then
2192 CYGPATH_W='cygpath -w'
2199 # Define the identity of the package.
2200 PACKAGE='eyes-widget.so'
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE "$PACKAGE"
2209 cat >>confdefs.h <<_ACEOF
2210 #define VERSION "$VERSION"
2213 # Some tools Automake needs.
2215 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2218 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2221 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2224 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2227 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2230 AMTAR=${AMTAR-"${am_missing_run}tar"}
2232 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2234 # Installed binaries are usually stripped using `strip' when the user
2235 # run `make install-strip'. However `strip' might not be the right
2236 # tool to use in cross-compilation environments, therefore Automake
2237 # will honor the `STRIP' environment variable to overrule this program.
2238 if test "$cross_compiling" != no; then
2239 if test -n "$ac_tool_prefix"; then
2240 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2241 set dummy ${ac_tool_prefix}strip; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_STRIP+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 if test -n "$STRIP"; then
2248 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 STRIP=$ac_cv_prog_STRIP
2268 if test -n "$STRIP"; then
2269 { echo "$as_me:$LINENO: result: $STRIP" >&5
2270 echo "${ECHO_T}$STRIP" >&6; }
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2278 if test -z "$ac_cv_prog_STRIP"; then
2280 # Extract the first word of "strip", so it can be a program name with args.
2281 set dummy strip; ac_word=$2
2282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2284 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 if test -n "$ac_ct_STRIP"; then
2288 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2297 ac_cv_prog_ac_ct_STRIP="strip"
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2308 if test -n "$ac_ct_STRIP"; then
2309 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2310 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2312 { echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6; }
2316 if test "x$ac_ct_STRIP" = x; then
2319 case $cross_compiling:$ac_tool_warned in
2321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2322 whose name does not start with the host triplet. If you think this
2323 configuration is useful to you, please write to autoconf@gnu.org." >&5
2324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2325 whose name does not start with the host triplet. If you think this
2326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2327 ac_tool_warned=yes ;;
2332 STRIP="$ac_cv_prog_STRIP"
2336 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2338 # We need awk for the "check" target. The system "awk" is bad on
2343 ac_config_headers="$ac_config_headers config.h"
2345 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2346 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2347 # Check whether --enable-maintainer-mode was given.
2348 if test "${enable_maintainer_mode+set}" = set; then
2349 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2351 USE_MAINTAINER_MODE=no
2354 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2355 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2358 if test $USE_MAINTAINER_MODE = yes; then
2359 MAINTAINER_MODE_TRUE=
2360 MAINTAINER_MODE_FALSE='#'
2362 MAINTAINER_MODE_TRUE='#'
2363 MAINTAINER_MODE_FALSE=
2366 MAINT=$MAINTAINER_MODE_TRUE
2371 ac_cpp='$CPP $CPPFLAGS'
2372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2377 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2380 if test "${ac_cv_prog_CC+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$CC"; then
2384 ac_cv_prog_CC="$CC" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test -n "$CC"; then
2405 { echo "$as_me:$LINENO: result: $CC" >&5
2406 echo "${ECHO_T}$CC" >&6; }
2408 { echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6; }
2414 if test -z "$ac_cv_prog_CC"; then
2416 # Extract the first word of "gcc", so it can be a program name with args.
2417 set dummy gcc; ac_word=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test -n "$ac_ct_CC"; then
2424 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_ac_ct_CC="gcc"
2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2444 if test -n "$ac_ct_CC"; then
2445 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2446 echo "${ECHO_T}$ac_ct_CC" >&6; }
2448 { echo "$as_me:$LINENO: result: no" >&5
2449 echo "${ECHO_T}no" >&6; }
2452 if test "x$ac_ct_CC" = x; then
2455 case $cross_compiling:$ac_tool_warned in
2457 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2458 whose name does not start with the host triplet. If you think this
2459 configuration is useful to you, please write to autoconf@gnu.org." >&5
2460 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2461 whose name does not start with the host triplet. If you think this
2462 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2463 ac_tool_warned=yes ;;
2471 if test -z "$CC"; then
2472 if test -n "$ac_tool_prefix"; then
2473 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2474 set dummy ${ac_tool_prefix}cc; ac_word=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test -n "$CC"; then
2481 ac_cv_prog_CC="$CC" # Let the user override the test.
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_CC="${ac_tool_prefix}cc"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 if test -n "$CC"; then
2502 { echo "$as_me:$LINENO: result: $CC" >&5
2503 echo "${ECHO_T}$CC" >&6; }
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2512 if test -z "$CC"; then
2513 # Extract the first word of "cc", so it can be a program name with args.
2514 set dummy cc; ac_word=$2
2515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2517 if test "${ac_cv_prog_CC+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2520 if test -n "$CC"; then
2521 ac_cv_prog_CC="$CC" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2532 ac_prog_rejected=yes
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 if test $ac_prog_rejected = yes; then
2544 # We found a bogon in the path, so make sure we never use it.
2545 set dummy $ac_cv_prog_CC
2547 if test $# != 0; then
2548 # We chose a different compiler from the bogus one.
2549 # However, it has the same basename, so the bogon will be chosen
2550 # first if we set CC to just the basename; use the full file name.
2552 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2558 if test -n "$CC"; then
2559 { echo "$as_me:$LINENO: result: $CC" >&5
2560 echo "${ECHO_T}$CC" >&6; }
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2568 if test -z "$CC"; then
2569 if test -n "$ac_tool_prefix"; then
2570 for ac_prog in cl.exe
2572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2576 if test "${ac_cv_prog_CC+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 if test -n "$CC"; then
2580 ac_cv_prog_CC="$CC" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 if test -n "$CC"; then
2601 { echo "$as_me:$LINENO: result: $CC" >&5
2602 echo "${ECHO_T}$CC" >&6; }
2604 { echo "$as_me:$LINENO: result: no" >&5
2605 echo "${ECHO_T}no" >&6; }
2609 test -n "$CC" && break
2612 if test -z "$CC"; then
2614 for ac_prog in cl.exe
2616 # Extract the first word of "$ac_prog", so it can be a program name with args.
2617 set dummy $ac_prog; ac_word=$2
2618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 if test -n "$ac_ct_CC"; then
2624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633 ac_cv_prog_ac_ct_CC="$ac_prog"
2634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2644 if test -n "$ac_ct_CC"; then
2645 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2646 echo "${ECHO_T}$ac_ct_CC" >&6; }
2648 { echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6; }
2653 test -n "$ac_ct_CC" && break
2656 if test "x$ac_ct_CC" = x; then
2659 case $cross_compiling:$ac_tool_warned in
2661 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2662 whose name does not start with the host triplet. If you think this
2663 configuration is useful to you, please write to autoconf@gnu.org." >&5
2664 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2665 whose name does not start with the host triplet. If you think this
2666 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2667 ac_tool_warned=yes ;;
2676 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: no acceptable C compiler found in \$PATH
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }
2682 # Provide some information about the compiler.
2683 echo "$as_me:$LINENO: checking for C compiler version" >&5
2684 ac_compiler=`set X $ac_compile; echo $2`
2685 { (ac_try="$ac_compiler --version >&5"
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2691 (eval "$ac_compiler --version >&5") 2>&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }
2695 { (ac_try="$ac_compiler -v >&5"
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2701 (eval "$ac_compiler -v >&5") 2>&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }
2705 { (ac_try="$ac_compiler -V >&5"
2707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708 *) ac_try_echo=$ac_try;;
2710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 (eval "$ac_compiler -V >&5") 2>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }
2716 cat >conftest.$ac_ext <<_ACEOF
2719 cat confdefs.h >>conftest.$ac_ext
2720 cat >>conftest.$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2731 ac_clean_files_save=$ac_clean_files
2732 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2733 # Try to create an executable without -o first, disregard a.out.
2734 # It will help us diagnose broken compilers, and finding out an intuition
2736 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2737 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2738 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2740 # List of possible output files, starting from the most likely.
2741 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2742 # only as a last resort. b.out is created by i960 compilers.
2743 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2745 # The IRIX 6 linker writes into existing files which may not be
2746 # executable, retaining their permissions. Remove them first so a
2747 # subsequent execution test works.
2749 for ac_file in $ac_files
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2753 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2758 if { (ac_try="$ac_link_default"
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_link_default") 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; then
2768 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2769 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2770 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2771 # so that the user can short-circuit this test for compilers unknown to
2773 for ac_file in $ac_files ''
2775 test -f "$ac_file" || continue
2777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2780 # We found the default executable, but exeext='' is most
2784 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2786 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2788 # We set ac_cv_exeext here because the later test for it is not
2789 # safe: cross compilers may not add the suffix if given an `-o'
2790 # argument, so we may need to know it at that point already.
2791 # Even if this section looks crufty: it has the advantage of
2798 test "$ac_cv_exeext" = no && ac_cv_exeext=
2804 { echo "$as_me:$LINENO: result: $ac_file" >&5
2805 echo "${ECHO_T}$ac_file" >&6; }
2806 if test -z "$ac_file"; then
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2810 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2811 See \`config.log' for more details." >&5
2812 echo "$as_me: error: C compiler cannot create executables
2813 See \`config.log' for more details." >&2;}
2814 { (exit 77); exit 77; }; }
2817 ac_exeext=$ac_cv_exeext
2819 # Check that the compiler produces executables we can run. If not, either
2820 # the compiler is broken, or we cross compile.
2821 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2822 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2823 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2824 # If not cross compiling, check that we can run a simple program.
2825 if test "$cross_compiling" != yes; then
2826 if { ac_try='./$ac_file'
2827 { (case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_try") 2>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; }; then
2838 if test "$cross_compiling" = maybe; then
2841 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2842 If you meant to cross compile, use \`--host'.
2843 See \`config.log' for more details." >&5
2844 echo "$as_me: error: cannot run C compiled programs.
2845 If you meant to cross compile, use \`--host'.
2846 See \`config.log' for more details." >&2;}
2847 { (exit 1); exit 1; }; }
2851 { echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6; }
2854 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2855 ac_clean_files=$ac_clean_files_save
2856 # Check that the compiler produces executables we can run. If not, either
2857 # the compiler is broken, or we cross compile.
2858 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2859 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2860 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2861 echo "${ECHO_T}$cross_compiling" >&6; }
2863 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2864 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2865 if { (ac_try="$ac_link"
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 (eval "$ac_link") 2>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2876 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2877 # work properly (i.e., refer to `conftest.exe'), while it won't with
2879 for ac_file in conftest.exe conftest conftest.*; do
2880 test -f "$ac_file" || continue
2882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2883 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2889 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2890 See \`config.log' for more details." >&5
2891 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2892 See \`config.log' for more details." >&2;}
2893 { (exit 1); exit 1; }; }
2896 rm -f conftest$ac_cv_exeext
2897 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2898 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2900 rm -f conftest.$ac_ext
2901 EXEEXT=$ac_cv_exeext
2903 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2904 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2905 if test "${ac_cv_objext+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2908 cat >conftest.$ac_ext <<_ACEOF
2911 cat confdefs.h >>conftest.$ac_ext
2912 cat >>conftest.$ac_ext <<_ACEOF
2913 /* end confdefs.h. */
2923 rm -f conftest.o conftest.obj
2924 if { (ac_try="$ac_compile"
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_compile") 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; then
2934 for ac_file in conftest.o conftest.obj conftest.*; do
2935 test -f "$ac_file" || continue;
2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2946 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2947 See \`config.log' for more details." >&5
2948 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2949 See \`config.log' for more details." >&2;}
2950 { (exit 1); exit 1; }; }
2953 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2955 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2956 echo "${ECHO_T}$ac_cv_objext" >&6; }
2957 OBJEXT=$ac_cv_objext
2959 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2960 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2961 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 cat >conftest.$ac_ext <<_ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2982 rm -f conftest.$ac_objext
2983 if { (ac_try="$ac_compile"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_compile") 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } && {
2996 test -z "$ac_c_werror_flag" ||
2997 test ! -s conftest.err
2998 } && test -s conftest.$ac_objext; then
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3011 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3012 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3013 GCC=`test $ac_compiler_gnu = yes && echo yes`
3014 ac_test_CFLAGS=${CFLAGS+set}
3015 ac_save_CFLAGS=$CFLAGS
3016 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3017 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_cc_g+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 ac_save_c_werror_flag=$ac_c_werror_flag
3022 ac_c_werror_flag=yes
3025 cat >conftest.$ac_ext <<_ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3040 rm -f conftest.$ac_objext
3041 if { (ac_try="$ac_compile"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047 (eval "$ac_compile") 2>conftest.er1
3049 grep -v '^ *+' conftest.er1 >conftest.err
3051 cat conftest.err >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } && {
3054 test -z "$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3056 } && test -s conftest.$ac_objext; then
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3063 cat >conftest.$ac_ext <<_ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3078 rm -f conftest.$ac_objext
3079 if { (ac_try="$ac_compile"
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compile") 2>conftest.er1
3087 grep -v '^ *+' conftest.er1 >conftest.err
3089 cat conftest.err >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); } && {
3092 test -z "$ac_c_werror_flag" ||
3093 test ! -s conftest.err
3094 } && test -s conftest.$ac_objext; then
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3100 ac_c_werror_flag=$ac_save_c_werror_flag
3102 cat >conftest.$ac_ext <<_ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3117 rm -f conftest.$ac_objext
3118 if { (ac_try="$ac_compile"
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_compile") 2>conftest.er1
3126 grep -v '^ *+' conftest.er1 >conftest.err
3128 cat conftest.err >&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } && {
3131 test -z "$ac_c_werror_flag" ||
3132 test ! -s conftest.err
3133 } && test -s conftest.$ac_objext; then
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_c_werror_flag=$ac_save_c_werror_flag
3151 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3152 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3153 if test "$ac_test_CFLAGS" = set; then
3154 CFLAGS=$ac_save_CFLAGS
3155 elif test $ac_cv_prog_cc_g = yes; then
3156 if test "$GCC" = yes; then
3162 if test "$GCC" = yes; then
3168 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3169 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3170 if test "${ac_cv_prog_cc_c89+set}" = set; then
3171 echo $ECHO_N "(cached) $ECHO_C" >&6
3173 ac_cv_prog_cc_c89=no
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3183 #include <sys/types.h>
3184 #include <sys/stat.h>
3185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3186 struct buf { int x; };
3187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3188 static char *e (p, i)
3194 static char *f (char * (*g) (char **, int), char **p, ...)
3199 s = g (p, va_arg (v,int));
3204 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3205 function prototypes and stuff, but not '\xHH' hex character constants.
3206 These don't provoke an error unfortunately, instead are silently treated
3207 as 'x'. The following induces an error, until -std is added to get
3208 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3209 array size at least. It's necessary to write '\x00'==0 to get something
3210 that's true only with -std. */
3211 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3213 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3214 inside strings and character constants. */
3216 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3218 int test (int i, double x);
3219 struct s1 {int (*f) (int a);};
3220 struct s2 {int (*f) (double a);};
3221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3232 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3233 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3235 CC="$ac_save_CC $ac_arg"
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3243 (eval "$ac_compile") 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } && {
3250 test -z "$ac_c_werror_flag" ||
3251 test ! -s conftest.err
3252 } && test -s conftest.$ac_objext; then
3253 ac_cv_prog_cc_c89=$ac_arg
3255 echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3261 rm -f core conftest.err conftest.$ac_objext
3262 test "x$ac_cv_prog_cc_c89" != "xno" && break
3264 rm -f conftest.$ac_ext
3269 case "x$ac_cv_prog_cc_c89" in
3271 { echo "$as_me:$LINENO: result: none needed" >&5
3272 echo "${ECHO_T}none needed" >&6; } ;;
3274 { echo "$as_me:$LINENO: result: unsupported" >&5
3275 echo "${ECHO_T}unsupported" >&6; } ;;
3277 CC="$CC $ac_cv_prog_cc_c89"
3278 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3279 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3284 ac_cpp='$CPP $CPPFLAGS'
3285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3288 DEPDIR="${am__leading_dot}deps"
3290 ac_config_commands="$ac_config_commands depfiles"
3293 am_make=${MAKE-make}
3294 cat > confinc << 'END'
3299 # If we don't find an include directive, just comment out the code.
3300 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3301 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3305 # First try GNU make style include.
3306 echo "include confinc" > confmf
3307 # We grep out `Entering directory' and `Leaving directory'
3308 # messages which can occur if `w' ends up in MAKEFLAGS.
3309 # In particular we don't look at `^make:' because GNU make might
3310 # be invoked under some other name (usually "gmake"), in which
3311 # case it prints its new name instead of `make'.
3312 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3317 # Now try BSD make style include.
3318 if test "$am__include" = "#"; then
3319 echo '.include "confinc"' > confmf
3320 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3321 am__include=.include
3328 { echo "$as_me:$LINENO: result: $_am_result" >&5
3329 echo "${ECHO_T}$_am_result" >&6; }
3330 rm -f confinc confmf
3332 # Check whether --enable-dependency-tracking was given.
3333 if test "${enable_dependency_tracking+set}" = set; then
3334 enableval=$enable_dependency_tracking;
3337 if test "x$enable_dependency_tracking" != xno; then
3338 am_depcomp="$ac_aux_dir/depcomp"
3343 if test "x$enable_dependency_tracking" != xno; then
3354 depcc="$CC" am_compiler_list=
3356 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3357 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3358 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3362 # We make a subdir and do the tests there. Otherwise we can end up
3363 # making bogus files that we don't know about and never remove. For
3364 # instance it was reported that on HP-UX the gcc test will end up
3365 # making a dummy file named `D' -- because `-MD' means `put the output
3368 # Copy depcomp to subdir because otherwise we won't find it if we're
3369 # using a relative directory.
3370 cp "$am_depcomp" conftest.dir
3372 # We will build objects and dependencies in a subdirectory because
3373 # it helps to detect inapplicable dependency modes. For instance
3374 # both Tru64's cc and ICC support -MD to output dependencies as a
3375 # side effect of compilation, but ICC will put the dependencies in
3376 # the current directory while Tru64 will put them in the object
3380 am_cv_CC_dependencies_compiler_type=none
3381 if test "$am_compiler_list" = ""; then
3382 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3384 for depmode in $am_compiler_list; do
3385 # Setup a source with many dependencies, because some compilers
3386 # like to wrap large dependency lists on column 80 (with \), and
3387 # we should not choose a depcomp mode which is confused by this.
3389 # We need to recreate these files for each test, as the compiler may
3390 # overwrite some of them when testing with obscure command lines.
3391 # This happens at least with the AIX C compiler.
3393 for i in 1 2 3 4 5 6; do
3394 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3395 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3396 # Solaris 8's {/usr,}/bin/sh.
3397 touch sub/conftst$i.h
3399 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3403 # after this tag, mechanisms are not by side-effect, so they'll
3404 # only be used when explicitly requested
3405 if test "x$enable_dependency_tracking" = xyes; then
3413 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3414 # mode. It turns out that the SunPro C++ compiler does not properly
3415 # handle `-M -o', and we need to detect this.
3416 if depmode=$depmode \
3417 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3418 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3419 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3420 >/dev/null 2>conftest.err &&
3421 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3422 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3423 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3424 # icc doesn't choke on unknown options, it will just issue warnings
3425 # or remarks (even with -Werror). So we grep stderr for any message
3426 # that says an option was ignored or not supported.
3427 # When given -MP, icc 7.0 and 7.1 complain thusly:
3428 # icc: Command line warning: ignoring option '-M'; no argument required
3429 # The diagnosis changed in icc 8.0:
3430 # icc: Command line remark: option '-MP' not supported
3431 if (grep 'ignoring option' conftest.err ||
3432 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3433 am_cv_CC_dependencies_compiler_type=$depmode
3442 am_cv_CC_dependencies_compiler_type=none
3446 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3447 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3453 test "x$enable_dependency_tracking" != xno \
3454 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3456 am__fastdepCC_FALSE='#'
3458 am__fastdepCC_TRUE='#'
3459 am__fastdepCC_FALSE=
3463 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3464 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3465 if test "${lt_cv_path_SED+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 # Loop through the user's path and test for sed and gsed.
3469 # Then use that list of sed's as ones to test for truncation.
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir=.
3475 for lt_ac_prog in sed gsed; do
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3478 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3486 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3487 # along with /bin/sed that truncates output.
3488 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3489 test ! -f $lt_ac_sed && continue
3490 cat /dev/null > conftest.in
3492 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3493 # Check for GNU sed and select it if it is found.
3494 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3495 lt_cv_path_SED=$lt_ac_sed
3499 cat conftest.in conftest.in >conftest.tmp
3500 mv conftest.tmp conftest.in
3501 cp conftest.in conftest.nl
3503 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3504 cmp -s conftest.out conftest.nl || break
3505 # 10000 chars as input seems more than enough
3506 test $lt_ac_count -gt 10 && break
3507 lt_ac_count=`expr $lt_ac_count + 1`
3508 if test $lt_ac_count -gt $lt_ac_max; then
3509 lt_ac_max=$lt_ac_count
3510 lt_cv_path_SED=$lt_ac_sed
3519 { echo "$as_me:$LINENO: result: $SED" >&5
3520 echo "${ECHO_T}$SED" >&6; }
3522 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3523 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3524 if test "${ac_cv_path_GREP+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 # Extract the first word of "grep ggrep" to use in msg output
3528 if test -z "$GREP"; then
3529 set dummy grep ggrep; ac_prog_name=$2
3530 if test "${ac_cv_path_GREP+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 ac_path_GREP_found=false
3534 # Loop through the user's path and test for each of PROGNAME-LIST
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3539 test -z "$as_dir" && as_dir=.
3540 for ac_prog in grep ggrep; do
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3543 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3544 # Check for GNU ac_path_GREP and select it if it is found.
3545 # Check for GNU $ac_path_GREP
3546 case `"$ac_path_GREP" --version 2>&1` in
3548 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3551 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3554 cat "conftest.in" "conftest.in" >"conftest.tmp"
3555 mv "conftest.tmp" "conftest.in"
3556 cp "conftest.in" "conftest.nl"
3557 echo 'GREP' >> "conftest.nl"
3558 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3559 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3560 ac_count=`expr $ac_count + 1`
3561 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3562 # Best one so far, save it but keep looking for a better one
3563 ac_cv_path_GREP="$ac_path_GREP"
3564 ac_path_GREP_max=$ac_count
3566 # 10*(2^10) chars as input seems more than enough
3567 test $ac_count -gt 10 && break
3569 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3573 $ac_path_GREP_found && break 3
3583 GREP="$ac_cv_path_GREP"
3584 if test -z "$GREP"; then
3585 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3586 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3587 { (exit 1); exit 1; }; }
3591 ac_cv_path_GREP=$GREP
3596 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3597 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3598 GREP="$ac_cv_path_GREP"
3601 { echo "$as_me:$LINENO: checking for egrep" >&5
3602 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3603 if test "${ac_cv_path_EGREP+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3607 then ac_cv_path_EGREP="$GREP -E"
3609 # Extract the first word of "egrep" to use in msg output
3610 if test -z "$EGREP"; then
3611 set dummy egrep; ac_prog_name=$2
3612 if test "${ac_cv_path_EGREP+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 ac_path_EGREP_found=false
3616 # Loop through the user's path and test for each of PROGNAME-LIST
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3621 test -z "$as_dir" && as_dir=.
3622 for ac_prog in egrep; do
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3625 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3626 # Check for GNU ac_path_EGREP and select it if it is found.
3627 # Check for GNU $ac_path_EGREP
3628 case `"$ac_path_EGREP" --version 2>&1` in
3630 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3633 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3636 cat "conftest.in" "conftest.in" >"conftest.tmp"
3637 mv "conftest.tmp" "conftest.in"
3638 cp "conftest.in" "conftest.nl"
3639 echo 'EGREP' >> "conftest.nl"
3640 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3641 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3642 ac_count=`expr $ac_count + 1`
3643 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3644 # Best one so far, save it but keep looking for a better one
3645 ac_cv_path_EGREP="$ac_path_EGREP"
3646 ac_path_EGREP_max=$ac_count
3648 # 10*(2^10) chars as input seems more than enough
3649 test $ac_count -gt 10 && break
3651 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3655 $ac_path_EGREP_found && break 3
3665 EGREP="$ac_cv_path_EGREP"
3666 if test -z "$EGREP"; then
3667 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3668 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3669 { (exit 1); exit 1; }; }
3673 ac_cv_path_EGREP=$EGREP
3679 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3680 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3681 EGREP="$ac_cv_path_EGREP"
3685 # Check whether --with-gnu-ld was given.
3686 if test "${with_gnu_ld+set}" = set; then
3687 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3693 if test "$GCC" = yes; then
3694 # Check if gcc -print-prog-name=ld gives a path.
3695 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3696 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3699 # gcc leaves a trailing carriage return which upsets mingw
3700 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3702 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3705 # Accept absolute paths.
3707 re_direlt='/[^/][^/]*/\.\./'
3708 # Canonicalize the pathname of ld
3709 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3710 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3711 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3713 test -z "$LD" && LD="$ac_prog"
3716 # If it fails, then pretend we aren't using GCC.
3720 # If it is relative, then search for the first ld in PATH.
3724 elif test "$with_gnu_ld" = yes; then
3725 { echo "$as_me:$LINENO: checking for GNU ld" >&5
3726 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3728 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3729 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3731 if test "${lt_cv_path_LD+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 if test -z "$LD"; then
3735 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3736 for ac_dir in $PATH; do
3738 test -z "$ac_dir" && ac_dir=.
3739 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3740 lt_cv_path_LD="$ac_dir/$ac_prog"
3741 # Check to see if the program is GNU ld. I'd rather use --version,
3742 # but apparently some variants of GNU ld only accept -v.
3743 # Break only if it was the GNU/non-GNU ld that we prefer.
3744 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3745 *GNU* | *'with BFD'*)
3746 test "$with_gnu_ld" != no && break
3749 test "$with_gnu_ld" != yes && break
3756 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3761 if test -n "$LD"; then
3762 { echo "$as_me:$LINENO: result: $LD" >&5
3763 echo "${ECHO_T}$LD" >&6; }
3765 { echo "$as_me:$LINENO: result: no" >&5
3766 echo "${ECHO_T}no" >&6; }
3768 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3769 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3770 { (exit 1); exit 1; }; }
3771 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3772 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3773 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3777 case `$LD -v 2>&1 </dev/null` in
3778 *GNU* | *'with BFD'*)
3779 lt_cv_prog_gnu_ld=yes
3782 lt_cv_prog_gnu_ld=no
3786 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3787 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3788 with_gnu_ld=$lt_cv_prog_gnu_ld
3791 # Find a good install program. We prefer a C program (faster),
3792 # so one script is as good as another. But avoid the broken or
3793 # incompatible versions:
3794 # SysV /etc/install, /usr/sbin/install
3795 # SunOS /usr/etc/install
3796 # IRIX /sbin/install
3798 # AmigaOS /C/install, which installs bootblocks on floppy discs
3799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3802 # OS/2's system install, which has a completely different semantic
3803 # ./install, which can be erroneously created by make from ./install.sh.
3804 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3805 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3806 if test -z "$INSTALL"; then
3807 if test "${ac_cv_path_install+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir=.
3815 # Account for people who put trailing slashes in PATH elements.
3817 ./ | .// | /cC/* | \
3818 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3819 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3822 # OSF1 and SCO ODT 3.0 have their own names for install.
3823 # Don't use installbsd from OSF since it installs stuff as root
3825 for ac_prog in ginstall scoinst install; do
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3828 if test $ac_prog = install &&
3829 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3830 # AIX install. It has an incompatible calling convention.
3832 elif test $ac_prog = install &&
3833 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3834 # program-specific install script used by HP pwplus--don't use.
3837 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3850 if test "${ac_cv_path_install+set}" = set; then
3851 INSTALL=$ac_cv_path_install
3853 # As a last resort, use the slow shell script. Don't cache a
3854 # value for INSTALL within a source directory, because that will
3855 # break other packages using the cache if that directory is
3856 # removed, or if the value is a relative name.
3857 INSTALL=$ac_install_sh
3860 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3861 echo "${ECHO_T}$INSTALL" >&6; }
3863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3864 # It thinks the first close brace ends the variable substitution.
3865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3874 ac_cpp='$CPP $CPPFLAGS'
3875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3879 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3880 # On Suns, sometimes $CPP names a directory.
3881 if test -n "$CPP" && test -d "$CPP"; then
3884 if test -z "$CPP"; then
3885 if test "${ac_cv_prog_CPP+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 # Double quotes because CPP needs to be expanded
3889 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3892 for ac_c_preproc_warn_flag in '' yes
3894 # Use a header file that comes with gcc, so configuring glibc
3895 # with a fresh cross-compiler works.
3896 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3897 # <limits.h> exists even on freestanding compilers.
3898 # On the NeXT, cc -E runs the code through the compiler's parser,
3899 # not just through cpp. "Syntax error" is here to catch this case.
3900 cat >conftest.$ac_ext <<_ACEOF
3903 cat confdefs.h >>conftest.$ac_ext
3904 cat >>conftest.$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3907 # include <limits.h>
3909 # include <assert.h>
3913 if { (ac_try="$ac_cpp conftest.$ac_ext"
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3921 grep -v '^ *+' conftest.er1 >conftest.err
3923 cat conftest.err >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } >/dev/null && {
3926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3927 test ! -s conftest.err
3931 echo "$as_me: failed program was:" >&5
3932 sed 's/^/| /' conftest.$ac_ext >&5
3934 # Broken: fails on valid input.
3938 rm -f conftest.err conftest.$ac_ext
3940 # OK, works on sane cases. Now check whether nonexistent headers
3941 # can be detected and how.
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3948 #include <ac_nonexistent.h>
3950 if { (ac_try="$ac_cpp conftest.$ac_ext"
3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3958 grep -v '^ *+' conftest.er1 >conftest.err
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null && {
3963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3964 test ! -s conftest.err
3966 # Broken: success on invalid input.
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3972 # Passes both tests.
3977 rm -f conftest.err conftest.$ac_ext
3980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3981 rm -f conftest.err conftest.$ac_ext
3982 if $ac_preproc_ok; then
3994 { echo "$as_me:$LINENO: result: $CPP" >&5
3995 echo "${ECHO_T}$CPP" >&6; }
3997 for ac_c_preproc_warn_flag in '' yes
3999 # Use a header file that comes with gcc, so configuring glibc
4000 # with a fresh cross-compiler works.
4001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4002 # <limits.h> exists even on freestanding compilers.
4003 # On the NeXT, cc -E runs the code through the compiler's parser,
4004 # not just through cpp. "Syntax error" is here to catch this case.
4005 cat >conftest.$ac_ext <<_ACEOF
4008 cat confdefs.h >>conftest.$ac_ext
4009 cat >>conftest.$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4012 # include <limits.h>
4014 # include <assert.h>
4018 if { (ac_try="$ac_cpp conftest.$ac_ext"
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4026 grep -v '^ *+' conftest.er1 >conftest.err
4028 cat conftest.err >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } >/dev/null && {
4031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4032 test ! -s conftest.err
4036 echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.$ac_ext >&5
4039 # Broken: fails on valid input.
4043 rm -f conftest.err conftest.$ac_ext
4045 # OK, works on sane cases. Now check whether nonexistent headers
4046 # can be detected and how.
4047 cat >conftest.$ac_ext <<_ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 #include <ac_nonexistent.h>
4055 if { (ac_try="$ac_cpp conftest.$ac_ext"
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4061 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4063 grep -v '^ *+' conftest.er1 >conftest.err
4065 cat conftest.err >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); } >/dev/null && {
4068 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4069 test ! -s conftest.err
4071 # Broken: success on invalid input.
4074 echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.$ac_ext >&5
4077 # Passes both tests.
4082 rm -f conftest.err conftest.$ac_ext
4085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4086 rm -f conftest.err conftest.$ac_ext
4087 if $ac_preproc_ok; then
4090 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4091 See \`config.log' for more details." >&5
4092 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4093 See \`config.log' for more details." >&2;}
4094 { (exit 1); exit 1; }; }
4098 ac_cpp='$CPP $CPPFLAGS'
4099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4104 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4105 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4106 if test "${ac_cv_header_stdc+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 cat >conftest.$ac_ext <<_ACEOF
4112 cat confdefs.h >>conftest.$ac_ext
4113 cat >>conftest.$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4128 rm -f conftest.$ac_objext
4129 if { (ac_try="$ac_compile"
4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4135 (eval "$ac_compile") 2>conftest.er1
4137 grep -v '^ *+' conftest.er1 >conftest.err
4139 cat conftest.err >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } && {
4142 test -z "$ac_c_werror_flag" ||
4143 test ! -s conftest.err
4144 } && test -s conftest.$ac_objext; then
4145 ac_cv_header_stdc=yes
4147 echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.$ac_ext >&5
4150 ac_cv_header_stdc=no
4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 if test $ac_cv_header_stdc = yes; then
4156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4157 cat >conftest.$ac_ext <<_ACEOF
4160 cat confdefs.h >>conftest.$ac_ext
4161 cat >>conftest.$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4167 $EGREP "memchr" >/dev/null 2>&1; then
4170 ac_cv_header_stdc=no
4176 if test $ac_cv_header_stdc = yes; then
4177 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4178 cat >conftest.$ac_ext <<_ACEOF
4181 cat confdefs.h >>conftest.$ac_ext
4182 cat >>conftest.$ac_ext <<_ACEOF
4183 /* end confdefs.h. */
4187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4188 $EGREP "free" >/dev/null 2>&1; then
4191 ac_cv_header_stdc=no
4197 if test $ac_cv_header_stdc = yes; then
4198 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4199 if test "$cross_compiling" = yes; then
4202 cat >conftest.$ac_ext <<_ACEOF
4205 cat confdefs.h >>conftest.$ac_ext
4206 cat >>conftest.$ac_ext <<_ACEOF
4207 /* end confdefs.h. */
4210 #if ((' ' & 0x0FF) == 0x020)
4211 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4212 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4214 # define ISLOWER(c) \
4215 (('a' <= (c) && (c) <= 'i') \
4216 || ('j' <= (c) && (c) <= 'r') \
4217 || ('s' <= (c) && (c) <= 'z'))
4218 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4221 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4226 for (i = 0; i < 256; i++)
4227 if (XOR (islower (i), ISLOWER (i))
4228 || toupper (i) != TOUPPER (i))
4233 rm -f conftest$ac_exeext
4234 if { (ac_try="$ac_link"
4236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4237 *) ac_try_echo=$ac_try;;
4239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4240 (eval "$ac_link") 2>&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4244 { (case "(($ac_try" in
4245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249 (eval "$ac_try") 2>&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; }; then
4255 echo "$as_me: program exited with status $ac_status" >&5
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4260 ac_cv_header_stdc=no
4262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4268 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4269 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4270 if test $ac_cv_header_stdc = yes; then
4272 cat >>confdefs.h <<\_ACEOF
4273 #define STDC_HEADERS 1
4278 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4288 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4289 inttypes.h stdint.h unistd.h
4291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4295 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 cat >conftest.$ac_ext <<_ACEOF
4300 cat confdefs.h >>conftest.$ac_ext
4301 cat >>conftest.$ac_ext <<_ACEOF
4302 /* end confdefs.h. */
4303 $ac_includes_default
4305 #include <$ac_header>
4307 rm -f conftest.$ac_objext
4308 if { (ac_try="$ac_compile"
4310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4311 *) ac_try_echo=$ac_try;;
4313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4314 (eval "$ac_compile") 2>conftest.er1
4316 grep -v '^ *+' conftest.er1 >conftest.err
4318 cat conftest.err >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); } && {
4321 test -z "$ac_c_werror_flag" ||
4322 test ! -s conftest.err
4323 } && test -s conftest.$ac_objext; then
4324 eval "$as_ac_Header=yes"
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4329 eval "$as_ac_Header=no"
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334 ac_res=`eval echo '${'$as_ac_Header'}'`
4335 { echo "$as_me:$LINENO: result: $ac_res" >&5
4336 echo "${ECHO_T}$ac_res" >&6; }
4337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4338 cat >>confdefs.h <<_ACEOF
4339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4348 for ac_header in math.h
4350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4352 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 ac_res=`eval echo '${'$as_ac_Header'}'`
4358 { echo "$as_me:$LINENO: result: $ac_res" >&5
4359 echo "${ECHO_T}$ac_res" >&6; }
4361 # Is the header compilable?
4362 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4364 cat >conftest.$ac_ext <<_ACEOF
4367 cat confdefs.h >>conftest.$ac_ext
4368 cat >>conftest.$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4370 $ac_includes_default
4371 #include <$ac_header>
4373 rm -f conftest.$ac_objext
4374 if { (ac_try="$ac_compile"
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_compile") 2>conftest.er1
4382 grep -v '^ *+' conftest.er1 >conftest.err
4384 cat conftest.err >&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); } && {
4387 test -z "$ac_c_werror_flag" ||
4388 test ! -s conftest.err
4389 } && test -s conftest.$ac_objext; then
4390 ac_header_compiler=yes
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 ac_header_compiler=no
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4400 echo "${ECHO_T}$ac_header_compiler" >&6; }
4402 # Is the header present?
4403 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4405 cat >conftest.$ac_ext <<_ACEOF
4408 cat confdefs.h >>conftest.$ac_ext
4409 cat >>conftest.$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4411 #include <$ac_header>
4413 if { (ac_try="$ac_cpp conftest.$ac_ext"
4415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4421 grep -v '^ *+' conftest.er1 >conftest.err
4423 cat conftest.err >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } >/dev/null && {
4426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4427 test ! -s conftest.err
4429 ac_header_preproc=yes
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4434 ac_header_preproc=no
4437 rm -f conftest.err conftest.$ac_ext
4438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4439 echo "${ECHO_T}$ac_header_preproc" >&6; }
4441 # So? What about this header?
4442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4444 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4445 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4447 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4448 ac_header_preproc=yes
4451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4455 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4456 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4457 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4458 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4461 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4462 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4464 ## ------------------------------------ ##
4465 ## Report this to http://bugs.maemo.org ##
4466 ## ------------------------------------ ##
4468 ) | sed "s/^/$as_me: WARNING: /" >&2
4471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4476 eval "$as_ac_Header=\$ac_header_preproc"
4478 ac_res=`eval echo '${'$as_ac_Header'}'`
4479 { echo "$as_me:$LINENO: result: $ac_res" >&5
4480 echo "${ECHO_T}$ac_res" >&6; }
4483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4484 cat >>confdefs.h <<_ACEOF
4485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4494 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
4495 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
4496 if test "${ac_cv_lib_m_sin+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 ac_check_lib_save_LIBS=$LIBS
4501 cat >conftest.$ac_ext <<_ACEOF
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4508 /* Override any GCC internal prototype to avoid an error.
4509 Use char because int might match the return type of a GCC
4510 builtin and then its argument prototype would still apply. */
4523 rm -f conftest.$ac_objext conftest$ac_exeext
4524 if { (ac_try="$ac_link"
4526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4530 (eval "$ac_link") 2>conftest.er1
4532 grep -v '^ *+' conftest.er1 >conftest.err
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } && {
4537 test -z "$ac_c_werror_flag" ||
4538 test ! -s conftest.err
4539 } && test -s conftest$ac_exeext &&
4540 $as_test_x conftest$ac_exeext; then
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4550 conftest$ac_exeext conftest.$ac_ext
4551 LIBS=$ac_check_lib_save_LIBS
4553 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
4554 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
4555 if test $ac_cv_lib_m_sin = yes; then
4556 cat >>confdefs.h <<_ACEOF
4567 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4568 if test -n "$ac_tool_prefix"; then
4569 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4570 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4573 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4599 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4600 if test -n "$PKG_CONFIG"; then
4601 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4602 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4604 { echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6; }
4610 if test -z "$ac_cv_path_PKG_CONFIG"; then
4611 ac_pt_PKG_CONFIG=$PKG_CONFIG
4612 # Extract the first word of "pkg-config", so it can be a program name with args.
4613 set dummy pkg-config; ac_word=$2
4614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4616 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 case $ac_pt_PKG_CONFIG in
4621 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4643 if test -n "$ac_pt_PKG_CONFIG"; then
4644 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4645 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4647 { echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6; }
4651 if test "x$ac_pt_PKG_CONFIG" = x; then
4654 case $cross_compiling:$ac_tool_warned in
4656 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4657 whose name does not start with the host triplet. If you think this
4658 configuration is useful to you, please write to autoconf@gnu.org." >&5
4659 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4660 whose name does not start with the host triplet. If you think this
4661 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4662 ac_tool_warned=yes ;;
4664 PKG_CONFIG=$ac_pt_PKG_CONFIG
4667 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4671 if test -n "$PKG_CONFIG"; then
4672 _pkg_min_version=0.9.0
4673 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4674 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4675 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4676 { echo "$as_me:$LINENO: result: yes" >&5
4677 echo "${ECHO_T}yes" >&6; }
4679 { echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6; }
4687 { echo "$as_me:$LINENO: checking for HILDON_DEPS" >&5
4688 echo $ECHO_N "checking for HILDON_DEPS... $ECHO_C" >&6; }
4690 if test -n "$PKG_CONFIG"; then
4691 if test -n "$HILDON_DEPS_CFLAGS"; then
4692 pkg_cv_HILDON_DEPS_CFLAGS="$HILDON_DEPS_CFLAGS"
4694 if test -n "$PKG_CONFIG" && \
4695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 hildon-1 libosso
4696 gthread-2.0 gnome-vfs-2.0
4697 libhildondesktop-1\"") >&5
4698 ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 hildon-1 libosso
4699 gthread-2.0 gnome-vfs-2.0
4700 libhildondesktop-1") 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; then
4704 pkg_cv_HILDON_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gtk+-2.0 hildon-1 libosso
4705 gthread-2.0 gnome-vfs-2.0
4706 libhildondesktop-1" 2>/dev/null`
4714 if test -n "$PKG_CONFIG"; then
4715 if test -n "$HILDON_DEPS_LIBS"; then
4716 pkg_cv_HILDON_DEPS_LIBS="$HILDON_DEPS_LIBS"
4718 if test -n "$PKG_CONFIG" && \
4719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 hildon-1 libosso
4720 gthread-2.0 gnome-vfs-2.0
4721 libhildondesktop-1\"") >&5
4722 ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 hildon-1 libosso
4723 gthread-2.0 gnome-vfs-2.0
4724 libhildondesktop-1") 2>&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; then
4728 pkg_cv_HILDON_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 gtk+-2.0 hildon-1 libosso
4729 gthread-2.0 gnome-vfs-2.0
4730 libhildondesktop-1" 2>/dev/null`
4741 if test $pkg_failed = yes; then
4743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4744 _pkg_short_errors_supported=yes
4746 _pkg_short_errors_supported=no
4748 if test $_pkg_short_errors_supported = yes; then
4749 HILDON_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gtk+-2.0 hildon-1 libosso
4750 gthread-2.0 gnome-vfs-2.0
4751 libhildondesktop-1"`
4753 HILDON_DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gtk+-2.0 hildon-1 libosso
4754 gthread-2.0 gnome-vfs-2.0
4755 libhildondesktop-1"`
4757 # Put the nasty error message in config.log where it belongs
4758 echo "$HILDON_DEPS_PKG_ERRORS" >&5
4760 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gtk+-2.0 hildon-1 libosso
4761 gthread-2.0 gnome-vfs-2.0
4762 libhildondesktop-1) were not met:
4764 $HILDON_DEPS_PKG_ERRORS
4766 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4767 installed software in a non-standard prefix.
4769 Alternatively, you may set the environment variables HILDON_DEPS_CFLAGS
4770 and HILDON_DEPS_LIBS to avoid the need to call pkg-config.
4771 See the pkg-config man page for more details.
4773 echo "$as_me: error: Package requirements (glib-2.0 gtk+-2.0 hildon-1 libosso
4774 gthread-2.0 gnome-vfs-2.0
4775 libhildondesktop-1) were not met:
4777 $HILDON_DEPS_PKG_ERRORS
4779 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4780 installed software in a non-standard prefix.
4782 Alternatively, you may set the environment variables HILDON_DEPS_CFLAGS
4783 and HILDON_DEPS_LIBS to avoid the need to call pkg-config.
4784 See the pkg-config man page for more details.
4786 { (exit 1); exit 1; }; }
4787 elif test $pkg_failed = untried; then
4788 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4789 is in your PATH or set the PKG_CONFIG environment variable to the full
4792 Alternatively, you may set the environment variables HILDON_DEPS_CFLAGS
4793 and HILDON_DEPS_LIBS to avoid the need to call pkg-config.
4794 See the pkg-config man page for more details.
4796 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4797 See \`config.log' for more details." >&5
4798 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4799 is in your PATH or set the PKG_CONFIG environment variable to the full
4802 Alternatively, you may set the environment variables HILDON_DEPS_CFLAGS
4803 and HILDON_DEPS_LIBS to avoid the need to call pkg-config.
4804 See the pkg-config man page for more details.
4806 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4807 See \`config.log' for more details." >&2;}
4808 { (exit 1); exit 1; }; }
4810 HILDON_DEPS_CFLAGS=$pkg_cv_HILDON_DEPS_CFLAGS
4811 HILDON_DEPS_LIBS=$pkg_cv_HILDON_DEPS_LIBS
4812 { echo "$as_me:$LINENO: result: yes" >&5
4813 echo "${ECHO_T}yes" >&6; }
4821 ac_config_files="$ac_config_files Makefile src/Makefile icons/Makefile icons/48x48/Makefile icons/64x64/Makefile themes/Makefile themes/Default/Makefile"
4823 cat >confcache <<\_ACEOF
4824 # This file is a shell script that caches the results of configure
4825 # tests run on this system so they can be shared between configure
4826 # scripts and configure runs, see configure's option --config-cache.
4827 # It is not useful on other systems. If it contains results you don't
4828 # want to keep, you may remove or edit it.
4830 # config.status only pays attention to the cache file if you give it
4831 # the --recheck option to rerun configure.
4833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4839 # The following way of writing the cache mishandles newlines in values,
4840 # but we know of no workaround that is simple, portable, and efficient.
4841 # So, we kill variables containing newlines.
4842 # Ultrix sh set writes to stderr and can't be redirected directly,
4843 # and sets the high bit in the cache file unless we assign to the vars.
4845 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4846 eval ac_val=\$$ac_var
4850 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4851 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4854 _ | IFS | as_nl) ;; #(
4855 *) $as_unset $ac_var ;;
4861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4862 *${as_nl}ac_space=\ *)
4863 # `set' does not quote correctly, so add quotes (double-quote
4864 # substitution turns \\\\ into \\, and sed turns \\ into \).
4867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4870 # `set' quotes correctly as required by POSIX, so do not add quotes.
4871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4884 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4885 if test -w "$cache_file"; then
4886 test "x$cache_file" != "x/dev/null" &&
4887 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4888 echo "$as_me: updating cache $cache_file" >&6;}
4889 cat confcache >$cache_file
4891 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4892 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4897 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4898 # Let make expand exec_prefix.
4899 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4901 DEFS=-DHAVE_CONFIG_H
4905 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4906 # 1. Remove the extension, and $U if already installed.
4907 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4908 ac_i=`echo "$ac_i" | sed "$ac_script"`
4909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4910 # will be set to the directory where LIBOBJS objects are built.
4911 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4912 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4916 LTLIBOBJS=$ac_ltlibobjs
4919 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4920 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4921 Usually this means the macro was only invoked conditionally." >&5
4922 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4923 Usually this means the macro was only invoked conditionally." >&2;}
4924 { (exit 1); exit 1; }; }
4926 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4927 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4928 Usually this means the macro was only invoked conditionally." >&5
4929 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4930 Usually this means the macro was only invoked conditionally." >&2;}
4931 { (exit 1); exit 1; }; }
4933 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4934 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4935 Usually this means the macro was only invoked conditionally." >&5
4936 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4937 Usually this means the macro was only invoked conditionally." >&2;}
4938 { (exit 1); exit 1; }; }
4941 : ${CONFIG_STATUS=./config.status}
4942 ac_clean_files_save=$ac_clean_files
4943 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4944 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4945 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4946 cat >$CONFIG_STATUS <<_ACEOF
4948 # Generated by $as_me.
4949 # Run this file to recreate the current configuration.
4950 # Compiler output produced by configure, useful for debugging
4951 # configure, is in config.log if it exists.
4956 SHELL=\${CONFIG_SHELL-$SHELL}
4959 cat >>$CONFIG_STATUS <<\_ACEOF
4960 ## --------------------- ##
4961 ## M4sh Initialization. ##
4962 ## --------------------- ##
4964 # Be more Bourne compatible
4965 DUALCASE=1; export DUALCASE # for MKS sh
4966 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4969 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4970 # is contrary to our usage. Disable this feature.
4971 alias -g '${1+"$@"}'='"$@"'
4972 setopt NO_GLOB_SUBST
4974 case `(set -o) 2>/dev/null` in
4975 *posix*) set -o posix ;;
4984 # Avoid depending upon Character Ranges.
4985 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4986 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4987 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4988 as_cr_digits='0123456789'
4989 as_cr_alnum=$as_cr_Letters$as_cr_digits
4991 # The user is always right.
4992 if test "${PATH_SEPARATOR+set}" != set; then
4993 echo "#! /bin/sh" >conf$$.sh
4994 echo "exit 0" >>conf$$.sh
4996 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5004 # Support unset when possible.
5005 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5013 # We need space, tab and new line, in precisely that order. Quoting is
5014 # there to prevent editors from complaining about space-tab.
5015 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5016 # splitting by setting IFS to empty value.)
5021 # Find who we are. Look in the path if we contain no directory separator.
5023 *[\\/]* ) as_myself=$0 ;;
5024 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 test -z "$as_dir" && as_dir=.
5029 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5035 # We did not find ourselves, most probably we were run as `sh COMMAND'
5036 # in which case we are not to be found in the path.
5037 if test "x$as_myself" = x; then
5040 if test ! -f "$as_myself"; then
5041 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5042 { (exit 1); exit 1; }
5045 # Work around bugs in pre-3.0 UWIN ksh.
5046 for as_var in ENV MAIL MAILPATH
5047 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5055 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5056 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5057 LC_TELEPHONE LC_TIME
5059 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5060 eval $as_var=C; export $as_var
5062 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5066 # Required to use basename.
5067 if expr a : '\(a\)' >/dev/null 2>&1 &&
5068 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5074 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5075 as_basename=basename
5081 # Name of the executable.
5082 as_me=`$as_basename -- "$0" ||
5083 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5084 X"$0" : 'X\(//\)$' \| \
5085 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5087 sed '/^.*\/\([^/][^/]*\)\/*$/{
5108 test "x$as_lineno_1" != "x$as_lineno_2" &&
5109 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5111 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5112 # uniformly replaced by the line number. The first 'sed' inserts a
5113 # line-number line after each line using $LINENO; the second 'sed'
5114 # does the real work. The second script uses 'N' to pair each
5115 # line-number line with the line containing $LINENO, and appends
5116 # trailing '-' during substitution so that $LINENO is not a special
5118 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5119 # scripts with optimization help from Paolo Bonzini. Blame Lee
5120 # E. McMahon (1931-1989) for sed's syntax. :-)
5132 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5136 chmod +x "$as_me.lineno" ||
5137 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5138 { (exit 1); exit 1; }; }
5140 # Don't try to exec as it changes $[0], causing all sort of problems
5141 # (the dirname of $[0] is not the place where we might find the
5142 # original and so on. Autoconf is especially sensitive to this).
5144 # Exit status is that of the last command.
5149 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5155 ECHO_C= ECHO_N= ECHO_T=
5158 case `echo 'x\c'` in
5159 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5166 if expr a : '\(a\)' >/dev/null 2>&1 &&
5167 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5173 rm -f conf$$ conf$$.exe conf$$.file
5174 if test -d conf$$.dir; then
5175 rm -f conf$$.dir/conf$$.file
5181 if ln -s conf$$.file conf$$ 2>/dev/null; then
5183 # ... but there are two gotchas:
5184 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5185 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5186 # In both cases, we have to default to `cp -p'.
5187 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5189 elif ln conf$$.file conf$$ 2>/dev/null; then
5194 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5195 rmdir conf$$.dir 2>/dev/null
5197 if mkdir -p . 2>/dev/null; then
5200 test -d ./-p && rmdir ./-p
5204 if test -x / >/dev/null 2>&1; then
5207 if ls -dL / >/dev/null 2>&1; then
5214 if test -d "$1"; then
5220 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5221 ???[sx]*):;;*)false;;esac;fi
5225 as_executable_p=$as_test_x
5227 # Sed expression to map a string onto a valid CPP name.
5228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5230 # Sed expression to map a string onto a valid variable name.
5231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5236 # Save the log message, to keep $[0] and so on meaningful, and to
5237 # report actual input values of CONFIG_FILES etc. instead of their
5238 # values after options handling.
5240 This file was extended by eyes-widget $as_me 0.1.0, which was
5241 generated by GNU Autoconf 2.61. Invocation command line was
5243 CONFIG_FILES = $CONFIG_FILES
5244 CONFIG_HEADERS = $CONFIG_HEADERS
5245 CONFIG_LINKS = $CONFIG_LINKS
5246 CONFIG_COMMANDS = $CONFIG_COMMANDS
5249 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5254 cat >>$CONFIG_STATUS <<_ACEOF
5255 # Files that config.status was made for.
5256 config_files="$ac_config_files"
5257 config_headers="$ac_config_headers"
5258 config_commands="$ac_config_commands"
5262 cat >>$CONFIG_STATUS <<\_ACEOF
5264 \`$as_me' instantiates files from templates according to the
5265 current configuration.
5267 Usage: $0 [OPTIONS] [FILE]...
5269 -h, --help print this help, then exit
5270 -V, --version print version number and configuration settings, then exit
5271 -q, --quiet do not print progress messages
5272 -d, --debug don't remove temporary files
5273 --recheck update $as_me by reconfiguring in the same conditions
5274 --file=FILE[:TEMPLATE]
5275 instantiate the configuration file FILE
5276 --header=FILE[:TEMPLATE]
5277 instantiate the configuration header FILE
5279 Configuration files:
5282 Configuration headers:
5285 Configuration commands:
5288 Report bugs to <bug-autoconf@gnu.org>."
5291 cat >>$CONFIG_STATUS <<_ACEOF
5293 eyes-widget config.status 0.1.0
5294 configured by $0, generated by GNU Autoconf 2.61,
5295 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5297 Copyright (C) 2006 Free Software Foundation, Inc.
5298 This config.status script is free software; the Free Software Foundation
5299 gives unlimited permission to copy, distribute and modify it."
5306 cat >>$CONFIG_STATUS <<\_ACEOF
5307 # If no file are specified by the user, then we need to provide default
5308 # value. By we need to know if files were specified by the user.
5314 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5315 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5326 # Handling of the options.
5327 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5329 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5330 echo "$ac_cs_version"; exit ;;
5331 --debug | --debu | --deb | --de | --d | -d )
5333 --file | --fil | --fi | --f )
5335 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5336 ac_need_defaults=false;;
5337 --header | --heade | --head | --hea )
5339 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5340 ac_need_defaults=false;;
5342 # Conflict between --help and --header
5343 { echo "$as_me: error: ambiguous option: $1
5344 Try \`$0 --help' for more information." >&2
5345 { (exit 1); exit 1; }; };;
5346 --help | --hel | -h )
5347 echo "$ac_cs_usage"; exit ;;
5348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5349 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5353 -*) { echo "$as_me: error: unrecognized option: $1
5354 Try \`$0 --help' for more information." >&2
5355 { (exit 1); exit 1; }; } ;;
5357 *) ac_config_targets="$ac_config_targets $1"
5358 ac_need_defaults=false ;;
5364 ac_configure_extra_args=
5366 if $ac_cs_silent; then
5368 ac_configure_extra_args="$ac_configure_extra_args --silent"
5372 cat >>$CONFIG_STATUS <<_ACEOF
5373 if \$ac_cs_recheck; then
5374 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5377 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5381 cat >>$CONFIG_STATUS <<\_ACEOF
5385 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5386 ## Running $as_me. ##
5392 cat >>$CONFIG_STATUS <<_ACEOF
5396 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5400 cat >>$CONFIG_STATUS <<\_ACEOF
5402 # Handling of arguments.
5403 for ac_config_target in $ac_config_targets
5405 case $ac_config_target in
5406 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5407 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5408 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5409 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5410 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
5411 "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
5412 "icons/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/64x64/Makefile" ;;
5413 "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
5414 "themes/Default/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Default/Makefile" ;;
5416 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5417 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5418 { (exit 1); exit 1; }; };;
5423 # If the user did not use the arguments to specify the items to instantiate,
5424 # then the envvar interface is used. Set only those that are not.
5425 # We use the long form for the default assignment because of an extremely
5426 # bizarre bug on SunOS 4.1.3.
5427 if $ac_need_defaults; then
5428 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5429 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5430 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5433 # Have a temporary directory for convenience. Make it in the build tree
5434 # simply because there is no reason against having it here, and in addition,
5435 # creating and moving files from /tmp can sometimes cause problems.
5436 # Hook for its removal unless debugging.
5437 # Note that there is a small window in which the directory will not be cleaned:
5438 # after its creation but before its name has been assigned to `$tmp'.
5442 trap 'exit_status=$?
5443 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5445 trap '{ (exit 1); exit 1; }' 1 2 13 15
5447 # Create a (secure) tmp directory for tmp files.
5450 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5451 test -n "$tmp" && test -d "$tmp"
5454 tmp=./conf$$-$RANDOM
5455 (umask 077 && mkdir "$tmp")
5458 echo "$me: cannot create a temporary directory in ." >&2
5459 { (exit 1); exit 1; }
5463 # Set up the sed scripts for CONFIG_FILES section.
5466 # No need to generate the scripts if there are no CONFIG_FILES.
5467 # This happens for instance when ./config.status config.h
5468 if test -n "$CONFIG_FILES"; then
5475 for ac_last_try in false false false false false :; do
5476 cat >conf$$subs.sed <<_ACEOF
5477 SHELL!$SHELL$ac_delim
5478 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5479 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5480 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5481 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5482 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5483 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5484 exec_prefix!$exec_prefix$ac_delim
5485 prefix!$prefix$ac_delim
5486 program_transform_name!$program_transform_name$ac_delim
5487 bindir!$bindir$ac_delim
5488 sbindir!$sbindir$ac_delim
5489 libexecdir!$libexecdir$ac_delim
5490 datarootdir!$datarootdir$ac_delim
5491 datadir!$datadir$ac_delim
5492 sysconfdir!$sysconfdir$ac_delim
5493 sharedstatedir!$sharedstatedir$ac_delim
5494 localstatedir!$localstatedir$ac_delim
5495 includedir!$includedir$ac_delim
5496 oldincludedir!$oldincludedir$ac_delim
5497 docdir!$docdir$ac_delim
5498 infodir!$infodir$ac_delim
5499 htmldir!$htmldir$ac_delim
5500 dvidir!$dvidir$ac_delim
5501 pdfdir!$pdfdir$ac_delim
5502 psdir!$psdir$ac_delim
5503 libdir!$libdir$ac_delim
5504 localedir!$localedir$ac_delim
5505 mandir!$mandir$ac_delim
5507 ECHO_C!$ECHO_C$ac_delim
5508 ECHO_N!$ECHO_N$ac_delim
5509 ECHO_T!$ECHO_T$ac_delim
5511 build_alias!$build_alias$ac_delim
5512 host_alias!$host_alias$ac_delim
5513 target_alias!$target_alias$ac_delim
5514 build!$build$ac_delim
5515 build_cpu!$build_cpu$ac_delim
5516 build_vendor!$build_vendor$ac_delim
5517 build_os!$build_os$ac_delim
5519 host_cpu!$host_cpu$ac_delim
5520 host_vendor!$host_vendor$ac_delim
5521 host_os!$host_os$ac_delim
5522 target!$target$ac_delim
5523 target_cpu!$target_cpu$ac_delim
5524 target_vendor!$target_vendor$ac_delim
5525 target_os!$target_os$ac_delim
5526 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5527 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5528 INSTALL_DATA!$INSTALL_DATA$ac_delim
5529 CYGPATH_W!$CYGPATH_W$ac_delim
5530 PACKAGE!$PACKAGE$ac_delim
5531 VERSION!$VERSION$ac_delim
5532 ACLOCAL!$ACLOCAL$ac_delim
5533 AUTOCONF!$AUTOCONF$ac_delim
5534 AUTOMAKE!$AUTOMAKE$ac_delim
5535 AUTOHEADER!$AUTOHEADER$ac_delim
5536 MAKEINFO!$MAKEINFO$ac_delim
5537 AMTAR!$AMTAR$ac_delim
5538 install_sh!$install_sh$ac_delim
5539 STRIP!$STRIP$ac_delim
5540 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5541 mkdir_p!$mkdir_p$ac_delim
5543 SET_MAKE!$SET_MAKE$ac_delim
5544 am__leading_dot!$am__leading_dot$ac_delim
5545 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5546 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5547 MAINT!$MAINT$ac_delim
5549 CFLAGS!$CFLAGS$ac_delim
5550 LDFLAGS!$LDFLAGS$ac_delim
5551 CPPFLAGS!$CPPFLAGS$ac_delim
5552 ac_ct_CC!$ac_ct_CC$ac_delim
5553 EXEEXT!$EXEEXT$ac_delim
5554 OBJEXT!$OBJEXT$ac_delim
5555 DEPDIR!$DEPDIR$ac_delim
5556 am__include!$am__include$ac_delim
5557 am__quote!$am__quote$ac_delim
5558 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5559 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5560 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5561 CCDEPMODE!$CCDEPMODE$ac_delim
5562 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5563 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5566 EGREP!$EGREP$ac_delim
5568 PKG_CONFIG!$PKG_CONFIG$ac_delim
5569 HILDON_DEPS_CFLAGS!$HILDON_DEPS_CFLAGS$ac_delim
5570 HILDON_DEPS_LIBS!$HILDON_DEPS_LIBS$ac_delim
5571 LIBOBJS!$LIBOBJS$ac_delim
5572 LTLIBOBJS!$LTLIBOBJS$ac_delim
5575 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
5577 elif $ac_last_try; then
5578 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5579 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5580 { (exit 1); exit 1; }; }
5582 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5586 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5587 if test -n "$ac_eof"; then
5588 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5589 ac_eof=`expr $ac_eof + 1`
5592 cat >>$CONFIG_STATUS <<_ACEOF
5593 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5597 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5598 s/^/s,@/; s/!/@,|#_!!_#|/
5601 s/'"$ac_delim"'$/,g/; t
5603 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5604 ' >>$CONFIG_STATUS <conf$$subs.sed
5605 rm -f conf$$subs.sed
5606 cat >>$CONFIG_STATUS <<_ACEOF
5611 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5612 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5613 # trailing colons and then remove the whole line if VPATH becomes empty
5614 # (actually we leave an empty line to preserve line numbers).
5615 if test "x$srcdir" = x.; then
5616 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5620 s/^\([^=]*=[ ]*\):*/\1/
5626 cat >>$CONFIG_STATUS <<\_ACEOF
5627 fi # test -n "$CONFIG_FILES"
5630 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5633 :[FHLC]) ac_mode=$ac_tag; continue;;
5635 case $ac_mode$ac_tag in
5637 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5638 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5639 { (exit 1); exit 1; }; };;
5640 :[FH]-) ac_tag=-:-;;
5641 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5658 -) ac_f="$tmp/stdin";;
5659 *) # Look for the file first in the build tree, then in the source tree
5660 # (if the path is not absolute). The absolute path cannot be DOS-style,
5661 # because $ac_f cannot contain `:'.
5665 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5667 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5668 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5669 { (exit 1); exit 1; }; };;
5671 ac_file_inputs="$ac_file_inputs $ac_f"
5674 # Let's still pretend it is `configure' which instantiates (i.e., don't
5675 # use $as_me), people would be surprised to read:
5676 # /* config.h. Generated by config.status. */
5677 configure_input="Generated from "`IFS=:
5678 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5679 if test x"$ac_file" != x-; then
5680 configure_input="$ac_file. $configure_input"
5681 { echo "$as_me:$LINENO: creating $ac_file" >&5
5682 echo "$as_me: creating $ac_file" >&6;}
5686 *:-:* | *:-) cat >"$tmp/stdin";;
5691 ac_dir=`$as_dirname -- "$ac_file" ||
5692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5693 X"$ac_file" : 'X\(//\)[^/]' \| \
5694 X"$ac_file" : 'X\(//\)$' \| \
5695 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5716 -*) as_dir=./$as_dir;;
5718 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5722 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5723 *) as_qdir=$as_dir;;
5725 as_dirs="'$as_qdir' $as_dirs"
5726 as_dir=`$as_dirname -- "$as_dir" ||
5727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5728 X"$as_dir" : 'X\(//\)[^/]' \| \
5729 X"$as_dir" : 'X\(//\)$' \| \
5730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5749 test -d "$as_dir" && break
5751 test -z "$as_dirs" || eval "mkdir $as_dirs"
5752 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5753 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5754 { (exit 1); exit 1; }; }; }
5758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5760 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5761 # A ".." for each directory in $ac_dir_suffix.
5762 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5763 case $ac_top_builddir_sub in
5764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5768 ac_abs_top_builddir=$ac_pwd
5769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5770 # for backward compatibility:
5771 ac_top_builddir=$ac_top_build_prefix
5774 .) # We are building in place.
5776 ac_top_srcdir=$ac_top_builddir_sub
5777 ac_abs_top_srcdir=$ac_pwd ;;
5778 [\\/]* | ?:[\\/]* ) # Absolute name.
5779 ac_srcdir=$srcdir$ac_dir_suffix;
5780 ac_top_srcdir=$srcdir
5781 ac_abs_top_srcdir=$srcdir ;;
5783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5784 ac_top_srcdir=$ac_top_build_prefix$srcdir
5785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5797 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5798 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5802 cat >>$CONFIG_STATUS <<\_ACEOF
5803 # If the template does not know about datarootdir, expand it.
5804 # FIXME: This hack should be removed a few years after 2.60.
5805 ac_datarootdir_hack=; ac_datarootdir_seen=
5807 case `sed -n '/datarootdir/ {
5816 ' $ac_file_inputs` in
5817 *datarootdir*) ac_datarootdir_seen=yes;;
5818 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5819 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5820 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5822 cat >>$CONFIG_STATUS <<_ACEOF
5823 ac_datarootdir_hack='
5824 s&@datadir@&$datadir&g
5825 s&@docdir@&$docdir&g
5826 s&@infodir@&$infodir&g
5827 s&@localedir@&$localedir&g
5828 s&@mandir@&$mandir&g
5829 s&\\\${datarootdir}&$datarootdir&g' ;;
5833 # Neutralize VPATH when `$srcdir' = `.'.
5834 # Shell code in configure.ac might set extrasub.
5835 # FIXME: do we really want to maintain this feature?
5836 cat >>$CONFIG_STATUS <<_ACEOF
5840 cat >>$CONFIG_STATUS <<\_ACEOF
5842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5843 s&@configure_input@&$configure_input&;t t
5844 s&@top_builddir@&$ac_top_builddir_sub&;t t
5845 s&@srcdir@&$ac_srcdir&;t t
5846 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5847 s&@top_srcdir@&$ac_top_srcdir&;t t
5848 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5849 s&@builddir@&$ac_builddir&;t t
5850 s&@abs_builddir@&$ac_abs_builddir&;t t
5851 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5852 s&@INSTALL@&$ac_INSTALL&;t t
5853 $ac_datarootdir_hack
5854 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
5856 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5857 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5859 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5860 which seems to be undefined. Please make sure it is defined." >&5
5861 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5862 which seems to be undefined. Please make sure it is defined." >&2;}
5866 -) cat "$tmp/out"; rm -f "$tmp/out";;
5867 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5876 # Transform confdefs.h into a sed script `conftest.defines', that
5877 # substitutes the proper values into config.h.in to produce config.h.
5878 rm -f conftest.defines conftest.tail
5879 # First, append a space to every undef/define line, to ease matching.
5880 echo 's/$/ /' >conftest.defines
5881 # Then, protect against being on the right side of a sed subst, or in
5882 # an unquoted here document, in config.status. If some macros were
5883 # called several times there might be several #defines for the same
5884 # symbol, which is useless. But do not sort them, since the last
5885 # AC_DEFINE must be honored.
5886 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5887 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5888 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5889 # PARAMS is the parameter list in the macro definition--in most cases, it's
5890 # just an empty string.
5891 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5892 ac_dB='\\)[ (].*,\\1define\\2'
5900 s/^[ ]*#[ ]*define[ ][ ]*//
5905 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5906 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5907 ' >>conftest.defines
5909 # Remove the space that was appended to ease matching.
5910 # Then replace #undef with comments. This is necessary, for
5911 # example, in the case of _POSIX_SOURCE, which is predefined and required
5912 # on some systems where configure will not decide to define it.
5913 # (The regexp can be short, since the line contains either #define or #undef.)
5915 s,^[ #]*u.*,/* & */,' >>conftest.defines
5917 # Break up conftest.defines:
5920 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5921 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5922 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5924 ac_in='$ac_file_inputs'
5925 ac_out='"$tmp/out1"'
5926 ac_nxt='"$tmp/out2"'
5930 # Write a here document:
5931 cat >>$CONFIG_STATUS <<_ACEOF
5932 # First, check the format of the line:
5933 cat >"\$tmp/defines.sed" <<\\CEOF
5934 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5935 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5939 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5941 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5942 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5943 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5944 grep . conftest.tail >/dev/null || break
5945 rm -f conftest.defines
5946 mv conftest.tail conftest.defines
5948 rm -f conftest.defines conftest.tail
5950 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5951 cat >>$CONFIG_STATUS <<\_ACEOF
5952 if test x"$ac_file" != x-; then
5953 echo "/* $configure_input */" >"$tmp/config.h"
5954 cat "$ac_result" >>"$tmp/config.h"
5955 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5956 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5957 echo "$as_me: $ac_file is unchanged" >&6;}
5960 mv "$tmp/config.h" $ac_file
5963 echo "/* $configure_input */"
5967 # Compute $ac_file's index in $config_headers.
5969 for _am_header in $config_headers :; do
5971 $ac_file | $ac_file:* )
5974 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5977 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5978 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5979 X$ac_file : 'X\(//\)[^/]' \| \
5980 X$ac_file : 'X\(//\)$' \| \
5981 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5999 s/.*/./; q'`/stamp-h$_am_stamp_count
6002 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6003 echo "$as_me: executing $ac_file commands" >&6;}
6008 case $ac_file$ac_mode in
6009 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6010 # Strip MF so we end up with the name of the file.
6011 mf=`echo "$mf" | sed -e 's/:.*$//'`
6012 # Check whether this is an Automake generated Makefile or not.
6013 # We used to match only the files named `Makefile.in', but
6014 # some people rename them; so instead we look at the file content.
6015 # Grep'ing the first line is not enough: some people post-process
6016 # each Makefile.in and add a new line on top of each file to say so.
6017 # So let's grep whole file.
6018 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6019 dirpart=`$as_dirname -- "$mf" ||
6020 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6021 X"$mf" : 'X\(//\)[^/]' \| \
6022 X"$mf" : 'X\(//\)$' \| \
6023 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6045 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6046 # Extract the definition of DEP_FILES from the Makefile without
6048 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6049 test -z "$DEPDIR" && continue
6050 # When using ansi2knr, U may be empty or an underscore; expand it
6051 U=`sed -n 's/^U = //p' < "$mf"`
6052 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6053 # We invoke sed twice because it is the simplest approach to
6054 # changing $(DEPDIR) to its actual value in the expansion.
6055 for file in `sed -n '
6056 /^DEP_FILES = .*\\\\$/ {
6065 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6066 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6067 # Make sure the directory exists.
6068 test -f "$dirpart/$file" && continue
6069 fdir=`$as_dirname -- "$file" ||
6070 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6071 X"$file" : 'X\(//\)[^/]' \| \
6072 X"$file" : 'X\(//\)$' \| \
6073 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6092 { as_dir=$dirpart/$fdir
6094 -*) as_dir=./$as_dir;;
6096 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6100 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6101 *) as_qdir=$as_dir;;
6103 as_dirs="'$as_qdir' $as_dirs"
6104 as_dir=`$as_dirname -- "$as_dir" ||
6105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6106 X"$as_dir" : 'X\(//\)[^/]' \| \
6107 X"$as_dir" : 'X\(//\)$' \| \
6108 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6127 test -d "$as_dir" && break
6129 test -z "$as_dirs" || eval "mkdir $as_dirs"
6130 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6131 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6132 { (exit 1); exit 1; }; }; }
6133 # echo "creating $dirpart/$file"
6134 echo '# dummy' > "$dirpart/$file"
6143 { (exit 0); exit 0; }
6145 chmod +x $CONFIG_STATUS
6146 ac_clean_files=$ac_clean_files_save
6149 # configure is writing to config.log, and then calls config.status.
6150 # config.status does its own redirection, appending to config.log.
6151 # Unfortunately, on DOS this fails, as config.log is still kept open
6152 # by configure, so config.status won't be able to write to it; its
6153 # output is simply discarded. So we exec the FD to /dev/null,
6154 # effectively closing config.log, so it can be properly (re)opened and
6155 # appended to by config.status. When coming back to configure, we
6156 # need to make the FD available again.
6157 if test "$no_create" != yes; then
6159 ac_config_status_args=
6160 test "$silent" = yes &&
6161 ac_config_status_args="$ac_config_status_args --quiet"
6163 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6165 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6166 # would make configure fail if this is the last instruction.
6167 $ac_cs_success || { (exit 1); exit 1; }