2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for FontcacheProto 0.1.3.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do 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 ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='FontcacheProto'
598 PACKAGE_TARNAME='fontcacheproto'
599 PACKAGE_VERSION='0.1.3'
600 PACKAGE_STRING='FontcacheProto 0.1.3'
601 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
603 # Factoring default headers for most tests.
604 ac_includes_default="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 ac_subst_vars='am__EXEEXT_FALSE
663 distcleancheck_listfiles
695 INSTALL_STRIP_PROGRAM
737 program_transform_name
749 enable_option_checking
750 enable_dependency_tracking
752 enable_strict_compilation
755 ac_precious_vars='build_alias
766 # Initialize some variables set by options.
768 ac_init_version=false
769 ac_unrecognized_opts=
771 # The variables have the same names as the options, with
772 # dashes changed to underlines.
780 program_transform_name=s,x,x,
788 # Installation directory options.
789 # These are left unexpanded so users can "make install exec_prefix=/foo"
790 # and all the variables that are supposed to be based on exec_prefix
791 # by default will actually change.
792 # Use braces instead of parens because sh, perl, etc. also accept them.
793 # (The list follows the same order as the GNU Coding Standards.)
794 bindir='${exec_prefix}/bin'
795 sbindir='${exec_prefix}/sbin'
796 libexecdir='${exec_prefix}/libexec'
797 datarootdir='${prefix}/share'
798 datadir='${datarootdir}'
799 sysconfdir='${prefix}/etc'
800 sharedstatedir='${prefix}/com'
801 localstatedir='${prefix}/var'
802 includedir='${prefix}/include'
803 oldincludedir='/usr/include'
804 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
805 infodir='${datarootdir}/info'
810 libdir='${exec_prefix}/lib'
811 localedir='${datarootdir}/locale'
812 mandir='${datarootdir}/man'
818 # If the previous option needs an argument, assign it.
819 if test -n "$ac_prev"; then
820 eval $ac_prev=\$ac_option
826 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 # Accept the important Cygnus configure options, so we can diagnose typos.
832 case $ac_dashdash$ac_option in
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 -build | --build | --buil | --bui | --bu)
842 ac_prev=build_alias ;;
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844 build_alias=$ac_optarg ;;
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848 ac_prev=cache_file ;;
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851 cache_file=$ac_optarg ;;
854 cache_file=config.cache ;;
856 -datadir | --datadir | --datadi | --datad)
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
859 datadir=$ac_optarg ;;
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862 | --dataroo | --dataro | --datar)
863 ac_prev=datarootdir ;;
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866 datarootdir=$ac_optarg ;;
868 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
873 { (exit 1); exit 1; }; }
874 ac_useropt_orig=$ac_useropt
875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep=', ';;
883 eval enable_$ac_useropt=no ;;
885 -docdir | --docdir | --docdi | --doc | --do)
887 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
890 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
892 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
895 -enable-* | --enable-*)
896 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
900 { (exit 1); exit 1; }; }
901 ac_useropt_orig=$ac_useropt
902 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
908 ac_unrecognized_sep=', ';;
910 eval enable_$ac_useropt=\$ac_optarg ;;
912 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
913 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
914 | --exec | --exe | --ex)
915 ac_prev=exec_prefix ;;
916 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
917 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
918 | --exec=* | --exe=* | --ex=*)
919 exec_prefix=$ac_optarg ;;
921 -gas | --gas | --ga | --g)
922 # Obsolete; use --with-gas.
925 -help | --help | --hel | --he | -h)
927 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
928 ac_init_help=recursive ;;
929 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
930 ac_init_help=short ;;
932 -host | --host | --hos | --ho)
933 ac_prev=host_alias ;;
934 -host=* | --host=* | --hos=* | --ho=*)
935 host_alias=$ac_optarg ;;
937 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
939 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
941 htmldir=$ac_optarg ;;
943 -includedir | --includedir | --includedi | --included | --include \
944 | --includ | --inclu | --incl | --inc)
945 ac_prev=includedir ;;
946 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
947 | --includ=* | --inclu=* | --incl=* | --inc=*)
948 includedir=$ac_optarg ;;
950 -infodir | --infodir | --infodi | --infod | --info | --inf)
952 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
953 infodir=$ac_optarg ;;
955 -libdir | --libdir | --libdi | --libd)
957 -libdir=* | --libdir=* | --libdi=* | --libd=*)
960 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
961 | --libexe | --libex | --libe)
962 ac_prev=libexecdir ;;
963 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
964 | --libexe=* | --libex=* | --libe=*)
965 libexecdir=$ac_optarg ;;
967 -localedir | --localedir | --localedi | --localed | --locale)
969 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
970 localedir=$ac_optarg ;;
972 -localstatedir | --localstatedir | --localstatedi | --localstated \
973 | --localstate | --localstat | --localsta | --localst | --locals)
974 ac_prev=localstatedir ;;
975 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
976 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
977 localstatedir=$ac_optarg ;;
979 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
981 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
985 # Obsolete; use --without-fp.
988 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
989 | --no-cr | --no-c | -n)
992 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
993 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
996 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
997 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
998 | --oldin | --oldi | --old | --ol | --o)
999 ac_prev=oldincludedir ;;
1000 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1001 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1002 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1003 oldincludedir=$ac_optarg ;;
1005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1008 prefix=$ac_optarg ;;
1010 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1011 | --program-pre | --program-pr | --program-p)
1012 ac_prev=program_prefix ;;
1013 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1014 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1015 program_prefix=$ac_optarg ;;
1017 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1018 | --program-suf | --program-su | --program-s)
1019 ac_prev=program_suffix ;;
1020 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1021 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1022 program_suffix=$ac_optarg ;;
1024 -program-transform-name | --program-transform-name \
1025 | --program-transform-nam | --program-transform-na \
1026 | --program-transform-n | --program-transform- \
1027 | --program-transform | --program-transfor \
1028 | --program-transfo | --program-transf \
1029 | --program-trans | --program-tran \
1030 | --progr-tra | --program-tr | --program-t)
1031 ac_prev=program_transform_name ;;
1032 -program-transform-name=* | --program-transform-name=* \
1033 | --program-transform-nam=* | --program-transform-na=* \
1034 | --program-transform-n=* | --program-transform-=* \
1035 | --program-transform=* | --program-transfor=* \
1036 | --program-transfo=* | --program-transf=* \
1037 | --program-trans=* | --program-tran=* \
1038 | --progr-tra=* | --program-tr=* | --program-t=*)
1039 program_transform_name=$ac_optarg ;;
1041 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1043 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1044 pdfdir=$ac_optarg ;;
1046 -psdir | --psdir | --psdi | --psd | --ps)
1048 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 | -silent | --silent | --silen | --sile | --sil)
1055 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1057 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1059 sbindir=$ac_optarg ;;
1061 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1062 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1063 | --sharedst | --shareds | --shared | --share | --shar \
1065 ac_prev=sharedstatedir ;;
1066 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1067 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1068 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1070 sharedstatedir=$ac_optarg ;;
1072 -site | --site | --sit)
1074 -site=* | --site=* | --sit=*)
1077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1080 srcdir=$ac_optarg ;;
1082 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1083 | --syscon | --sysco | --sysc | --sys | --sy)
1084 ac_prev=sysconfdir ;;
1085 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1086 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1087 sysconfdir=$ac_optarg ;;
1089 -target | --target | --targe | --targ | --tar | --ta | --t)
1090 ac_prev=target_alias ;;
1091 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1092 target_alias=$ac_optarg ;;
1094 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1097 -version | --version | --versio | --versi | --vers | -V)
1098 ac_init_version=: ;;
1101 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1105 { (exit 1); exit 1; }; }
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1115 eval with_$ac_useropt=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1132 eval with_$ac_useropt=no ;;
1135 # Obsolete; use --with-x.
1138 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1139 | --x-incl | --x-inc | --x-in | --x-i)
1140 ac_prev=x_includes ;;
1141 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1142 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1143 x_includes=$ac_optarg ;;
1145 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1146 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1147 ac_prev=x_libraries ;;
1148 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1149 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1150 x_libraries=$ac_optarg ;;
1152 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1153 Try \`$0 --help' for more information." >&2
1154 { (exit 1); exit 1; }; }
1158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1161 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1162 { (exit 1); exit 1; }; }
1163 eval $ac_envvar=\$ac_optarg
1164 export $ac_envvar ;;
1167 # FIXME: should be removed in autoconf 3.0.
1168 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1170 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1177 if test -n "$ac_prev"; then
1178 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1179 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1180 { (exit 1); exit 1; }; }
1183 if test -n "$ac_unrecognized_opts"; then
1184 case $enable_option_checking in
1186 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1187 { (exit 1); exit 1; }; } ;;
1188 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 # Check all directory arguments for consistency.
1193 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir
1198 eval ac_val=\$$ac_var
1199 # Remove trailing slashes.
1202 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203 eval $ac_var=\$ac_val;;
1205 # Be sure to have absolute directory names.
1207 [\\/$]* | ?:[\\/]* ) continue;;
1208 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1210 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1211 { (exit 1); exit 1; }; }
1214 # There might be people who depend on the old broken behavior: `$host'
1215 # used to hold the argument of --host etc.
1216 # FIXME: To remove some day.
1219 target=$target_alias
1221 # FIXME: To remove some day.
1222 if test "x$host_alias" != x; then
1223 if test "x$build_alias" = x; then
1224 cross_compiling=maybe
1225 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1226 If a cross compiler is detected then cross compile mode will be used." >&2
1227 elif test "x$build_alias" != "x$host_alias"; then
1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1235 test "$silent" = yes && exec 6>/dev/null
1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di=`ls -di .` &&
1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1241 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1242 { (exit 1); exit 1; }; }
1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1245 { (exit 1); exit 1; }; }
1248 # Find the source files, if location was not specified.
1249 if test -z "$srcdir"; then
1250 ac_srcdir_defaulted=yes
1251 # Try the directory containing this script, then the parent directory.
1252 ac_confdir=`$as_dirname -- "$as_myself" ||
1253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1254 X"$as_myself" : 'X\(//\)[^/]' \| \
1255 X"$as_myself" : 'X\(//\)$' \| \
1256 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1257 $as_echo X"$as_myself" |
1258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1280 ac_srcdir_defaulted=no
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1283 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1284 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1285 { (exit 1); exit 1; }; }
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1290 { (exit 1); exit 1; }; }
1292 # When building in place, set srcdir=.
1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
1296 # Remove unnecessary trailing slashes from srcdir.
1297 # Double slashes in file names in object file debugging info
1298 # mess up M-x gdb in Emacs.
1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1302 for ac_var in $ac_precious_vars; do
1303 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1304 eval ac_env_${ac_var}_value=\$${ac_var}
1305 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1306 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 # Report the --help message.
1312 if test "$ac_init_help" = "long"; then
1313 # Omit some internal or obsolete options to make the list less imposing.
1314 # This message is too long to be a string in the A/UX 3.1 sh.
1316 \`configure' configures FontcacheProto 0.1.3 to adapt to many kinds of systems.
1318 Usage: $0 [OPTION]... [VAR=VALUE]...
1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321 VAR=VALUE. See below for descriptions of some of the useful variables.
1323 Defaults for the options are specified in brackets.
1326 -h, --help display this help and exit
1327 --help=short display options specific to this package
1328 --help=recursive display the short help of all the included packages
1329 -V, --version display version information and exit
1330 -q, --quiet, --silent do not print \`checking...' messages
1331 --cache-file=FILE cache test results in FILE [disabled]
1332 -C, --config-cache alias for \`--cache-file=config.cache'
1333 -n, --no-create do not create output files
1334 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1336 Installation directories:
1337 --prefix=PREFIX install architecture-independent files in PREFIX
1338 [$ac_default_prefix]
1339 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1342 By default, \`make install' will install all the files in
1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1345 for instance \`--prefix=\$HOME'.
1347 For better control, use the options below.
1349 Fine tuning of the installation directories:
1350 --bindir=DIR user executables [EPREFIX/bin]
1351 --sbindir=DIR system admin executables [EPREFIX/sbin]
1352 --libexecdir=DIR program executables [EPREFIX/libexec]
1353 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1354 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1355 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1356 --libdir=DIR object code libraries [EPREFIX/lib]
1357 --includedir=DIR C header files [PREFIX/include]
1358 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1359 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1360 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1361 --infodir=DIR info documentation [DATAROOTDIR/info]
1362 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1363 --mandir=DIR man documentation [DATAROOTDIR/man]
1364 --docdir=DIR documentation root [DATAROOTDIR/doc/fontcacheproto]
1365 --htmldir=DIR html documentation [DOCDIR]
1366 --dvidir=DIR dvi documentation [DOCDIR]
1367 --pdfdir=DIR pdf documentation [DOCDIR]
1368 --psdir=DIR ps documentation [DOCDIR]
1374 --program-prefix=PREFIX prepend PREFIX to installed program names
1375 --program-suffix=SUFFIX append SUFFIX to installed program names
1376 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1379 --build=BUILD configure for building on BUILD [guessed]
1380 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1384 if test -n "$ac_init_help"; then
1385 case $ac_init_help in
1386 short | recursive ) echo "Configuration of FontcacheProto 0.1.3:";;
1391 --disable-option-checking ignore unrecognized --enable/--with options
1392 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1393 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1394 --disable-dependency-tracking speeds up one-time build
1395 --enable-dependency-tracking do not reject slow dependency extractors
1396 --enable-silent-rules less verbose build output (undo: `make V=1')
1397 --disable-silent-rules verbose build output (undo: `make V=0')
1398 --enable-strict-compilation
1399 Enable all warnings from compiler and make them
1400 errors (default: disabled)
1403 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1404 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1405 --with-release-version=STRING
1406 Use release version string in package name
1408 Some influential environment variables:
1409 CC C compiler command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1412 nonstandard directory <lib dir>
1413 LIBS libraries to pass to the linker, e.g. -l<library>
1414 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1415 you have headers in a nonstandard directory <include dir>
1418 Use these variables to override the choices made by `configure' or to help
1419 it to find libraries and programs with nonstandard names/locations.
1421 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1426 if test "$ac_init_help" = "recursive"; then
1427 # If there are subdirs, report their specific --help.
1428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1429 test -d "$ac_dir" ||
1430 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1438 # A ".." for each directory in $ac_dir_suffix.
1439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1440 case $ac_top_builddir_sub in
1441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445 ac_abs_top_builddir=$ac_pwd
1446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1447 # for backward compatibility:
1448 ac_top_builddir=$ac_top_build_prefix
1451 .) # We are building in place.
1453 ac_top_srcdir=$ac_top_builddir_sub
1454 ac_abs_top_srcdir=$ac_pwd ;;
1455 [\\/]* | ?:[\\/]* ) # Absolute name.
1456 ac_srcdir=$srcdir$ac_dir_suffix;
1457 ac_top_srcdir=$srcdir
1458 ac_abs_top_srcdir=$srcdir ;;
1460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1461 ac_top_srcdir=$ac_top_build_prefix$srcdir
1462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1466 cd "$ac_dir" || { ac_status=$?; continue; }
1467 # Check for guested configure.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1477 cd "$ac_pwd" || { ac_status=$?; break; }
1481 test -n "$ac_init_help" && exit $ac_status
1482 if $ac_init_version; then
1484 FontcacheProto configure 0.1.3
1485 generated by GNU Autoconf 2.63
1487 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1488 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1489 This configure script is free software; the Free Software Foundation
1490 gives unlimited permission to copy, distribute and modify it.
1494 cat >config.log <<_ACEOF
1495 This file contains any messages produced by compilers while
1496 running configure, to aid debugging if configure makes a mistake.
1498 It was created by FontcacheProto $as_me 0.1.3, which was
1499 generated by GNU Autoconf 2.63. Invocation command line was
1511 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1512 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1513 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1514 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1515 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1517 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1518 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1520 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1521 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1522 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1523 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1524 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1525 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1526 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 $as_echo "PATH: $as_dir"
1551 # Keep a trace of the command line.
1552 # Strip out --no-create and --no-recursion so they do not pile up.
1553 # Strip out --silent because we don't want to record it for future runs.
1554 # Also quote any args containing shell meta-characters.
1555 # Make two passes to allow for proper duplicate-argument suppression.
1559 ac_must_keep_next=false
1565 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1566 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1567 | -silent | --silent | --silen | --sile | --sil)
1570 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1573 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1575 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1576 if test $ac_must_keep_next = true; then
1577 ac_must_keep_next=false # Got value, back to normal.
1580 *=* | --config-cache | -C | -disable-* | --disable-* \
1581 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1582 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1583 | -with-* | --with-* | -without-* | --without-* | --x)
1584 case "$ac_configure_args0 " in
1585 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1588 -* ) ac_must_keep_next=true ;;
1591 ac_configure_args="$ac_configure_args '$ac_arg'"
1596 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1597 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1599 # When interrupted or exit'd, cleanup temporary files, and complete
1600 # config.log. We remove comments because anyway the quotes in there
1601 # would cause problems or look ugly.
1602 # WARNING: Use '\'' to represent an apostrophe within the trap.
1603 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1604 trap 'exit_status=$?
1605 # Save into config.log some information that might help in debugging.
1610 ## ---------------- ##
1611 ## Cache variables. ##
1612 ## ---------------- ##
1615 # The following way of writing the cache mishandles newlines in values,
1617 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1618 eval ac_val=\$$ac_var
1622 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1623 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1626 _ | IFS | as_nl) ;; #(
1627 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1628 *) $as_unset $ac_var ;;
1633 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1634 *${as_nl}ac_space=\ *)
1636 "s/'\''/'\''\\\\'\'''\''/g;
1637 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1640 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1648 ## ----------------- ##
1649 ## Output variables. ##
1650 ## ----------------- ##
1653 for ac_var in $ac_subst_vars
1655 eval ac_val=\$$ac_var
1657 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1659 $as_echo "$ac_var='\''$ac_val'\''"
1663 if test -n "$ac_subst_files"; then
1665 ## ------------------- ##
1666 ## File substitutions. ##
1667 ## ------------------- ##
1670 for ac_var in $ac_subst_files
1672 eval ac_val=\$$ac_var
1674 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676 $as_echo "$ac_var='\''$ac_val'\''"
1681 if test -s confdefs.h; then
1691 test "$ac_signal" != 0 &&
1692 $as_echo "$as_me: caught signal $ac_signal"
1693 $as_echo "$as_me: exit $exit_status"
1695 rm -f core *.core core.conftest.* &&
1696 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1699 for ac_signal in 1 2 13 15; do
1700 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1704 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1705 rm -f -r conftest* confdefs.h
1707 # Predefined preprocessor variables.
1709 cat >>confdefs.h <<_ACEOF
1710 #define PACKAGE_NAME "$PACKAGE_NAME"
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_STRING "$PACKAGE_STRING"
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1734 # Let the site file select an alternate cache file if it wants to.
1735 # Prefer an explicitly selected file to automatically selected ones.
1738 if test -n "$CONFIG_SITE"; then
1739 ac_site_file1=$CONFIG_SITE
1740 elif test "x$prefix" != xNONE; then
1741 ac_site_file1=$prefix/share/config.site
1742 ac_site_file2=$prefix/etc/config.site
1744 ac_site_file1=$ac_default_prefix/share/config.site
1745 ac_site_file2=$ac_default_prefix/etc/config.site
1747 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1749 test "x$ac_site_file" = xNONE && continue
1750 if test -r "$ac_site_file"; then
1751 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1752 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1753 sed 's/^/| /' "$ac_site_file" >&5
1758 if test -r "$cache_file"; then
1759 # Some versions of bash will fail to source /dev/null (special
1760 # files actually), so we avoid doing that.
1761 if test -f "$cache_file"; then
1762 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1763 $as_echo "$as_me: loading cache $cache_file" >&6;}
1765 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1766 *) . "./$cache_file";;
1770 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1771 $as_echo "$as_me: creating cache $cache_file" >&6;}
1775 # Check that the precious variables saved in the cache have kept the same
1777 ac_cache_corrupted=false
1778 for ac_var in $ac_precious_vars; do
1779 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1780 eval ac_new_set=\$ac_env_${ac_var}_set
1781 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1782 eval ac_new_val=\$ac_env_${ac_var}_value
1783 case $ac_old_set,$ac_new_set in
1785 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1786 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1787 ac_cache_corrupted=: ;;
1789 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1790 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1794 if test "x$ac_old_val" != "x$ac_new_val"; then
1795 # differences in whitespace do not lead to failure.
1796 ac_old_val_w=`echo x $ac_old_val`
1797 ac_new_val_w=`echo x $ac_new_val`
1798 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1799 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1800 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1801 ac_cache_corrupted=:
1803 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1804 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1805 eval $ac_var=\$ac_old_val
1807 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1808 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1809 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1810 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1813 # Pass precious variables to config.status.
1814 if test "$ac_new_set" = set; then
1816 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1817 *) ac_arg=$ac_var=$ac_new_val ;;
1819 case " $ac_configure_args " in
1820 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1821 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1825 if $ac_cache_corrupted; then
1826 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1828 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1829 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1830 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1831 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1832 { (exit 1); exit 1; }; }
1860 ac_cpp='$CPP $CPPFLAGS'
1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1866 am__api_version='1.11'
1869 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1870 if test -f "$ac_dir/install-sh"; then
1872 ac_install_sh="$ac_aux_dir/install-sh -c"
1874 elif test -f "$ac_dir/install.sh"; then
1876 ac_install_sh="$ac_aux_dir/install.sh -c"
1878 elif test -f "$ac_dir/shtool"; then
1880 ac_install_sh="$ac_aux_dir/shtool install -c"
1884 if test -z "$ac_aux_dir"; then
1885 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1886 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1887 { (exit 1); exit 1; }; }
1890 # These three variables are undocumented and unsupported,
1891 # and are intended to be withdrawn in a future Autoconf release.
1892 # They can cause serious problems if a builder's source tree is in a directory
1893 # whose full name contains unusual characters.
1894 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1895 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1896 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1899 # Find a good install program. We prefer a C program (faster),
1900 # so one script is as good as another. But avoid the broken or
1901 # incompatible versions:
1902 # SysV /etc/install, /usr/sbin/install
1903 # SunOS /usr/etc/install
1904 # IRIX /sbin/install
1906 # AmigaOS /C/install, which installs bootblocks on floppy discs
1907 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1908 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1909 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1910 # OS/2's system install, which has a completely different semantic
1911 # ./install, which can be erroneously created by make from ./install.sh.
1912 # Reject install programs that cannot install multiple files.
1913 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1914 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1915 if test -z "$INSTALL"; then
1916 if test "${ac_cv_path_install+set}" = set; then
1917 $as_echo_n "(cached) " >&6
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir=.
1924 # Account for people who put trailing slashes in PATH elements.
1926 ./ | .// | /cC/* | \
1927 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1928 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1931 # OSF1 and SCO ODT 3.0 have their own names for install.
1932 # Don't use installbsd from OSF since it installs stuff as root
1934 for ac_prog in ginstall scoinst install; do
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1937 if test $ac_prog = install &&
1938 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1939 # AIX install. It has an incompatible calling convention.
1941 elif test $ac_prog = install &&
1942 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1943 # program-specific install script used by HP pwplus--don't use.
1946 rm -rf conftest.one conftest.two conftest.dir
1947 echo one > conftest.one
1948 echo two > conftest.two
1950 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1951 test -s conftest.one && test -s conftest.two &&
1952 test -s conftest.dir/conftest.one &&
1953 test -s conftest.dir/conftest.two
1955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1968 rm -rf conftest.one conftest.two conftest.dir
1971 if test "${ac_cv_path_install+set}" = set; then
1972 INSTALL=$ac_cv_path_install
1974 # As a last resort, use the slow shell script. Don't cache a
1975 # value for INSTALL within a source directory, because that will
1976 # break other packages using the cache if that directory is
1977 # removed, or if the value is a relative name.
1978 INSTALL=$ac_install_sh
1981 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1982 $as_echo "$INSTALL" >&6; }
1984 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1985 # It thinks the first close brace ends the variable substitution.
1986 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1988 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1990 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1992 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1993 $as_echo_n "checking whether build environment is sane... " >&6; }
1996 echo timestamp > conftest.file
1997 # Reject unsafe characters in $srcdir or the absolute working directory
1998 # name. Accept space and tab only in the latter.
2002 *[\\\"\#\$\&\'\`$am_lf]*)
2003 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2004 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2005 { (exit 1); exit 1; }; };;
2008 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2009 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2010 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2011 { (exit 1); exit 1; }; };;
2014 # Do `set' in a subshell so we don't clobber the current shell's
2015 # arguments. Must try -L first in case configure is actually a
2016 # symlink; some systems play weird games with the mod time of symlinks
2017 # (eg FreeBSD returns the mod time of the symlink's containing
2020 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2021 if test "$*" = "X"; then
2023 set X `ls -t "$srcdir/configure" conftest.file`
2026 if test "$*" != "X $srcdir/configure conftest.file" \
2027 && test "$*" != "X conftest.file $srcdir/configure"; then
2029 # If neither matched, then we have a broken ls. This can happen
2030 # if, for instance, CONFIG_SHELL is bash and it inherits a
2031 # broken ls alias from the environment. This has actually
2032 # happened. Such a system could not be considered "sane".
2033 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2034 alias in your environment" >&5
2035 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2036 alias in your environment" >&2;}
2037 { (exit 1); exit 1; }; }
2040 test "$2" = conftest.file
2046 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2047 Check your system clock" >&5
2048 $as_echo "$as_me: error: newly created file is older than distributed files!
2049 Check your system clock" >&2;}
2050 { (exit 1); exit 1; }; }
2052 { $as_echo "$as_me:$LINENO: result: yes" >&5
2053 $as_echo "yes" >&6; }
2054 test "$program_prefix" != NONE &&
2055 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2056 # Use a double $ so make ignores it.
2057 test "$program_suffix" != NONE &&
2058 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2059 # Double any \ or $.
2060 # By default was `s,x,x', remove it if useless.
2061 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2062 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2064 # expand $ac_aux_dir to an absolute path
2065 am_aux_dir=`cd $ac_aux_dir && pwd`
2067 if test x"${MISSING+set}" != xset; then
2070 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2072 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2075 # Use eval to expand $SHELL
2076 if eval "$MISSING --run true"; then
2077 am_missing_run="$MISSING --run "
2080 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2081 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2084 if test x"${install_sh}" != xset; then
2087 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2089 install_sh="\${SHELL} $am_aux_dir/install-sh"
2093 # Installed binaries are usually stripped using `strip' when the user
2094 # run `make install-strip'. However `strip' might not be the right
2095 # tool to use in cross-compilation environments, therefore Automake
2096 # will honor the `STRIP' environment variable to overrule this program.
2097 if test "$cross_compiling" != no; then
2098 if test -n "$ac_tool_prefix"; then
2099 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2100 set dummy ${ac_tool_prefix}strip; ac_word=$2
2101 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 $as_echo_n "checking for $ac_word... " >&6; }
2103 if test "${ac_cv_prog_STRIP+set}" = set; then
2104 $as_echo_n "(cached) " >&6
2106 if test -n "$STRIP"; then
2107 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2116 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2117 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 STRIP=$ac_cv_prog_STRIP
2127 if test -n "$STRIP"; then
2128 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2129 $as_echo "$STRIP" >&6; }
2131 { $as_echo "$as_me:$LINENO: result: no" >&5
2132 $as_echo "no" >&6; }
2137 if test -z "$ac_cv_prog_STRIP"; then
2139 # Extract the first word of "strip", so it can be a program name with args.
2140 set dummy strip; ac_word=$2
2141 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 $as_echo_n "checking for $ac_word... " >&6; }
2143 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2144 $as_echo_n "(cached) " >&6
2146 if test -n "$ac_ct_STRIP"; then
2147 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 ac_cv_prog_ac_ct_STRIP="strip"
2157 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2167 if test -n "$ac_ct_STRIP"; then
2168 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2169 $as_echo "$ac_ct_STRIP" >&6; }
2171 { $as_echo "$as_me:$LINENO: result: no" >&5
2172 $as_echo "no" >&6; }
2175 if test "x$ac_ct_STRIP" = x; then
2178 case $cross_compiling:$ac_tool_warned in
2180 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2182 ac_tool_warned=yes ;;
2187 STRIP="$ac_cv_prog_STRIP"
2191 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2193 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2194 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2195 if test -z "$MKDIR_P"; then
2196 if test "${ac_cv_path_mkdir+set}" = set; then
2197 $as_echo_n "(cached) " >&6
2199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2203 test -z "$as_dir" && as_dir=.
2204 for ac_prog in mkdir gmkdir; do
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2207 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2208 'mkdir (GNU coreutils) '* | \
2209 'mkdir (coreutils) '* | \
2210 'mkdir (fileutils) '4.1*)
2211 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2221 if test "${ac_cv_path_mkdir+set}" = set; then
2222 MKDIR_P="$ac_cv_path_mkdir -p"
2224 # As a last resort, use the slow shell script. Don't cache a
2225 # value for MKDIR_P within a source directory, because that will
2226 # break other packages using the cache if that directory is
2227 # removed, or if the value is a relative name.
2228 test -d ./--version && rmdir ./--version
2229 MKDIR_P="$ac_install_sh -d"
2232 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2233 $as_echo "$MKDIR_P" >&6; }
2237 [\\/$]* | ?:[\\/]*) ;;
2238 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2241 for ac_prog in gawk mawk nawk awk
2243 # Extract the first word of "$ac_prog", so it can be a program name with args.
2244 set dummy $ac_prog; ac_word=$2
2245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 $as_echo_n "checking for $ac_word... " >&6; }
2247 if test "${ac_cv_prog_AWK+set}" = set; then
2248 $as_echo_n "(cached) " >&6
2250 if test -n "$AWK"; then
2251 ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
2261 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$AWK"; then
2272 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2273 $as_echo "$AWK" >&6; }
2275 { $as_echo "$as_me:$LINENO: result: no" >&5
2276 $as_echo "no" >&6; }
2280 test -n "$AWK" && break
2283 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2284 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2286 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2287 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2288 $as_echo_n "(cached) " >&6
2290 cat >conftest.make <<\_ACEOF
2293 @echo '@@@%%%=$(MAKE)=@@@%%%'
2295 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2296 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2298 eval ac_cv_prog_make_${ac_make}_set=yes;;
2300 eval ac_cv_prog_make_${ac_make}_set=no;;
2304 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2305 { $as_echo "$as_me:$LINENO: result: yes" >&5
2306 $as_echo "yes" >&6; }
2309 { $as_echo "$as_me:$LINENO: result: no" >&5
2310 $as_echo "no" >&6; }
2311 SET_MAKE="MAKE=${MAKE-make}"
2314 rm -rf .tst 2>/dev/null
2315 mkdir .tst 2>/dev/null
2316 if test -d .tst; then
2321 rmdir .tst 2>/dev/null
2323 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2324 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2325 # is not polluted with repeated "-I."
2326 am__isrc=' -I$(srcdir)'
2327 # test to see if srcdir already configured
2328 if test -f $srcdir/config.status; then
2329 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2330 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2331 { (exit 1); exit 1; }; }
2335 # test whether we have cygpath
2336 if test -z "$CYGPATH_W"; then
2337 if (cygpath --version) >/dev/null 2>/dev/null; then
2338 CYGPATH_W='cygpath -w'
2345 # Define the identity of the package.
2346 PACKAGE='fontcacheproto'
2350 cat >>confdefs.h <<_ACEOF
2351 #define PACKAGE "$PACKAGE"
2355 cat >>confdefs.h <<_ACEOF
2356 #define VERSION "$VERSION"
2359 # Some tools Automake needs.
2361 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2364 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2367 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2370 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2373 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2375 # We need awk for the "check" target. The system "awk" is bad on
2377 # Always define AMTAR for backward compatibility.
2379 AMTAR=${AMTAR-"${am_missing_run}tar"}
2381 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2388 # Require xorg-macros: XORG_DEFAULT_OPTIONS
2400 DEPDIR="${am__leading_dot}deps"
2402 ac_config_commands="$ac_config_commands depfiles"
2405 am_make=${MAKE-make}
2406 cat > confinc << 'END'
2408 @echo this is the am__doit target
2411 # If we don't find an include directive, just comment out the code.
2412 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2413 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2417 # First try GNU make style include.
2418 echo "include confinc" > confmf
2419 # Ignore all kinds of additional output from `make'.
2420 case `$am_make -s -f confmf 2> /dev/null` in #(
2421 *the\ am__doit\ target*)
2427 # Now try BSD make style include.
2428 if test "$am__include" = "#"; then
2429 echo '.include "confinc"' > confmf
2430 case `$am_make -s -f confmf 2> /dev/null` in #(
2431 *the\ am__doit\ target*)
2432 am__include=.include
2440 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2441 $as_echo "$_am_result" >&6; }
2442 rm -f confinc confmf
2444 # Check whether --enable-dependency-tracking was given.
2445 if test "${enable_dependency_tracking+set}" = set; then
2446 enableval=$enable_dependency_tracking;
2449 if test "x$enable_dependency_tracking" != xno; then
2450 am_depcomp="$ac_aux_dir/depcomp"
2453 if test "x$enable_dependency_tracking" != xno; then
2463 ac_cpp='$CPP $CPPFLAGS'
2464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2467 if test -n "$ac_tool_prefix"; then
2468 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2469 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2471 $as_echo_n "checking for $ac_word... " >&6; }
2472 if test "${ac_cv_prog_CC+set}" = set; then
2473 $as_echo_n "(cached) " >&6
2475 if test -n "$CC"; then
2476 ac_cv_prog_CC="$CC" # Let the user override the test.
2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir=.
2483 for ac_exec_ext in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 if test -n "$CC"; then
2497 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2498 $as_echo "$CC" >&6; }
2500 { $as_echo "$as_me:$LINENO: result: no" >&5
2501 $as_echo "no" >&6; }
2506 if test -z "$ac_cv_prog_CC"; then
2508 # Extract the first word of "gcc", so it can be a program name with args.
2509 set dummy gcc; ac_word=$2
2510 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2511 $as_echo_n "checking for $ac_word... " >&6; }
2512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2513 $as_echo_n "(cached) " >&6
2515 if test -n "$ac_ct_CC"; then
2516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir=.
2523 for ac_exec_ext in '' $ac_executable_extensions; do
2524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2525 ac_cv_prog_ac_ct_CC="gcc"
2526 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2536 if test -n "$ac_ct_CC"; then
2537 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2538 $as_echo "$ac_ct_CC" >&6; }
2540 { $as_echo "$as_me:$LINENO: result: no" >&5
2541 $as_echo "no" >&6; }
2544 if test "x$ac_ct_CC" = x; then
2547 case $cross_compiling:$ac_tool_warned in
2549 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2551 ac_tool_warned=yes ;;
2559 if test -z "$CC"; then
2560 if test -n "$ac_tool_prefix"; then
2561 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2562 set dummy ${ac_tool_prefix}cc; ac_word=$2
2563 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if test "${ac_cv_prog_CC+set}" = set; then
2566 $as_echo_n "(cached) " >&6
2568 if test -n "$CC"; then
2569 ac_cv_prog_CC="$CC" # Let the user override the test.
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir=.
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 ac_cv_prog_CC="${ac_tool_prefix}cc"
2579 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 if test -n "$CC"; then
2590 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2591 $as_echo "$CC" >&6; }
2593 { $as_echo "$as_me:$LINENO: result: no" >&5
2594 $as_echo "no" >&6; }
2600 if test -z "$CC"; then
2601 # Extract the first word of "cc", so it can be a program name with args.
2602 set dummy cc; ac_word=$2
2603 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 $as_echo_n "checking for $ac_word... " >&6; }
2605 if test "${ac_cv_prog_CC+set}" = set; then
2606 $as_echo_n "(cached) " >&6
2608 if test -n "$CC"; then
2609 ac_cv_prog_CC="$CC" # Let the user override the test.
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2620 ac_prog_rejected=yes
2624 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 if test $ac_prog_rejected = yes; then
2632 # We found a bogon in the path, so make sure we never use it.
2633 set dummy $ac_cv_prog_CC
2635 if test $# != 0; then
2636 # We chose a different compiler from the bogus one.
2637 # However, it has the same basename, so the bogon will be chosen
2638 # first if we set CC to just the basename; use the full file name.
2640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2646 if test -n "$CC"; then
2647 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2648 $as_echo "$CC" >&6; }
2650 { $as_echo "$as_me:$LINENO: result: no" >&5
2651 $as_echo "no" >&6; }
2656 if test -z "$CC"; then
2657 if test -n "$ac_tool_prefix"; then
2658 for ac_prog in cl.exe
2660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if test "${ac_cv_prog_CC+set}" = set; then
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$CC"; then
2668 ac_cv_prog_CC="$CC" # Let the user override the test.
2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir=.
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2678 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 if test -n "$CC"; then
2689 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2690 $as_echo "$CC" >&6; }
2692 { $as_echo "$as_me:$LINENO: result: no" >&5
2693 $as_echo "no" >&6; }
2697 test -n "$CC" && break
2700 if test -z "$CC"; then
2702 for ac_prog in cl.exe
2704 # Extract the first word of "$ac_prog", so it can be a program name with args.
2705 set dummy $ac_prog; ac_word=$2
2706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$ac_ct_CC"; then
2712 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir=.
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 ac_cv_prog_ac_ct_CC="$ac_prog"
2722 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2732 if test -n "$ac_ct_CC"; then
2733 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2734 $as_echo "$ac_ct_CC" >&6; }
2736 { $as_echo "$as_me:$LINENO: result: no" >&5
2737 $as_echo "no" >&6; }
2741 test -n "$ac_ct_CC" && break
2744 if test "x$ac_ct_CC" = x; then
2747 case $cross_compiling:$ac_tool_warned in
2749 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2751 ac_tool_warned=yes ;;
2760 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2762 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2763 See \`config.log' for more details." >&5
2764 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2765 See \`config.log' for more details." >&2;}
2766 { (exit 1); exit 1; }; }; }
2768 # Provide some information about the compiler.
2769 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2772 { (ac_try="$ac_compiler --version >&5"
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2778 $as_echo "$ac_try_echo") >&5
2779 (eval "$ac_compiler --version >&5") 2>&5
2781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); }
2783 { (ac_try="$ac_compiler -v >&5"
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2789 $as_echo "$ac_try_echo") >&5
2790 (eval "$ac_compiler -v >&5") 2>&5
2792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }
2794 { (ac_try="$ac_compiler -V >&5"
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2800 $as_echo "$ac_try_echo") >&5
2801 (eval "$ac_compiler -V >&5") 2>&5
2803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 ac_clean_files_save=$ac_clean_files
2822 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2823 # Try to create an executable without -o first, disregard a.out.
2824 # It will help us diagnose broken compilers, and finding out an intuition
2826 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2827 $as_echo_n "checking for C compiler default output file name... " >&6; }
2828 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2830 # The possible output files:
2831 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2834 for ac_file in $ac_files
2837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2838 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2843 if { (ac_try="$ac_link_default"
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2849 $as_echo "$ac_try_echo") >&5
2850 (eval "$ac_link_default") 2>&5
2852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; then
2854 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2855 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2856 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2857 # so that the user can short-circuit this test for compilers unknown to
2859 for ac_file in $ac_files ''
2861 test -f "$ac_file" || continue
2863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2866 # We found the default executable, but exeext='' is most
2870 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2872 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2874 # We set ac_cv_exeext here because the later test for it is not
2875 # safe: cross compilers may not add the suffix if given an `-o'
2876 # argument, so we may need to know it at that point already.
2877 # Even if this section looks crufty: it has the advantage of
2884 test "$ac_cv_exeext" = no && ac_cv_exeext=
2890 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2891 $as_echo "$ac_file" >&6; }
2892 if test -z "$ac_file"; then
2893 $as_echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2896 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2898 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2899 See \`config.log' for more details." >&5
2900 $as_echo "$as_me: error: C compiler cannot create executables
2901 See \`config.log' for more details." >&2;}
2902 { (exit 77); exit 77; }; }; }
2905 ac_exeext=$ac_cv_exeext
2907 # Check that the compiler produces executables we can run. If not, either
2908 # the compiler is broken, or we cross compile.
2909 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2910 $as_echo_n "checking whether the C compiler works... " >&6; }
2911 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2912 # If not cross compiling, check that we can run a simple program.
2913 if test "$cross_compiling" != yes; then
2914 if { ac_try='./$ac_file'
2915 { (case "(($ac_try" in
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2920 $as_echo "$ac_try_echo") >&5
2921 (eval "$ac_try") 2>&5
2923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2927 if test "$cross_compiling" = maybe; then
2930 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2932 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2933 If you meant to cross compile, use \`--host'.
2934 See \`config.log' for more details." >&5
2935 $as_echo "$as_me: error: cannot run C compiled programs.
2936 If you meant to cross compile, use \`--host'.
2937 See \`config.log' for more details." >&2;}
2938 { (exit 1); exit 1; }; }; }
2942 { $as_echo "$as_me:$LINENO: result: yes" >&5
2943 $as_echo "yes" >&6; }
2945 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2946 ac_clean_files=$ac_clean_files_save
2947 # Check that the compiler produces executables we can run. If not, either
2948 # the compiler is broken, or we cross compile.
2949 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2950 $as_echo_n "checking whether we are cross compiling... " >&6; }
2951 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2952 $as_echo "$cross_compiling" >&6; }
2954 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2955 $as_echo_n "checking for suffix of executables... " >&6; }
2956 if { (ac_try="$ac_link"
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2962 $as_echo "$ac_try_echo") >&5
2963 (eval "$ac_link") 2>&5
2965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; then
2967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2969 # work properly (i.e., refer to `conftest.exe'), while it won't with
2971 for ac_file in conftest.exe conftest conftest.*; do
2972 test -f "$ac_file" || continue
2974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2984 See \`config.log' for more details." >&5
2985 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2986 See \`config.log' for more details." >&2;}
2987 { (exit 1); exit 1; }; }; }
2990 rm -f conftest$ac_cv_exeext
2991 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2992 $as_echo "$ac_cv_exeext" >&6; }
2994 rm -f conftest.$ac_ext
2995 EXEEXT=$ac_cv_exeext
2997 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2998 $as_echo_n "checking for suffix of object files... " >&6; }
2999 if test "${ac_cv_objext+set}" = set; then
3000 $as_echo_n "(cached) " >&6
3002 cat >conftest.$ac_ext <<_ACEOF
3005 cat confdefs.h >>conftest.$ac_ext
3006 cat >>conftest.$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3017 rm -f conftest.o conftest.obj
3018 if { (ac_try="$ac_compile"
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3024 $as_echo "$ac_try_echo") >&5
3025 (eval "$ac_compile") 2>&5
3027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); }; then
3029 for ac_file in conftest.o conftest.obj conftest.*; do
3030 test -f "$ac_file" || continue;
3032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3033 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3038 $as_echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3041 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3044 See \`config.log' for more details." >&5
3045 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3046 See \`config.log' for more details." >&2;}
3047 { (exit 1); exit 1; }; }; }
3050 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3052 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3053 $as_echo "$ac_cv_objext" >&6; }
3054 OBJEXT=$ac_cv_objext
3056 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3057 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3058 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3059 $as_echo_n "(cached) " >&6
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3079 rm -f conftest.$ac_objext
3080 if { (ac_try="$ac_compile"
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3086 $as_echo "$ac_try_echo") >&5
3087 (eval "$ac_compile") 2>conftest.er1
3089 grep -v '^ *+' conftest.er1 >conftest.err
3091 cat conftest.err >&5
3092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } && {
3094 test -z "$ac_c_werror_flag" ||
3095 test ! -s conftest.err
3096 } && test -s conftest.$ac_objext; then
3099 $as_echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3109 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3110 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3111 if test $ac_compiler_gnu = yes; then
3116 ac_test_CFLAGS=${CFLAGS+set}
3117 ac_save_CFLAGS=$CFLAGS
3118 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3119 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3120 if test "${ac_cv_prog_cc_g+set}" = set; then
3121 $as_echo_n "(cached) " >&6
3123 ac_save_c_werror_flag=$ac_c_werror_flag
3124 ac_c_werror_flag=yes
3127 cat >conftest.$ac_ext <<_ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3142 rm -f conftest.$ac_objext
3143 if { (ac_try="$ac_compile"
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3149 $as_echo "$ac_try_echo") >&5
3150 (eval "$ac_compile") 2>conftest.er1
3152 grep -v '^ *+' conftest.er1 >conftest.err
3154 cat conftest.err >&5
3155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } && {
3157 test -z "$ac_c_werror_flag" ||
3158 test ! -s conftest.err
3159 } && test -s conftest.$ac_objext; then
3162 $as_echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3181 rm -f conftest.$ac_objext
3182 if { (ac_try="$ac_compile"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3188 $as_echo "$ac_try_echo") >&5
3189 (eval "$ac_compile") 2>conftest.er1
3191 grep -v '^ *+' conftest.er1 >conftest.err
3193 cat conftest.err >&5
3194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } && {
3196 test -z "$ac_c_werror_flag" ||
3197 test ! -s conftest.err
3198 } && test -s conftest.$ac_objext; then
3201 $as_echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 ac_c_werror_flag=$ac_save_c_werror_flag
3206 cat >conftest.$ac_ext <<_ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3221 rm -f conftest.$ac_objext
3222 if { (ac_try="$ac_compile"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3228 $as_echo "$ac_try_echo") >&5
3229 (eval "$ac_compile") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } && {
3236 test -z "$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3238 } && test -s conftest.$ac_objext; then
3241 $as_echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3254 ac_c_werror_flag=$ac_save_c_werror_flag
3256 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3257 $as_echo "$ac_cv_prog_cc_g" >&6; }
3258 if test "$ac_test_CFLAGS" = set; then
3259 CFLAGS=$ac_save_CFLAGS
3260 elif test $ac_cv_prog_cc_g = yes; then
3261 if test "$GCC" = yes; then
3267 if test "$GCC" = yes; then
3273 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3274 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3275 if test "${ac_cv_prog_cc_c89+set}" = set; then
3276 $as_echo_n "(cached) " >&6
3278 ac_cv_prog_cc_c89=no
3280 cat >conftest.$ac_ext <<_ACEOF
3283 cat confdefs.h >>conftest.$ac_ext
3284 cat >>conftest.$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3288 #include <sys/types.h>
3289 #include <sys/stat.h>
3290 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3291 struct buf { int x; };
3292 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3293 static char *e (p, i)
3299 static char *f (char * (*g) (char **, int), char **p, ...)
3304 s = g (p, va_arg (v,int));
3309 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3310 function prototypes and stuff, but not '\xHH' hex character constants.
3311 These don't provoke an error unfortunately, instead are silently treated
3312 as 'x'. The following induces an error, until -std is added to get
3313 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3314 array size at least. It's necessary to write '\x00'==0 to get something
3315 that's true only with -std. */
3316 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3318 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3319 inside strings and character constants. */
3321 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3323 int test (int i, double x);
3324 struct s1 {int (*f) (int a);};
3325 struct s2 {int (*f) (double a);};
3326 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3332 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3337 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3338 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3340 CC="$ac_save_CC $ac_arg"
3341 rm -f conftest.$ac_objext
3342 if { (ac_try="$ac_compile"
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3348 $as_echo "$ac_try_echo") >&5
3349 (eval "$ac_compile") 2>conftest.er1
3351 grep -v '^ *+' conftest.er1 >conftest.err
3353 cat conftest.err >&5
3354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } && {
3356 test -z "$ac_c_werror_flag" ||
3357 test ! -s conftest.err
3358 } && test -s conftest.$ac_objext; then
3359 ac_cv_prog_cc_c89=$ac_arg
3361 $as_echo "$as_me: failed program was:" >&5
3362 sed 's/^/| /' conftest.$ac_ext >&5
3367 rm -f core conftest.err conftest.$ac_objext
3368 test "x$ac_cv_prog_cc_c89" != "xno" && break
3370 rm -f conftest.$ac_ext
3375 case "x$ac_cv_prog_cc_c89" in
3377 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3378 $as_echo "none needed" >&6; } ;;
3380 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3381 $as_echo "unsupported" >&6; } ;;
3383 CC="$CC $ac_cv_prog_cc_c89"
3384 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3385 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3390 ac_cpp='$CPP $CPPFLAGS'
3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3395 depcc="$CC" am_compiler_list=
3397 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3398 $as_echo_n "checking dependency style of $depcc... " >&6; }
3399 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3400 $as_echo_n "(cached) " >&6
3402 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3403 # We make a subdir and do the tests there. Otherwise we can end up
3404 # making bogus files that we don't know about and never remove. For
3405 # instance it was reported that on HP-UX the gcc test will end up
3406 # making a dummy file named `D' -- because `-MD' means `put the output
3409 # Copy depcomp to subdir because otherwise we won't find it if we're
3410 # using a relative directory.
3411 cp "$am_depcomp" conftest.dir
3413 # We will build objects and dependencies in a subdirectory because
3414 # it helps to detect inapplicable dependency modes. For instance
3415 # both Tru64's cc and ICC support -MD to output dependencies as a
3416 # side effect of compilation, but ICC will put the dependencies in
3417 # the current directory while Tru64 will put them in the object
3421 am_cv_CC_dependencies_compiler_type=none
3422 if test "$am_compiler_list" = ""; then
3423 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3426 case " $depcc " in #(
3427 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3430 for depmode in $am_compiler_list; do
3431 # Setup a source with many dependencies, because some compilers
3432 # like to wrap large dependency lists on column 80 (with \), and
3433 # we should not choose a depcomp mode which is confused by this.
3435 # We need to recreate these files for each test, as the compiler may
3436 # overwrite some of them when testing with obscure command lines.
3437 # This happens at least with the AIX C compiler.
3439 for i in 1 2 3 4 5 6; do
3440 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3441 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3442 # Solaris 8's {/usr,}/bin/sh.
3443 touch sub/conftst$i.h
3445 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3447 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3448 # mode. It turns out that the SunPro C++ compiler does not properly
3449 # handle `-M -o', and we need to detect this. Also, some Intel
3450 # versions had trouble with output in subdirs
3451 am__obj=sub/conftest.${OBJEXT-o}
3452 am__minus_obj="-o $am__obj"
3455 # This depmode causes a compiler race in universal mode.
3456 test "$am__universal" = false || continue
3459 # after this tag, mechanisms are not by side-effect, so they'll
3460 # only be used when explicitly requested
3461 if test "x$enable_dependency_tracking" = xyes; then
3467 msvisualcpp | msvcmsys)
3468 # This compiler won't grok `-c -o', but also, the minuso test has
3469 # not run yet. These depmodes are late enough in the game, and
3470 # so weak that their functioning should not be impacted.
3471 am__obj=conftest.${OBJEXT-o}
3476 if depmode=$depmode \
3477 source=sub/conftest.c object=$am__obj \
3478 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3479 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3480 >/dev/null 2>conftest.err &&
3481 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3482 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3483 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3484 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3485 # icc doesn't choke on unknown options, it will just issue warnings
3486 # or remarks (even with -Werror). So we grep stderr for any message
3487 # that says an option was ignored or not supported.
3488 # When given -MP, icc 7.0 and 7.1 complain thusly:
3489 # icc: Command line warning: ignoring option '-M'; no argument required
3490 # The diagnosis changed in icc 8.0:
3491 # icc: Command line remark: option '-MP' not supported
3492 if (grep 'ignoring option' conftest.err ||
3493 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3494 am_cv_CC_dependencies_compiler_type=$depmode
3503 am_cv_CC_dependencies_compiler_type=none
3507 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3508 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3509 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3512 test "x$enable_dependency_tracking" != xno \
3513 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3515 am__fastdepCC_FALSE='#'
3517 am__fastdepCC_TRUE='#'
3518 am__fastdepCC_FALSE=
3524 ac_cpp='$CPP $CPPFLAGS'
3525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3528 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3529 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3530 # On Suns, sometimes $CPP names a directory.
3531 if test -n "$CPP" && test -d "$CPP"; then
3534 if test -z "$CPP"; then
3535 if test "${ac_cv_prog_CPP+set}" = set; then
3536 $as_echo_n "(cached) " >&6
3538 # Double quotes because CPP needs to be expanded
3539 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3542 for ac_c_preproc_warn_flag in '' yes
3544 # Use a header file that comes with gcc, so configuring glibc
3545 # with a fresh cross-compiler works.
3546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3547 # <limits.h> exists even on freestanding compilers.
3548 # On the NeXT, cc -E runs the code through the compiler's parser,
3549 # not just through cpp. "Syntax error" is here to catch this case.
3550 cat >conftest.$ac_ext <<_ACEOF
3553 cat confdefs.h >>conftest.$ac_ext
3554 cat >>conftest.$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3557 # include <limits.h>
3559 # include <assert.h>
3563 if { (ac_try="$ac_cpp conftest.$ac_ext"
3565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3566 *) ac_try_echo=$ac_try;;
3568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3569 $as_echo "$ac_try_echo") >&5
3570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3572 grep -v '^ *+' conftest.er1 >conftest.err
3574 cat conftest.err >&5
3575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); } >/dev/null && {
3577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3578 test ! -s conftest.err
3582 $as_echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.$ac_ext >&5
3585 # Broken: fails on valid input.
3589 rm -f conftest.err conftest.$ac_ext
3591 # OK, works on sane cases. Now check whether nonexistent headers
3592 # can be detected and how.
3593 cat >conftest.$ac_ext <<_ACEOF
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3599 #include <ac_nonexistent.h>
3601 if { (ac_try="$ac_cpp conftest.$ac_ext"
3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3607 $as_echo "$ac_try_echo") >&5
3608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3610 grep -v '^ *+' conftest.er1 >conftest.err
3612 cat conftest.err >&5
3613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } >/dev/null && {
3615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3616 test ! -s conftest.err
3618 # Broken: success on invalid input.
3621 $as_echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.$ac_ext >&5
3624 # Passes both tests.
3629 rm -f conftest.err conftest.$ac_ext
3632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3633 rm -f conftest.err conftest.$ac_ext
3634 if $ac_preproc_ok; then
3646 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3647 $as_echo "$CPP" >&6; }
3649 for ac_c_preproc_warn_flag in '' yes
3651 # Use a header file that comes with gcc, so configuring glibc
3652 # with a fresh cross-compiler works.
3653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3654 # <limits.h> exists even on freestanding compilers.
3655 # On the NeXT, cc -E runs the code through the compiler's parser,
3656 # not just through cpp. "Syntax error" is here to catch this case.
3657 cat >conftest.$ac_ext <<_ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3664 # include <limits.h>
3666 # include <assert.h>
3670 if { (ac_try="$ac_cpp conftest.$ac_ext"
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3676 $as_echo "$ac_try_echo") >&5
3677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3679 grep -v '^ *+' conftest.er1 >conftest.err
3681 cat conftest.err >&5
3682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } >/dev/null && {
3684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3685 test ! -s conftest.err
3689 $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3692 # Broken: fails on valid input.
3696 rm -f conftest.err conftest.$ac_ext
3698 # OK, works on sane cases. Now check whether nonexistent headers
3699 # can be detected and how.
3700 cat >conftest.$ac_ext <<_ACEOF
3703 cat confdefs.h >>conftest.$ac_ext
3704 cat >>conftest.$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3706 #include <ac_nonexistent.h>
3708 if { (ac_try="$ac_cpp conftest.$ac_ext"
3710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3714 $as_echo "$ac_try_echo") >&5
3715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3717 grep -v '^ *+' conftest.er1 >conftest.err
3719 cat conftest.err >&5
3720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } >/dev/null && {
3722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3723 test ! -s conftest.err
3725 # Broken: success on invalid input.
3728 $as_echo "$as_me: failed program was:" >&5
3729 sed 's/^/| /' conftest.$ac_ext >&5
3731 # Passes both tests.
3736 rm -f conftest.err conftest.$ac_ext
3739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3740 rm -f conftest.err conftest.$ac_ext
3741 if $ac_preproc_ok; then
3744 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3747 See \`config.log' for more details." >&5
3748 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3749 See \`config.log' for more details." >&2;}
3750 { (exit 1); exit 1; }; }; }
3754 ac_cpp='$CPP $CPPFLAGS'
3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3760 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3761 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3762 if test "${ac_cv_path_GREP+set}" = set; then
3763 $as_echo_n "(cached) " >&6
3765 if test -z "$GREP"; then
3766 ac_path_GREP_found=false
3767 # Loop through the user's path and test for each of PROGNAME-LIST
3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3769 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3772 test -z "$as_dir" && as_dir=.
3773 for ac_prog in grep ggrep; do
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3776 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3777 # Check for GNU ac_path_GREP and select it if it is found.
3778 # Check for GNU $ac_path_GREP
3779 case `"$ac_path_GREP" --version 2>&1` in
3781 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3784 $as_echo_n 0123456789 >"conftest.in"
3787 cat "conftest.in" "conftest.in" >"conftest.tmp"
3788 mv "conftest.tmp" "conftest.in"
3789 cp "conftest.in" "conftest.nl"
3790 $as_echo 'GREP' >> "conftest.nl"
3791 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3792 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3793 ac_count=`expr $ac_count + 1`
3794 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3795 # Best one so far, save it but keep looking for a better one
3796 ac_cv_path_GREP="$ac_path_GREP"
3797 ac_path_GREP_max=$ac_count
3799 # 10*(2^10) chars as input seems more than enough
3800 test $ac_count -gt 10 && break
3802 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3805 $ac_path_GREP_found && break 3
3810 if test -z "$ac_cv_path_GREP"; then
3811 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3812 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3813 { (exit 1); exit 1; }; }
3816 ac_cv_path_GREP=$GREP
3820 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3821 $as_echo "$ac_cv_path_GREP" >&6; }
3822 GREP="$ac_cv_path_GREP"
3825 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3826 $as_echo_n "checking for egrep... " >&6; }
3827 if test "${ac_cv_path_EGREP+set}" = set; then
3828 $as_echo_n "(cached) " >&6
3830 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3831 then ac_cv_path_EGREP="$GREP -E"
3833 if test -z "$EGREP"; then
3834 ac_path_EGREP_found=false
3835 # Loop through the user's path and test for each of PROGNAME-LIST
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3840 test -z "$as_dir" && as_dir=.
3841 for ac_prog in egrep; do
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3844 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3845 # Check for GNU ac_path_EGREP and select it if it is found.
3846 # Check for GNU $ac_path_EGREP
3847 case `"$ac_path_EGREP" --version 2>&1` in
3849 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3852 $as_echo_n 0123456789 >"conftest.in"
3855 cat "conftest.in" "conftest.in" >"conftest.tmp"
3856 mv "conftest.tmp" "conftest.in"
3857 cp "conftest.in" "conftest.nl"
3858 $as_echo 'EGREP' >> "conftest.nl"
3859 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3860 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3861 ac_count=`expr $ac_count + 1`
3862 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3863 # Best one so far, save it but keep looking for a better one
3864 ac_cv_path_EGREP="$ac_path_EGREP"
3865 ac_path_EGREP_max=$ac_count
3867 # 10*(2^10) chars as input seems more than enough
3868 test $ac_count -gt 10 && break
3870 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3873 $ac_path_EGREP_found && break 3
3878 if test -z "$ac_cv_path_EGREP"; then
3879 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3880 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3881 { (exit 1); exit 1; }; }
3884 ac_cv_path_EGREP=$EGREP
3889 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3890 $as_echo "$ac_cv_path_EGREP" >&6; }
3891 EGREP="$ac_cv_path_EGREP"
3894 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3895 $as_echo_n "checking for ANSI C header files... " >&6; }
3896 if test "${ac_cv_header_stdc+set}" = set; then
3897 $as_echo_n "(cached) " >&6
3899 cat >conftest.$ac_ext <<_ACEOF
3902 cat confdefs.h >>conftest.$ac_ext
3903 cat >>conftest.$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3918 rm -f conftest.$ac_objext
3919 if { (ac_try="$ac_compile"
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3925 $as_echo "$ac_try_echo") >&5
3926 (eval "$ac_compile") 2>conftest.er1
3928 grep -v '^ *+' conftest.er1 >conftest.err
3930 cat conftest.err >&5
3931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } && {
3933 test -z "$ac_c_werror_flag" ||
3934 test ! -s conftest.err
3935 } && test -s conftest.$ac_objext; then
3936 ac_cv_header_stdc=yes
3938 $as_echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3941 ac_cv_header_stdc=no
3944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 if test $ac_cv_header_stdc = yes; then
3947 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3948 cat >conftest.$ac_ext <<_ACEOF
3951 cat confdefs.h >>conftest.$ac_ext
3952 cat >>conftest.$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3958 $EGREP "memchr" >/dev/null 2>&1; then
3961 ac_cv_header_stdc=no
3967 if test $ac_cv_header_stdc = yes; then
3968 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3969 cat >conftest.$ac_ext <<_ACEOF
3972 cat confdefs.h >>conftest.$ac_ext
3973 cat >>conftest.$ac_ext <<_ACEOF
3974 /* end confdefs.h. */
3978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3979 $EGREP "free" >/dev/null 2>&1; then
3982 ac_cv_header_stdc=no
3988 if test $ac_cv_header_stdc = yes; then
3989 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3990 if test "$cross_compiling" = yes; then
3993 cat >conftest.$ac_ext <<_ACEOF
3996 cat confdefs.h >>conftest.$ac_ext
3997 cat >>conftest.$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
4001 #if ((' ' & 0x0FF) == 0x020)
4002 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4003 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4005 # define ISLOWER(c) \
4006 (('a' <= (c) && (c) <= 'i') \
4007 || ('j' <= (c) && (c) <= 'r') \
4008 || ('s' <= (c) && (c) <= 'z'))
4009 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4012 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4017 for (i = 0; i < 256; i++)
4018 if (XOR (islower (i), ISLOWER (i))
4019 || toupper (i) != TOUPPER (i))
4024 rm -f conftest$ac_exeext
4025 if { (ac_try="$ac_link"
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4031 $as_echo "$ac_try_echo") >&5
4032 (eval "$ac_link") 2>&5
4034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4036 { (case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4041 $as_echo "$ac_try_echo") >&5
4042 (eval "$ac_try") 2>&5
4044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; }; then
4048 $as_echo "$as_me: program exited with status $ac_status" >&5
4049 $as_echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4053 ac_cv_header_stdc=no
4055 rm -rf conftest.dSYM
4056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4062 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4063 $as_echo "$ac_cv_header_stdc" >&6; }
4064 if test $ac_cv_header_stdc = yes; then
4066 cat >>confdefs.h <<\_ACEOF
4067 #define STDC_HEADERS 1
4072 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4082 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4083 inttypes.h stdint.h unistd.h
4085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4086 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4087 $as_echo_n "checking for $ac_header... " >&6; }
4088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4089 $as_echo_n "(cached) " >&6
4091 cat >conftest.$ac_ext <<_ACEOF
4094 cat confdefs.h >>conftest.$ac_ext
4095 cat >>conftest.$ac_ext <<_ACEOF
4096 /* end confdefs.h. */
4097 $ac_includes_default
4099 #include <$ac_header>
4101 rm -f conftest.$ac_objext
4102 if { (ac_try="$ac_compile"
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4108 $as_echo "$ac_try_echo") >&5
4109 (eval "$ac_compile") 2>conftest.er1
4111 grep -v '^ *+' conftest.er1 >conftest.err
4113 cat conftest.err >&5
4114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } && {
4116 test -z "$ac_c_werror_flag" ||
4117 test ! -s conftest.err
4118 } && test -s conftest.$ac_objext; then
4119 eval "$as_ac_Header=yes"
4121 $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4124 eval "$as_ac_Header=no"
4127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 ac_res=`eval 'as_val=${'$as_ac_Header'}
4130 $as_echo "$as_val"'`
4131 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4132 $as_echo "$ac_res" >&6; }
4133 as_val=`eval 'as_val=${'$as_ac_Header'}
4134 $as_echo "$as_val"'`
4135 if test "x$as_val" = x""yes; then
4136 cat >>confdefs.h <<_ACEOF
4137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4145 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
4146 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4147 if test "${ac_cv_prog_cc_c99+set}" = set; then
4148 $as_echo_n "(cached) " >&6
4150 ac_cv_prog_cc_c99=no
4152 cat >conftest.$ac_ext <<_ACEOF
4155 cat confdefs.h >>conftest.$ac_ext
4156 cat >>conftest.$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4159 #include <stdbool.h>
4164 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4165 #define debug(...) fprintf (stderr, __VA_ARGS__)
4166 #define showlist(...) puts (#__VA_ARGS__)
4167 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4169 test_varargs_macros (void)
4174 debug ("X = %d\n", x);
4175 showlist (The first, second, and third items.);
4176 report (x>y, "x is %d but y is %d", x, y);
4179 // Check long long types.
4180 #define BIG64 18446744073709551615ull
4181 #define BIG32 4294967295ul
4182 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4184 your preprocessor is broken;
4188 your preprocessor is broken;
4190 static long long int bignum = -9223372036854775807LL;
4191 static unsigned long long int ubignum = BIG64;
4193 struct incomplete_array
4201 const wchar_t *name;
4205 typedef const char *ccp;
4208 test_restrict (ccp restrict text)
4210 // See if C++-style comments work.
4211 // Iterate through items via the restricted pointer.
4212 // Also check for declarations in for loops.
4213 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4218 // Check varargs and va_copy.
4220 test_varargs (const char *format, ...)
4223 va_start (args, format);
4225 va_copy (args_copy, args);
4236 str = va_arg (args_copy, const char *);
4239 number = va_arg (args_copy, int);
4242 fnumber = va_arg (args_copy, double);
4257 _Bool success = false;
4260 if (test_restrict ("String literal") == 0)
4262 char *restrict newvar = "Another string";
4265 test_varargs ("s, d' f .", "string", 65, 34.234);
4266 test_varargs_macros ();
4268 // Check flexible array members.
4269 struct incomplete_array *ia =
4270 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4272 for (int i = 0; i < ia->datasize; ++i)
4273 ia->data[i] = i * 1.234;
4275 // Check named initializers.
4276 struct named_init ni = {
4278 .name = L"Test wide string",
4279 .average = 543.34343,
4284 int dynamic_array[ni.number];
4285 dynamic_array[ni.number - 1] = 543;
4287 // work around unused variable warnings
4288 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4289 || dynamic_array[ni.number - 1] != 543);
4295 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4297 CC="$ac_save_CC $ac_arg"
4298 rm -f conftest.$ac_objext
4299 if { (ac_try="$ac_compile"
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4305 $as_echo "$ac_try_echo") >&5
4306 (eval "$ac_compile") 2>conftest.er1
4308 grep -v '^ *+' conftest.er1 >conftest.err
4310 cat conftest.err >&5
4311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); } && {
4313 test -z "$ac_c_werror_flag" ||
4314 test ! -s conftest.err
4315 } && test -s conftest.$ac_objext; then
4316 ac_cv_prog_cc_c99=$ac_arg
4318 $as_echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4324 rm -f core conftest.err conftest.$ac_objext
4325 test "x$ac_cv_prog_cc_c99" != "xno" && break
4327 rm -f conftest.$ac_ext
4332 case "x$ac_cv_prog_cc_c99" in
4334 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4335 $as_echo "none needed" >&6; } ;;
4337 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4338 $as_echo "unsupported" >&6; } ;;
4340 CC="$CC $ac_cv_prog_cc_c99"
4341 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
4342 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4347 # Make sure we can run config.sub.
4348 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4349 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4350 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4351 { (exit 1); exit 1; }; }
4353 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4354 $as_echo_n "checking build system type... " >&6; }
4355 if test "${ac_cv_build+set}" = set; then
4356 $as_echo_n "(cached) " >&6
4358 ac_build_alias=$build_alias
4359 test "x$ac_build_alias" = x &&
4360 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4361 test "x$ac_build_alias" = x &&
4362 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4363 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4364 { (exit 1); exit 1; }; }
4365 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4366 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4367 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4368 { (exit 1); exit 1; }; }
4371 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4372 $as_echo "$ac_cv_build" >&6; }
4373 case $ac_cv_build in
4375 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4376 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4377 { (exit 1); exit 1; }; };;
4380 ac_save_IFS=$IFS; IFS='-'
4386 # Remember, the first character of IFS is used to create $*,
4387 # except with old shells:
4390 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4393 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4394 $as_echo_n "checking host system type... " >&6; }
4395 if test "${ac_cv_host+set}" = set; then
4396 $as_echo_n "(cached) " >&6
4398 if test "x$host_alias" = x; then
4399 ac_cv_host=$ac_cv_build
4401 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4402 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4403 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4404 { (exit 1); exit 1; }; }
4408 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4409 $as_echo "$ac_cv_host" >&6; }
4412 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4413 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4414 { (exit 1); exit 1; }; };;
4417 ac_save_IFS=$IFS; IFS='-'
4423 # Remember, the first character of IFS is used to create $*,
4424 # except with old shells:
4427 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4433 if test "x$GCC" = xyes ; then
4434 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4435 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4436 -Wbad-function-cast"
4437 case `$CC -dumpversion` in
4439 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4443 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4444 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4445 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4446 $as_echo_n "(cached) " >&6
4448 cat >conftest.$ac_ext <<_ACEOF
4451 cat confdefs.h >>conftest.$ac_ext
4452 cat >>conftest.$ac_ext <<_ACEOF
4453 /* end confdefs.h. */
4454 $ac_includes_default
4466 rm -f conftest.$ac_objext
4467 if { (ac_try="$ac_compile"
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4473 $as_echo "$ac_try_echo") >&5
4474 (eval "$ac_compile") 2>conftest.er1
4476 grep -v '^ *+' conftest.er1 >conftest.err
4478 cat conftest.err >&5
4479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } && {
4481 test -z "$ac_c_werror_flag" ||
4482 test ! -s conftest.err
4483 } && test -s conftest.$ac_objext; then
4484 ac_cv_have_decl___SUNPRO_C=yes
4486 $as_echo "$as_me: failed program was:" >&5
4487 sed 's/^/| /' conftest.$ac_ext >&5
4489 ac_cv_have_decl___SUNPRO_C=no
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4495 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4496 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4502 if test "x$SUNCC" = "xyes"; then
4507 # Check whether --enable-silent-rules was given.
4508 if test "${enable_silent_rules+set}" = set; then
4509 enableval=$enable_silent_rules;
4512 case $enable_silent_rules in
4513 yes) AM_DEFAULT_VERBOSITY=0;;
4514 no) AM_DEFAULT_VERBOSITY=1;;
4515 *) AM_DEFAULT_VERBOSITY=0;;
4525 # Check whether --enable-strict-compilation was given.
4526 if test "${enable_strict_compilation+set}" = set; then
4527 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4532 if test "x$STRICT_COMPILE" = "xyes"; then
4533 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4534 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4535 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4536 $as_echo_n "(cached) " >&6
4538 cat >conftest.$ac_ext <<_ACEOF
4541 cat confdefs.h >>conftest.$ac_ext
4542 cat >>conftest.$ac_ext <<_ACEOF
4543 /* end confdefs.h. */
4544 $ac_includes_default
4556 rm -f conftest.$ac_objext
4557 if { (ac_try="$ac_compile"
4559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4563 $as_echo "$ac_try_echo") >&5
4564 (eval "$ac_compile") 2>conftest.er1
4566 grep -v '^ *+' conftest.er1 >conftest.err
4568 cat conftest.err >&5
4569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } && {
4571 test -z "$ac_c_werror_flag" ||
4572 test ! -s conftest.err
4573 } && test -s conftest.$ac_objext; then
4574 ac_cv_have_decl___SUNPRO_C=yes
4576 $as_echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.$ac_ext >&5
4579 ac_cv_have_decl___SUNPRO_C=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4585 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4586 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4592 { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4593 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4594 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4595 $as_echo_n "(cached) " >&6
4597 cat >conftest.$ac_ext <<_ACEOF
4600 cat confdefs.h >>conftest.$ac_ext
4601 cat >>conftest.$ac_ext <<_ACEOF
4602 /* end confdefs.h. */
4603 $ac_includes_default
4607 #ifndef __INTEL_COMPILER
4608 (void) __INTEL_COMPILER;
4615 rm -f conftest.$ac_objext
4616 if { (ac_try="$ac_compile"
4618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4619 *) ac_try_echo=$ac_try;;
4621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4622 $as_echo "$ac_try_echo") >&5
4623 (eval "$ac_compile") 2>conftest.er1
4625 grep -v '^ *+' conftest.er1 >conftest.err
4627 cat conftest.err >&5
4628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } && {
4630 test -z "$ac_c_werror_flag" ||
4631 test ! -s conftest.err
4632 } && test -s conftest.$ac_objext; then
4633 ac_cv_have_decl___INTEL_COMPILER=yes
4635 $as_echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.$ac_ext >&5
4638 ac_cv_have_decl___INTEL_COMPILER=no
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4644 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4645 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
4651 if test "x$GCC" = xyes ; then
4652 STRICT_CFLAGS="-pedantic -Werror"
4653 elif test "x$SUNCC" = "xyes"; then
4654 STRICT_CFLAGS="-errwarn"
4655 elif test "x$INTELCC" = "xyes"; then
4656 STRICT_CFLAGS="-Werror"
4659 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4664 # Check whether --with-release-version was given.
4665 if test "${with_release_version+set}" = set; then
4666 withval=$with_release_version; RELEASE_VERSION="$withval"
4671 if test "x$RELEASE_VERSION" != "x"; then
4672 PACKAGE="$PACKAGE-$RELEASE_VERSION"
4673 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4674 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4675 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4678 cat >>confdefs.h <<_ACEOF
4679 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4682 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4683 if test "x$PVM" = "x"; then
4687 cat >>confdefs.h <<_ACEOF
4688 #define PACKAGE_VERSION_MINOR $PVM
4691 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4692 if test "x$PVP" = "x"; then
4696 cat >>confdefs.h <<_ACEOF
4697 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4702 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4703 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
4704 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4706 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
4712 if test x$APP_MAN_SUFFIX = x ; then
4715 if test x$APP_MAN_DIR = x ; then
4716 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4719 if test x$LIB_MAN_SUFFIX = x ; then
4722 if test x$LIB_MAN_DIR = x ; then
4723 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4726 if test x$FILE_MAN_SUFFIX = x ; then
4728 solaris*) FILE_MAN_SUFFIX=4 ;;
4729 *) FILE_MAN_SUFFIX=5 ;;
4732 if test x$FILE_MAN_DIR = x ; then
4733 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4736 if test x$MISC_MAN_SUFFIX = x ; then
4738 solaris*) MISC_MAN_SUFFIX=5 ;;
4739 *) MISC_MAN_SUFFIX=7 ;;
4742 if test x$MISC_MAN_DIR = x ; then
4743 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4746 if test x$DRIVER_MAN_SUFFIX = x ; then
4748 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4749 *) DRIVER_MAN_SUFFIX=4 ;;
4752 if test x$DRIVER_MAN_DIR = x ; then
4753 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4756 if test x$ADMIN_MAN_SUFFIX = x ; then
4758 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4759 *) ADMIN_MAN_SUFFIX=8 ;;
4762 if test x$ADMIN_MAN_DIR = x ; then
4763 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4782 ac_config_files="$ac_config_files Makefile fontcacheproto.pc"
4784 cat >confcache <<\_ACEOF
4785 # This file is a shell script that caches the results of configure
4786 # tests run on this system so they can be shared between configure
4787 # scripts and configure runs, see configure's option --config-cache.
4788 # It is not useful on other systems. If it contains results you don't
4789 # want to keep, you may remove or edit it.
4791 # config.status only pays attention to the cache file if you give it
4792 # the --recheck option to rerun configure.
4794 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4795 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4800 # The following way of writing the cache mishandles newlines in values,
4801 # but we know of no workaround that is simple, portable, and efficient.
4802 # So, we kill variables containing newlines.
4803 # Ultrix sh set writes to stderr and can't be redirected directly,
4804 # and sets the high bit in the cache file unless we assign to the vars.
4806 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4807 eval ac_val=\$$ac_var
4811 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4812 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4815 _ | IFS | as_nl) ;; #(
4816 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4817 *) $as_unset $ac_var ;;
4823 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4824 *${as_nl}ac_space=\ *)
4825 # `set' does not quote correctly, so add quotes (double-quote
4826 # substitution turns \\\\ into \\, and sed turns \\ into \).
4829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4832 # `set' quotes correctly as required by POSIX, so do not add quotes.
4833 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4842 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4844 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4846 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4847 if test -w "$cache_file"; then
4848 test "x$cache_file" != "x/dev/null" &&
4849 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4850 $as_echo "$as_me: updating cache $cache_file" >&6;}
4851 cat confcache >$cache_file
4853 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4854 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4859 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4860 # Let make expand exec_prefix.
4861 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4863 # Transform confdefs.h into DEFS.
4864 # Protect against shell expansion while executing Makefile rules.
4865 # Protect against Makefile macro expansion.
4867 # If the first sed substitution is executed (which looks for macros that
4868 # take arguments), then branch to the quote section. Otherwise,
4869 # look for a macro that doesn't take arguments.
4879 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4881 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4885 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4898 DEFS=`sed -n "$ac_script" confdefs.h`
4903 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4904 # 1. Remove the extension, and $U if already installed.
4905 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4906 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4907 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4908 # will be set to the directory where LIBOBJS objects are built.
4909 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4910 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4914 LTLIBOBJS=$ac_ltlibobjs
4917 if test -n "$EXEEXT"; then
4919 am__EXEEXT_FALSE='#'
4925 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4926 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4927 Usually this means the macro was only invoked conditionally." >&5
4928 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4929 Usually this means the macro was only invoked conditionally." >&2;}
4930 { (exit 1); exit 1; }; }
4932 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4933 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4934 Usually this means the macro was only invoked conditionally." >&5
4935 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4936 Usually this means the macro was only invoked conditionally." >&2;}
4937 { (exit 1); exit 1; }; }
4940 : ${CONFIG_STATUS=./config.status}
4942 ac_clean_files_save=$ac_clean_files
4943 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4944 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4945 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4946 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4948 # Generated by $as_me.
4949 # Run this file to recreate the current configuration.
4950 # Compiler output produced by configure, useful for debugging
4951 # configure, is in config.log if it exists.
4956 SHELL=\${CONFIG_SHELL-$SHELL}
4959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4960 ## --------------------- ##
4961 ## M4sh Initialization. ##
4962 ## --------------------- ##
4964 # Be more Bourne compatible
4965 DUALCASE=1; export DUALCASE # for MKS sh
4966 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4969 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4970 # is contrary to our usage. Disable this feature.
4971 alias -g '${1+"$@"}'='"$@"'
4972 setopt NO_GLOB_SUBST
4974 case `(set -o) 2>/dev/null` in
4975 *posix*) set -o posix ;;
4984 # Avoid depending upon Character Ranges.
4985 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4986 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4987 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4988 as_cr_digits='0123456789'
4989 as_cr_alnum=$as_cr_Letters$as_cr_digits
4994 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4995 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4996 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4997 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4998 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4999 as_echo='printf %s\n'
5000 as_echo_n='printf %s'
5002 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5003 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5004 as_echo_n='/usr/ucb/echo -n'
5006 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5007 as_echo_n_body='eval
5011 expr "X$arg" : "X\\(.*\\)$as_nl";
5012 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5014 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5016 export as_echo_n_body
5017 as_echo_n='sh -c $as_echo_n_body as_echo'
5020 as_echo='sh -c $as_echo_body as_echo'
5023 # The user is always right.
5024 if test "${PATH_SEPARATOR+set}" != set; then
5026 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5027 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5032 # Support unset when possible.
5033 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5041 # We need space, tab and new line, in precisely that order. Quoting is
5042 # there to prevent editors from complaining about space-tab.
5043 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5044 # splitting by setting IFS to empty value.)
5047 # Find who we are. Look in the path if we contain no directory separator.
5049 *[\\/]* ) as_myself=$0 ;;
5050 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir=.
5055 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5061 # We did not find ourselves, most probably we were run as `sh COMMAND'
5062 # in which case we are not to be found in the path.
5063 if test "x$as_myself" = x; then
5066 if test ! -f "$as_myself"; then
5067 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5068 { (exit 1); exit 1; }
5071 # Work around bugs in pre-3.0 UWIN ksh.
5072 for as_var in ENV MAIL MAILPATH
5073 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5085 # Required to use basename.
5086 if expr a : '\(a\)' >/dev/null 2>&1 &&
5087 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5093 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5094 as_basename=basename
5100 # Name of the executable.
5101 as_me=`$as_basename -- "$0" ||
5102 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5103 X"$0" : 'X\(//\)$' \| \
5104 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5106 sed '/^.*\/\([^/][^/]*\)\/*$/{
5127 test "x$as_lineno_1" != "x$as_lineno_2" &&
5128 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5130 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5131 # uniformly replaced by the line number. The first 'sed' inserts a
5132 # line-number line after each line using $LINENO; the second 'sed'
5133 # does the real work. The second script uses 'N' to pair each
5134 # line-number line with the line containing $LINENO, and appends
5135 # trailing '-' during substitution so that $LINENO is not a special
5137 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5138 # scripts with optimization help from Paolo Bonzini. Blame Lee
5139 # E. McMahon (1931-1989) for sed's syntax. :-)
5151 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5155 chmod +x "$as_me.lineno" ||
5156 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5157 { (exit 1); exit 1; }; }
5159 # Don't try to exec as it changes $[0], causing all sort of problems
5160 # (the dirname of $[0] is not the place where we might find the
5161 # original and so on. Autoconf is especially sensitive to this).
5163 # Exit status is that of the last command.
5168 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5174 ECHO_C= ECHO_N= ECHO_T=
5177 case `echo 'x\c'` in
5178 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5184 if expr a : '\(a\)' >/dev/null 2>&1 &&
5185 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5191 rm -f conf$$ conf$$.exe conf$$.file
5192 if test -d conf$$.dir; then
5193 rm -f conf$$.dir/conf$$.file
5196 mkdir conf$$.dir 2>/dev/null
5198 if (echo >conf$$.file) 2>/dev/null; then
5199 if ln -s conf$$.file conf$$ 2>/dev/null; then
5201 # ... but there are two gotchas:
5202 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5203 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5204 # In both cases, we have to default to `cp -p'.
5205 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5207 elif ln conf$$.file conf$$ 2>/dev/null; then
5215 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5216 rmdir conf$$.dir 2>/dev/null
5218 if mkdir -p . 2>/dev/null; then
5221 test -d ./-p && rmdir ./-p
5225 if test -x / >/dev/null 2>&1; then
5228 if ls -dL / >/dev/null 2>&1; then
5235 if test -d "$1"; then
5241 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5242 ???[sx]*):;;*)false;;esac;fi
5246 as_executable_p=$as_test_x
5248 # Sed expression to map a string onto a valid CPP name.
5249 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5251 # Sed expression to map a string onto a valid variable name.
5252 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5257 # Save the log message, to keep $[0] and so on meaningful, and to
5258 # report actual input values of CONFIG_FILES etc. instead of their
5259 # values after options handling.
5261 This file was extended by FontcacheProto $as_me 0.1.3, which was
5262 generated by GNU Autoconf 2.63. Invocation command line was
5264 CONFIG_FILES = $CONFIG_FILES
5265 CONFIG_HEADERS = $CONFIG_HEADERS
5266 CONFIG_LINKS = $CONFIG_LINKS
5267 CONFIG_COMMANDS = $CONFIG_COMMANDS
5270 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5275 case $ac_config_files in *"
5276 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5282 # Files that config.status was made for.
5283 config_files="$ac_config_files"
5284 config_commands="$ac_config_commands"
5288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5290 \`$as_me' instantiates files from templates according to the
5291 current configuration.
5293 Usage: $0 [OPTION]... [FILE]...
5295 -h, --help print this help, then exit
5296 -V, --version print version number and configuration settings, then exit
5297 -q, --quiet, --silent
5298 do not print progress messages
5299 -d, --debug don't remove temporary files
5300 --recheck update $as_me by reconfiguring in the same conditions
5301 --file=FILE[:TEMPLATE]
5302 instantiate the configuration file FILE
5304 Configuration files:
5307 Configuration commands:
5310 Report bugs to <bug-autoconf@gnu.org>."
5313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5315 FontcacheProto config.status 0.1.3
5316 configured by $0, generated by GNU Autoconf 2.63,
5317 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5319 Copyright (C) 2008 Free Software Foundation, Inc.
5320 This config.status script is free software; the Free Software Foundation
5321 gives unlimited permission to copy, distribute and modify it."
5328 test -n "\$AWK" || AWK=awk
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5332 # The default lists apply if the user does not specify any file.
5338 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5339 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5350 # Handling of the options.
5351 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5353 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5354 $as_echo "$ac_cs_version"; exit ;;
5355 --debug | --debu | --deb | --de | --d | -d )
5357 --file | --fil | --fi | --f )
5360 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5362 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5363 ac_need_defaults=false;;
5364 --he | --h | --help | --hel | -h )
5365 $as_echo "$ac_cs_usage"; exit ;;
5366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5367 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5371 -*) { $as_echo "$as_me: error: unrecognized option: $1
5372 Try \`$0 --help' for more information." >&2
5373 { (exit 1); exit 1; }; } ;;
5375 *) ac_config_targets="$ac_config_targets $1"
5376 ac_need_defaults=false ;;
5382 ac_configure_extra_args=
5384 if $ac_cs_silent; then
5386 ac_configure_extra_args="$ac_configure_extra_args --silent"
5390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5391 if \$ac_cs_recheck; then
5392 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5394 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5395 CONFIG_SHELL='$SHELL'
5401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5405 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5406 ## Running $as_me. ##
5412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5416 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5422 # Handling of arguments.
5423 for ac_config_target in $ac_config_targets
5425 case $ac_config_target in
5426 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5427 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5428 "fontcacheproto.pc") CONFIG_FILES="$CONFIG_FILES fontcacheproto.pc" ;;
5430 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5431 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5432 { (exit 1); exit 1; }; };;
5437 # If the user did not use the arguments to specify the items to instantiate,
5438 # then the envvar interface is used. Set only those that are not.
5439 # We use the long form for the default assignment because of an extremely
5440 # bizarre bug on SunOS 4.1.3.
5441 if $ac_need_defaults; then
5442 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5446 # Have a temporary directory for convenience. Make it in the build tree
5447 # simply because there is no reason against having it here, and in addition,
5448 # creating and moving files from /tmp can sometimes cause problems.
5449 # Hook for its removal unless debugging.
5450 # Note that there is a small window in which the directory will not be cleaned:
5451 # after its creation but before its name has been assigned to `$tmp'.
5455 trap 'exit_status=$?
5456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5458 trap '{ (exit 1); exit 1; }' 1 2 13 15
5460 # Create a (secure) tmp directory for tmp files.
5463 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5464 test -n "$tmp" && test -d "$tmp"
5467 tmp=./conf$$-$RANDOM
5468 (umask 077 && mkdir "$tmp")
5471 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5472 { (exit 1); exit 1; }
5475 # Set up the scripts for CONFIG_FILES section.
5476 # No need to generate them if there are no CONFIG_FILES.
5477 # This happens for instance with `./config.status config.h'.
5478 if test -n "$CONFIG_FILES"; then
5482 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5483 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5489 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5494 echo "cat >conf$$subs.awk <<_ACEOF" &&
5495 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5498 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5499 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5500 { (exit 1); exit 1; }; }
5501 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5503 for ac_last_try in false false false false false :; do
5504 . ./conf$$subs.sh ||
5505 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5506 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5507 { (exit 1); exit 1; }; }
5509 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5510 if test $ac_delim_n = $ac_delim_num; then
5512 elif $ac_last_try; then
5513 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5514 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5515 { (exit 1); exit 1; }; }
5517 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5523 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5527 s/^/S["/; s/!.*/"]=/
5537 s/\(.\{148\}\).*/\1/
5539 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5544 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5551 s/\(.\{148\}\).*/\1/
5553 s/["\\]/\\&/g; s/^/"/; s/$/"/
5557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5562 ' <conf$$subs.awk | sed '
5567 ' >>$CONFIG_STATUS || ac_write_fail=1
5568 rm -f conf$$subs.awk
5569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5571 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5572 for (key in S) S_is_set[key] = 1
5578 nfields = split(line, field, "@")
5580 len = length(field[1])
5581 for (i = 2; i < nfields; i++) {
5583 keylen = length(key)
5584 if (S_is_set[key]) {
5586 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5587 len += length(value) + length(field[++i])
5598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5599 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5600 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5603 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5604 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5605 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5606 { (exit 1); exit 1; }; }
5609 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5610 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5611 # trailing colons and then remove the whole line if VPATH becomes empty
5612 # (actually we leave an empty line to preserve line numbers).
5613 if test "x$srcdir" = x.; then
5614 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5618 s/^\([^=]*=[ ]*\):*/\1/
5624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5625 fi # test -n "$CONFIG_FILES"
5628 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5633 :[FHLC]) ac_mode=$ac_tag; continue;;
5635 case $ac_mode$ac_tag in
5637 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5638 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5639 { (exit 1); exit 1; }; };;
5640 :[FH]-) ac_tag=-:-;;
5641 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5658 -) ac_f="$tmp/stdin";;
5659 *) # Look for the file first in the build tree, then in the source tree
5660 # (if the path is not absolute). The absolute path cannot be DOS-style,
5661 # because $ac_f cannot contain `:'.
5665 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5667 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5668 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5669 { (exit 1); exit 1; }; };;
5671 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5672 ac_file_inputs="$ac_file_inputs '$ac_f'"
5675 # Let's still pretend it is `configure' which instantiates (i.e., don't
5676 # use $as_me), people would be surprised to read:
5677 # /* config.h. Generated by config.status. */
5678 configure_input='Generated from '`
5679 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5681 if test x"$ac_file" != x-; then
5682 configure_input="$ac_file. $configure_input"
5683 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5684 $as_echo "$as_me: creating $ac_file" >&6;}
5686 # Neutralize special characters interpreted by sed in replacement strings.
5687 case $configure_input in #(
5688 *\&* | *\|* | *\\* )
5689 ac_sed_conf_input=`$as_echo "$configure_input" |
5690 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5691 *) ac_sed_conf_input=$configure_input;;
5695 *:-:* | *:-) cat >"$tmp/stdin" \
5696 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5697 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5698 { (exit 1); exit 1; }; } ;;
5703 ac_dir=`$as_dirname -- "$ac_file" ||
5704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5705 X"$ac_file" : 'X\(//\)[^/]' \| \
5706 X"$ac_file" : 'X\(//\)$' \| \
5707 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5708 $as_echo X"$ac_file" |
5709 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5728 -*) as_dir=./$as_dir;;
5730 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5734 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5735 *) as_qdir=$as_dir;;
5737 as_dirs="'$as_qdir' $as_dirs"
5738 as_dir=`$as_dirname -- "$as_dir" ||
5739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5740 X"$as_dir" : 'X\(//\)[^/]' \| \
5741 X"$as_dir" : 'X\(//\)$' \| \
5742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5743 $as_echo X"$as_dir" |
5744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5761 test -d "$as_dir" && break
5763 test -z "$as_dirs" || eval "mkdir $as_dirs"
5764 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5765 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5766 { (exit 1); exit 1; }; }; }
5770 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5772 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5773 # A ".." for each directory in $ac_dir_suffix.
5774 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5775 case $ac_top_builddir_sub in
5776 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5777 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5780 ac_abs_top_builddir=$ac_pwd
5781 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5782 # for backward compatibility:
5783 ac_top_builddir=$ac_top_build_prefix
5786 .) # We are building in place.
5788 ac_top_srcdir=$ac_top_builddir_sub
5789 ac_abs_top_srcdir=$ac_pwd ;;
5790 [\\/]* | ?:[\\/]* ) # Absolute name.
5791 ac_srcdir=$srcdir$ac_dir_suffix;
5792 ac_top_srcdir=$srcdir
5793 ac_abs_top_srcdir=$srcdir ;;
5795 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5796 ac_top_srcdir=$ac_top_build_prefix$srcdir
5797 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5799 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5809 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5810 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5814 [\\/$]* | ?:[\\/]* ) ;;
5815 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5820 # If the template does not know about datarootdir, expand it.
5821 # FIXME: This hack should be removed a few years after 2.60.
5822 ac_datarootdir_hack=; ac_datarootdir_seen=
5835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5836 *datarootdir*) ac_datarootdir_seen=yes;;
5837 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5838 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5842 ac_datarootdir_hack='
5843 s&@datadir@&$datadir&g
5844 s&@docdir@&$docdir&g
5845 s&@infodir@&$infodir&g
5846 s&@localedir@&$localedir&g
5847 s&@mandir@&$mandir&g
5848 s&\\\${datarootdir}&$datarootdir&g' ;;
5852 # Neutralize VPATH when `$srcdir' = `.'.
5853 # Shell code in configure.ac might set extrasub.
5854 # FIXME: do we really want to maintain this feature?
5855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5856 ac_sed_extra="$ac_vpsub
5859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5862 s|@configure_input@|$ac_sed_conf_input|;t t
5863 s&@top_builddir@&$ac_top_builddir_sub&;t t
5864 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5865 s&@srcdir@&$ac_srcdir&;t t
5866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5867 s&@top_srcdir@&$ac_top_srcdir&;t t
5868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5869 s&@builddir@&$ac_builddir&;t t
5870 s&@abs_builddir@&$ac_abs_builddir&;t t
5871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5872 s&@INSTALL@&$ac_INSTALL&;t t
5873 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5874 $ac_datarootdir_hack
5876 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5877 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5878 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5879 { (exit 1); exit 1; }; }
5881 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5882 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5883 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5884 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5885 which seems to be undefined. Please make sure it is defined." >&5
5886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5887 which seems to be undefined. Please make sure it is defined." >&2;}
5891 -) cat "$tmp/out" && rm -f "$tmp/out";;
5892 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5894 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5895 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5896 { (exit 1); exit 1; }; }
5900 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5901 $as_echo "$as_me: executing $ac_file commands" >&6;}
5906 case $ac_file$ac_mode in
5907 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5908 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5909 # are listed without --file. Let's play safe and only enable the eval
5910 # if we detect the quoting.
5911 case $CONFIG_FILES in
5912 *\'*) eval set x "$CONFIG_FILES" ;;
5913 *) set x $CONFIG_FILES ;;
5918 # Strip MF so we end up with the name of the file.
5919 mf=`echo "$mf" | sed -e 's/:.*$//'`
5920 # Check whether this is an Automake generated Makefile or not.
5921 # We used to match only the files named `Makefile.in', but
5922 # some people rename them; so instead we look at the file content.
5923 # Grep'ing the first line is not enough: some people post-process
5924 # each Makefile.in and add a new line on top of each file to say so.
5925 # Grep'ing the whole file is not good either: AIX grep has a line
5926 # limit of 2048, but all sed's we know have understand at least 4000.
5927 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5928 dirpart=`$as_dirname -- "$mf" ||
5929 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5930 X"$mf" : 'X\(//\)[^/]' \| \
5931 X"$mf" : 'X\(//\)$' \| \
5932 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5954 # Extract the definition of DEPDIR, am__include, and am__quote
5955 # from the Makefile without running `make'.
5956 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5957 test -z "$DEPDIR" && continue
5958 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5959 test -z "am__include" && continue
5960 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5961 # When using ansi2knr, U may be empty or an underscore; expand it
5962 U=`sed -n 's/^U = //p' < "$mf"`
5963 # Find all dependency output files, they are included files with
5964 # $(DEPDIR) in their names. We invoke sed twice because it is the
5965 # simplest approach to changing $(DEPDIR) to its actual value in the
5967 for file in `sed -n "
5968 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5969 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5970 # Make sure the directory exists.
5971 test -f "$dirpart/$file" && continue
5972 fdir=`$as_dirname -- "$file" ||
5973 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5974 X"$file" : 'X\(//\)[^/]' \| \
5975 X"$file" : 'X\(//\)$' \| \
5976 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5995 { as_dir=$dirpart/$fdir
5997 -*) as_dir=./$as_dir;;
5999 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6003 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6004 *) as_qdir=$as_dir;;
6006 as_dirs="'$as_qdir' $as_dirs"
6007 as_dir=`$as_dirname -- "$as_dir" ||
6008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6009 X"$as_dir" : 'X\(//\)[^/]' \| \
6010 X"$as_dir" : 'X\(//\)$' \| \
6011 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6012 $as_echo X"$as_dir" |
6013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6030 test -d "$as_dir" && break
6032 test -z "$as_dirs" || eval "mkdir $as_dirs"
6033 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6034 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6035 { (exit 1); exit 1; }; }; }
6036 # echo "creating $dirpart/$file"
6037 echo '# dummy' > "$dirpart/$file"
6047 { (exit 0); exit 0; }
6049 chmod +x $CONFIG_STATUS
6050 ac_clean_files=$ac_clean_files_save
6052 test $ac_write_fail = 0 ||
6053 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6054 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6055 { (exit 1); exit 1; }; }
6058 # configure is writing to config.log, and then calls config.status.
6059 # config.status does its own redirection, appending to config.log.
6060 # Unfortunately, on DOS this fails, as config.log is still kept open
6061 # by configure, so config.status won't be able to write to it; its
6062 # output is simply discarded. So we exec the FD to /dev/null,
6063 # effectively closing config.log, so it can be properly (re)opened and
6064 # appended to by config.status. When coming back to configure, we
6065 # need to make the FD available again.
6066 if test "$no_create" != yes; then
6068 ac_config_status_args=
6069 test "$silent" = yes &&
6070 ac_config_status_args="$ac_config_status_args --quiet"
6072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6075 # would make configure fail if this is the last instruction.
6076 $ac_cs_success || { (exit 1); exit 1; }
6078 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6079 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6080 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}