2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gbooks 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='gbooks'
574 PACKAGE_TARNAME='gbooks'
575 PACKAGE_VERSION='0.1'
576 PACKAGE_STRING='gbooks 0.1'
588 program_transform_name
630 INSTALL_STRIP_PROGRAM
657 ac_precious_vars='build_alias
670 # Initialize some variables set by options.
672 ac_init_version=false
673 # The variables have the same names as the options, with
674 # dashes changed to underlines.
682 program_transform_name=s,x,x,
690 # Installation directory options.
691 # These are left unexpanded so users can "make install exec_prefix=/foo"
692 # and all the variables that are supposed to be based on exec_prefix
693 # by default will actually change.
694 # Use braces instead of parens because sh, perl, etc. also accept them.
695 # (The list follows the same order as the GNU Coding Standards.)
696 bindir='${exec_prefix}/bin'
697 sbindir='${exec_prefix}/sbin'
698 libexecdir='${exec_prefix}/libexec'
699 datarootdir='${prefix}/share'
700 datadir='${datarootdir}'
701 sysconfdir='${prefix}/etc'
702 sharedstatedir='${prefix}/com'
703 localstatedir='${prefix}/var'
704 includedir='${prefix}/include'
705 oldincludedir='/usr/include'
706 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
707 infodir='${datarootdir}/info'
712 libdir='${exec_prefix}/lib'
713 localedir='${datarootdir}/locale'
714 mandir='${datarootdir}/man'
720 # If the previous option needs an argument, assign it.
721 if test -n "$ac_prev"; then
722 eval $ac_prev=\$ac_option
728 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
732 # Accept the important Cygnus configure options, so we can diagnose typos.
734 case $ac_dashdash$ac_option in
738 -bindir | --bindir | --bindi | --bind | --bin | --bi)
740 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
743 -build | --build | --buil | --bui | --bu)
744 ac_prev=build_alias ;;
745 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
746 build_alias=$ac_optarg ;;
748 -cache-file | --cache-file | --cache-fil | --cache-fi \
749 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
750 ac_prev=cache_file ;;
751 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
752 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
753 cache_file=$ac_optarg ;;
756 cache_file=config.cache ;;
758 -datadir | --datadir | --datadi | --datad)
760 -datadir=* | --datadir=* | --datadi=* | --datad=*)
761 datadir=$ac_optarg ;;
763 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
764 | --dataroo | --dataro | --datar)
765 ac_prev=datarootdir ;;
766 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
767 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
768 datarootdir=$ac_optarg ;;
770 -disable-* | --disable-*)
771 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
772 # Reject names that are not valid shell variable names.
773 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
774 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
775 { (exit 1); exit 1; }; }
776 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
777 eval enable_$ac_feature=no ;;
779 -docdir | --docdir | --docdi | --doc | --do)
781 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
784 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
789 -enable-* | --enable-*)
790 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
794 { (exit 1); exit 1; }; }
795 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
796 eval enable_$ac_feature=\$ac_optarg ;;
798 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
799 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
800 | --exec | --exe | --ex)
801 ac_prev=exec_prefix ;;
802 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
803 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
804 | --exec=* | --exe=* | --ex=*)
805 exec_prefix=$ac_optarg ;;
807 -gas | --gas | --ga | --g)
808 # Obsolete; use --with-gas.
811 -help | --help | --hel | --he | -h)
813 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
814 ac_init_help=recursive ;;
815 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
816 ac_init_help=short ;;
818 -host | --host | --hos | --ho)
819 ac_prev=host_alias ;;
820 -host=* | --host=* | --hos=* | --ho=*)
821 host_alias=$ac_optarg ;;
823 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
825 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
827 htmldir=$ac_optarg ;;
829 -includedir | --includedir | --includedi | --included | --include \
830 | --includ | --inclu | --incl | --inc)
831 ac_prev=includedir ;;
832 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
833 | --includ=* | --inclu=* | --incl=* | --inc=*)
834 includedir=$ac_optarg ;;
836 -infodir | --infodir | --infodi | --infod | --info | --inf)
838 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
839 infodir=$ac_optarg ;;
841 -libdir | --libdir | --libdi | --libd)
843 -libdir=* | --libdir=* | --libdi=* | --libd=*)
846 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
847 | --libexe | --libex | --libe)
848 ac_prev=libexecdir ;;
849 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
850 | --libexe=* | --libex=* | --libe=*)
851 libexecdir=$ac_optarg ;;
853 -localedir | --localedir | --localedi | --localed | --locale)
855 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
856 localedir=$ac_optarg ;;
858 -localstatedir | --localstatedir | --localstatedi | --localstated \
859 | --localstate | --localstat | --localsta | --localst | --locals)
860 ac_prev=localstatedir ;;
861 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
862 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
863 localstatedir=$ac_optarg ;;
865 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
867 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
871 # Obsolete; use --without-fp.
874 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
875 | --no-cr | --no-c | -n)
878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
882 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
883 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
884 | --oldin | --oldi | --old | --ol | --o)
885 ac_prev=oldincludedir ;;
886 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
887 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
888 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
889 oldincludedir=$ac_optarg ;;
891 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
893 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
896 -program-prefix | --program-prefix | --program-prefi | --program-pref \
897 | --program-pre | --program-pr | --program-p)
898 ac_prev=program_prefix ;;
899 -program-prefix=* | --program-prefix=* | --program-prefi=* \
900 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
901 program_prefix=$ac_optarg ;;
903 -program-suffix | --program-suffix | --program-suffi | --program-suff \
904 | --program-suf | --program-su | --program-s)
905 ac_prev=program_suffix ;;
906 -program-suffix=* | --program-suffix=* | --program-suffi=* \
907 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
908 program_suffix=$ac_optarg ;;
910 -program-transform-name | --program-transform-name \
911 | --program-transform-nam | --program-transform-na \
912 | --program-transform-n | --program-transform- \
913 | --program-transform | --program-transfor \
914 | --program-transfo | --program-transf \
915 | --program-trans | --program-tran \
916 | --progr-tra | --program-tr | --program-t)
917 ac_prev=program_transform_name ;;
918 -program-transform-name=* | --program-transform-name=* \
919 | --program-transform-nam=* | --program-transform-na=* \
920 | --program-transform-n=* | --program-transform-=* \
921 | --program-transform=* | --program-transfor=* \
922 | --program-transfo=* | --program-transf=* \
923 | --program-trans=* | --program-tran=* \
924 | --progr-tra=* | --program-tr=* | --program-t=*)
925 program_transform_name=$ac_optarg ;;
927 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
929 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
932 -psdir | --psdir | --psdi | --psd | --ps)
934 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
938 | -silent | --silent | --silen | --sile | --sil)
941 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
943 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
945 sbindir=$ac_optarg ;;
947 -sharedstatedir | --sharedstatedir | --sharedstatedi \
948 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
949 | --sharedst | --shareds | --shared | --share | --shar \
951 ac_prev=sharedstatedir ;;
952 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
953 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
954 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
956 sharedstatedir=$ac_optarg ;;
958 -site | --site | --sit)
960 -site=* | --site=* | --sit=*)
963 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
965 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
968 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
969 | --syscon | --sysco | --sysc | --sys | --sy)
970 ac_prev=sysconfdir ;;
971 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
972 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
973 sysconfdir=$ac_optarg ;;
975 -target | --target | --targe | --targ | --tar | --ta | --t)
976 ac_prev=target_alias ;;
977 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
978 target_alias=$ac_optarg ;;
980 -v | -verbose | --verbose | --verbos | --verbo | --verb)
983 -version | --version | --versio | --versi | --vers | -V)
987 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
990 { echo "$as_me: error: invalid package name: $ac_package" >&2
991 { (exit 1); exit 1; }; }
992 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
993 eval with_$ac_package=\$ac_optarg ;;
995 -without-* | --without-*)
996 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
999 { echo "$as_me: error: invalid package name: $ac_package" >&2
1000 { (exit 1); exit 1; }; }
1001 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1002 eval with_$ac_package=no ;;
1005 # Obsolete; use --with-x.
1008 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1009 | --x-incl | --x-inc | --x-in | --x-i)
1010 ac_prev=x_includes ;;
1011 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1012 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1013 x_includes=$ac_optarg ;;
1015 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1016 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1017 ac_prev=x_libraries ;;
1018 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1019 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1020 x_libraries=$ac_optarg ;;
1022 -*) { echo "$as_me: error: unrecognized option: $ac_option
1023 Try \`$0 --help' for more information." >&2
1024 { (exit 1); exit 1; }; }
1028 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1031 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1032 { (exit 1); exit 1; }; }
1033 eval $ac_envvar=\$ac_optarg
1034 export $ac_envvar ;;
1037 # FIXME: should be removed in autoconf 3.0.
1038 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1047 if test -n "$ac_prev"; then
1048 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1049 { echo "$as_me: error: missing argument to $ac_option" >&2
1050 { (exit 1); exit 1; }; }
1053 # Be sure to have absolute directory names.
1054 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1055 datadir sysconfdir sharedstatedir localstatedir includedir \
1056 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1057 libdir localedir mandir
1059 eval ac_val=\$$ac_var
1061 [\\/$]* | ?:[\\/]* ) continue;;
1062 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1064 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1065 { (exit 1); exit 1; }; }
1068 # There might be people who depend on the old broken behavior: `$host'
1069 # used to hold the argument of --host etc.
1070 # FIXME: To remove some day.
1073 target=$target_alias
1075 # FIXME: To remove some day.
1076 if test "x$host_alias" != x; then
1077 if test "x$build_alias" = x; then
1078 cross_compiling=maybe
1079 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1080 If a cross compiler is detected then cross compile mode will be used." >&2
1081 elif test "x$build_alias" != "x$host_alias"; then
1087 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1089 test "$silent" = yes && exec 6>/dev/null
1092 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1093 ac_ls_di=`ls -di .` &&
1094 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1095 { echo "$as_me: error: Working directory cannot be determined" >&2
1096 { (exit 1); exit 1; }; }
1097 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1098 { echo "$as_me: error: pwd does not report name of working directory" >&2
1099 { (exit 1); exit 1; }; }
1102 # Find the source files, if location was not specified.
1103 if test -z "$srcdir"; then
1104 ac_srcdir_defaulted=yes
1105 # Try the directory containing this script, then the parent directory.
1106 ac_confdir=`$as_dirname -- "$0" ||
1107 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1108 X"$0" : 'X\(//\)[^/]' \| \
1109 X"$0" : 'X\(//\)$' \| \
1110 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1130 if test ! -r "$srcdir/$ac_unique_file"; then
1134 ac_srcdir_defaulted=no
1136 if test ! -r "$srcdir/$ac_unique_file"; then
1137 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1138 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1139 { (exit 1); exit 1; }; }
1141 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1143 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1144 { (exit 1); exit 1; }; }
1146 # When building in place, set srcdir=.
1147 if test "$ac_abs_confdir" = "$ac_pwd"; then
1150 # Remove unnecessary trailing slashes from srcdir.
1151 # Double slashes in file names in object file debugging info
1152 # mess up M-x gdb in Emacs.
1154 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1156 for ac_var in $ac_precious_vars; do
1157 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1158 eval ac_env_${ac_var}_value=\$${ac_var}
1159 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1160 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1164 # Report the --help message.
1166 if test "$ac_init_help" = "long"; then
1167 # Omit some internal or obsolete options to make the list less imposing.
1168 # This message is too long to be a string in the A/UX 3.1 sh.
1170 \`configure' configures gbooks 0.1 to adapt to many kinds of systems.
1172 Usage: $0 [OPTION]... [VAR=VALUE]...
1174 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1175 VAR=VALUE. See below for descriptions of some of the useful variables.
1177 Defaults for the options are specified in brackets.
1180 -h, --help display this help and exit
1181 --help=short display options specific to this package
1182 --help=recursive display the short help of all the included packages
1183 -V, --version display version information and exit
1184 -q, --quiet, --silent do not print \`checking...' messages
1185 --cache-file=FILE cache test results in FILE [disabled]
1186 -C, --config-cache alias for \`--cache-file=config.cache'
1187 -n, --no-create do not create output files
1188 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1190 Installation directories:
1191 --prefix=PREFIX install architecture-independent files in PREFIX
1192 [$ac_default_prefix]
1193 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1196 By default, \`make install' will install all the files in
1197 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1198 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1199 for instance \`--prefix=\$HOME'.
1201 For better control, use the options below.
1203 Fine tuning of the installation directories:
1204 --bindir=DIR user executables [EPREFIX/bin]
1205 --sbindir=DIR system admin executables [EPREFIX/sbin]
1206 --libexecdir=DIR program executables [EPREFIX/libexec]
1207 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1208 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1209 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1210 --libdir=DIR object code libraries [EPREFIX/lib]
1211 --includedir=DIR C header files [PREFIX/include]
1212 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1213 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1214 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1215 --infodir=DIR info documentation [DATAROOTDIR/info]
1216 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1217 --mandir=DIR man documentation [DATAROOTDIR/man]
1218 --docdir=DIR documentation root [DATAROOTDIR/doc/gbooks]
1219 --htmldir=DIR html documentation [DOCDIR]
1220 --dvidir=DIR dvi documentation [DOCDIR]
1221 --pdfdir=DIR pdf documentation [DOCDIR]
1222 --psdir=DIR ps documentation [DOCDIR]
1228 --program-prefix=PREFIX prepend PREFIX to installed program names
1229 --program-suffix=SUFFIX append SUFFIX to installed program names
1230 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1234 if test -n "$ac_init_help"; then
1235 case $ac_init_help in
1236 short | recursive ) echo "Configuration of gbooks 0.1:";;
1241 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1242 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1243 --disable-dependency-tracking speeds up one-time build
1244 --enable-dependency-tracking do not reject slow dependency extractors
1246 Some influential environment variables:
1247 CC C compiler command
1248 CFLAGS C compiler flags
1249 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1250 nonstandard directory <lib dir>
1251 LIBS libraries to pass to the linker, e.g. -l<library>
1252 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1253 you have headers in a nonstandard directory <include dir>
1254 PKG_CONFIG path to pkg-config utility
1256 C compiler flags for HILDON, overriding pkg-config
1257 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1259 Use these variables to override the choices made by `configure' or to help
1260 it to find libraries and programs with nonstandard names/locations.
1266 if test "$ac_init_help" = "recursive"; then
1267 # If there are subdirs, report their specific --help.
1268 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1269 test -d "$ac_dir" || continue
1273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1275 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1276 # A ".." for each directory in $ac_dir_suffix.
1277 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1278 case $ac_top_builddir_sub in
1279 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1280 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1283 ac_abs_top_builddir=$ac_pwd
1284 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1285 # for backward compatibility:
1286 ac_top_builddir=$ac_top_build_prefix
1289 .) # We are building in place.
1291 ac_top_srcdir=$ac_top_builddir_sub
1292 ac_abs_top_srcdir=$ac_pwd ;;
1293 [\\/]* | ?:[\\/]* ) # Absolute name.
1294 ac_srcdir=$srcdir$ac_dir_suffix;
1295 ac_top_srcdir=$srcdir
1296 ac_abs_top_srcdir=$srcdir ;;
1298 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1299 ac_top_srcdir=$ac_top_build_prefix$srcdir
1300 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1304 cd "$ac_dir" || { ac_status=$?; continue; }
1305 # Check for guested configure.
1306 if test -f "$ac_srcdir/configure.gnu"; then
1308 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1309 elif test -f "$ac_srcdir/configure"; then
1311 $SHELL "$ac_srcdir/configure" --help=recursive
1313 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1315 cd "$ac_pwd" || { ac_status=$?; break; }
1319 test -n "$ac_init_help" && exit $ac_status
1320 if $ac_init_version; then
1322 gbooks configure 0.1
1323 generated by GNU Autoconf 2.61
1325 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1326 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1327 This configure script is free software; the Free Software Foundation
1328 gives unlimited permission to copy, distribute and modify it.
1332 cat >config.log <<_ACEOF
1333 This file contains any messages produced by compilers while
1334 running configure, to aid debugging if configure makes a mistake.
1336 It was created by gbooks $as_me 0.1, which was
1337 generated by GNU Autoconf 2.61. Invocation command line was
1349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1361 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1372 test -z "$as_dir" && as_dir=.
1373 echo "PATH: $as_dir"
1389 # Keep a trace of the command line.
1390 # Strip out --no-create and --no-recursion so they do not pile up.
1391 # Strip out --silent because we don't want to record it for future runs.
1392 # Also quote any args containing shell meta-characters.
1393 # Make two passes to allow for proper duplicate-argument suppression.
1397 ac_must_keep_next=false
1403 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1405 | -silent | --silent | --silen | --sile | --sil)
1408 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1411 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1413 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1414 if test $ac_must_keep_next = true; then
1415 ac_must_keep_next=false # Got value, back to normal.
1418 *=* | --config-cache | -C | -disable-* | --disable-* \
1419 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1420 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1421 | -with-* | --with-* | -without-* | --without-* | --x)
1422 case "$ac_configure_args0 " in
1423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1426 -* ) ac_must_keep_next=true ;;
1429 ac_configure_args="$ac_configure_args '$ac_arg'"
1434 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1435 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1437 # When interrupted or exit'd, cleanup temporary files, and complete
1438 # config.log. We remove comments because anyway the quotes in there
1439 # would cause problems or look ugly.
1440 # WARNING: Use '\'' to represent an apostrophe within the trap.
1441 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1442 trap 'exit_status=$?
1443 # Save into config.log some information that might help in debugging.
1448 ## ---------------- ##
1449 ## Cache variables. ##
1450 ## ---------------- ##
1453 # The following way of writing the cache mishandles newlines in values,
1455 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1456 eval ac_val=\$$ac_var
1460 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1461 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1464 _ | IFS | as_nl) ;; #(
1465 *) $as_unset $ac_var ;;
1470 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1471 *${as_nl}ac_space=\ *)
1473 "s/'\''/'\''\\\\'\'''\''/g;
1474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1477 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1485 ## ----------------- ##
1486 ## Output variables. ##
1487 ## ----------------- ##
1490 for ac_var in $ac_subst_vars
1492 eval ac_val=\$$ac_var
1494 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1496 echo "$ac_var='\''$ac_val'\''"
1500 if test -n "$ac_subst_files"; then
1502 ## ------------------- ##
1503 ## File substitutions. ##
1504 ## ------------------- ##
1507 for ac_var in $ac_subst_files
1509 eval ac_val=\$$ac_var
1511 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1513 echo "$ac_var='\''$ac_val'\''"
1518 if test -s confdefs.h; then
1528 test "$ac_signal" != 0 &&
1529 echo "$as_me: caught signal $ac_signal"
1530 echo "$as_me: exit $exit_status"
1532 rm -f core *.core core.conftest.* &&
1533 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1536 for ac_signal in 1 2 13 15; do
1537 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1542 rm -f -r conftest* confdefs.h
1544 # Predefined preprocessor variables.
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -n "$CONFIG_SITE"; then
1574 set x "$CONFIG_SITE"
1575 elif test "x$prefix" != xNONE; then
1576 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1578 set x "$ac_default_prefix/share/config.site" \
1579 "$ac_default_prefix/etc/config.site"
1584 if test -r "$ac_site_file"; then
1585 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1586 echo "$as_me: loading site script $ac_site_file" >&6;}
1587 sed 's/^/| /' "$ac_site_file" >&5
1592 if test -r "$cache_file"; then
1593 # Some versions of bash will fail to source /dev/null (special
1594 # files actually), so we avoid doing that.
1595 if test -f "$cache_file"; then
1596 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1597 echo "$as_me: loading cache $cache_file" >&6;}
1599 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1600 *) . "./$cache_file";;
1604 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1605 echo "$as_me: creating cache $cache_file" >&6;}
1609 # Check that the precious variables saved in the cache have kept the same
1611 ac_cache_corrupted=false
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1616 eval ac_new_val=\$ac_env_${ac_var}_value
1617 case $ac_old_set,$ac_new_set in
1619 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1620 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1623 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1624 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1630 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1631 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1632 echo "$as_me: former value: $ac_old_val" >&2;}
1633 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1634 echo "$as_me: current value: $ac_new_val" >&2;}
1635 ac_cache_corrupted=:
1638 # Pass precious variables to config.status.
1639 if test "$ac_new_set" = set; then
1641 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1683 ac_cpp='$CPP $CPPFLAGS'
1684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1689 am__api_version="1.8"
1691 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1692 if test -f "$ac_dir/install-sh"; then
1694 ac_install_sh="$ac_aux_dir/install-sh -c"
1696 elif test -f "$ac_dir/install.sh"; then
1698 ac_install_sh="$ac_aux_dir/install.sh -c"
1700 elif test -f "$ac_dir/shtool"; then
1702 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 if test -z "$ac_aux_dir"; then
1707 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1708 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1709 { (exit 1); exit 1; }; }
1712 # These three variables are undocumented and unsupported,
1713 # and are intended to be withdrawn in a future Autoconf release.
1714 # They can cause serious problems if a builder's source tree is in a directory
1715 # whose full name contains unusual characters.
1716 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1717 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1718 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1721 # Find a good install program. We prefer a C program (faster),
1722 # so one script is as good as another. But avoid the broken or
1723 # incompatible versions:
1724 # SysV /etc/install, /usr/sbin/install
1725 # SunOS /usr/etc/install
1726 # IRIX /sbin/install
1728 # AmigaOS /C/install, which installs bootblocks on floppy discs
1729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1732 # OS/2's system install, which has a completely different semantic
1733 # ./install, which can be erroneously created by make from ./install.sh.
1734 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1735 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1736 if test -z "$INSTALL"; then
1737 if test "${ac_cv_path_install+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 test -z "$as_dir" && as_dir=.
1745 # Account for people who put trailing slashes in PATH elements.
1747 ./ | .// | /cC/* | \
1748 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1749 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1752 # OSF1 and SCO ODT 3.0 have their own names for install.
1753 # Don't use installbsd from OSF since it installs stuff as root
1755 for ac_prog in ginstall scoinst install; do
1756 for ac_exec_ext in '' $ac_executable_extensions; do
1757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1758 if test $ac_prog = install &&
1759 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1760 # AIX install. It has an incompatible calling convention.
1762 elif test $ac_prog = install &&
1763 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1764 # program-specific install script used by HP pwplus--don't use.
1767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1780 if test "${ac_cv_path_install+set}" = set; then
1781 INSTALL=$ac_cv_path_install
1783 # As a last resort, use the slow shell script. Don't cache a
1784 # value for INSTALL within a source directory, because that will
1785 # break other packages using the cache if that directory is
1786 # removed, or if the value is a relative name.
1787 INSTALL=$ac_install_sh
1790 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1791 echo "${ECHO_T}$INSTALL" >&6; }
1793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1794 # It thinks the first close brace ends the variable substitution.
1795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1801 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1802 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1805 echo timestamp > conftest.file
1806 # Do `set' in a subshell so we don't clobber the current shell's
1807 # arguments. Must try -L first in case configure is actually a
1808 # symlink; some systems play weird games with the mod time of symlinks
1809 # (eg FreeBSD returns the mod time of the symlink's containing
1812 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1813 if test "$*" = "X"; then
1815 set X `ls -t $srcdir/configure conftest.file`
1818 if test "$*" != "X $srcdir/configure conftest.file" \
1819 && test "$*" != "X conftest.file $srcdir/configure"; then
1821 # If neither matched, then we have a broken ls. This can happen
1822 # if, for instance, CONFIG_SHELL is bash and it inherits a
1823 # broken ls alias from the environment. This has actually
1824 # happened. Such a system could not be considered "sane".
1825 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1826 alias in your environment" >&5
1827 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1828 alias in your environment" >&2;}
1829 { (exit 1); exit 1; }; }
1832 test "$2" = conftest.file
1838 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1839 Check your system clock" >&5
1840 echo "$as_me: error: newly created file is older than distributed files!
1841 Check your system clock" >&2;}
1842 { (exit 1); exit 1; }; }
1844 { echo "$as_me:$LINENO: result: yes" >&5
1845 echo "${ECHO_T}yes" >&6; }
1846 test "$program_prefix" != NONE &&
1847 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1848 # Use a double $ so make ignores it.
1849 test "$program_suffix" != NONE &&
1850 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1851 # Double any \ or $. echo might interpret backslashes.
1852 # By default was `s,x,x', remove it if useless.
1853 cat <<\_ACEOF >conftest.sed
1854 s/[\\$]/&&/g;s/;s,x,x,$//
1856 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1859 # expand $ac_aux_dir to an absolute path
1860 am_aux_dir=`cd $ac_aux_dir && pwd`
1862 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1863 # Use eval to expand $SHELL
1864 if eval "$MISSING --run true"; then
1865 am_missing_run="$MISSING --run "
1868 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1869 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1872 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1873 # Keeping the `.' argument allows $(mkdir_p) to be used without
1874 # argument. Indeed, we sometimes output rules like
1875 # $(mkdir_p) $(somedir)
1876 # where $(somedir) is conditionally defined.
1877 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1878 # expensive solution, as it forces Make to start a sub-shell.)
1879 mkdir_p='mkdir -p -- .'
1881 # On NextStep and OpenStep, the `mkdir' command does not
1882 # recognize any option. It will interpret all options as
1883 # directories to create, and then abort because `.' already
1885 for d in ./-p ./--version;
1887 test -d $d && rmdir $d
1889 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1890 if test -f "$ac_aux_dir/mkinstalldirs"; then
1891 mkdir_p='$(mkinstalldirs)'
1893 mkdir_p='$(install_sh) -d'
1897 for ac_prog in gawk mawk nawk awk
1899 # Extract the first word of "$ac_prog", so it can be a program name with args.
1900 set dummy $ac_prog; ac_word=$2
1901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1903 if test "${ac_cv_prog_AWK+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 if test -n "$AWK"; then
1907 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1916 ac_cv_prog_AWK="$ac_prog"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 if test -n "$AWK"; then
1928 { echo "$as_me:$LINENO: result: $AWK" >&5
1929 echo "${ECHO_T}$AWK" >&6; }
1931 { echo "$as_me:$LINENO: result: no" >&5
1932 echo "${ECHO_T}no" >&6; }
1936 test -n "$AWK" && break
1939 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1940 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1941 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1942 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 cat >conftest.make <<\_ACEOF
1948 @echo '@@@%%%=$(MAKE)=@@@%%%'
1950 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1951 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1953 eval ac_cv_prog_make_${ac_make}_set=yes;;
1955 eval ac_cv_prog_make_${ac_make}_set=no;;
1959 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1960 { echo "$as_me:$LINENO: result: yes" >&5
1961 echo "${ECHO_T}yes" >&6; }
1964 { echo "$as_me:$LINENO: result: no" >&5
1965 echo "${ECHO_T}no" >&6; }
1966 SET_MAKE="MAKE=${MAKE-make}"
1969 rm -rf .tst 2>/dev/null
1970 mkdir .tst 2>/dev/null
1971 if test -d .tst; then
1976 rmdir .tst 2>/dev/null
1978 # test to see if srcdir already configured
1979 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1980 test -f $srcdir/config.status; then
1981 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1982 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1983 { (exit 1); exit 1; }; }
1986 # test whether we have cygpath
1987 if test -z "$CYGPATH_W"; then
1988 if (cygpath --version) >/dev/null 2>/dev/null; then
1989 CYGPATH_W='cygpath -w'
1996 # Define the identity of the package.
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE "$PACKAGE"
2006 cat >>confdefs.h <<_ACEOF
2007 #define VERSION "$VERSION"
2010 # Some tools Automake needs.
2012 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2015 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2018 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2021 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2024 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2027 AMTAR=${AMTAR-"${am_missing_run}tar"}
2029 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2031 # Installed binaries are usually stripped using `strip' when the user
2032 # run `make install-strip'. However `strip' might not be the right
2033 # tool to use in cross-compilation environments, therefore Automake
2034 # will honor the `STRIP' environment variable to overrule this program.
2035 if test "$cross_compiling" != no; then
2036 if test -n "$ac_tool_prefix"; then
2037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2038 set dummy ${ac_tool_prefix}strip; ac_word=$2
2039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2041 if test "${ac_cv_prog_STRIP+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 if test -n "$STRIP"; then
2045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir=.
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2054 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 STRIP=$ac_cv_prog_STRIP
2065 if test -n "$STRIP"; then
2066 { echo "$as_me:$LINENO: result: $STRIP" >&5
2067 echo "${ECHO_T}$STRIP" >&6; }
2069 { echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6; }
2075 if test -z "$ac_cv_prog_STRIP"; then
2077 # Extract the first word of "strip", so it can be a program name with args.
2078 set dummy strip; ac_word=$2
2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 if test -n "$ac_ct_STRIP"; then
2085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir=.
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2094 ac_cv_prog_ac_ct_STRIP="strip"
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2105 if test -n "$ac_ct_STRIP"; then
2106 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2107 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2109 { echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6; }
2113 if test "x$ac_ct_STRIP" = x; then
2116 case $cross_compiling:$ac_tool_warned in
2118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2119 whose name does not start with the host triplet. If you think this
2120 configuration is useful to you, please write to autoconf@gnu.org." >&5
2121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2122 whose name does not start with the host triplet. If you think this
2123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2124 ac_tool_warned=yes ;;
2129 STRIP="$ac_cv_prog_STRIP"
2133 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2135 # We need awk for the "check" target. The system "awk" is bad on
2141 ac_cpp='$CPP $CPPFLAGS'
2142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2147 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2150 if test "${ac_cv_prog_CC+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test -n "$CC"; then
2154 ac_cv_prog_CC="$CC" # Let the user override the test.
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2163 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2174 if test -n "$CC"; then
2175 { echo "$as_me:$LINENO: result: $CC" >&5
2176 echo "${ECHO_T}$CC" >&6; }
2178 { echo "$as_me:$LINENO: result: no" >&5
2179 echo "${ECHO_T}no" >&6; }
2184 if test -z "$ac_cv_prog_CC"; then
2186 # Extract the first word of "gcc", so it can be a program name with args.
2187 set dummy gcc; ac_word=$2
2188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 ac_cv_prog_ac_ct_CC="gcc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2214 if test -n "$ac_ct_CC"; then
2215 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2216 echo "${ECHO_T}$ac_ct_CC" >&6; }
2218 { echo "$as_me:$LINENO: result: no" >&5
2219 echo "${ECHO_T}no" >&6; }
2222 if test "x$ac_ct_CC" = x; then
2225 case $cross_compiling:$ac_tool_warned in
2227 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2228 whose name does not start with the host triplet. If you think this
2229 configuration is useful to you, please write to autoconf@gnu.org." >&5
2230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2231 whose name does not start with the host triplet. If you think this
2232 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2233 ac_tool_warned=yes ;;
2241 if test -z "$CC"; then
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2244 set dummy ${ac_tool_prefix}cc; ac_word=$2
2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC="$CC" # Let the user override the test.
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_CC="${ac_tool_prefix}cc"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$CC"; then
2272 { echo "$as_me:$LINENO: result: $CC" >&5
2273 echo "${ECHO_T}$CC" >&6; }
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2282 if test -z "$CC"; then
2283 # Extract the first word of "cc", so it can be a program name with args.
2284 set dummy cc; ac_word=$2
2285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2287 if test "${ac_cv_prog_CC+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2302 ac_prog_rejected=yes
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 if test $ac_prog_rejected = yes; then
2314 # We found a bogon in the path, so make sure we never use it.
2315 set dummy $ac_cv_prog_CC
2317 if test $# != 0; then
2318 # We chose a different compiler from the bogus one.
2319 # However, it has the same basename, so the bogon will be chosen
2320 # first if we set CC to just the basename; use the full file name.
2322 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2328 if test -n "$CC"; then
2329 { echo "$as_me:$LINENO: result: $CC" >&5
2330 echo "${ECHO_T}$CC" >&6; }
2332 { echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6; }
2338 if test -z "$CC"; then
2339 if test -n "$ac_tool_prefix"; then
2340 for ac_prog in cl.exe
2342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346 if test "${ac_cv_prog_CC+set}" = set; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 if test -n "$CC"; then
2350 ac_cv_prog_CC="$CC" # Let the user override the test.
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 if test -n "$CC"; then
2371 { echo "$as_me:$LINENO: result: $CC" >&5
2372 echo "${ECHO_T}$CC" >&6; }
2374 { echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6; }
2379 test -n "$CC" && break
2382 if test -z "$CC"; then
2384 for ac_prog in cl.exe
2386 # Extract the first word of "$ac_prog", so it can be a program name with args.
2387 set dummy $ac_prog; ac_word=$2
2388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2390 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 if test -n "$ac_ct_CC"; then
2394 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_ac_ct_CC="$ac_prog"
2404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2416 echo "${ECHO_T}$ac_ct_CC" >&6; }
2418 { echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6; }
2423 test -n "$ac_ct_CC" && break
2426 if test "x$ac_ct_CC" = x; then
2429 case $cross_compiling:$ac_tool_warned in
2431 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2432 whose name does not start with the host triplet. If you think this
2433 configuration is useful to you, please write to autoconf@gnu.org." >&5
2434 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2435 whose name does not start with the host triplet. If you think this
2436 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2437 ac_tool_warned=yes ;;
2446 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2447 See \`config.log' for more details." >&5
2448 echo "$as_me: error: no acceptable C compiler found in \$PATH
2449 See \`config.log' for more details." >&2;}
2450 { (exit 1); exit 1; }; }
2452 # Provide some information about the compiler.
2453 echo "$as_me:$LINENO: checking for C compiler version" >&5
2454 ac_compiler=`set X $ac_compile; echo $2`
2455 { (ac_try="$ac_compiler --version >&5"
2457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2458 *) ac_try_echo=$ac_try;;
2460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2461 (eval "$ac_compiler --version >&5") 2>&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }
2465 { (ac_try="$ac_compiler -v >&5"
2467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2471 (eval "$ac_compiler -v >&5") 2>&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }
2475 { (ac_try="$ac_compiler -V >&5"
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2481 (eval "$ac_compiler -V >&5") 2>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }
2486 cat >conftest.$ac_ext <<_ACEOF
2489 cat confdefs.h >>conftest.$ac_ext
2490 cat >>conftest.$ac_ext <<_ACEOF
2491 /* end confdefs.h. */
2501 ac_clean_files_save=$ac_clean_files
2502 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2503 # Try to create an executable without -o first, disregard a.out.
2504 # It will help us diagnose broken compilers, and finding out an intuition
2506 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2507 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2508 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2510 # List of possible output files, starting from the most likely.
2511 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2512 # only as a last resort. b.out is created by i960 compilers.
2513 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2515 # The IRIX 6 linker writes into existing files which may not be
2516 # executable, retaining their permissions. Remove them first so a
2517 # subsequent execution test works.
2519 for ac_file in $ac_files
2522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2523 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2528 if { (ac_try="$ac_link_default"
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2534 (eval "$ac_link_default") 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; then
2538 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2539 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2540 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2541 # so that the user can short-circuit this test for compilers unknown to
2543 for ac_file in $ac_files ''
2545 test -f "$ac_file" || continue
2547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2550 # We found the default executable, but exeext='' is most
2554 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2556 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558 # We set ac_cv_exeext here because the later test for it is not
2559 # safe: cross compilers may not add the suffix if given an `-o'
2560 # argument, so we may need to know it at that point already.
2561 # Even if this section looks crufty: it has the advantage of
2568 test "$ac_cv_exeext" = no && ac_cv_exeext=
2574 { echo "$as_me:$LINENO: result: $ac_file" >&5
2575 echo "${ECHO_T}$ac_file" >&6; }
2576 if test -z "$ac_file"; then
2577 echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2580 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2581 See \`config.log' for more details." >&5
2582 echo "$as_me: error: C compiler cannot create executables
2583 See \`config.log' for more details." >&2;}
2584 { (exit 77); exit 77; }; }
2587 ac_exeext=$ac_cv_exeext
2589 # Check that the compiler produces executables we can run. If not, either
2590 # the compiler is broken, or we cross compile.
2591 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2592 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2593 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2594 # If not cross compiling, check that we can run a simple program.
2595 if test "$cross_compiling" != yes; then
2596 if { ac_try='./$ac_file'
2597 { (case "(($ac_try" in
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602 (eval "$ac_try") 2>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2608 if test "$cross_compiling" = maybe; then
2611 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2612 If you meant to cross compile, use \`--host'.
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot run C compiled programs.
2615 If you meant to cross compile, use \`--host'.
2616 See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }
2621 { echo "$as_me:$LINENO: result: yes" >&5
2622 echo "${ECHO_T}yes" >&6; }
2624 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2625 ac_clean_files=$ac_clean_files_save
2626 # Check that the compiler produces executables we can run. If not, either
2627 # the compiler is broken, or we cross compile.
2628 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2629 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2630 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2631 echo "${ECHO_T}$cross_compiling" >&6; }
2633 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2634 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2635 if { (ac_try="$ac_link"
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_link") 2>&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; then
2645 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2646 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2647 # work properly (i.e., refer to `conftest.exe'), while it won't with
2649 for ac_file in conftest.exe conftest conftest.*; do
2650 test -f "$ac_file" || continue
2652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2653 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2659 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2660 See \`config.log' for more details." >&5
2661 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2662 See \`config.log' for more details." >&2;}
2663 { (exit 1); exit 1; }; }
2666 rm -f conftest$ac_cv_exeext
2667 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2668 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2670 rm -f conftest.$ac_ext
2671 EXEEXT=$ac_cv_exeext
2673 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2674 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2675 if test "${ac_cv_objext+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 cat >conftest.$ac_ext <<_ACEOF
2681 cat confdefs.h >>conftest.$ac_ext
2682 cat >>conftest.$ac_ext <<_ACEOF
2683 /* end confdefs.h. */
2693 rm -f conftest.o conftest.obj
2694 if { (ac_try="$ac_compile"
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2700 (eval "$ac_compile") 2>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; then
2704 for ac_file in conftest.o conftest.obj conftest.*; do
2705 test -f "$ac_file" || continue;
2707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2708 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2713 echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2716 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2717 See \`config.log' for more details." >&5
2718 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2719 See \`config.log' for more details." >&2;}
2720 { (exit 1); exit 1; }; }
2723 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2725 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2726 echo "${ECHO_T}$ac_cv_objext" >&6; }
2727 OBJEXT=$ac_cv_objext
2729 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2730 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2731 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2752 rm -f conftest.$ac_objext
2753 if { (ac_try="$ac_compile"
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759 (eval "$ac_compile") 2>conftest.er1
2761 grep -v '^ *+' conftest.er1 >conftest.err
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } && {
2766 test -z "$ac_c_werror_flag" ||
2767 test ! -s conftest.err
2768 } && test -s conftest.$ac_objext; then
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2781 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2782 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2783 GCC=`test $ac_compiler_gnu = yes && echo yes`
2784 ac_test_CFLAGS=${CFLAGS+set}
2785 ac_save_CFLAGS=$CFLAGS
2786 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2787 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2788 if test "${ac_cv_prog_cc_g+set}" = set; then
2789 echo $ECHO_N "(cached) $ECHO_C" >&6
2791 ac_save_c_werror_flag=$ac_c_werror_flag
2792 ac_c_werror_flag=yes
2795 cat >conftest.$ac_ext <<_ACEOF
2798 cat confdefs.h >>conftest.$ac_ext
2799 cat >>conftest.$ac_ext <<_ACEOF
2800 /* end confdefs.h. */
2810 rm -f conftest.$ac_objext
2811 if { (ac_try="$ac_compile"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2817 (eval "$ac_compile") 2>conftest.er1
2819 grep -v '^ *+' conftest.er1 >conftest.err
2821 cat conftest.err >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } && {
2824 test -z "$ac_c_werror_flag" ||
2825 test ! -s conftest.err
2826 } && test -s conftest.$ac_objext; then
2829 echo "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2833 cat >conftest.$ac_ext <<_ACEOF
2836 cat confdefs.h >>conftest.$ac_ext
2837 cat >>conftest.$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2848 rm -f conftest.$ac_objext
2849 if { (ac_try="$ac_compile"
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2855 (eval "$ac_compile") 2>conftest.er1
2857 grep -v '^ *+' conftest.er1 >conftest.err
2859 cat conftest.err >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } && {
2862 test -z "$ac_c_werror_flag" ||
2863 test ! -s conftest.err
2864 } && test -s conftest.$ac_objext; then
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.$ac_ext >&5
2870 ac_c_werror_flag=$ac_save_c_werror_flag
2872 cat >conftest.$ac_ext <<_ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2887 rm -f conftest.$ac_objext
2888 if { (ac_try="$ac_compile"
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2894 (eval "$ac_compile") 2>conftest.er1
2896 grep -v '^ *+' conftest.er1 >conftest.err
2898 cat conftest.err >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); } && {
2901 test -z "$ac_c_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext; then
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 ac_c_werror_flag=$ac_save_c_werror_flag
2921 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2922 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2923 if test "$ac_test_CFLAGS" = set; then
2924 CFLAGS=$ac_save_CFLAGS
2925 elif test $ac_cv_prog_cc_g = yes; then
2926 if test "$GCC" = yes; then
2932 if test "$GCC" = yes; then
2938 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2939 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2940 if test "${ac_cv_prog_cc_c89+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 ac_cv_prog_cc_c89=no
2945 cat >conftest.$ac_ext <<_ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2953 #include <sys/types.h>
2954 #include <sys/stat.h>
2955 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2956 struct buf { int x; };
2957 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2958 static char *e (p, i)
2964 static char *f (char * (*g) (char **, int), char **p, ...)
2969 s = g (p, va_arg (v,int));
2974 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2975 function prototypes and stuff, but not '\xHH' hex character constants.
2976 These don't provoke an error unfortunately, instead are silently treated
2977 as 'x'. The following induces an error, until -std is added to get
2978 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2979 array size at least. It's necessary to write '\x00'==0 to get something
2980 that's true only with -std. */
2981 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2983 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2984 inside strings and character constants. */
2986 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2988 int test (int i, double x);
2989 struct s1 {int (*f) (int a);};
2990 struct s2 {int (*f) (double a);};
2991 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2997 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3002 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3003 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3005 CC="$ac_save_CC $ac_arg"
3006 rm -f conftest.$ac_objext
3007 if { (ac_try="$ac_compile"
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3013 (eval "$ac_compile") 2>conftest.er1
3015 grep -v '^ *+' conftest.er1 >conftest.err
3017 cat conftest.err >&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } && {
3020 test -z "$ac_c_werror_flag" ||
3021 test ! -s conftest.err
3022 } && test -s conftest.$ac_objext; then
3023 ac_cv_prog_cc_c89=$ac_arg
3025 echo "$as_me: failed program was:" >&5
3026 sed 's/^/| /' conftest.$ac_ext >&5
3031 rm -f core conftest.err conftest.$ac_objext
3032 test "x$ac_cv_prog_cc_c89" != "xno" && break
3034 rm -f conftest.$ac_ext
3039 case "x$ac_cv_prog_cc_c89" in
3041 { echo "$as_me:$LINENO: result: none needed" >&5
3042 echo "${ECHO_T}none needed" >&6; } ;;
3044 { echo "$as_me:$LINENO: result: unsupported" >&5
3045 echo "${ECHO_T}unsupported" >&6; } ;;
3047 CC="$CC $ac_cv_prog_cc_c89"
3048 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3049 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3054 ac_cpp='$CPP $CPPFLAGS'
3055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058 DEPDIR="${am__leading_dot}deps"
3060 ac_config_commands="$ac_config_commands depfiles"
3063 am_make=${MAKE-make}
3064 cat > confinc << 'END'
3069 # If we don't find an include directive, just comment out the code.
3070 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3071 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3075 # First try GNU make style include.
3076 echo "include confinc" > confmf
3077 # We grep out `Entering directory' and `Leaving directory'
3078 # messages which can occur if `w' ends up in MAKEFLAGS.
3079 # In particular we don't look at `^make:' because GNU make might
3080 # be invoked under some other name (usually "gmake"), in which
3081 # case it prints its new name instead of `make'.
3082 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3087 # Now try BSD make style include.
3088 if test "$am__include" = "#"; then
3089 echo '.include "confinc"' > confmf
3090 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3091 am__include=.include
3098 { echo "$as_me:$LINENO: result: $_am_result" >&5
3099 echo "${ECHO_T}$_am_result" >&6; }
3100 rm -f confinc confmf
3102 # Check whether --enable-dependency-tracking was given.
3103 if test "${enable_dependency_tracking+set}" = set; then
3104 enableval=$enable_dependency_tracking;
3107 if test "x$enable_dependency_tracking" != xno; then
3108 am_depcomp="$ac_aux_dir/depcomp"
3113 if test "x$enable_dependency_tracking" != xno; then
3124 depcc="$CC" am_compiler_list=
3126 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3127 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3128 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3129 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3132 # We make a subdir and do the tests there. Otherwise we can end up
3133 # making bogus files that we don't know about and never remove. For
3134 # instance it was reported that on HP-UX the gcc test will end up
3135 # making a dummy file named `D' -- because `-MD' means `put the output
3138 # Copy depcomp to subdir because otherwise we won't find it if we're
3139 # using a relative directory.
3140 cp "$am_depcomp" conftest.dir
3142 # We will build objects and dependencies in a subdirectory because
3143 # it helps to detect inapplicable dependency modes. For instance
3144 # both Tru64's cc and ICC support -MD to output dependencies as a
3145 # side effect of compilation, but ICC will put the dependencies in
3146 # the current directory while Tru64 will put them in the object
3150 am_cv_CC_dependencies_compiler_type=none
3151 if test "$am_compiler_list" = ""; then
3152 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3154 for depmode in $am_compiler_list; do
3155 # Setup a source with many dependencies, because some compilers
3156 # like to wrap large dependency lists on column 80 (with \), and
3157 # we should not choose a depcomp mode which is confused by this.
3159 # We need to recreate these files for each test, as the compiler may
3160 # overwrite some of them when testing with obscure command lines.
3161 # This happens at least with the AIX C compiler.
3163 for i in 1 2 3 4 5 6; do
3164 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3165 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3166 # Solaris 8's {/usr,}/bin/sh.
3167 touch sub/conftst$i.h
3169 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3173 # after this tag, mechanisms are not by side-effect, so they'll
3174 # only be used when explicitly requested
3175 if test "x$enable_dependency_tracking" = xyes; then
3183 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3184 # mode. It turns out that the SunPro C++ compiler does not properly
3185 # handle `-M -o', and we need to detect this.
3186 if depmode=$depmode \
3187 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3188 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3189 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3190 >/dev/null 2>conftest.err &&
3191 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3192 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3193 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3194 # icc doesn't choke on unknown options, it will just issue warnings
3195 # or remarks (even with -Werror). So we grep stderr for any message
3196 # that says an option was ignored or not supported.
3197 # When given -MP, icc 7.0 and 7.1 complain thusly:
3198 # icc: Command line warning: ignoring option '-M'; no argument required
3199 # The diagnosis changed in icc 8.0:
3200 # icc: Command line remark: option '-MP' not supported
3201 if (grep 'ignoring option' conftest.err ||
3202 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3203 am_cv_CC_dependencies_compiler_type=$depmode
3212 am_cv_CC_dependencies_compiler_type=none
3216 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3217 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3218 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3223 test "x$enable_dependency_tracking" != xno \
3224 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3226 am__fastdepCC_FALSE='#'
3228 am__fastdepCC_TRUE='#'
3229 am__fastdepCC_FALSE=
3235 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3236 if test -n "$ac_tool_prefix"; then
3237 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3238 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3241 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir=.
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3256 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3268 if test -n "$PKG_CONFIG"; then
3269 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3270 echo "${ECHO_T}$PKG_CONFIG" >&6; }
3272 { echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6; }
3278 if test -z "$ac_cv_path_PKG_CONFIG"; then
3279 ac_pt_PKG_CONFIG=$PKG_CONFIG
3280 # Extract the first word of "pkg-config", so it can be a program name with args.
3281 set dummy pkg-config; ac_word=$2
3282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3284 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 case $ac_pt_PKG_CONFIG in
3289 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3299 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3311 if test -n "$ac_pt_PKG_CONFIG"; then
3312 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3313 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3315 { echo "$as_me:$LINENO: result: no" >&5
3316 echo "${ECHO_T}no" >&6; }
3319 if test "x$ac_pt_PKG_CONFIG" = x; then
3322 case $cross_compiling:$ac_tool_warned in
3324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3325 whose name does not start with the host triplet. If you think this
3326 configuration is useful to you, please write to autoconf@gnu.org." >&5
3327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3328 whose name does not start with the host triplet. If you think this
3329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3330 ac_tool_warned=yes ;;
3332 PKG_CONFIG=$ac_pt_PKG_CONFIG
3335 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3339 if test -n "$PKG_CONFIG"; then
3340 _pkg_min_version=0.9.0
3341 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3342 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3343 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3344 { echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6; }
3347 { echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6; }
3355 { echo "$as_me:$LINENO: checking for HILDON" >&5
3356 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
3358 if test -n "$PKG_CONFIG"; then
3359 if test -n "$HILDON_CFLAGS"; then
3360 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
3362 if test -n "$PKG_CONFIG" && \
3363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 2.2\"") >&5
3364 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 2.2") 2>&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; then
3368 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 2.2" 2>/dev/null`
3376 if test -n "$PKG_CONFIG"; then
3377 if test -n "$HILDON_LIBS"; then
3378 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
3380 if test -n "$PKG_CONFIG" && \
3381 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 2.2\"") >&5
3382 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 2.2") 2>&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; then
3386 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 2.2" 2>/dev/null`
3397 if test $pkg_failed = yes; then
3399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3400 _pkg_short_errors_supported=yes
3402 _pkg_short_errors_supported=no
3404 if test $_pkg_short_errors_supported = yes; then
3405 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 2.2"`
3407 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 2.2"`
3409 # Put the nasty error message in config.log where it belongs
3410 echo "$HILDON_PKG_ERRORS" >&5
3412 { { echo "$as_me:$LINENO: error: Package requirements (hildon-1 >= 2.2) were not met:
3416 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3417 installed software in a non-standard prefix.
3419 Alternatively, you may set the environment variables HILDON_CFLAGS
3420 and HILDON_LIBS to avoid the need to call pkg-config.
3421 See the pkg-config man page for more details.
3423 echo "$as_me: error: Package requirements (hildon-1 >= 2.2) were not met:
3427 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3428 installed software in a non-standard prefix.
3430 Alternatively, you may set the environment variables HILDON_CFLAGS
3431 and HILDON_LIBS to avoid the need to call pkg-config.
3432 See the pkg-config man page for more details.
3434 { (exit 1); exit 1; }; }
3435 elif test $pkg_failed = untried; then
3436 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3437 is in your PATH or set the PKG_CONFIG environment variable to the full
3440 Alternatively, you may set the environment variables HILDON_CFLAGS
3441 and HILDON_LIBS to avoid the need to call pkg-config.
3442 See the pkg-config man page for more details.
3444 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3445 See \`config.log' for more details." >&5
3446 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3447 is in your PATH or set the PKG_CONFIG environment variable to the full
3450 Alternatively, you may set the environment variables HILDON_CFLAGS
3451 and HILDON_LIBS to avoid the need to call pkg-config.
3452 See the pkg-config man page for more details.
3454 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3455 See \`config.log' for more details." >&2;}
3456 { (exit 1); exit 1; }; }
3458 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
3459 HILDON_LIBS=$pkg_cv_HILDON_LIBS
3460 { echo "$as_me:$LINENO: result: yes" >&5
3461 echo "${ECHO_T}yes" >&6; }
3464 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile"
3466 cat >confcache <<\_ACEOF
3467 # This file is a shell script that caches the results of configure
3468 # tests run on this system so they can be shared between configure
3469 # scripts and configure runs, see configure's option --config-cache.
3470 # It is not useful on other systems. If it contains results you don't
3471 # want to keep, you may remove or edit it.
3473 # config.status only pays attention to the cache file if you give it
3474 # the --recheck option to rerun configure.
3476 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3477 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3482 # The following way of writing the cache mishandles newlines in values,
3483 # but we know of no workaround that is simple, portable, and efficient.
3484 # So, we kill variables containing newlines.
3485 # Ultrix sh set writes to stderr and can't be redirected directly,
3486 # and sets the high bit in the cache file unless we assign to the vars.
3488 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3489 eval ac_val=\$$ac_var
3493 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3494 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3497 _ | IFS | as_nl) ;; #(
3498 *) $as_unset $ac_var ;;
3504 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3505 *${as_nl}ac_space=\ *)
3506 # `set' does not quote correctly, so add quotes (double-quote
3507 # substitution turns \\\\ into \\, and sed turns \\ into \).
3510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3513 # `set' quotes correctly as required by POSIX, so do not add quotes.
3514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3525 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3527 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3528 if test -w "$cache_file"; then
3529 test "x$cache_file" != "x/dev/null" &&
3530 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3531 echo "$as_me: updating cache $cache_file" >&6;}
3532 cat confcache >$cache_file
3534 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3535 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3540 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3541 # Let make expand exec_prefix.
3542 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3544 # Transform confdefs.h into DEFS.
3545 # Protect against shell expansion while executing Makefile rules.
3546 # Protect against Makefile macro expansion.
3548 # If the first sed substitution is executed (which looks for macros that
3549 # take arguments), then branch to the quote section. Otherwise,
3550 # look for a macro that doesn't take arguments.
3554 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3556 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3560 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3573 DEFS=`sed -n "$ac_script" confdefs.h`
3578 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3579 # 1. Remove the extension, and $U if already installed.
3580 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3581 ac_i=`echo "$ac_i" | sed "$ac_script"`
3582 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3583 # will be set to the directory where LIBOBJS objects are built.
3584 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3585 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3589 LTLIBOBJS=$ac_ltlibobjs
3592 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3593 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3594 Usually this means the macro was only invoked conditionally." >&5
3595 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3596 Usually this means the macro was only invoked conditionally." >&2;}
3597 { (exit 1); exit 1; }; }
3599 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3600 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3601 Usually this means the macro was only invoked conditionally." >&5
3602 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3603 Usually this means the macro was only invoked conditionally." >&2;}
3604 { (exit 1); exit 1; }; }
3607 : ${CONFIG_STATUS=./config.status}
3608 ac_clean_files_save=$ac_clean_files
3609 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3610 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3611 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3612 cat >$CONFIG_STATUS <<_ACEOF
3614 # Generated by $as_me.
3615 # Run this file to recreate the current configuration.
3616 # Compiler output produced by configure, useful for debugging
3617 # configure, is in config.log if it exists.
3622 SHELL=\${CONFIG_SHELL-$SHELL}
3625 cat >>$CONFIG_STATUS <<\_ACEOF
3626 ## --------------------- ##
3627 ## M4sh Initialization. ##
3628 ## --------------------- ##
3630 # Be more Bourne compatible
3631 DUALCASE=1; export DUALCASE # for MKS sh
3632 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3635 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3636 # is contrary to our usage. Disable this feature.
3637 alias -g '${1+"$@"}'='"$@"'
3638 setopt NO_GLOB_SUBST
3640 case `(set -o) 2>/dev/null` in
3641 *posix*) set -o posix ;;
3650 # Avoid depending upon Character Ranges.
3651 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3652 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3653 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3654 as_cr_digits='0123456789'
3655 as_cr_alnum=$as_cr_Letters$as_cr_digits
3657 # The user is always right.
3658 if test "${PATH_SEPARATOR+set}" != set; then
3659 echo "#! /bin/sh" >conf$$.sh
3660 echo "exit 0" >>conf$$.sh
3662 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3670 # Support unset when possible.
3671 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3679 # We need space, tab and new line, in precisely that order. Quoting is
3680 # there to prevent editors from complaining about space-tab.
3681 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3682 # splitting by setting IFS to empty value.)
3687 # Find who we are. Look in the path if we contain no directory separator.
3689 *[\\/]* ) as_myself=$0 ;;
3690 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir=.
3695 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3701 # We did not find ourselves, most probably we were run as `sh COMMAND'
3702 # in which case we are not to be found in the path.
3703 if test "x$as_myself" = x; then
3706 if test ! -f "$as_myself"; then
3707 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3708 { (exit 1); exit 1; }
3711 # Work around bugs in pre-3.0 UWIN ksh.
3712 for as_var in ENV MAIL MAILPATH
3713 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3721 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3722 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3723 LC_TELEPHONE LC_TIME
3725 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3726 eval $as_var=C; export $as_var
3728 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3732 # Required to use basename.
3733 if expr a : '\(a\)' >/dev/null 2>&1 &&
3734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3740 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3741 as_basename=basename
3747 # Name of the executable.
3748 as_me=`$as_basename -- "$0" ||
3749 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3750 X"$0" : 'X\(//\)$' \| \
3751 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3753 sed '/^.*\/\([^/][^/]*\)\/*$/{
3774 test "x$as_lineno_1" != "x$as_lineno_2" &&
3775 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3777 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3778 # uniformly replaced by the line number. The first 'sed' inserts a
3779 # line-number line after each line using $LINENO; the second 'sed'
3780 # does the real work. The second script uses 'N' to pair each
3781 # line-number line with the line containing $LINENO, and appends
3782 # trailing '-' during substitution so that $LINENO is not a special
3784 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3785 # scripts with optimization help from Paolo Bonzini. Blame Lee
3786 # E. McMahon (1931-1989) for sed's syntax. :-)
3798 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3802 chmod +x "$as_me.lineno" ||
3803 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3804 { (exit 1); exit 1; }; }
3806 # Don't try to exec as it changes $[0], causing all sort of problems
3807 # (the dirname of $[0] is not the place where we might find the
3808 # original and so on. Autoconf is especially sensitive to this).
3810 # Exit status is that of the last command.
3815 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3821 ECHO_C= ECHO_N= ECHO_T=
3824 case `echo 'x\c'` in
3825 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3832 if expr a : '\(a\)' >/dev/null 2>&1 &&
3833 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3839 rm -f conf$$ conf$$.exe conf$$.file
3840 if test -d conf$$.dir; then
3841 rm -f conf$$.dir/conf$$.file
3847 if ln -s conf$$.file conf$$ 2>/dev/null; then
3849 # ... but there are two gotchas:
3850 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3851 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3852 # In both cases, we have to default to `cp -p'.
3853 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3855 elif ln conf$$.file conf$$ 2>/dev/null; then
3860 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3861 rmdir conf$$.dir 2>/dev/null
3863 if mkdir -p . 2>/dev/null; then
3866 test -d ./-p && rmdir ./-p
3870 if test -x / >/dev/null 2>&1; then
3873 if ls -dL / >/dev/null 2>&1; then
3880 if test -d "$1"; then
3886 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3887 ???[sx]*):;;*)false;;esac;fi
3891 as_executable_p=$as_test_x
3893 # Sed expression to map a string onto a valid CPP name.
3894 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3896 # Sed expression to map a string onto a valid variable name.
3897 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3902 # Save the log message, to keep $[0] and so on meaningful, and to
3903 # report actual input values of CONFIG_FILES etc. instead of their
3904 # values after options handling.
3906 This file was extended by gbooks $as_me 0.1, which was
3907 generated by GNU Autoconf 2.61. Invocation command line was
3909 CONFIG_FILES = $CONFIG_FILES
3910 CONFIG_HEADERS = $CONFIG_HEADERS
3911 CONFIG_LINKS = $CONFIG_LINKS
3912 CONFIG_COMMANDS = $CONFIG_COMMANDS
3915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3920 cat >>$CONFIG_STATUS <<_ACEOF
3921 # Files that config.status was made for.
3922 config_files="$ac_config_files"
3923 config_commands="$ac_config_commands"
3927 cat >>$CONFIG_STATUS <<\_ACEOF
3929 \`$as_me' instantiates files from templates according to the
3930 current configuration.
3932 Usage: $0 [OPTIONS] [FILE]...
3934 -h, --help print this help, then exit
3935 -V, --version print version number and configuration settings, then exit
3936 -q, --quiet do not print progress messages
3937 -d, --debug don't remove temporary files
3938 --recheck update $as_me by reconfiguring in the same conditions
3939 --file=FILE[:TEMPLATE]
3940 instantiate the configuration file FILE
3942 Configuration files:
3945 Configuration commands:
3948 Report bugs to <bug-autoconf@gnu.org>."
3951 cat >>$CONFIG_STATUS <<_ACEOF
3953 gbooks config.status 0.1
3954 configured by $0, generated by GNU Autoconf 2.61,
3955 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3957 Copyright (C) 2006 Free Software Foundation, Inc.
3958 This config.status script is free software; the Free Software Foundation
3959 gives unlimited permission to copy, distribute and modify it."
3966 cat >>$CONFIG_STATUS <<\_ACEOF
3967 # If no file are specified by the user, then we need to provide default
3968 # value. By we need to know if files were specified by the user.
3974 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3975 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3986 # Handling of the options.
3987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3990 echo "$ac_cs_version"; exit ;;
3991 --debug | --debu | --deb | --de | --d | -d )
3993 --file | --fil | --fi | --f )
3995 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3996 ac_need_defaults=false;;
3997 --he | --h | --help | --hel | -h )
3998 echo "$ac_cs_usage"; exit ;;
3999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4000 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4004 -*) { echo "$as_me: error: unrecognized option: $1
4005 Try \`$0 --help' for more information." >&2
4006 { (exit 1); exit 1; }; } ;;
4008 *) ac_config_targets="$ac_config_targets $1"
4009 ac_need_defaults=false ;;
4015 ac_configure_extra_args=
4017 if $ac_cs_silent; then
4019 ac_configure_extra_args="$ac_configure_extra_args --silent"
4023 cat >>$CONFIG_STATUS <<_ACEOF
4024 if \$ac_cs_recheck; then
4025 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4028 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4032 cat >>$CONFIG_STATUS <<\_ACEOF
4036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4037 ## Running $as_me. ##
4043 cat >>$CONFIG_STATUS <<_ACEOF
4047 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4051 cat >>$CONFIG_STATUS <<\_ACEOF
4053 # Handling of arguments.
4054 for ac_config_target in $ac_config_targets
4056 case $ac_config_target in
4057 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4058 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4059 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4060 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
4062 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4063 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4064 { (exit 1); exit 1; }; };;
4069 # If the user did not use the arguments to specify the items to instantiate,
4070 # then the envvar interface is used. Set only those that are not.
4071 # We use the long form for the default assignment because of an extremely
4072 # bizarre bug on SunOS 4.1.3.
4073 if $ac_need_defaults; then
4074 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4075 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4078 # Have a temporary directory for convenience. Make it in the build tree
4079 # simply because there is no reason against having it here, and in addition,
4080 # creating and moving files from /tmp can sometimes cause problems.
4081 # Hook for its removal unless debugging.
4082 # Note that there is a small window in which the directory will not be cleaned:
4083 # after its creation but before its name has been assigned to `$tmp'.
4087 trap 'exit_status=$?
4088 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4090 trap '{ (exit 1); exit 1; }' 1 2 13 15
4092 # Create a (secure) tmp directory for tmp files.
4095 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4096 test -n "$tmp" && test -d "$tmp"
4099 tmp=./conf$$-$RANDOM
4100 (umask 077 && mkdir "$tmp")
4103 echo "$me: cannot create a temporary directory in ." >&2
4104 { (exit 1); exit 1; }
4108 # Set up the sed scripts for CONFIG_FILES section.
4111 # No need to generate the scripts if there are no CONFIG_FILES.
4112 # This happens for instance when ./config.status config.h
4113 if test -n "$CONFIG_FILES"; then
4120 for ac_last_try in false false false false false :; do
4121 cat >conf$$subs.sed <<_ACEOF
4122 SHELL!$SHELL$ac_delim
4123 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4124 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4125 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4126 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4127 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4128 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4129 exec_prefix!$exec_prefix$ac_delim
4130 prefix!$prefix$ac_delim
4131 program_transform_name!$program_transform_name$ac_delim
4132 bindir!$bindir$ac_delim
4133 sbindir!$sbindir$ac_delim
4134 libexecdir!$libexecdir$ac_delim
4135 datarootdir!$datarootdir$ac_delim
4136 datadir!$datadir$ac_delim
4137 sysconfdir!$sysconfdir$ac_delim
4138 sharedstatedir!$sharedstatedir$ac_delim
4139 localstatedir!$localstatedir$ac_delim
4140 includedir!$includedir$ac_delim
4141 oldincludedir!$oldincludedir$ac_delim
4142 docdir!$docdir$ac_delim
4143 infodir!$infodir$ac_delim
4144 htmldir!$htmldir$ac_delim
4145 dvidir!$dvidir$ac_delim
4146 pdfdir!$pdfdir$ac_delim
4147 psdir!$psdir$ac_delim
4148 libdir!$libdir$ac_delim
4149 localedir!$localedir$ac_delim
4150 mandir!$mandir$ac_delim
4152 ECHO_C!$ECHO_C$ac_delim
4153 ECHO_N!$ECHO_N$ac_delim
4154 ECHO_T!$ECHO_T$ac_delim
4156 build_alias!$build_alias$ac_delim
4157 host_alias!$host_alias$ac_delim
4158 target_alias!$target_alias$ac_delim
4159 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4160 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4161 INSTALL_DATA!$INSTALL_DATA$ac_delim
4162 CYGPATH_W!$CYGPATH_W$ac_delim
4163 PACKAGE!$PACKAGE$ac_delim
4164 VERSION!$VERSION$ac_delim
4165 ACLOCAL!$ACLOCAL$ac_delim
4166 AUTOCONF!$AUTOCONF$ac_delim
4167 AUTOMAKE!$AUTOMAKE$ac_delim
4168 AUTOHEADER!$AUTOHEADER$ac_delim
4169 MAKEINFO!$MAKEINFO$ac_delim
4170 AMTAR!$AMTAR$ac_delim
4171 install_sh!$install_sh$ac_delim
4172 STRIP!$STRIP$ac_delim
4173 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4174 mkdir_p!$mkdir_p$ac_delim
4176 SET_MAKE!$SET_MAKE$ac_delim
4177 am__leading_dot!$am__leading_dot$ac_delim
4179 CFLAGS!$CFLAGS$ac_delim
4180 LDFLAGS!$LDFLAGS$ac_delim
4181 CPPFLAGS!$CPPFLAGS$ac_delim
4182 ac_ct_CC!$ac_ct_CC$ac_delim
4183 EXEEXT!$EXEEXT$ac_delim
4184 OBJEXT!$OBJEXT$ac_delim
4185 DEPDIR!$DEPDIR$ac_delim
4186 am__include!$am__include$ac_delim
4187 am__quote!$am__quote$ac_delim
4188 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4189 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4190 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4191 CCDEPMODE!$CCDEPMODE$ac_delim
4192 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4193 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4194 PKG_CONFIG!$PKG_CONFIG$ac_delim
4195 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
4196 HILDON_LIBS!$HILDON_LIBS$ac_delim
4197 LIBOBJS!$LIBOBJS$ac_delim
4198 LTLIBOBJS!$LTLIBOBJS$ac_delim
4201 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
4203 elif $ac_last_try; then
4204 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4205 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4206 { (exit 1); exit 1; }; }
4208 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4212 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4213 if test -n "$ac_eof"; then
4214 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4215 ac_eof=`expr $ac_eof + 1`
4218 cat >>$CONFIG_STATUS <<_ACEOF
4219 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4220 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4223 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4224 s/^/s,@/; s/!/@,|#_!!_#|/
4227 s/'"$ac_delim"'$/,g/; t
4229 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4230 ' >>$CONFIG_STATUS <conf$$subs.sed
4231 rm -f conf$$subs.sed
4232 cat >>$CONFIG_STATUS <<_ACEOF
4239 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4240 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4241 # trailing colons and then remove the whole line if VPATH becomes empty
4242 # (actually we leave an empty line to preserve line numbers).
4243 if test "x$srcdir" = x.; then
4244 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4248 s/^\([^=]*=[ ]*\):*/\1/
4254 cat >>$CONFIG_STATUS <<\_ACEOF
4255 fi # test -n "$CONFIG_FILES"
4258 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
4261 :[FHLC]) ac_mode=$ac_tag; continue;;
4263 case $ac_mode$ac_tag in
4265 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4266 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4267 { (exit 1); exit 1; }; };;
4268 :[FH]-) ac_tag=-:-;;
4269 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4286 -) ac_f="$tmp/stdin";;
4287 *) # Look for the file first in the build tree, then in the source tree
4288 # (if the path is not absolute). The absolute path cannot be DOS-style,
4289 # because $ac_f cannot contain `:'.
4293 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4295 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4296 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4297 { (exit 1); exit 1; }; };;
4299 ac_file_inputs="$ac_file_inputs $ac_f"
4302 # Let's still pretend it is `configure' which instantiates (i.e., don't
4303 # use $as_me), people would be surprised to read:
4304 # /* config.h. Generated by config.status. */
4305 configure_input="Generated from "`IFS=:
4306 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4307 if test x"$ac_file" != x-; then
4308 configure_input="$ac_file. $configure_input"
4309 { echo "$as_me:$LINENO: creating $ac_file" >&5
4310 echo "$as_me: creating $ac_file" >&6;}
4314 *:-:* | *:-) cat >"$tmp/stdin";;
4319 ac_dir=`$as_dirname -- "$ac_file" ||
4320 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4321 X"$ac_file" : 'X\(//\)[^/]' \| \
4322 X"$ac_file" : 'X\(//\)$' \| \
4323 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4344 -*) as_dir=./$as_dir;;
4346 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4350 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4351 *) as_qdir=$as_dir;;
4353 as_dirs="'$as_qdir' $as_dirs"
4354 as_dir=`$as_dirname -- "$as_dir" ||
4355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4356 X"$as_dir" : 'X\(//\)[^/]' \| \
4357 X"$as_dir" : 'X\(//\)$' \| \
4358 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4377 test -d "$as_dir" && break
4379 test -z "$as_dirs" || eval "mkdir $as_dirs"
4380 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4381 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4382 { (exit 1); exit 1; }; }; }
4386 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4388 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4389 # A ".." for each directory in $ac_dir_suffix.
4390 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4391 case $ac_top_builddir_sub in
4392 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4393 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4396 ac_abs_top_builddir=$ac_pwd
4397 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4398 # for backward compatibility:
4399 ac_top_builddir=$ac_top_build_prefix
4402 .) # We are building in place.
4404 ac_top_srcdir=$ac_top_builddir_sub
4405 ac_abs_top_srcdir=$ac_pwd ;;
4406 [\\/]* | ?:[\\/]* ) # Absolute name.
4407 ac_srcdir=$srcdir$ac_dir_suffix;
4408 ac_top_srcdir=$srcdir
4409 ac_abs_top_srcdir=$srcdir ;;
4411 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4412 ac_top_srcdir=$ac_top_build_prefix$srcdir
4413 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4415 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4425 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4426 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4430 cat >>$CONFIG_STATUS <<\_ACEOF
4431 # If the template does not know about datarootdir, expand it.
4432 # FIXME: This hack should be removed a few years after 2.60.
4433 ac_datarootdir_hack=; ac_datarootdir_seen=
4435 case `sed -n '/datarootdir/ {
4444 ' $ac_file_inputs` in
4445 *datarootdir*) ac_datarootdir_seen=yes;;
4446 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4447 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4448 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4450 cat >>$CONFIG_STATUS <<_ACEOF
4451 ac_datarootdir_hack='
4452 s&@datadir@&$datadir&g
4453 s&@docdir@&$docdir&g
4454 s&@infodir@&$infodir&g
4455 s&@localedir@&$localedir&g
4456 s&@mandir@&$mandir&g
4457 s&\\\${datarootdir}&$datarootdir&g' ;;
4461 # Neutralize VPATH when `$srcdir' = `.'.
4462 # Shell code in configure.ac might set extrasub.
4463 # FIXME: do we really want to maintain this feature?
4464 cat >>$CONFIG_STATUS <<_ACEOF
4468 cat >>$CONFIG_STATUS <<\_ACEOF
4470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4471 s&@configure_input@&$configure_input&;t t
4472 s&@top_builddir@&$ac_top_builddir_sub&;t t
4473 s&@srcdir@&$ac_srcdir&;t t
4474 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4475 s&@top_srcdir@&$ac_top_srcdir&;t t
4476 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4477 s&@builddir@&$ac_builddir&;t t
4478 s&@abs_builddir@&$ac_abs_builddir&;t t
4479 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4480 s&@INSTALL@&$ac_INSTALL&;t t
4481 $ac_datarootdir_hack
4482 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4484 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4485 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4486 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4487 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4488 which seems to be undefined. Please make sure it is defined." >&5
4489 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4490 which seems to be undefined. Please make sure it is defined." >&2;}
4494 -) cat "$tmp/out"; rm -f "$tmp/out";;
4495 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4500 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4501 echo "$as_me: executing $ac_file commands" >&6;}
4506 case $ac_file$ac_mode in
4507 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4508 # Strip MF so we end up with the name of the file.
4509 mf=`echo "$mf" | sed -e 's/:.*$//'`
4510 # Check whether this is an Automake generated Makefile or not.
4511 # We used to match only the files named `Makefile.in', but
4512 # some people rename them; so instead we look at the file content.
4513 # Grep'ing the first line is not enough: some people post-process
4514 # each Makefile.in and add a new line on top of each file to say so.
4515 # So let's grep whole file.
4516 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4517 dirpart=`$as_dirname -- "$mf" ||
4518 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4519 X"$mf" : 'X\(//\)[^/]' \| \
4520 X"$mf" : 'X\(//\)$' \| \
4521 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4543 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4544 # Extract the definition of DEP_FILES from the Makefile without
4546 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4547 test -z "$DEPDIR" && continue
4548 # When using ansi2knr, U may be empty or an underscore; expand it
4549 U=`sed -n 's/^U = //p' < "$mf"`
4550 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4551 # We invoke sed twice because it is the simplest approach to
4552 # changing $(DEPDIR) to its actual value in the expansion.
4553 for file in `sed -n '
4554 /^DEP_FILES = .*\\\\$/ {
4563 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4564 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4565 # Make sure the directory exists.
4566 test -f "$dirpart/$file" && continue
4567 fdir=`$as_dirname -- "$file" ||
4568 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4569 X"$file" : 'X\(//\)[^/]' \| \
4570 X"$file" : 'X\(//\)$' \| \
4571 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4590 { as_dir=$dirpart/$fdir
4592 -*) as_dir=./$as_dir;;
4594 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4598 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4599 *) as_qdir=$as_dir;;
4601 as_dirs="'$as_qdir' $as_dirs"
4602 as_dir=`$as_dirname -- "$as_dir" ||
4603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4604 X"$as_dir" : 'X\(//\)[^/]' \| \
4605 X"$as_dir" : 'X\(//\)$' \| \
4606 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4625 test -d "$as_dir" && break
4627 test -z "$as_dirs" || eval "mkdir $as_dirs"
4628 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4629 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4630 { (exit 1); exit 1; }; }; }
4631 # echo "creating $dirpart/$file"
4632 echo '# dummy' > "$dirpart/$file"
4641 { (exit 0); exit 0; }
4643 chmod +x $CONFIG_STATUS
4644 ac_clean_files=$ac_clean_files_save
4647 # configure is writing to config.log, and then calls config.status.
4648 # config.status does its own redirection, appending to config.log.
4649 # Unfortunately, on DOS this fails, as config.log is still kept open
4650 # by configure, so config.status won't be able to write to it; its
4651 # output is simply discarded. So we exec the FD to /dev/null,
4652 # effectively closing config.log, so it can be properly (re)opened and
4653 # appended to by config.status. When coming back to configure, we
4654 # need to make the FD available again.
4655 if test "$no_create" != yes; then
4657 ac_config_status_args=
4658 test "$silent" = yes &&
4659 ac_config_status_args="$ac_config_status_args --quiet"
4661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4664 # would make configure fail if this is the last instruction.
4665 $ac_cs_success || { (exit 1); exit 1; }