2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xbitmaps 1.1.1.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243 $0: about your system, including any error possibly output
244 $0: before this message. Then install a modern shell, or
245 $0: manually run the script under such a shell if you do
252 SHELL=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir=./$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304 as_dirs="'$as_qdir' $as_dirs"
305 as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 as_val=`expr "$@" || test $? -eq 1`
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
378 as_status=$1; test $as_status -eq 0 && as_status=1
380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit $as_status
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
433 as_lineno_1=$LINENO as_lineno_1a=$LINENO
434 as_lineno_2=$LINENO as_lineno_2a=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
460 # Exit status is that of the last command.
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479 rm -f conf$$.dir/conf$$.file
482 mkdir conf$$.dir 2>/dev/null
484 if (echo >conf$$.file) 2>/dev/null; then
485 if ln -s conf$$.file conf$$ 2>/dev/null; then
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
493 elif ln conf$$.file conf$$ 2>/dev/null; then
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
504 if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"'
507 test -d ./-p && rmdir ./-p
511 if test -x / >/dev/null 2>&1; then
514 if ls -dL / >/dev/null 2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 test -n "$DJDIR" || exec 7<&0 </dev/null
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
552 ac_default_prefix=/usr/local
554 ac_config_libobj_dir=.
561 # Identity of this package.
562 PACKAGE_NAME='xbitmaps'
563 PACKAGE_TARNAME='xbitmaps'
564 PACKAGE_VERSION='1.1.1'
565 PACKAGE_STRING='xbitmaps 1.1.1'
566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
569 ac_unique_file="Makefile.am"
570 # Factoring default headers for most tests.
571 ac_includes_default="\
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
583 # ifdef HAVE_STDLIB_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
606 ac_subst_vars='am__EXEEXT_FALSE
659 MAINTAINER_MODE_FALSE
669 INSTALL_STRIP_PROGRAM
711 program_transform_name
724 enable_option_checking
725 enable_maintainer_mode
726 enable_dependency_tracking
727 enable_strict_compilation
730 ac_precious_vars='build_alias
742 # Initialize some variables set by options.
744 ac_init_version=false
745 ac_unrecognized_opts=
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
756 program_transform_name=s,x,x,
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir='${exec_prefix}/bin'
771 sbindir='${exec_prefix}/sbin'
772 libexecdir='${exec_prefix}/libexec'
773 datarootdir='${prefix}/share'
774 datadir='${datarootdir}'
775 sysconfdir='${prefix}/etc'
776 sharedstatedir='${prefix}/com'
777 localstatedir='${prefix}/var'
778 includedir='${prefix}/include'
779 oldincludedir='/usr/include'
780 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
781 infodir='${datarootdir}/info'
786 libdir='${exec_prefix}/lib'
787 localedir='${datarootdir}/locale'
788 mandir='${datarootdir}/man'
794 # If the previous option needs an argument, assign it.
795 if test -n "$ac_prev"; then
796 eval $ac_prev=\$ac_option
802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807 # Accept the important Cygnus configure options, so we can diagnose typos.
809 case $ac_dashdash$ac_option in
813 -bindir | --bindir | --bindi | --bind | --bin | --bi)
815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
818 -build | --build | --buil | --bui | --bu)
819 ac_prev=build_alias ;;
820 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
821 build_alias=$ac_optarg ;;
823 -cache-file | --cache-file | --cache-fil | --cache-fi \
824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
825 ac_prev=cache_file ;;
826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
828 cache_file=$ac_optarg ;;
831 cache_file=config.cache ;;
833 -datadir | --datadir | --datadi | --datad)
835 -datadir=* | --datadir=* | --datadi=* | --datad=*)
836 datadir=$ac_optarg ;;
838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
839 | --dataroo | --dataro | --datar)
840 ac_prev=datarootdir ;;
841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
843 datarootdir=$ac_optarg ;;
845 -disable-* | --disable-*)
846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849 as_fn_error $? "invalid feature name: $ac_useropt"
850 ac_useropt_orig=$ac_useropt
851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 case $ac_user_opts in
856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
857 ac_unrecognized_sep=', ';;
859 eval enable_$ac_useropt=no ;;
861 -docdir | --docdir | --docdi | --doc | --do)
863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
871 -enable-* | --enable-*)
872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
875 as_fn_error $? "invalid feature name: $ac_useropt"
876 ac_useropt_orig=$ac_useropt
877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878 case $ac_user_opts in
882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
883 ac_unrecognized_sep=', ';;
885 eval enable_$ac_useropt=\$ac_optarg ;;
887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
889 | --exec | --exe | --ex)
890 ac_prev=exec_prefix ;;
891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
893 | --exec=* | --exe=* | --ex=*)
894 exec_prefix=$ac_optarg ;;
896 -gas | --gas | --ga | --g)
897 # Obsolete; use --with-gas.
900 -help | --help | --hel | --he | -h)
902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
903 ac_init_help=recursive ;;
904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
905 ac_init_help=short ;;
907 -host | --host | --hos | --ho)
908 ac_prev=host_alias ;;
909 -host=* | --host=* | --hos=* | --ho=*)
910 host_alias=$ac_optarg ;;
912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
916 htmldir=$ac_optarg ;;
918 -includedir | --includedir | --includedi | --included | --include \
919 | --includ | --inclu | --incl | --inc)
920 ac_prev=includedir ;;
921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
922 | --includ=* | --inclu=* | --incl=* | --inc=*)
923 includedir=$ac_optarg ;;
925 -infodir | --infodir | --infodi | --infod | --info | --inf)
927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
928 infodir=$ac_optarg ;;
930 -libdir | --libdir | --libdi | --libd)
932 -libdir=* | --libdir=* | --libdi=* | --libd=*)
935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
936 | --libexe | --libex | --libe)
937 ac_prev=libexecdir ;;
938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
939 | --libexe=* | --libex=* | --libe=*)
940 libexecdir=$ac_optarg ;;
942 -localedir | --localedir | --localedi | --localed | --locale)
944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
945 localedir=$ac_optarg ;;
947 -localstatedir | --localstatedir | --localstatedi | --localstated \
948 | --localstate | --localstat | --localsta | --localst | --locals)
949 ac_prev=localstatedir ;;
950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
952 localstatedir=$ac_optarg ;;
954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
960 # Obsolete; use --without-fp.
963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
964 | --no-cr | --no-c | -n)
967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
973 | --oldin | --oldi | --old | --ol | --o)
974 ac_prev=oldincludedir ;;
975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
978 oldincludedir=$ac_optarg ;;
980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
985 -program-prefix | --program-prefix | --program-prefi | --program-pref \
986 | --program-pre | --program-pr | --program-p)
987 ac_prev=program_prefix ;;
988 -program-prefix=* | --program-prefix=* | --program-prefi=* \
989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
990 program_prefix=$ac_optarg ;;
992 -program-suffix | --program-suffix | --program-suffi | --program-suff \
993 | --program-suf | --program-su | --program-s)
994 ac_prev=program_suffix ;;
995 -program-suffix=* | --program-suffix=* | --program-suffi=* \
996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
997 program_suffix=$ac_optarg ;;
999 -program-transform-name | --program-transform-name \
1000 | --program-transform-nam | --program-transform-na \
1001 | --program-transform-n | --program-transform- \
1002 | --program-transform | --program-transfor \
1003 | --program-transfo | --program-transf \
1004 | --program-trans | --program-tran \
1005 | --progr-tra | --program-tr | --program-t)
1006 ac_prev=program_transform_name ;;
1007 -program-transform-name=* | --program-transform-name=* \
1008 | --program-transform-nam=* | --program-transform-na=* \
1009 | --program-transform-n=* | --program-transform-=* \
1010 | --program-transform=* | --program-transfor=* \
1011 | --program-transfo=* | --program-transf=* \
1012 | --program-trans=* | --program-tran=* \
1013 | --progr-tra=* | --program-tr=* | --program-t=*)
1014 program_transform_name=$ac_optarg ;;
1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1019 pdfdir=$ac_optarg ;;
1021 -psdir | --psdir | --psdi | --psd | --ps)
1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027 | -silent | --silent | --silen | --sile | --sil)
1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1034 sbindir=$ac_optarg ;;
1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1038 | --sharedst | --shareds | --shared | --share | --shar \
1040 ac_prev=sharedstatedir ;;
1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1045 sharedstatedir=$ac_optarg ;;
1047 -site | --site | --sit)
1049 -site=* | --site=* | --sit=*)
1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1055 srcdir=$ac_optarg ;;
1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1058 | --syscon | --sysco | --sysc | --sys | --sy)
1059 ac_prev=sysconfdir ;;
1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1062 sysconfdir=$ac_optarg ;;
1064 -target | --target | --targe | --targ | --tar | --ta | --t)
1065 ac_prev=target_alias ;;
1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1067 target_alias=$ac_optarg ;;
1069 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1072 -version | --version | --versio | --versi | --vers | -V)
1073 ac_init_version=: ;;
1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 as_fn_error $? "invalid package name: $ac_useropt"
1080 ac_useropt_orig=$ac_useropt
1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1087 ac_unrecognized_sep=', ';;
1089 eval with_$ac_useropt=\$ac_optarg ;;
1091 -without-* | --without-*)
1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 as_fn_error $? "invalid package name: $ac_useropt"
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1105 eval with_$ac_useropt=no ;;
1108 # Obsolete; use --with-x.
1111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1112 | --x-incl | --x-inc | --x-in | --x-i)
1113 ac_prev=x_includes ;;
1114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1116 x_includes=$ac_optarg ;;
1118 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1120 ac_prev=x_libraries ;;
1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1123 x_libraries=$ac_optarg ;;
1125 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1126 Try \`$0 --help' for more information"
1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1131 # Reject names that are not valid shell variable names.
1132 case $ac_envvar in #(
1133 '' | [0-9]* | *[!_$as_cr_alnum]* )
1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1136 eval $ac_envvar=\$ac_optarg
1137 export $ac_envvar ;;
1140 # FIXME: should be removed in autoconf 3.0.
1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1150 if test -n "$ac_prev"; then
1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1152 as_fn_error $? "missing argument to $ac_option"
1155 if test -n "$ac_unrecognized_opts"; then
1156 case $enable_option_checking in
1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1163 # Check all directory arguments for consistency.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1170 # Remove trailing slashes.
1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1174 eval $ac_var=\$ac_val;;
1176 # Be sure to have absolute directory names.
1178 [\\/$]* | ?:[\\/]* ) continue;;
1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1184 # There might be people who depend on the old broken behavior: `$host'
1185 # used to hold the argument of --host etc.
1186 # FIXME: To remove some day.
1189 target=$target_alias
1191 # FIXME: To remove some day.
1192 if test "x$host_alias" != x; then
1193 if test "x$build_alias" = x; then
1194 cross_compiling=maybe
1195 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1196 If a cross compiler is detected then cross compile mode will be used" >&2
1197 elif test "x$build_alias" != "x$host_alias"; then
1203 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1205 test "$silent" = yes && exec 6>/dev/null
1208 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1209 ac_ls_di=`ls -di .` &&
1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1211 as_fn_error $? "working directory cannot be determined"
1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213 as_fn_error $? "pwd does not report name of working directory"
1216 # Find the source files, if location was not specified.
1217 if test -z "$srcdir"; then
1218 ac_srcdir_defaulted=yes
1219 # Try the directory containing this script, then the parent directory.
1220 ac_confdir=`$as_dirname -- "$as_myself" ||
1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1222 X"$as_myself" : 'X\(//\)[^/]' \| \
1223 X"$as_myself" : 'X\(//\)$' \| \
1224 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1225 $as_echo X"$as_myself" |
1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1244 if test ! -r "$srcdir/$ac_unique_file"; then
1248 ac_srcdir_defaulted=no
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1251 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1252 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 for ac_var in $ac_precious_vars; do
1269 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_${ac_var}_value=\$${ac_var}
1271 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1276 # Report the --help message.
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1282 \`configure' configures xbitmaps 1.1.1 to adapt to many kinds of systems.
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1289 Defaults for the options are specified in brackets.
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking ...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1313 For better control, use the options below.
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --libdir=DIR object code libraries [EPREFIX/lib]
1323 --includedir=DIR C header files [PREFIX/include]
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1327 --infodir=DIR info documentation [DATAROOTDIR/info]
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1329 --mandir=DIR man documentation [DATAROOTDIR/man]
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/xbitmaps]
1331 --htmldir=DIR html documentation [DOCDIR]
1332 --dvidir=DIR dvi documentation [DOCDIR]
1333 --pdfdir=DIR pdf documentation [DOCDIR]
1334 --psdir=DIR ps documentation [DOCDIR]
1340 --program-prefix=PREFIX prepend PREFIX to installed program names
1341 --program-suffix=SUFFIX append SUFFIX to installed program names
1342 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1345 --build=BUILD configure for building on BUILD [guessed]
1346 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1350 if test -n "$ac_init_help"; then
1351 case $ac_init_help in
1352 short | recursive ) echo "Configuration of xbitmaps 1.1.1:";;
1357 --disable-option-checking ignore unrecognized --enable/--with options
1358 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1359 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1360 --enable-maintainer-mode enable make rules and dependencies not useful
1361 (and sometimes confusing) to the casual installer
1362 --disable-dependency-tracking speeds up one-time build
1363 --enable-dependency-tracking do not reject slow dependency extractors
1364 --enable-strict-compilation
1365 Enable all warnings from compiler and make them
1366 errors (default: disabled)
1367 --enable-silent-rules less verbose build output (undo: `make V=1')
1368 --disable-silent-rules verbose build output (undo: `make V=0')
1370 Some influential environment variables:
1371 CC C compiler command
1372 CFLAGS C compiler flags
1373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1374 nonstandard directory <lib dir>
1375 LIBS libraries to pass to the linker, e.g. -l<library>
1376 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1377 you have headers in a nonstandard directory <include dir>
1379 PKG_CONFIG path to pkg-config utility
1381 Use these variables to override the choices made by `configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1384 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" ||
1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1414 .) # We are building in place.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1447 xbitmaps configure 1.1.1
1448 generated by GNU Autoconf 2.68
1450 Copyright (C) 2010 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1457 ## ------------------------ ##
1458 ## Autoconf initialization. ##
1459 ## ------------------------ ##
1461 # ac_fn_c_try_compile LINENO
1462 # --------------------------
1463 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1464 ac_fn_c_try_compile ()
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 rm -f conftest.$ac_objext
1468 if { { ac_try="$ac_compile"
1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1471 *) ac_try_echo=$ac_try;;
1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474 $as_echo "$ac_try_echo"; } >&5
1475 (eval "$ac_compile") 2>conftest.err
1477 if test -s conftest.err; then
1478 grep -v '^ *+' conftest.err >conftest.er1
1479 cat conftest.er1 >&5
1480 mv -f conftest.er1 conftest.err
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483 test $ac_status = 0; } && {
1484 test -z "$ac_c_werror_flag" ||
1485 test ! -s conftest.err
1486 } && test -s conftest.$ac_objext; then :
1489 $as_echo "$as_me: failed program was:" >&5
1490 sed 's/^/| /' conftest.$ac_ext >&5
1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1495 as_fn_set_status $ac_retval
1497 } # ac_fn_c_try_compile
1499 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1500 # ---------------------------------------------
1501 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1503 ac_fn_c_check_decl ()
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 as_decl_name=`echo $2|sed 's/ *(.*//'`
1507 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1509 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1510 if eval \${$3+:} false; then :
1511 $as_echo_n "(cached) " >&6
1513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1514 /* end confdefs.h. */
1519 #ifndef $as_decl_name
1521 (void) $as_decl_use;
1523 (void) $as_decl_name;
1531 if ac_fn_c_try_compile "$LINENO"; then :
1536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1540 $as_echo "$ac_res" >&6; }
1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 } # ac_fn_c_check_decl
1545 # ac_fn_c_try_cpp LINENO
1546 # ----------------------
1547 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 if { { ac_try="$ac_cpp conftest.$ac_ext"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } > conftest.i && {
1567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1582 # ac_fn_c_try_run LINENO
1583 # ----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1585 # that executables *can* be run.
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 if { { ac_try="$ac_link"
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>&5
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1600 { { case "(($ac_try" in
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_try") 2>&5
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; }; }; then :
1612 $as_echo "$as_me: program exited with status $ac_status" >&5
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1616 ac_retval=$ac_status
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status $ac_retval
1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1625 # -------------------------------------------------------
1626 # Tests whether HEADER exists and can be compiled using the include files in
1627 # INCLUDES, setting the cache variable VAR accordingly.
1628 ac_fn_c_check_header_compile ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634 $as_echo_n "(cached) " >&6
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1641 if ac_fn_c_try_compile "$LINENO"; then :
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 } # ac_fn_c_check_header_compile
1654 cat >config.log <<_ACEOF
1655 This file contains any messages produced by compilers while
1656 running configure, to aid debugging if configure makes a mistake.
1658 It was created by xbitmaps $as_me 1.1.1, which was
1659 generated by GNU Autoconf 2.68. Invocation command line was
1671 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1672 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1673 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1674 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1675 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1677 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1678 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1680 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1681 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1682 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1683 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1684 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1685 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1686 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir=.
1695 $as_echo "PATH: $as_dir"
1711 # Keep a trace of the command line.
1712 # Strip out --no-create and --no-recursion so they do not pile up.
1713 # Strip out --silent because we don't want to record it for future runs.
1714 # Also quote any args containing shell meta-characters.
1715 # Make two passes to allow for proper duplicate-argument suppression.
1719 ac_must_keep_next=false
1725 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1726 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1727 | -silent | --silent | --silen | --sile | --sil)
1730 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1733 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1735 as_fn_append ac_configure_args1 " '$ac_arg'"
1736 if test $ac_must_keep_next = true; then
1737 ac_must_keep_next=false # Got value, back to normal.
1740 *=* | --config-cache | -C | -disable-* | --disable-* \
1741 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1742 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1743 | -with-* | --with-* | -without-* | --without-* | --x)
1744 case "$ac_configure_args0 " in
1745 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1748 -* ) ac_must_keep_next=true ;;
1751 as_fn_append ac_configure_args " '$ac_arg'"
1756 { ac_configure_args0=; unset ac_configure_args0;}
1757 { ac_configure_args1=; unset ac_configure_args1;}
1759 # When interrupted or exit'd, cleanup temporary files, and complete
1760 # config.log. We remove comments because anyway the quotes in there
1761 # would cause problems or look ugly.
1762 # WARNING: Use '\'' to represent an apostrophe within the trap.
1763 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1764 trap 'exit_status=$?
1765 # Save into config.log some information that might help in debugging.
1769 $as_echo "## ---------------- ##
1770 ## Cache variables. ##
1771 ## ---------------- ##"
1773 # The following way of writing the cache mishandles newlines in values,
1775 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1776 eval ac_val=\$$ac_var
1780 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1781 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1784 _ | IFS | as_nl) ;; #(
1785 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1786 *) { eval $ac_var=; unset $ac_var;} ;;
1791 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1792 *${as_nl}ac_space=\ *)
1794 "s/'\''/'\''\\\\'\'''\''/g;
1795 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1805 $as_echo "## ----------------- ##
1806 ## Output variables. ##
1807 ## ----------------- ##"
1809 for ac_var in $ac_subst_vars
1811 eval ac_val=\$$ac_var
1813 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1815 $as_echo "$ac_var='\''$ac_val'\''"
1819 if test -n "$ac_subst_files"; then
1820 $as_echo "## ------------------- ##
1821 ## File substitutions. ##
1822 ## ------------------- ##"
1824 for ac_var in $ac_subst_files
1826 eval ac_val=\$$ac_var
1828 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1830 $as_echo "$ac_var='\''$ac_val'\''"
1835 if test -s confdefs.h; then
1836 $as_echo "## ----------- ##
1843 test "$ac_signal" != 0 &&
1844 $as_echo "$as_me: caught signal $ac_signal"
1845 $as_echo "$as_me: exit $exit_status"
1847 rm -f core *.core core.conftest.* &&
1848 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1851 for ac_signal in 1 2 13 15; do
1852 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1856 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1857 rm -f -r conftest* confdefs.h
1859 $as_echo "/* confdefs.h */" > confdefs.h
1861 # Predefined preprocessor variables.
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_NAME "$PACKAGE_NAME"
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1871 cat >>confdefs.h <<_ACEOF
1872 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_STRING "$PACKAGE_STRING"
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_URL "$PACKAGE_URL"
1888 # Let the site file select an alternate cache file if it wants to.
1889 # Prefer an explicitly selected file to automatically selected ones.
1892 if test -n "$CONFIG_SITE"; then
1893 # We do not want a PATH search for config.site.
1894 case $CONFIG_SITE in #((
1895 -*) ac_site_file1=./$CONFIG_SITE;;
1896 */*) ac_site_file1=$CONFIG_SITE;;
1897 *) ac_site_file1=./$CONFIG_SITE;;
1899 elif test "x$prefix" != xNONE; then
1900 ac_site_file1=$prefix/share/config.site
1901 ac_site_file2=$prefix/etc/config.site
1903 ac_site_file1=$ac_default_prefix/share/config.site
1904 ac_site_file2=$ac_default_prefix/etc/config.site
1906 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1908 test "x$ac_site_file" = xNONE && continue
1909 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1911 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1912 sed 's/^/| /' "$ac_site_file" >&5
1914 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1916 as_fn_error $? "failed to load site script $ac_site_file
1917 See \`config.log' for more details" "$LINENO" 5; }
1921 if test -r "$cache_file"; then
1922 # Some versions of bash will fail to source /dev/null (special files
1923 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1924 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1926 $as_echo "$as_me: loading cache $cache_file" >&6;}
1928 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1929 *) . "./$cache_file";;
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1934 $as_echo "$as_me: creating cache $cache_file" >&6;}
1938 # Check that the precious variables saved in the cache have kept the same
1940 ac_cache_corrupted=false
1941 for ac_var in $ac_precious_vars; do
1942 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1943 eval ac_new_set=\$ac_env_${ac_var}_set
1944 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1945 eval ac_new_val=\$ac_env_${ac_var}_value
1946 case $ac_old_set,$ac_new_set in
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1949 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1950 ac_cache_corrupted=: ;;
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1953 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1954 ac_cache_corrupted=: ;;
1957 if test "x$ac_old_val" != "x$ac_new_val"; then
1958 # differences in whitespace do not lead to failure.
1959 ac_old_val_w=`echo x $ac_old_val`
1960 ac_new_val_w=`echo x $ac_new_val`
1961 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1963 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1964 ac_cache_corrupted=:
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1967 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1968 eval $ac_var=\$ac_old_val
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1971 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1973 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1976 # Pass precious variables to config.status.
1977 if test "$ac_new_set" = set; then
1979 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1980 *) ac_arg=$ac_var=$ac_new_val ;;
1982 case " $ac_configure_args " in
1983 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1984 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1988 if $ac_cache_corrupted; then
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1992 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1993 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1995 ## -------------------- ##
1996 ## Main body of script. ##
1997 ## -------------------- ##
2000 ac_cpp='$CPP $CPPFLAGS'
2001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007 ac_config_headers="$ac_config_headers config.h"
2010 # Initialize Automake
2011 am__api_version='1.11'
2014 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2015 if test -f "$ac_dir/install-sh"; then
2017 ac_install_sh="$ac_aux_dir/install-sh -c"
2019 elif test -f "$ac_dir/install.sh"; then
2021 ac_install_sh="$ac_aux_dir/install.sh -c"
2023 elif test -f "$ac_dir/shtool"; then
2025 ac_install_sh="$ac_aux_dir/shtool install -c"
2029 if test -z "$ac_aux_dir"; then
2030 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2033 # These three variables are undocumented and unsupported,
2034 # and are intended to be withdrawn in a future Autoconf release.
2035 # They can cause serious problems if a builder's source tree is in a directory
2036 # whose full name contains unusual characters.
2037 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2038 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2039 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2042 # Find a good install program. We prefer a C program (faster),
2043 # so one script is as good as another. But avoid the broken or
2044 # incompatible versions:
2045 # SysV /etc/install, /usr/sbin/install
2046 # SunOS /usr/etc/install
2047 # IRIX /sbin/install
2049 # AmigaOS /C/install, which installs bootblocks on floppy discs
2050 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2051 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2052 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2053 # OS/2's system install, which has a completely different semantic
2054 # ./install, which can be erroneously created by make from ./install.sh.
2055 # Reject install programs that cannot install multiple files.
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2057 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2058 if test -z "$INSTALL"; then
2059 if ${ac_cv_path_install+:} false; then :
2060 $as_echo_n "(cached) " >&6
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 # Account for people who put trailing slashes in PATH elements.
2068 case $as_dir/ in #((
2069 ./ | .// | /[cC]/* | \
2070 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2071 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2074 # OSF1 and SCO ODT 3.0 have their own names for install.
2075 # Don't use installbsd from OSF since it installs stuff as root
2077 for ac_prog in ginstall scoinst install; do
2078 for ac_exec_ext in '' $ac_executable_extensions; do
2079 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2080 if test $ac_prog = install &&
2081 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2082 # AIX install. It has an incompatible calling convention.
2084 elif test $ac_prog = install &&
2085 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2086 # program-specific install script used by HP pwplus--don't use.
2089 rm -rf conftest.one conftest.two conftest.dir
2090 echo one > conftest.one
2091 echo two > conftest.two
2093 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2094 test -s conftest.one && test -s conftest.two &&
2095 test -s conftest.dir/conftest.one &&
2096 test -s conftest.dir/conftest.two
2098 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2111 rm -rf conftest.one conftest.two conftest.dir
2114 if test "${ac_cv_path_install+set}" = set; then
2115 INSTALL=$ac_cv_path_install
2117 # As a last resort, use the slow shell script. Don't cache a
2118 # value for INSTALL within a source directory, because that will
2119 # break other packages using the cache if that directory is
2120 # removed, or if the value is a relative name.
2121 INSTALL=$ac_install_sh
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2125 $as_echo "$INSTALL" >&6; }
2127 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2128 # It thinks the first close brace ends the variable substitution.
2129 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2131 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2133 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2136 $as_echo_n "checking whether build environment is sane... " >&6; }
2139 echo timestamp > conftest.file
2140 # Reject unsafe characters in $srcdir or the absolute working directory
2141 # name. Accept space and tab only in the latter.
2145 *[\\\"\#\$\&\'\`$am_lf]*)
2146 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2149 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2150 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2153 # Do `set' in a subshell so we don't clobber the current shell's
2154 # arguments. Must try -L first in case configure is actually a
2155 # symlink; some systems play weird games with the mod time of symlinks
2156 # (eg FreeBSD returns the mod time of the symlink's containing
2159 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2160 if test "$*" = "X"; then
2162 set X `ls -t "$srcdir/configure" conftest.file`
2165 if test "$*" != "X $srcdir/configure conftest.file" \
2166 && test "$*" != "X conftest.file $srcdir/configure"; then
2168 # If neither matched, then we have a broken ls. This can happen
2169 # if, for instance, CONFIG_SHELL is bash and it inherits a
2170 # broken ls alias from the environment. This has actually
2171 # happened. Such a system could not be considered "sane".
2172 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2173 alias in your environment" "$LINENO" 5
2176 test "$2" = conftest.file
2182 as_fn_error $? "newly created file is older than distributed files!
2183 Check your system clock" "$LINENO" 5
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2186 $as_echo "yes" >&6; }
2187 test "$program_prefix" != NONE &&
2188 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2189 # Use a double $ so make ignores it.
2190 test "$program_suffix" != NONE &&
2191 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2192 # Double any \ or $.
2193 # By default was `s,x,x', remove it if useless.
2194 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2195 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2197 # expand $ac_aux_dir to an absolute path
2198 am_aux_dir=`cd $ac_aux_dir && pwd`
2200 if test x"${MISSING+set}" != xset; then
2203 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2205 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2208 # Use eval to expand $SHELL
2209 if eval "$MISSING --run true"; then
2210 am_missing_run="$MISSING --run "
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2214 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2217 if test x"${install_sh}" != xset; then
2220 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2222 install_sh="\${SHELL} $am_aux_dir/install-sh"
2226 # Installed binaries are usually stripped using `strip' when the user
2227 # run `make install-strip'. However `strip' might not be the right
2228 # tool to use in cross-compilation environments, therefore Automake
2229 # will honor the `STRIP' environment variable to overrule this program.
2230 if test "$cross_compiling" != no; then
2231 if test -n "$ac_tool_prefix"; then
2232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2233 set dummy ${ac_tool_prefix}strip; ac_word=$2
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2235 $as_echo_n "checking for $ac_word... " >&6; }
2236 if ${ac_cv_prog_STRIP+:} false; then :
2237 $as_echo_n "(cached) " >&6
2239 if test -n "$STRIP"; then
2240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir=.
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2249 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 STRIP=$ac_cv_prog_STRIP
2260 if test -n "$STRIP"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2262 $as_echo "$STRIP" >&6; }
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2265 $as_echo "no" >&6; }
2270 if test -z "$ac_cv_prog_STRIP"; then
2272 # Extract the first word of "strip", so it can be a program name with args.
2273 set dummy strip; ac_word=$2
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2275 $as_echo_n "checking for $ac_word... " >&6; }
2276 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2277 $as_echo_n "(cached) " >&6
2279 if test -n "$ac_ct_STRIP"; then
2280 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2289 ac_cv_prog_ac_ct_STRIP="strip"
2290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2300 if test -n "$ac_ct_STRIP"; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2302 $as_echo "$ac_ct_STRIP" >&6; }
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2305 $as_echo "no" >&6; }
2308 if test "x$ac_ct_STRIP" = x; then
2311 case $cross_compiling:$ac_tool_warned in
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2315 ac_tool_warned=yes ;;
2320 STRIP="$ac_cv_prog_STRIP"
2324 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2327 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2328 if test -z "$MKDIR_P"; then
2329 if ${ac_cv_path_mkdir+:} false; then :
2330 $as_echo_n "(cached) " >&6
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2336 test -z "$as_dir" && as_dir=.
2337 for ac_prog in mkdir gmkdir; do
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2340 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2341 'mkdir (GNU coreutils) '* | \
2342 'mkdir (coreutils) '* | \
2343 'mkdir (fileutils) '4.1*)
2344 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2354 test -d ./--version && rmdir ./--version
2355 if test "${ac_cv_path_mkdir+set}" = set; then
2356 MKDIR_P="$ac_cv_path_mkdir -p"
2358 # As a last resort, use the slow shell script. Don't cache a
2359 # value for MKDIR_P within a source directory, because that will
2360 # break other packages using the cache if that directory is
2361 # removed, or if the value is a relative name.
2362 MKDIR_P="$ac_install_sh -d"
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2366 $as_echo "$MKDIR_P" >&6; }
2370 [\\/$]* | ?:[\\/]*) ;;
2371 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2374 for ac_prog in gawk mawk nawk awk
2376 # Extract the first word of "$ac_prog", so it can be a program name with args.
2377 set dummy $ac_prog; ac_word=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if ${ac_cv_prog_AWK+:} false; then :
2381 $as_echo_n "(cached) " >&6
2383 if test -n "$AWK"; then
2384 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_AWK="$ac_prog"
2394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test -n "$AWK"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2406 $as_echo "$AWK" >&6; }
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2409 $as_echo "no" >&6; }
2413 test -n "$AWK" && break
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2417 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2419 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2420 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2421 $as_echo_n "(cached) " >&6
2423 cat >conftest.make <<\_ACEOF
2426 @echo '@@@%%%=$(MAKE)=@@@%%%'
2428 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2429 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2431 eval ac_cv_prog_make_${ac_make}_set=yes;;
2433 eval ac_cv_prog_make_${ac_make}_set=no;;
2437 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2439 $as_echo "yes" >&6; }
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2443 $as_echo "no" >&6; }
2444 SET_MAKE="MAKE=${MAKE-make}"
2447 rm -rf .tst 2>/dev/null
2448 mkdir .tst 2>/dev/null
2449 if test -d .tst; then
2454 rmdir .tst 2>/dev/null
2456 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2457 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2458 # is not polluted with repeated "-I."
2459 am__isrc=' -I$(srcdir)'
2460 # test to see if srcdir already configured
2461 if test -f $srcdir/config.status; then
2462 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2466 # test whether we have cygpath
2467 if test -z "$CYGPATH_W"; then
2468 if (cygpath --version) >/dev/null 2>/dev/null; then
2469 CYGPATH_W='cygpath -w'
2476 # Define the identity of the package.
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE "$PACKAGE"
2486 cat >>confdefs.h <<_ACEOF
2487 #define VERSION "$VERSION"
2490 # Some tools Automake needs.
2492 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2495 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2498 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2501 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2504 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2506 # We need awk for the "check" target. The system "awk" is bad on
2508 # Always define AMTAR for backward compatibility.
2510 AMTAR=${AMTAR-"${am_missing_run}tar"}
2512 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2520 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2521 # Check whether --enable-maintainer-mode was given.
2522 if test "${enable_maintainer_mode+set}" = set; then :
2523 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2525 USE_MAINTAINER_MODE=no
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2529 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2530 if test $USE_MAINTAINER_MODE = yes; then
2531 MAINTAINER_MODE_TRUE=
2532 MAINTAINER_MODE_FALSE='#'
2534 MAINTAINER_MODE_TRUE='#'
2535 MAINTAINER_MODE_FALSE=
2538 MAINT=$MAINTAINER_MODE_TRUE
2542 # Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
2554 DEPDIR="${am__leading_dot}deps"
2556 ac_config_commands="$ac_config_commands depfiles"
2559 am_make=${MAKE-make}
2560 cat > confinc << 'END'
2562 @echo this is the am__doit target
2565 # If we don't find an include directive, just comment out the code.
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2567 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2571 # First try GNU make style include.
2572 echo "include confinc" > confmf
2573 # Ignore all kinds of additional output from `make'.
2574 case `$am_make -s -f confmf 2> /dev/null` in #(
2575 *the\ am__doit\ target*)
2581 # Now try BSD make style include.
2582 if test "$am__include" = "#"; then
2583 echo '.include "confinc"' > confmf
2584 case `$am_make -s -f confmf 2> /dev/null` in #(
2585 *the\ am__doit\ target*)
2586 am__include=.include
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2595 $as_echo "$_am_result" >&6; }
2596 rm -f confinc confmf
2598 # Check whether --enable-dependency-tracking was given.
2599 if test "${enable_dependency_tracking+set}" = set; then :
2600 enableval=$enable_dependency_tracking;
2603 if test "x$enable_dependency_tracking" != xno; then
2604 am_depcomp="$ac_aux_dir/depcomp"
2607 if test "x$enable_dependency_tracking" != xno; then
2617 ac_cpp='$CPP $CPPFLAGS'
2618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2621 if test -n "$ac_tool_prefix"; then
2622 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2623 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625 $as_echo_n "checking for $ac_word... " >&6; }
2626 if ${ac_cv_prog_CC+:} false; then :
2627 $as_echo_n "(cached) " >&6
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC="$CC" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 if test -n "$CC"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2652 $as_echo "$CC" >&6; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2660 if test -z "$ac_cv_prog_CC"; then
2662 # Extract the first word of "gcc", so it can be a program name with args.
2663 set dummy gcc; ac_word=$2
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665 $as_echo_n "checking for $ac_word... " >&6; }
2666 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2667 $as_echo_n "(cached) " >&6
2669 if test -n "$ac_ct_CC"; then
2670 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 ac_cv_prog_ac_ct_CC="gcc"
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2690 if test -n "$ac_ct_CC"; then
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2692 $as_echo "$ac_ct_CC" >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695 $as_echo "no" >&6; }
2698 if test "x$ac_ct_CC" = x; then
2701 case $cross_compiling:$ac_tool_warned in
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2705 ac_tool_warned=yes ;;
2713 if test -z "$CC"; then
2714 if test -n "$ac_tool_prefix"; then
2715 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2716 set dummy ${ac_tool_prefix}cc; ac_word=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if ${ac_cv_prog_CC+:} false; then :
2720 $as_echo_n "(cached) " >&6
2722 if test -n "$CC"; then
2723 ac_cv_prog_CC="$CC" # Let the user override the test.
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir=.
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2732 ac_cv_prog_CC="${ac_tool_prefix}cc"
2733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 if test -n "$CC"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2745 $as_echo "$CC" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2754 if test -z "$CC"; then
2755 # Extract the first word of "cc", so it can be a program name with args.
2756 set dummy cc; ac_word=$2
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758 $as_echo_n "checking for $ac_word... " >&6; }
2759 if ${ac_cv_prog_CC+:} false; then :
2760 $as_echo_n "(cached) " >&6
2762 if test -n "$CC"; then
2763 ac_cv_prog_CC="$CC" # Let the user override the test.
2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir=.
2771 for ac_exec_ext in '' $ac_executable_extensions; do
2772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2773 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2774 ac_prog_rejected=yes
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 if test $ac_prog_rejected = yes; then
2786 # We found a bogon in the path, so make sure we never use it.
2787 set dummy $ac_cv_prog_CC
2789 if test $# != 0; then
2790 # We chose a different compiler from the bogus one.
2791 # However, it has the same basename, so the bogon will be chosen
2792 # first if we set CC to just the basename; use the full file name.
2794 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2800 if test -n "$CC"; then
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2802 $as_echo "$CC" >&6; }
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805 $as_echo "no" >&6; }
2810 if test -z "$CC"; then
2811 if test -n "$ac_tool_prefix"; then
2812 for ac_prog in cl.exe
2814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_CC+:} false; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$CC"; then
2822 ac_cv_prog_CC="$CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$CC"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844 $as_echo "$CC" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2851 test -n "$CC" && break
2854 if test -z "$CC"; then
2856 for ac_prog in cl.exe
2858 # Extract the first word of "$ac_prog", so it can be a program name with args.
2859 set dummy $ac_prog; ac_word=$2
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2861 $as_echo_n "checking for $ac_word... " >&6; }
2862 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2863 $as_echo_n "(cached) " >&6
2865 if test -n "$ac_ct_CC"; then
2866 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 test -z "$as_dir" && as_dir=.
2873 for ac_exec_ext in '' $ac_executable_extensions; do
2874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2875 ac_cv_prog_ac_ct_CC="$ac_prog"
2876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2886 if test -n "$ac_ct_CC"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2888 $as_echo "$ac_ct_CC" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2895 test -n "$ac_ct_CC" && break
2898 if test "x$ac_ct_CC" = x; then
2901 case $cross_compiling:$ac_tool_warned in
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2905 ac_tool_warned=yes ;;
2914 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2916 as_fn_error $? "no acceptable C compiler found in \$PATH
2917 See \`config.log' for more details" "$LINENO" 5; }
2919 # Provide some information about the compiler.
2920 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2923 for ac_option in --version -v -V -qversion; do
2924 { { ac_try="$ac_compiler $ac_option >&5"
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2930 $as_echo "$ac_try_echo"; } >&5
2931 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2933 if test -s conftest.err; then
2935 ... rest of stderr output deleted ...
2936 10q' conftest.err >conftest.er1
2937 cat conftest.er1 >&5
2939 rm -f conftest.er1 conftest.err
2940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2941 test $ac_status = 0; }
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2955 ac_clean_files_save=$ac_clean_files
2956 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2957 # Try to create an executable without -o first, disregard a.out.
2958 # It will help us diagnose broken compilers, and finding out an intuition
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2961 $as_echo_n "checking whether the C compiler works... " >&6; }
2962 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2964 # The possible output files:
2965 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2968 for ac_file in $ac_files
2971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2972 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2977 if { { ac_try="$ac_link_default"
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_link_default") 2>&5
2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; }; then :
2988 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2989 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2990 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2991 # so that the user can short-circuit this test for compilers unknown to
2993 for ac_file in $ac_files ''
2995 test -f "$ac_file" || continue
2997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3000 # We found the default executable, but exeext='' is most
3004 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3006 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3008 # We set ac_cv_exeext here because the later test for it is not
3009 # safe: cross compilers may not add the suffix if given an `-o'
3010 # argument, so we may need to know it at that point already.
3011 # Even if this section looks crufty: it has the advantage of
3018 test "$ac_cv_exeext" = no && ac_cv_exeext=
3023 if test -z "$ac_file"; then :
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3026 $as_echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3031 as_fn_error 77 "C compiler cannot create executables
3032 See \`config.log' for more details" "$LINENO" 5; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3035 $as_echo "yes" >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3038 $as_echo_n "checking for C compiler default output file name... " >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3040 $as_echo "$ac_file" >&6; }
3041 ac_exeext=$ac_cv_exeext
3043 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3044 ac_clean_files=$ac_clean_files_save
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3046 $as_echo_n "checking for suffix of executables... " >&6; }
3047 if { { ac_try="$ac_link"
3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3050 *) ac_try_echo=$ac_try;;
3052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_link") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; then :
3058 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3059 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3060 # work properly (i.e., refer to `conftest.exe'), while it won't with
3062 for ac_file in conftest.exe conftest conftest.*; do
3063 test -f "$ac_file" || continue
3065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3066 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3074 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3075 See \`config.log' for more details" "$LINENO" 5; }
3077 rm -f conftest conftest$ac_cv_exeext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3079 $as_echo "$ac_cv_exeext" >&6; }
3081 rm -f conftest.$ac_ext
3082 EXEEXT=$ac_cv_exeext
3084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h. */
3090 FILE *f = fopen ("conftest.out", "w");
3091 return ferror (f) || fclose (f) != 0;
3097 ac_clean_files="$ac_clean_files conftest.out"
3098 # Check that the compiler produces executables we can run. If not, either
3099 # the compiler is broken, or we cross compile.
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3101 $as_echo_n "checking whether we are cross compiling... " >&6; }
3102 if test "$cross_compiling" != yes; then
3103 { { ac_try="$ac_link"
3105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106 *) ac_try_echo=$ac_try;;
3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109 $as_echo "$ac_try_echo"; } >&5
3110 (eval "$ac_link") 2>&5
3112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3113 test $ac_status = 0; }
3114 if { ac_try='./conftest$ac_cv_exeext'
3115 { { case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_try") 2>&5
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 test $ac_status = 0; }; }; then
3127 if test "$cross_compiling" = maybe; then
3130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 as_fn_error $? "cannot run C compiled programs.
3133 If you meant to cross compile, use \`--host'.
3134 See \`config.log' for more details" "$LINENO" 5; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3139 $as_echo "$cross_compiling" >&6; }
3141 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3142 ac_clean_files=$ac_clean_files_save
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3144 $as_echo_n "checking for suffix of object files... " >&6; }
3145 if ${ac_cv_objext+:} false; then :
3146 $as_echo_n "(cached) " >&6
3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3159 rm -f conftest.o conftest.obj
3160 if { { ac_try="$ac_compile"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_compile") 2>&5
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; }; then :
3171 for ac_file in conftest.o conftest.obj conftest.*; do
3172 test -f "$ac_file" || continue;
3174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3175 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3180 $as_echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 as_fn_error $? "cannot compute suffix of object files: cannot compile
3186 See \`config.log' for more details" "$LINENO" 5; }
3188 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3191 $as_echo "$ac_cv_objext" >&6; }
3192 OBJEXT=$ac_cv_objext
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3195 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3196 if ${ac_cv_c_compiler_gnu+:} false; then :
3197 $as_echo_n "(cached) " >&6
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3213 if ac_fn_c_try_compile "$LINENO"; then :
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3223 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3224 if test $ac_compiler_gnu = yes; then
3229 ac_test_CFLAGS=${CFLAGS+set}
3230 ac_save_CFLAGS=$CFLAGS
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3232 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3233 if ${ac_cv_prog_cc_g+:} false; then :
3234 $as_echo_n "(cached) " >&6
3236 ac_save_c_werror_flag=$ac_c_werror_flag
3237 ac_c_werror_flag=yes
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3251 if ac_fn_c_try_compile "$LINENO"; then :
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3266 if ac_fn_c_try_compile "$LINENO"; then :
3269 ac_c_werror_flag=$ac_save_c_werror_flag
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3282 if ac_fn_c_try_compile "$LINENO"; then :
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 ac_c_werror_flag=$ac_save_c_werror_flag
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3293 $as_echo "$ac_cv_prog_cc_g" >&6; }
3294 if test "$ac_test_CFLAGS" = set; then
3295 CFLAGS=$ac_save_CFLAGS
3296 elif test $ac_cv_prog_cc_g = yes; then
3297 if test "$GCC" = yes; then
3303 if test "$GCC" = yes; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3310 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3311 if ${ac_cv_prog_cc_c89+:} false; then :
3312 $as_echo_n "(cached) " >&6
3314 ac_cv_prog_cc_c89=no
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3320 #include <sys/types.h>
3321 #include <sys/stat.h>
3322 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3323 struct buf { int x; };
3324 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3325 static char *e (p, i)
3331 static char *f (char * (*g) (char **, int), char **p, ...)
3336 s = g (p, va_arg (v,int));
3341 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3342 function prototypes and stuff, but not '\xHH' hex character constants.
3343 These don't provoke an error unfortunately, instead are silently treated
3344 as 'x'. The following induces an error, until -std is added to get
3345 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3346 array size at least. It's necessary to write '\x00'==0 to get something
3347 that's true only with -std. */
3348 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3350 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3351 inside strings and character constants. */
3353 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3355 int test (int i, double x);
3356 struct s1 {int (*f) (int a);};
3357 struct s2 {int (*f) (double a);};
3358 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3364 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3369 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3370 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3372 CC="$ac_save_CC $ac_arg"
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 ac_cv_prog_cc_c89=$ac_arg
3376 rm -f core conftest.err conftest.$ac_objext
3377 test "x$ac_cv_prog_cc_c89" != "xno" && break
3379 rm -f conftest.$ac_ext
3384 case "x$ac_cv_prog_cc_c89" in
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3387 $as_echo "none needed" >&6; } ;;
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3390 $as_echo "unsupported" >&6; } ;;
3392 CC="$CC $ac_cv_prog_cc_c89"
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3394 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3396 if test "x$ac_cv_prog_cc_c89" != xno; then :
3401 ac_cpp='$CPP $CPPFLAGS'
3402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3406 depcc="$CC" am_compiler_list=
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3409 $as_echo_n "checking dependency style of $depcc... " >&6; }
3410 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3411 $as_echo_n "(cached) " >&6
3413 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3414 # We make a subdir and do the tests there. Otherwise we can end up
3415 # making bogus files that we don't know about and never remove. For
3416 # instance it was reported that on HP-UX the gcc test will end up
3417 # making a dummy file named `D' -- because `-MD' means `put the output
3420 # Copy depcomp to subdir because otherwise we won't find it if we're
3421 # using a relative directory.
3422 cp "$am_depcomp" conftest.dir
3424 # We will build objects and dependencies in a subdirectory because
3425 # it helps to detect inapplicable dependency modes. For instance
3426 # both Tru64's cc and ICC support -MD to output dependencies as a
3427 # side effect of compilation, but ICC will put the dependencies in
3428 # the current directory while Tru64 will put them in the object
3432 am_cv_CC_dependencies_compiler_type=none
3433 if test "$am_compiler_list" = ""; then
3434 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3437 case " $depcc " in #(
3438 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3441 for depmode in $am_compiler_list; do
3442 # Setup a source with many dependencies, because some compilers
3443 # like to wrap large dependency lists on column 80 (with \), and
3444 # we should not choose a depcomp mode which is confused by this.
3446 # We need to recreate these files for each test, as the compiler may
3447 # overwrite some of them when testing with obscure command lines.
3448 # This happens at least with the AIX C compiler.
3450 for i in 1 2 3 4 5 6; do
3451 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3452 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3453 # Solaris 8's {/usr,}/bin/sh.
3454 touch sub/conftst$i.h
3456 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3458 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3459 # mode. It turns out that the SunPro C++ compiler does not properly
3460 # handle `-M -o', and we need to detect this. Also, some Intel
3461 # versions had trouble with output in subdirs
3462 am__obj=sub/conftest.${OBJEXT-o}
3463 am__minus_obj="-o $am__obj"
3466 # This depmode causes a compiler race in universal mode.
3467 test "$am__universal" = false || continue
3470 # after this tag, mechanisms are not by side-effect, so they'll
3471 # only be used when explicitly requested
3472 if test "x$enable_dependency_tracking" = xyes; then
3478 msvisualcpp | msvcmsys)
3479 # This compiler won't grok `-c -o', but also, the minuso test has
3480 # not run yet. These depmodes are late enough in the game, and
3481 # so weak that their functioning should not be impacted.
3482 am__obj=conftest.${OBJEXT-o}
3487 if depmode=$depmode \
3488 source=sub/conftest.c object=$am__obj \
3489 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3490 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3491 >/dev/null 2>conftest.err &&
3492 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3493 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3494 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3495 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3496 # icc doesn't choke on unknown options, it will just issue warnings
3497 # or remarks (even with -Werror). So we grep stderr for any message
3498 # that says an option was ignored or not supported.
3499 # When given -MP, icc 7.0 and 7.1 complain thusly:
3500 # icc: Command line warning: ignoring option '-M'; no argument required
3501 # The diagnosis changed in icc 8.0:
3502 # icc: Command line remark: option '-MP' not supported
3503 if (grep 'ignoring option' conftest.err ||
3504 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3505 am_cv_CC_dependencies_compiler_type=$depmode
3514 am_cv_CC_dependencies_compiler_type=none
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3519 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3520 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3523 test "x$enable_dependency_tracking" != xno \
3524 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3526 am__fastdepCC_FALSE='#'
3528 am__fastdepCC_TRUE='#'
3529 am__fastdepCC_FALSE=
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3534 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3535 if ${ac_cv_prog_cc_c99+:} false; then :
3536 $as_echo_n "(cached) " >&6
3538 ac_cv_prog_cc_c99=no
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3543 #include <stdbool.h>
3548 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3549 #define debug(...) fprintf (stderr, __VA_ARGS__)
3550 #define showlist(...) puts (#__VA_ARGS__)
3551 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3553 test_varargs_macros (void)
3558 debug ("X = %d\n", x);
3559 showlist (The first, second, and third items.);
3560 report (x>y, "x is %d but y is %d", x, y);
3563 // Check long long types.
3564 #define BIG64 18446744073709551615ull
3565 #define BIG32 4294967295ul
3566 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3568 your preprocessor is broken;
3572 your preprocessor is broken;
3574 static long long int bignum = -9223372036854775807LL;
3575 static unsigned long long int ubignum = BIG64;
3577 struct incomplete_array
3585 const wchar_t *name;
3589 typedef const char *ccp;
3592 test_restrict (ccp restrict text)
3594 // See if C++-style comments work.
3595 // Iterate through items via the restricted pointer.
3596 // Also check for declarations in for loops.
3597 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3602 // Check varargs and va_copy.
3604 test_varargs (const char *format, ...)
3607 va_start (args, format);
3609 va_copy (args_copy, args);
3620 str = va_arg (args_copy, const char *);
3623 number = va_arg (args_copy, int);
3626 fnumber = va_arg (args_copy, double);
3641 _Bool success = false;
3644 if (test_restrict ("String literal") == 0)
3646 char *restrict newvar = "Another string";
3649 test_varargs ("s, d' f .", "string", 65, 34.234);
3650 test_varargs_macros ();
3652 // Check flexible array members.
3653 struct incomplete_array *ia =
3654 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3656 for (int i = 0; i < ia->datasize; ++i)
3657 ia->data[i] = i * 1.234;
3659 // Check named initializers.
3660 struct named_init ni = {
3662 .name = L"Test wide string",
3663 .average = 543.34343,
3668 int dynamic_array[ni.number];
3669 dynamic_array[ni.number - 1] = 543;
3671 // work around unused variable warnings
3672 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3673 || dynamic_array[ni.number - 1] != 543);
3679 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3681 CC="$ac_save_CC $ac_arg"
3682 if ac_fn_c_try_compile "$LINENO"; then :
3683 ac_cv_prog_cc_c99=$ac_arg
3685 rm -f core conftest.err conftest.$ac_objext
3686 test "x$ac_cv_prog_cc_c99" != "xno" && break
3688 rm -f conftest.$ac_ext
3693 case "x$ac_cv_prog_cc_c99" in
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3696 $as_echo "none needed" >&6; } ;;
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3699 $as_echo "unsupported" >&6; } ;;
3701 CC="$CC $ac_cv_prog_cc_c99"
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3703 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3705 if test "x$ac_cv_prog_cc_c99" != xno; then :
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3717 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3718 # On Suns, sometimes $CPP names a directory.
3719 if test -n "$CPP" && test -d "$CPP"; then
3722 if test -z "$CPP"; then
3723 if ${ac_cv_prog_CPP+:} false; then :
3724 $as_echo_n "(cached) " >&6
3726 # Double quotes because CPP needs to be expanded
3727 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3730 for ac_c_preproc_warn_flag in '' yes
3732 # Use a header file that comes with gcc, so configuring glibc
3733 # with a fresh cross-compiler works.
3734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3735 # <limits.h> exists even on freestanding compilers.
3736 # On the NeXT, cc -E runs the code through the compiler's parser,
3737 # not just through cpp. "Syntax error" is here to catch this case.
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3741 # include <limits.h>
3743 # include <assert.h>
3747 if ac_fn_c_try_cpp "$LINENO"; then :
3750 # Broken: fails on valid input.
3753 rm -f conftest.err conftest.i conftest.$ac_ext
3755 # OK, works on sane cases. Now check whether nonexistent headers
3756 # can be detected and how.
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3759 #include <ac_nonexistent.h>
3761 if ac_fn_c_try_cpp "$LINENO"; then :
3762 # Broken: success on invalid input.
3765 # Passes both tests.
3769 rm -f conftest.err conftest.i conftest.$ac_ext
3772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3773 rm -f conftest.i conftest.err conftest.$ac_ext
3774 if $ac_preproc_ok; then :
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3787 $as_echo "$CPP" >&6; }
3789 for ac_c_preproc_warn_flag in '' yes
3791 # Use a header file that comes with gcc, so configuring glibc
3792 # with a fresh cross-compiler works.
3793 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3794 # <limits.h> exists even on freestanding compilers.
3795 # On the NeXT, cc -E runs the code through the compiler's parser,
3796 # not just through cpp. "Syntax error" is here to catch this case.
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3800 # include <limits.h>
3802 # include <assert.h>
3806 if ac_fn_c_try_cpp "$LINENO"; then :
3809 # Broken: fails on valid input.
3812 rm -f conftest.err conftest.i conftest.$ac_ext
3814 # OK, works on sane cases. Now check whether nonexistent headers
3815 # can be detected and how.
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3818 #include <ac_nonexistent.h>
3820 if ac_fn_c_try_cpp "$LINENO"; then :
3821 # Broken: success on invalid input.
3824 # Passes both tests.
3828 rm -f conftest.err conftest.i conftest.$ac_ext
3831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3832 rm -f conftest.i conftest.err conftest.$ac_ext
3833 if $ac_preproc_ok; then :
3836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3839 See \`config.log' for more details" "$LINENO" 5; }
3843 ac_cpp='$CPP $CPPFLAGS'
3844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3850 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3851 if ${ac_cv_path_GREP+:} false; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -z "$GREP"; then
3855 ac_path_GREP_found=false
3856 # Loop through the user's path and test for each of PROGNAME-LIST
3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3861 test -z "$as_dir" && as_dir=.
3862 for ac_prog in grep ggrep; do
3863 for ac_exec_ext in '' $ac_executable_extensions; do
3864 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3865 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3866 # Check for GNU ac_path_GREP and select it if it is found.
3867 # Check for GNU $ac_path_GREP
3868 case `"$ac_path_GREP" --version 2>&1` in
3870 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3873 $as_echo_n 0123456789 >"conftest.in"
3876 cat "conftest.in" "conftest.in" >"conftest.tmp"
3877 mv "conftest.tmp" "conftest.in"
3878 cp "conftest.in" "conftest.nl"
3879 $as_echo 'GREP' >> "conftest.nl"
3880 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3881 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3882 as_fn_arith $ac_count + 1 && ac_count=$as_val
3883 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3884 # Best one so far, save it but keep looking for a better one
3885 ac_cv_path_GREP="$ac_path_GREP"
3886 ac_path_GREP_max=$ac_count
3888 # 10*(2^10) chars as input seems more than enough
3889 test $ac_count -gt 10 && break
3891 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3894 $ac_path_GREP_found && break 3
3899 if test -z "$ac_cv_path_GREP"; then
3900 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3903 ac_cv_path_GREP=$GREP
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3908 $as_echo "$ac_cv_path_GREP" >&6; }
3909 GREP="$ac_cv_path_GREP"
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3913 $as_echo_n "checking for egrep... " >&6; }
3914 if ${ac_cv_path_EGREP+:} false; then :
3915 $as_echo_n "(cached) " >&6
3917 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3918 then ac_cv_path_EGREP="$GREP -E"
3920 if test -z "$EGREP"; then
3921 ac_path_EGREP_found=false
3922 # Loop through the user's path and test for each of PROGNAME-LIST
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3927 test -z "$as_dir" && as_dir=.
3928 for ac_prog in egrep; do
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3931 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3932 # Check for GNU ac_path_EGREP and select it if it is found.
3933 # Check for GNU $ac_path_EGREP
3934 case `"$ac_path_EGREP" --version 2>&1` in
3936 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3939 $as_echo_n 0123456789 >"conftest.in"
3942 cat "conftest.in" "conftest.in" >"conftest.tmp"
3943 mv "conftest.tmp" "conftest.in"
3944 cp "conftest.in" "conftest.nl"
3945 $as_echo 'EGREP' >> "conftest.nl"
3946 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3947 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3948 as_fn_arith $ac_count + 1 && ac_count=$as_val
3949 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3950 # Best one so far, save it but keep looking for a better one
3951 ac_cv_path_EGREP="$ac_path_EGREP"
3952 ac_path_EGREP_max=$ac_count
3954 # 10*(2^10) chars as input seems more than enough
3955 test $ac_count -gt 10 && break
3957 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3960 $ac_path_EGREP_found && break 3
3965 if test -z "$ac_cv_path_EGREP"; then
3966 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3969 ac_cv_path_EGREP=$EGREP
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3975 $as_echo "$ac_cv_path_EGREP" >&6; }
3976 EGREP="$ac_cv_path_EGREP"
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3980 $as_echo_n "checking for ANSI C header files... " >&6; }
3981 if ${ac_cv_header_stdc+:} false; then :
3982 $as_echo_n "(cached) " >&6
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3999 if ac_fn_c_try_compile "$LINENO"; then :
4000 ac_cv_header_stdc=yes
4002 ac_cv_header_stdc=no
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 if test $ac_cv_header_stdc = yes; then
4007 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4014 $EGREP "memchr" >/dev/null 2>&1; then :
4017 ac_cv_header_stdc=no
4023 if test $ac_cv_header_stdc = yes; then
4024 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4031 $EGREP "free" >/dev/null 2>&1; then :
4034 ac_cv_header_stdc=no
4040 if test $ac_cv_header_stdc = yes; then
4041 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4042 if test "$cross_compiling" = yes; then :
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4049 #if ((' ' & 0x0FF) == 0x020)
4050 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4051 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4053 # define ISLOWER(c) \
4054 (('a' <= (c) && (c) <= 'i') \
4055 || ('j' <= (c) && (c) <= 'r') \
4056 || ('s' <= (c) && (c) <= 'z'))
4057 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4060 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4065 for (i = 0; i < 256; i++)
4066 if (XOR (islower (i), ISLOWER (i))
4067 || toupper (i) != TOUPPER (i))
4072 if ac_fn_c_try_run "$LINENO"; then :
4075 ac_cv_header_stdc=no
4077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4078 conftest.$ac_objext conftest.beam conftest.$ac_ext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4084 $as_echo "$ac_cv_header_stdc" >&6; }
4085 if test $ac_cv_header_stdc = yes; then
4087 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4091 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4092 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4093 inttypes.h stdint.h unistd.h
4095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4096 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4099 cat >>confdefs.h <<_ACEOF
4100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4110 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4111 if test -n "$ac_tool_prefix"; then
4112 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4113 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4115 $as_echo_n "checking for $ac_word... " >&6; }
4116 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4117 $as_echo_n "(cached) " >&6
4121 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir=.
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4143 if test -n "$PKG_CONFIG"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4145 $as_echo "$PKG_CONFIG" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4153 if test -z "$ac_cv_path_PKG_CONFIG"; then
4154 ac_pt_PKG_CONFIG=$PKG_CONFIG
4155 # Extract the first word of "pkg-config", so it can be a program name with args.
4156 set dummy pkg-config; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4160 $as_echo_n "(cached) " >&6
4162 case $ac_pt_PKG_CONFIG in
4164 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4186 if test -n "$ac_pt_PKG_CONFIG"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4188 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4194 if test "x$ac_pt_PKG_CONFIG" = x; then
4197 case $cross_compiling:$ac_tool_warned in
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4201 ac_tool_warned=yes ;;
4203 PKG_CONFIG=$ac_pt_PKG_CONFIG
4206 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4210 if test -n "$PKG_CONFIG"; then
4211 _pkg_min_version=0.9.0
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4213 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4214 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4216 $as_echo "yes" >&6; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219 $as_echo "no" >&6; }
4224 # Make sure we can run config.sub.
4225 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4226 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4229 $as_echo_n "checking build system type... " >&6; }
4230 if ${ac_cv_build+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 ac_build_alias=$build_alias
4234 test "x$ac_build_alias" = x &&
4235 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4236 test "x$ac_build_alias" = x &&
4237 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4238 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4239 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4243 $as_echo "$ac_cv_build" >&6; }
4244 case $ac_cv_build in
4246 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4249 ac_save_IFS=$IFS; IFS='-'
4255 # Remember, the first character of IFS is used to create $*,
4256 # except with old shells:
4259 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4263 $as_echo_n "checking host system type... " >&6; }
4264 if ${ac_cv_host+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 if test "x$host_alias" = x; then
4268 ac_cv_host=$ac_cv_build
4270 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4271 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4276 $as_echo "$ac_cv_host" >&6; }
4279 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4282 ac_save_IFS=$IFS; IFS='-'
4288 # Remember, the first character of IFS is used to create $*,
4289 # except with old shells:
4292 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4296 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4297 if ${ac_cv_path_SED+:} false; then :
4298 $as_echo_n "(cached) " >&6
4300 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4301 for ac_i in 1 2 3 4 5 6 7; do
4302 ac_script="$ac_script$as_nl$ac_script"
4304 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4305 { ac_script=; unset ac_script;}
4306 if test -z "$SED"; then
4307 ac_path_SED_found=false
4308 # Loop through the user's path and test for each of PROGNAME-LIST
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_prog in sed gsed; do
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4317 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4318 # Check for GNU ac_path_SED and select it if it is found.
4319 # Check for GNU $ac_path_SED
4320 case `"$ac_path_SED" --version 2>&1` in
4322 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4325 $as_echo_n 0123456789 >"conftest.in"
4328 cat "conftest.in" "conftest.in" >"conftest.tmp"
4329 mv "conftest.tmp" "conftest.in"
4330 cp "conftest.in" "conftest.nl"
4331 $as_echo '' >> "conftest.nl"
4332 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4334 as_fn_arith $ac_count + 1 && ac_count=$as_val
4335 if test $ac_count -gt ${ac_path_SED_max-0}; then
4336 # Best one so far, save it but keep looking for a better one
4337 ac_cv_path_SED="$ac_path_SED"
4338 ac_path_SED_max=$ac_count
4340 # 10*(2^10) chars as input seems more than enough
4341 test $ac_count -gt 10 && break
4343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346 $ac_path_SED_found && break 3
4351 if test -z "$ac_cv_path_SED"; then
4352 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4360 $as_echo "$ac_cv_path_SED" >&6; }
4361 SED="$ac_cv_path_SED"
4368 if test "x$GCC" = xyes ; then
4369 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4370 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4371 -Wbad-function-cast -Wformat=2"
4372 case `$CC -dumpversion` in
4374 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4378 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4379 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4385 if test "x$SUNCC" = "xyes"; then
4392 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4396 # Check whether --enable-strict-compilation was given.
4397 if test "${enable_strict_compilation+set}" = set; then :
4398 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4403 if test "x$STRICT_COMPILE" = "xyes"; then
4404 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4405 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4411 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4412 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4418 if test "x$GCC" = xyes ; then
4419 STRICT_CFLAGS="-pedantic -Werror"
4420 elif test "x$SUNCC" = "xyes"; then
4421 STRICT_CFLAGS="-errwarn"
4422 elif test "x$INTELCC" = "xyes"; then
4423 STRICT_CFLAGS="-Werror"
4426 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4431 cat >>confdefs.h <<_ACEOF
4432 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4435 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4436 if test "x$PVM" = "x"; then
4440 cat >>confdefs.h <<_ACEOF
4441 #define PACKAGE_VERSION_MINOR $PVM
4444 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4445 if test "x$PVP" = "x"; then
4449 cat >>confdefs.h <<_ACEOF
4450 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4455 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4456 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4457 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4458 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4463 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4464 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4465 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4466 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4467 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4474 if test x$APP_MAN_SUFFIX = x ; then
4477 if test x$APP_MAN_DIR = x ; then
4478 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4481 if test x$LIB_MAN_SUFFIX = x ; then
4484 if test x$LIB_MAN_DIR = x ; then
4485 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4488 if test x$FILE_MAN_SUFFIX = x ; then
4490 solaris*) FILE_MAN_SUFFIX=4 ;;
4491 *) FILE_MAN_SUFFIX=5 ;;
4494 if test x$FILE_MAN_DIR = x ; then
4495 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4498 if test x$MISC_MAN_SUFFIX = x ; then
4500 solaris*) MISC_MAN_SUFFIX=5 ;;
4501 *) MISC_MAN_SUFFIX=7 ;;
4504 if test x$MISC_MAN_DIR = x ; then
4505 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4508 if test x$DRIVER_MAN_SUFFIX = x ; then
4510 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4511 *) DRIVER_MAN_SUFFIX=4 ;;
4514 if test x$DRIVER_MAN_DIR = x ; then
4515 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4518 if test x$ADMIN_MAN_SUFFIX = x ; then
4520 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4521 *) ADMIN_MAN_SUFFIX=8 ;;
4524 if test x$ADMIN_MAN_DIR = x ; then
4525 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4542 XORG_MAN_PAGE="X Version 11"
4545 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4546 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4547 -e 's|__xservername__|Xorg|g' \
4548 -e 's|__xconfigfile__|xorg.conf|g' \
4549 -e 's|__projectroot__|\$(prefix)|g' \
4550 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4551 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4552 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4553 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4554 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4555 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4556 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4560 # Check whether --enable-silent-rules was given.
4561 if test "${enable_silent_rules+set}" = set; then :
4562 enableval=$enable_silent_rules;
4565 case $enable_silent_rules in
4566 yes) AM_DEFAULT_VERBOSITY=0;;
4567 no) AM_DEFAULT_VERBOSITY=1;;
4568 *) AM_DEFAULT_VERBOSITY=0;;
4574 ac_config_files="$ac_config_files Makefile xbitmaps.pc"
4576 cat >confcache <<\_ACEOF
4577 # This file is a shell script that caches the results of configure
4578 # tests run on this system so they can be shared between configure
4579 # scripts and configure runs, see configure's option --config-cache.
4580 # It is not useful on other systems. If it contains results you don't
4581 # want to keep, you may remove or edit it.
4583 # config.status only pays attention to the cache file if you give it
4584 # the --recheck option to rerun configure.
4586 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4587 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4592 # The following way of writing the cache mishandles newlines in values,
4593 # but we know of no workaround that is simple, portable, and efficient.
4594 # So, we kill variables containing newlines.
4595 # Ultrix sh set writes to stderr and can't be redirected directly,
4596 # and sets the high bit in the cache file unless we assign to the vars.
4598 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4599 eval ac_val=\$$ac_var
4603 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4604 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4607 _ | IFS | as_nl) ;; #(
4608 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4609 *) { eval $ac_var=; unset $ac_var;} ;;
4615 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4616 *${as_nl}ac_space=\ *)
4617 # `set' does not quote correctly, so add quotes: double-quote
4618 # substitution turns \\\\ into \\, and sed turns \\ into \.
4621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4624 # `set' quotes correctly as required by POSIX, so do not add quotes.
4625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4634 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4636 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4638 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4639 if test -w "$cache_file"; then
4640 if test "x$cache_file" != "x/dev/null"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4642 $as_echo "$as_me: updating cache $cache_file" >&6;}
4643 if test ! -f "$cache_file" || test -h "$cache_file"; then
4644 cat confcache >"$cache_file"
4646 case $cache_file in #(
4648 mv -f confcache "$cache_file"$$ &&
4649 mv -f "$cache_file"$$ "$cache_file" ;; #(
4651 mv -f confcache "$cache_file" ;;
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4657 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4662 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4663 # Let make expand exec_prefix.
4664 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4666 DEFS=-DHAVE_CONFIG_H
4671 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4672 # 1. Remove the extension, and $U if already installed.
4673 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4674 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4675 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4676 # will be set to the directory where LIBOBJS objects are built.
4677 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4678 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4682 LTLIBOBJS=$ac_ltlibobjs
4685 if test -n "$EXEEXT"; then
4687 am__EXEEXT_FALSE='#'
4693 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4694 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4697 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4698 as_fn_error $? "conditional \"AMDEP\" was never defined.
4699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4701 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4702 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4706 : "${CONFIG_STATUS=./config.status}"
4708 ac_clean_files_save=$ac_clean_files
4709 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4711 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4713 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4715 # Generated by $as_me.
4716 # Run this file to recreate the current configuration.
4717 # Compiler output produced by configure, useful for debugging
4718 # configure, is in config.log if it exists.
4724 SHELL=\${CONFIG_SHELL-$SHELL}
4727 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4728 ## -------------------- ##
4729 ## M4sh Initialization. ##
4730 ## -------------------- ##
4732 # Be more Bourne compatible
4733 DUALCASE=1; export DUALCASE # for MKS sh
4734 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4737 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4738 # is contrary to our usage. Disable this feature.
4739 alias -g '${1+"$@"}'='"$@"'
4740 setopt NO_GLOB_SUBST
4742 case `(set -o) 2>/dev/null` in #(
4754 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4755 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4756 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4757 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4758 # Prefer a ksh shell builtin over an external printf program on Solaris,
4759 # but without wasting forks for bash or zsh.
4760 if test -z "$BASH_VERSION$ZSH_VERSION" \
4761 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4762 as_echo='print -r --'
4763 as_echo_n='print -rn --'
4764 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4765 as_echo='printf %s\n'
4766 as_echo_n='printf %s'
4768 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4769 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4770 as_echo_n='/usr/ucb/echo -n'
4772 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4773 as_echo_n_body='eval
4777 expr "X$arg" : "X\\(.*\\)$as_nl";
4778 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4780 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4782 export as_echo_n_body
4783 as_echo_n='sh -c $as_echo_n_body as_echo'
4786 as_echo='sh -c $as_echo_body as_echo'
4789 # The user is always right.
4790 if test "${PATH_SEPARATOR+set}" != set; then
4792 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4793 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4800 # We need space, tab and new line, in precisely that order. Quoting is
4801 # there to prevent editors from complaining about space-tab.
4802 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4803 # splitting by setting IFS to empty value.)
4806 # Find who we are. Look in the path if we contain no directory separator.
4809 *[\\/]* ) as_myself=$0 ;;
4810 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 test -z "$as_dir" && as_dir=.
4815 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4821 # We did not find ourselves, most probably we were run as `sh COMMAND'
4822 # in which case we are not to be found in the path.
4823 if test "x$as_myself" = x; then
4826 if test ! -f "$as_myself"; then
4827 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4831 # Unset variables that we do not need and which cause bugs (e.g. in
4832 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4833 # suppresses any "Segmentation fault" message there. '((' could
4834 # trigger a bug in pdksh 5.2.14.
4835 for as_var in BASH_ENV ENV MAIL MAILPATH
4836 do eval test x\${$as_var+set} = xset \
4837 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4850 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4853 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4854 # ----------------------------------------
4855 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4856 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4857 # script with STATUS, using 1 if that was 0.
4860 as_status=$1; test $as_status -eq 0 && as_status=1
4862 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4863 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4865 $as_echo "$as_me: error: $2" >&2
4866 as_fn_exit $as_status
4870 # as_fn_set_status STATUS
4871 # -----------------------
4872 # Set $? to STATUS, without forking.
4876 } # as_fn_set_status
4880 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4890 # Portably unset VAR.
4893 { eval $1=; unset $1;}
4895 as_unset=as_fn_unset
4896 # as_fn_append VAR VALUE
4897 # ----------------------
4898 # Append the text in VALUE to the end of the definition contained in VAR. Take
4899 # advantage of any shell optimizations that allow amortized linear growth over
4900 # repeated appends, instead of the typical quadratic growth present in naive
4902 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4903 eval 'as_fn_append ()
4914 # as_fn_arith ARG...
4915 # ------------------
4916 # Perform arithmetic evaluation on the ARGs, and store the result in the
4917 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4918 # must be portable across $(()) and expr.
4919 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4920 eval 'as_fn_arith ()
4927 as_val=`expr "$@" || test $? -eq 1`
4932 if expr a : '\(a\)' >/dev/null 2>&1 &&
4933 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4939 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4940 as_basename=basename
4945 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4951 as_me=`$as_basename -- "$0" ||
4952 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4953 X"$0" : 'X\(//\)$' \| \
4954 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4956 sed '/^.*\/\([^/][^/]*\)\/*$/{
4970 # Avoid depending upon Character Ranges.
4971 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4972 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4973 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4974 as_cr_digits='0123456789'
4975 as_cr_alnum=$as_cr_Letters$as_cr_digits
4977 ECHO_C= ECHO_N= ECHO_T=
4978 case `echo -n x` in #(((((
4980 case `echo 'xy\c'` in
4981 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4983 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4990 rm -f conf$$ conf$$.exe conf$$.file
4991 if test -d conf$$.dir; then
4992 rm -f conf$$.dir/conf$$.file
4995 mkdir conf$$.dir 2>/dev/null
4997 if (echo >conf$$.file) 2>/dev/null; then
4998 if ln -s conf$$.file conf$$ 2>/dev/null; then
5000 # ... but there are two gotchas:
5001 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5002 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5003 # In both cases, we have to default to `cp -p'.
5004 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5006 elif ln conf$$.file conf$$ 2>/dev/null; then
5014 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5015 rmdir conf$$.dir 2>/dev/null
5020 # Create "$as_dir" as a directory, including parents if necessary.
5025 -*) as_dir=./$as_dir;;
5027 test -d "$as_dir" || eval $as_mkdir_p || {
5031 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5032 *) as_qdir=$as_dir;;
5034 as_dirs="'$as_qdir' $as_dirs"
5035 as_dir=`$as_dirname -- "$as_dir" ||
5036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5037 X"$as_dir" : 'X\(//\)[^/]' \| \
5038 X"$as_dir" : 'X\(//\)$' \| \
5039 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5040 $as_echo X"$as_dir" |
5041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5058 test -d "$as_dir" && break
5060 test -z "$as_dirs" || eval "mkdir $as_dirs"
5061 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5065 if mkdir -p . 2>/dev/null; then
5066 as_mkdir_p='mkdir -p "$as_dir"'
5068 test -d ./-p && rmdir ./-p
5072 if test -x / >/dev/null 2>&1; then
5075 if ls -dL / >/dev/null 2>&1; then
5082 if test -d "$1"; then
5088 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5089 ???[sx]*):;;*)false;;esac;fi
5093 as_executable_p=$as_test_x
5095 # Sed expression to map a string onto a valid CPP name.
5096 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5098 # Sed expression to map a string onto a valid variable name.
5099 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5103 ## ----------------------------------- ##
5104 ## Main body of $CONFIG_STATUS script. ##
5105 ## ----------------------------------- ##
5107 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5110 # Save the log message, to keep $0 and so on meaningful, and to
5111 # report actual input values of CONFIG_FILES etc. instead of their
5112 # values after options handling.
5114 This file was extended by xbitmaps $as_me 1.1.1, which was
5115 generated by GNU Autoconf 2.68. Invocation command line was
5117 CONFIG_FILES = $CONFIG_FILES
5118 CONFIG_HEADERS = $CONFIG_HEADERS
5119 CONFIG_LINKS = $CONFIG_LINKS
5120 CONFIG_COMMANDS = $CONFIG_COMMANDS
5123 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5128 case $ac_config_files in *"
5129 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5132 case $ac_config_headers in *"
5133 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5138 # Files that config.status was made for.
5139 config_files="$ac_config_files"
5140 config_headers="$ac_config_headers"
5141 config_commands="$ac_config_commands"
5145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5147 \`$as_me' instantiates files and other configuration actions
5148 from templates according to the current configuration. Unless the files
5149 and actions are specified as TAGs, all are instantiated by default.
5151 Usage: $0 [OPTION]... [TAG]...
5153 -h, --help print this help, then exit
5154 -V, --version print version number and configuration settings, then exit
5155 --config print configuration, then exit
5156 -q, --quiet, --silent
5157 do not print progress messages
5158 -d, --debug don't remove temporary files
5159 --recheck update $as_me by reconfiguring in the same conditions
5160 --file=FILE[:TEMPLATE]
5161 instantiate the configuration file FILE
5162 --header=FILE[:TEMPLATE]
5163 instantiate the configuration header FILE
5165 Configuration files:
5168 Configuration headers:
5171 Configuration commands:
5174 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5178 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5180 xbitmaps config.status 1.1.1
5181 configured by $0, generated by GNU Autoconf 2.68,
5182 with options \\"\$ac_cs_config\\"
5184 Copyright (C) 2010 Free Software Foundation, Inc.
5185 This config.status script is free software; the Free Software Foundation
5186 gives unlimited permission to copy, distribute and modify it."
5193 test -n "\$AWK" || AWK=awk
5196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5197 # The default lists apply if the user does not specify any file.
5203 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5204 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5208 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5220 # Handling of the options.
5221 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5223 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5224 $as_echo "$ac_cs_version"; exit ;;
5225 --config | --confi | --conf | --con | --co | --c )
5226 $as_echo "$ac_cs_config"; exit ;;
5227 --debug | --debu | --deb | --de | --d | -d )
5229 --file | --fil | --fi | --f )
5232 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5233 '') as_fn_error $? "missing file argument" ;;
5235 as_fn_append CONFIG_FILES " '$ac_optarg'"
5236 ac_need_defaults=false;;
5237 --header | --heade | --head | --hea )
5240 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5242 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5243 ac_need_defaults=false;;
5245 # Conflict between --help and --header
5246 as_fn_error $? "ambiguous option: \`$1'
5247 Try \`$0 --help' for more information.";;
5248 --help | --hel | -h )
5249 $as_echo "$ac_cs_usage"; exit ;;
5250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5251 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5255 -*) as_fn_error $? "unrecognized option: \`$1'
5256 Try \`$0 --help' for more information." ;;
5258 *) as_fn_append ac_config_targets " $1"
5259 ac_need_defaults=false ;;
5265 ac_configure_extra_args=
5267 if $ac_cs_silent; then
5269 ac_configure_extra_args="$ac_configure_extra_args --silent"
5273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5274 if \$ac_cs_recheck; then
5275 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5277 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5278 CONFIG_SHELL='$SHELL'
5284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5288 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5289 ## Running $as_me. ##
5295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5299 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5305 # Handling of arguments.
5306 for ac_config_target in $ac_config_targets
5308 case $ac_config_target in
5309 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5310 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5311 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5312 "xbitmaps.pc") CONFIG_FILES="$CONFIG_FILES xbitmaps.pc" ;;
5314 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5319 # If the user did not use the arguments to specify the items to instantiate,
5320 # then the envvar interface is used. Set only those that are not.
5321 # We use the long form for the default assignment because of an extremely
5322 # bizarre bug on SunOS 4.1.3.
5323 if $ac_need_defaults; then
5324 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5325 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5326 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5329 # Have a temporary directory for convenience. Make it in the build tree
5330 # simply because there is no reason against having it here, and in addition,
5331 # creating and moving files from /tmp can sometimes cause problems.
5332 # Hook for its removal unless debugging.
5333 # Note that there is a small window in which the directory will not be cleaned:
5334 # after its creation but before its name has been assigned to `$tmp'.
5338 trap 'exit_status=$?
5340 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5342 trap 'as_fn_exit 1' 1 2 13 15
5344 # Create a (secure) tmp directory for tmp files.
5347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5351 tmp=./conf$$-$RANDOM
5352 (umask 077 && mkdir "$tmp")
5353 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5356 # Set up the scripts for CONFIG_FILES section.
5357 # No need to generate them if there are no CONFIG_FILES.
5358 # This happens for instance with `./config.status config.h'.
5359 if test -n "$CONFIG_FILES"; then
5362 ac_cr=`echo X | tr X '\015'`
5363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5364 # But we know of no other shell where ac_cr would be empty at this
5365 # point, so we can use a bashism as a fallback.
5366 if test "x$ac_cr" = x; then
5367 eval ac_cr=\$\'\\r\'
5369 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5376 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5381 echo "cat >conf$$subs.awk <<_ACEOF" &&
5382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5388 for ac_last_try in false false false false false :; do
5389 . ./conf$$subs.sh ||
5390 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5392 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5393 if test $ac_delim_n = $ac_delim_num; then
5395 elif $ac_last_try; then
5396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5404 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5408 s/^/S["/; s/!.*/"]=/
5418 s/\(.\{148\}\)..*/\1/
5420 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5425 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5432 s/\(.\{148\}\)..*/\1/
5434 s/["\\]/\\&/g; s/^/"/; s/$/"/
5438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5443 ' <conf$$subs.awk | sed '
5448 ' >>$CONFIG_STATUS || ac_write_fail=1
5449 rm -f conf$$subs.awk
5450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5452 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5453 for (key in S) S_is_set[key] = 1
5459 nfields = split(line, field, "@")
5461 len = length(field[1])
5462 for (i = 2; i < nfields; i++) {
5464 keylen = length(key)
5465 if (S_is_set[key]) {
5467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5468 len += length(value) + length(field[++i])
5479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5480 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5481 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5484 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5485 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5488 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5489 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5490 # trailing colons and then remove the whole line if VPATH becomes empty
5491 # (actually we leave an empty line to preserve line numbers).
5492 if test "x$srcdir" = x.; then
5493 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5512 fi # test -n "$CONFIG_FILES"
5514 # Set up the scripts for CONFIG_HEADERS section.
5515 # No need to generate them if there are no CONFIG_HEADERS.
5516 # This happens for instance with `./config.status Makefile'.
5517 if test -n "$CONFIG_HEADERS"; then
5518 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5522 # Transform confdefs.h into an awk script `defines.awk', embedded as
5523 # here-document in config.status, that substitutes the proper values into
5524 # config.h.in to produce config.h.
5526 # Create a delimiter string that does not exist in confdefs.h, to ease
5527 # handling of long lines.
5529 for ac_last_try in false false :; do
5530 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5531 if test -z "$ac_tt"; then
5533 elif $ac_last_try; then
5534 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5536 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5540 # For the awk script, D is an array of macro values keyed by name,
5541 # likewise P contains macro parameters if any. Preserve backslash
5542 # newline sequences.
5544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5546 s/.\{148\}/&'"$ac_delim"'/g
5549 s/^[ ]*#[ ]*define[ ][ ]*/ /
5556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5563 D["\1"]=" \3\\\\\\n"\\/p
5565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5570 s/.\{148\}/&'"$ac_delim"'/g
5575 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5578 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5580 ' <confdefs.h | sed '
5581 s/'"$ac_delim"'/"\\\
5582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5585 for (key in D) D_is_set[key] = 1
5588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5590 split(line, arg, " ")
5591 if (arg[1] == "#") {
5595 defundef = substr(arg[1], 2)
5598 split(mac1, mac2, "(") #)
5600 prefix = substr(line, 1, index(line, defundef) - 1)
5601 if (D_is_set[macro]) {
5602 # Preserve the white space surrounding the "#".
5603 print prefix "define", macro P[macro] D[macro]
5606 # Replace #undef with comments. This is necessary, for example,
5607 # in the case of _POSIX_SOURCE, which is predefined and required
5608 # on some systems where configure will not decide to define it.
5609 if (defundef == "undef") {
5610 print "/*", prefix defundef, macro, "*/"
5618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5619 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5620 fi # test -n "$CONFIG_HEADERS"
5623 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5628 :[FHLC]) ac_mode=$ac_tag; continue;;
5630 case $ac_mode$ac_tag in
5632 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5633 :[FH]-) ac_tag=-:-;;
5634 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5651 -) ac_f="$ac_tmp/stdin";;
5652 *) # Look for the file first in the build tree, then in the source tree
5653 # (if the path is not absolute). The absolute path cannot be DOS-style,
5654 # because $ac_f cannot contain `:'.
5658 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5660 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5663 as_fn_append ac_file_inputs " '$ac_f'"
5666 # Let's still pretend it is `configure' which instantiates (i.e., don't
5667 # use $as_me), people would be surprised to read:
5668 # /* config.h. Generated by config.status. */
5669 configure_input='Generated from '`
5670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5672 if test x"$ac_file" != x-; then
5673 configure_input="$ac_file. $configure_input"
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5675 $as_echo "$as_me: creating $ac_file" >&6;}
5677 # Neutralize special characters interpreted by sed in replacement strings.
5678 case $configure_input in #(
5679 *\&* | *\|* | *\\* )
5680 ac_sed_conf_input=`$as_echo "$configure_input" |
5681 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5682 *) ac_sed_conf_input=$configure_input;;
5686 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5692 ac_dir=`$as_dirname -- "$ac_file" ||
5693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5694 X"$ac_file" : 'X\(//\)[^/]' \| \
5695 X"$ac_file" : 'X\(//\)$' \| \
5696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5697 $as_echo X"$ac_file" |
5698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5715 as_dir="$ac_dir"; as_fn_mkdir_p
5719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5722 # A ".." for each directory in $ac_dir_suffix.
5723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5724 case $ac_top_builddir_sub in
5725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5729 ac_abs_top_builddir=$ac_pwd
5730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5731 # for backward compatibility:
5732 ac_top_builddir=$ac_top_build_prefix
5735 .) # We are building in place.
5737 ac_top_srcdir=$ac_top_builddir_sub
5738 ac_abs_top_srcdir=$ac_pwd ;;
5739 [\\/]* | ?:[\\/]* ) # Absolute name.
5740 ac_srcdir=$srcdir$ac_dir_suffix;
5741 ac_top_srcdir=$srcdir
5742 ac_abs_top_srcdir=$srcdir ;;
5744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5745 ac_top_srcdir=$ac_top_build_prefix$srcdir
5746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5758 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5759 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5763 [\\/$]* | ?:[\\/]* ) ;;
5764 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5769 # If the template does not know about datarootdir, expand it.
5770 # FIXME: This hack should be removed a few years after 2.60.
5771 ac_datarootdir_hack=; ac_datarootdir_seen=
5782 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5783 *datarootdir*) ac_datarootdir_seen=yes;;
5784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5786 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5789 ac_datarootdir_hack='
5790 s&@datadir@&$datadir&g
5791 s&@docdir@&$docdir&g
5792 s&@infodir@&$infodir&g
5793 s&@localedir@&$localedir&g
5794 s&@mandir@&$mandir&g
5795 s&\\\${datarootdir}&$datarootdir&g' ;;
5799 # Neutralize VPATH when `$srcdir' = `.'.
5800 # Shell code in configure.ac might set extrasub.
5801 # FIXME: do we really want to maintain this feature?
5802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5803 ac_sed_extra="$ac_vpsub
5806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5809 s|@configure_input@|$ac_sed_conf_input|;t t
5810 s&@top_builddir@&$ac_top_builddir_sub&;t t
5811 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5812 s&@srcdir@&$ac_srcdir&;t t
5813 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5814 s&@top_srcdir@&$ac_top_srcdir&;t t
5815 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5816 s&@builddir@&$ac_builddir&;t t
5817 s&@abs_builddir@&$ac_abs_builddir&;t t
5818 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5819 s&@INSTALL@&$ac_INSTALL&;t t
5820 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5821 $ac_datarootdir_hack
5823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5824 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5827 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5829 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5831 which seems to be undefined. Please make sure it is defined" >&5
5832 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5833 which seems to be undefined. Please make sure it is defined" >&2;}
5835 rm -f "$ac_tmp/stdin"
5837 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5838 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5846 if test x"$ac_file" != x-; then
5848 $as_echo "/* $configure_input */" \
5849 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5850 } >"$ac_tmp/config.h" \
5851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5852 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5854 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5857 mv "$ac_tmp/config.h" "$ac_file" \
5858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5861 $as_echo "/* $configure_input */" \
5862 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5863 || as_fn_error $? "could not create -" "$LINENO" 5
5865 # Compute "$ac_file"'s index in $config_headers.
5868 for _am_header in $config_headers :; do
5870 $_am_arg | $_am_arg:* )
5873 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5876 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5877 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5878 X"$_am_arg" : 'X\(//\)[^/]' \| \
5879 X"$_am_arg" : 'X\(//\)$' \| \
5880 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5881 $as_echo X"$_am_arg" |
5882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5898 s/.*/./; q'`/stamp-h$_am_stamp_count
5901 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5902 $as_echo "$as_me: executing $ac_file commands" >&6;}
5907 case $ac_file$ac_mode in
5908 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5909 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5910 # are listed without --file. Let's play safe and only enable the eval
5911 # if we detect the quoting.
5912 case $CONFIG_FILES in
5913 *\'*) eval set x "$CONFIG_FILES" ;;
5914 *) set x $CONFIG_FILES ;;
5919 # Strip MF so we end up with the name of the file.
5920 mf=`echo "$mf" | sed -e 's/:.*$//'`
5921 # Check whether this is an Automake generated Makefile or not.
5922 # We used to match only the files named `Makefile.in', but
5923 # some people rename them; so instead we look at the file content.
5924 # Grep'ing the first line is not enough: some people post-process
5925 # each Makefile.in and add a new line on top of each file to say so.
5926 # Grep'ing the whole file is not good either: AIX grep has a line
5927 # limit of 2048, but all sed's we know have understand at least 4000.
5928 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5929 dirpart=`$as_dirname -- "$mf" ||
5930 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5931 X"$mf" : 'X\(//\)[^/]' \| \
5932 X"$mf" : 'X\(//\)$' \| \
5933 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5955 # Extract the definition of DEPDIR, am__include, and am__quote
5956 # from the Makefile without running `make'.
5957 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5958 test -z "$DEPDIR" && continue
5959 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5960 test -z "am__include" && continue
5961 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5962 # When using ansi2knr, U may be empty or an underscore; expand it
5963 U=`sed -n 's/^U = //p' < "$mf"`
5964 # Find all dependency output files, they are included files with
5965 # $(DEPDIR) in their names. We invoke sed twice because it is the
5966 # simplest approach to changing $(DEPDIR) to its actual value in the
5968 for file in `sed -n "
5969 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5970 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5971 # Make sure the directory exists.
5972 test -f "$dirpart/$file" && continue
5973 fdir=`$as_dirname -- "$file" ||
5974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5975 X"$file" : 'X\(//\)[^/]' \| \
5976 X"$file" : 'X\(//\)$' \| \
5977 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5996 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5997 # echo "creating $dirpart/$file"
5998 echo '# dummy' > "$dirpart/$file"
6010 ac_clean_files=$ac_clean_files_save
6012 test $ac_write_fail = 0 ||
6013 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6016 # configure is writing to config.log, and then calls config.status.
6017 # config.status does its own redirection, appending to config.log.
6018 # Unfortunately, on DOS this fails, as config.log is still kept open
6019 # by configure, so config.status won't be able to write to it; its
6020 # output is simply discarded. So we exec the FD to /dev/null,
6021 # effectively closing config.log, so it can be properly (re)opened and
6022 # appended to by config.status. When coming back to configure, we
6023 # need to make the FD available again.
6024 if test "$no_create" != yes; then
6026 ac_config_status_args=
6027 test "$silent" = yes &&
6028 ac_config_status_args="$ac_config_status_args --quiet"
6030 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6032 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6033 # would make configure fail if this is the last instruction.
6034 $ac_cs_success || as_fn_exit 1
6036 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6038 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}