2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xrdb 1.0.9.
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.
563 PACKAGE_TARNAME='xrdb'
564 PACKAGE_VERSION='1.0.9'
565 PACKAGE_STRING='xrdb 1.0.9'
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
645 MAINTAINER_MODE_FALSE
664 INSTALL_STRIP_PROGRAM
716 program_transform_name
729 enable_option_checking
730 enable_dependency_tracking
731 enable_maintainer_mode
732 enable_strict_compilation
736 ac_precious_vars='build_alias
752 # Initialize some variables set by options.
754 ac_init_version=false
755 ac_unrecognized_opts=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
766 program_transform_name=s,x,x,
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir='${exec_prefix}/bin'
781 sbindir='${exec_prefix}/sbin'
782 libexecdir='${exec_prefix}/libexec'
783 datarootdir='${prefix}/share'
784 datadir='${datarootdir}'
785 sysconfdir='${prefix}/etc'
786 sharedstatedir='${prefix}/com'
787 localstatedir='${prefix}/var'
788 includedir='${prefix}/include'
789 oldincludedir='/usr/include'
790 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
791 infodir='${datarootdir}/info'
796 libdir='${exec_prefix}/lib'
797 localedir='${datarootdir}/locale'
798 mandir='${datarootdir}/man'
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\$ac_option
812 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817 # Accept the important Cygnus configure options, so we can diagnose typos.
819 case $ac_dashdash$ac_option in
823 -bindir | --bindir | --bindi | --bind | --bin | --bi)
825 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
828 -build | --build | --buil | --bui | --bu)
829 ac_prev=build_alias ;;
830 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
831 build_alias=$ac_optarg ;;
833 -cache-file | --cache-file | --cache-fil | --cache-fi \
834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
835 ac_prev=cache_file ;;
836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
838 cache_file=$ac_optarg ;;
841 cache_file=config.cache ;;
843 -datadir | --datadir | --datadi | --datad)
845 -datadir=* | --datadir=* | --datadi=* | --datad=*)
846 datadir=$ac_optarg ;;
848 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
849 | --dataroo | --dataro | --datar)
850 ac_prev=datarootdir ;;
851 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
852 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
853 datarootdir=$ac_optarg ;;
855 -disable-* | --disable-*)
856 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
859 as_fn_error $? "invalid feature name: $ac_useropt"
860 ac_useropt_orig=$ac_useropt
861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
869 eval enable_$ac_useropt=no ;;
871 -docdir | --docdir | --docdi | --doc | --do)
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
881 -enable-* | --enable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 as_fn_error $? "invalid feature name: $ac_useropt"
886 ac_useropt_orig=$ac_useropt
887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
893 ac_unrecognized_sep=', ';;
895 eval enable_$ac_useropt=\$ac_optarg ;;
897 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
898 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
899 | --exec | --exe | --ex)
900 ac_prev=exec_prefix ;;
901 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
902 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
903 | --exec=* | --exe=* | --ex=*)
904 exec_prefix=$ac_optarg ;;
906 -gas | --gas | --ga | --g)
907 # Obsolete; use --with-gas.
910 -help | --help | --hel | --he | -h)
912 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
913 ac_init_help=recursive ;;
914 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
915 ac_init_help=short ;;
917 -host | --host | --hos | --ho)
918 ac_prev=host_alias ;;
919 -host=* | --host=* | --hos=* | --ho=*)
920 host_alias=$ac_optarg ;;
922 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 htmldir=$ac_optarg ;;
928 -includedir | --includedir | --includedi | --included | --include \
929 | --includ | --inclu | --incl | --inc)
930 ac_prev=includedir ;;
931 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
932 | --includ=* | --inclu=* | --incl=* | --inc=*)
933 includedir=$ac_optarg ;;
935 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
938 infodir=$ac_optarg ;;
940 -libdir | --libdir | --libdi | --libd)
942 -libdir=* | --libdir=* | --libdi=* | --libd=*)
945 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
946 | --libexe | --libex | --libe)
947 ac_prev=libexecdir ;;
948 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
949 | --libexe=* | --libex=* | --libe=*)
950 libexecdir=$ac_optarg ;;
952 -localedir | --localedir | --localedi | --localed | --locale)
954 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
955 localedir=$ac_optarg ;;
957 -localstatedir | --localstatedir | --localstatedi | --localstated \
958 | --localstate | --localstat | --localsta | --localst | --locals)
959 ac_prev=localstatedir ;;
960 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
961 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
962 localstatedir=$ac_optarg ;;
964 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
970 # Obsolete; use --without-fp.
973 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
974 | --no-cr | --no-c | -n)
977 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
978 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
981 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
982 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
983 | --oldin | --oldi | --old | --ol | --o)
984 ac_prev=oldincludedir ;;
985 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
986 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
987 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
988 oldincludedir=$ac_optarg ;;
990 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
995 -program-prefix | --program-prefix | --program-prefi | --program-pref \
996 | --program-pre | --program-pr | --program-p)
997 ac_prev=program_prefix ;;
998 -program-prefix=* | --program-prefix=* | --program-prefi=* \
999 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1000 program_prefix=$ac_optarg ;;
1002 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1003 | --program-suf | --program-su | --program-s)
1004 ac_prev=program_suffix ;;
1005 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1006 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1007 program_suffix=$ac_optarg ;;
1009 -program-transform-name | --program-transform-name \
1010 | --program-transform-nam | --program-transform-na \
1011 | --program-transform-n | --program-transform- \
1012 | --program-transform | --program-transfor \
1013 | --program-transfo | --program-transf \
1014 | --program-trans | --program-tran \
1015 | --progr-tra | --program-tr | --program-t)
1016 ac_prev=program_transform_name ;;
1017 -program-transform-name=* | --program-transform-name=* \
1018 | --program-transform-nam=* | --program-transform-na=* \
1019 | --program-transform-n=* | --program-transform-=* \
1020 | --program-transform=* | --program-transfor=* \
1021 | --program-transfo=* | --program-transf=* \
1022 | --program-trans=* | --program-tran=* \
1023 | --progr-tra=* | --program-tr=* | --program-t=*)
1024 program_transform_name=$ac_optarg ;;
1026 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1029 pdfdir=$ac_optarg ;;
1031 -psdir | --psdir | --psdi | --psd | --ps)
1033 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037 | -silent | --silent | --silen | --sile | --sil)
1040 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044 sbindir=$ac_optarg ;;
1046 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1047 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1048 | --sharedst | --shareds | --shared | --share | --shar \
1050 ac_prev=sharedstatedir ;;
1051 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1052 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1053 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055 sharedstatedir=$ac_optarg ;;
1057 -site | --site | --sit)
1059 -site=* | --site=* | --sit=*)
1062 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1065 srcdir=$ac_optarg ;;
1067 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1068 | --syscon | --sysco | --sysc | --sys | --sy)
1069 ac_prev=sysconfdir ;;
1070 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1071 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1072 sysconfdir=$ac_optarg ;;
1074 -target | --target | --targe | --targ | --tar | --ta | --t)
1075 ac_prev=target_alias ;;
1076 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1077 target_alias=$ac_optarg ;;
1079 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1082 -version | --version | --versio | --versi | --vers | -V)
1083 ac_init_version=: ;;
1086 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid package name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1099 eval with_$ac_useropt=\$ac_optarg ;;
1101 -without-* | --without-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 as_fn_error $? "invalid package name: $ac_useropt"
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1115 eval with_$ac_useropt=no ;;
1118 # Obsolete; use --with-x.
1121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122 | --x-incl | --x-inc | --x-in | --x-i)
1123 ac_prev=x_includes ;;
1124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126 x_includes=$ac_optarg ;;
1128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130 ac_prev=x_libraries ;;
1131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133 x_libraries=$ac_optarg ;;
1135 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1136 Try \`$0 --help' for more information"
1140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 case $ac_envvar in #(
1143 '' | [0-9]* | *[!_$as_cr_alnum]* )
1144 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1146 eval $ac_envvar=\$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1160 if test -n "$ac_prev"; then
1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162 as_fn_error $? "missing argument to $ac_option"
1165 if test -n "$ac_unrecognized_opts"; then
1166 case $enable_option_checking in
1168 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1173 # Check all directory arguments for consistency.
1174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175 datadir sysconfdir sharedstatedir localstatedir includedir \
1176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177 libdir localedir mandir
1179 eval ac_val=\$$ac_var
1180 # Remove trailing slashes.
1183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184 eval $ac_var=\$ac_val;;
1186 # Be sure to have absolute directory names.
1188 [\\/$]* | ?:[\\/]* ) continue;;
1189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used" >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 as_fn_error $? "working directory cannot be determined"
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 as_fn_error $? "pwd does not report name of working directory"
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$as_myself" ||
1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$as_myself" : 'X\(//\)[^/]' \| \
1233 X"$as_myself" : 'X\(//\)$' \| \
1234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1235 $as_echo X"$as_myself" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures xrdb 1.0.9 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking ...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/xrdb]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --program-prefix=PREFIX prepend PREFIX to installed program names
1351 --program-suffix=SUFFIX append SUFFIX to installed program names
1352 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of xrdb 1.0.9:";;
1367 --disable-option-checking ignore unrecognized --enable/--with options
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-dependency-tracking speeds up one-time build
1371 --enable-dependency-tracking do not reject slow dependency extractors
1372 --enable-maintainer-mode enable make rules and dependencies not useful
1373 (and sometimes confusing) to the casual installer
1374 --enable-strict-compilation
1375 Enable all warnings from compiler and make them
1376 errors (default: disabled)
1377 --enable-silent-rules less verbose build output (undo: `make V=1')
1378 --disable-silent-rules verbose build output (undo: `make V=0')
1381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1383 --with-cpp=path comma-separated list of paths to cpp command for
1384 xrdb to use at runtime
1386 Some influential environment variables:
1387 CC C compiler command
1388 CFLAGS C compiler flags
1389 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1390 nonstandard directory <lib dir>
1391 LIBS libraries to pass to the linker, e.g. -l<library>
1392 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1393 you have headers in a nonstandard directory <include dir>
1395 PKG_CONFIG path to pkg-config utility
1397 directories to add to pkg-config's search path
1399 path overriding pkg-config's built-in search path
1400 XRDB_CFLAGS C compiler flags for XRDB, overriding pkg-config
1401 XRDB_LIBS linker flags for XRDB, overriding pkg-config
1403 Use these variables to override the choices made by `configure' or to help
1404 it to find libraries and programs with nonstandard names/locations.
1406 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1411 if test "$ac_init_help" = "recursive"; then
1412 # If there are subdirs, report their specific --help.
1413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1414 test -d "$ac_dir" ||
1415 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1423 # A ".." for each directory in $ac_dir_suffix.
1424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1425 case $ac_top_builddir_sub in
1426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1430 ac_abs_top_builddir=$ac_pwd
1431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1432 # for backward compatibility:
1433 ac_top_builddir=$ac_top_build_prefix
1436 .) # We are building in place.
1438 ac_top_srcdir=$ac_top_builddir_sub
1439 ac_abs_top_srcdir=$ac_pwd ;;
1440 [\\/]* | ?:[\\/]* ) # Absolute name.
1441 ac_srcdir=$srcdir$ac_dir_suffix;
1442 ac_top_srcdir=$srcdir
1443 ac_abs_top_srcdir=$srcdir ;;
1445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1446 ac_top_srcdir=$ac_top_build_prefix$srcdir
1447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1451 cd "$ac_dir" || { ac_status=$?; continue; }
1452 # Check for guested configure.
1453 if test -f "$ac_srcdir/configure.gnu"; then
1455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1456 elif test -f "$ac_srcdir/configure"; then
1458 $SHELL "$ac_srcdir/configure" --help=recursive
1460 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462 cd "$ac_pwd" || { ac_status=$?; break; }
1466 test -n "$ac_init_help" && exit $ac_status
1467 if $ac_init_version; then
1469 xrdb configure 1.0.9
1470 generated by GNU Autoconf 2.68
1472 Copyright (C) 2010 Free Software Foundation, Inc.
1473 This configure script is free software; the Free Software Foundation
1474 gives unlimited permission to copy, distribute and modify it.
1479 ## ------------------------ ##
1480 ## Autoconf initialization. ##
1481 ## ------------------------ ##
1483 # ac_fn_c_try_compile LINENO
1484 # --------------------------
1485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1486 ac_fn_c_try_compile ()
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 rm -f conftest.$ac_objext
1490 if { { ac_try="$ac_compile"
1492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1493 *) ac_try_echo=$ac_try;;
1495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496 $as_echo "$ac_try_echo"; } >&5
1497 (eval "$ac_compile") 2>conftest.err
1499 if test -s conftest.err; then
1500 grep -v '^ *+' conftest.err >conftest.er1
1501 cat conftest.er1 >&5
1502 mv -f conftest.er1 conftest.err
1504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505 test $ac_status = 0; } && {
1506 test -z "$ac_c_werror_flag" ||
1507 test ! -s conftest.err
1508 } && test -s conftest.$ac_objext; then :
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.$ac_ext >&5
1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1517 as_fn_set_status $ac_retval
1519 } # ac_fn_c_try_compile
1521 # ac_fn_c_try_cpp LINENO
1522 # ----------------------
1523 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 if { { ac_try="$ac_cpp conftest.$ac_ext"
1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } > conftest.i && {
1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status $ac_retval
1558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1559 # -------------------------------------------------------
1560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1561 # the include files in INCLUDES and setting the cache variable VAR
1563 ac_fn_c_check_header_mongrel ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if eval \${$3+:} false; then :
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if eval \${$3+:} false; then :
1570 $as_echo_n "(cached) " >&6
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 # Is the header compilable?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1578 $as_echo_n "checking $2 usability... " >&6; }
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1584 if ac_fn_c_try_compile "$LINENO"; then :
1585 ac_header_compiler=yes
1587 ac_header_compiler=no
1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1591 $as_echo "$ac_header_compiler" >&6; }
1593 # Is the header present?
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1595 $as_echo_n "checking $2 presence... " >&6; }
1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1600 if ac_fn_c_try_cpp "$LINENO"; then :
1601 ac_header_preproc=yes
1603 ac_header_preproc=no
1605 rm -f conftest.err conftest.i conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1607 $as_echo "$ac_header_preproc" >&6; }
1609 # So? What about this header?
1610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1628 ( $as_echo "## ---------------------------------------------------------------------- ##
1629 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1630 ## ---------------------------------------------------------------------- ##"
1631 ) | sed "s/^/$as_me: WARNING: /" >&2
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1635 $as_echo_n "checking for $2... " >&6; }
1636 if eval \${$3+:} false; then :
1637 $as_echo_n "(cached) " >&6
1639 eval "$3=\$ac_header_compiler"
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643 $as_echo "$ac_res" >&6; }
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 } # ac_fn_c_check_header_mongrel
1649 # ac_fn_c_try_run LINENO
1650 # ----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1652 # that executables *can* be run.
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 if { { ac_try="$ac_link"
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_link") 2>&5
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1667 { { case "(($ac_try" in
1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669 *) ac_try_echo=$ac_try;;
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673 (eval "$ac_try") 2>&5
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; }; }; then :
1679 $as_echo "$as_me: program exited with status $ac_status" >&5
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1683 ac_retval=$ac_status
1685 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 as_fn_set_status $ac_retval
1691 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1692 # -------------------------------------------------------
1693 # Tests whether HEADER exists and can be compiled using the include files in
1694 # INCLUDES, setting the cache variable VAR accordingly.
1695 ac_fn_c_check_header_compile ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1708 if ac_fn_c_try_compile "$LINENO"; then :
1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1720 } # ac_fn_c_check_header_compile
1722 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1723 # ---------------------------------------------
1724 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1726 ac_fn_c_check_decl ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 as_decl_name=`echo $2|sed 's/ *(.*//'`
1730 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1732 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1733 if eval \${$3+:} false; then :
1734 $as_echo_n "(cached) " >&6
1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1742 #ifndef $as_decl_name
1744 (void) $as_decl_use;
1746 (void) $as_decl_name;
1754 if ac_fn_c_try_compile "$LINENO"; then :
1759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 } # ac_fn_c_check_decl
1768 # ac_fn_c_try_link LINENO
1769 # -----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded.
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 rm -f conftest.$ac_objext conftest$ac_exeext
1775 if { { ac_try="$ac_link"
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>conftest.err
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest$ac_exeext && {
1794 test "$cross_compiling" = yes ||
1795 $as_test_x conftest$ac_exeext
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1804 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1805 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1806 # interfere with the next link command; also delete a directory that is
1807 # left behind by Apple's compiler. We do this before executing the actions.
1808 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1810 as_fn_set_status $ac_retval
1812 } # ac_fn_c_try_link
1814 # ac_fn_c_check_func LINENO FUNC VAR
1815 # ----------------------------------
1816 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1817 ac_fn_c_check_func ()
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 $as_echo_n "checking for $2... " >&6; }
1822 if eval \${$3+:} false; then :
1823 $as_echo_n "(cached) " >&6
1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h. */
1827 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1829 #define $2 innocuous_$2
1831 /* System header to define __stub macros and hopefully few prototypes,
1832 which can conflict with char $2 (); below.
1833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1834 <limits.h> exists even on freestanding compilers. */
1837 # include <limits.h>
1839 # include <assert.h>
1844 /* Override any GCC internal prototype to avoid an error.
1845 Use char because int might match the return type of a GCC
1846 builtin and then its argument prototype would still apply. */
1851 /* The GNU C library defines this for functions which it implements
1852 to always fail with ENOSYS. Some functions are actually named
1853 something starting with __ and the normal name is an alias. */
1854 #if defined __stub_$2 || defined __stub___$2
1866 if ac_fn_c_try_link "$LINENO"; then :
1871 rm -f core conftest.err conftest.$ac_objext \
1872 conftest$ac_exeext conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 } # ac_fn_c_check_func
1880 cat >config.log <<_ACEOF
1881 This file contains any messages produced by compilers while
1882 running configure, to aid debugging if configure makes a mistake.
1884 It was created by xrdb $as_me 1.0.9, which was
1885 generated by GNU Autoconf 2.68. Invocation command line was
1897 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1898 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1899 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1900 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1901 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1903 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1904 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1906 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1907 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1908 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1909 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1910 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1911 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1912 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 test -z "$as_dir" && as_dir=.
1921 $as_echo "PATH: $as_dir"
1937 # Keep a trace of the command line.
1938 # Strip out --no-create and --no-recursion so they do not pile up.
1939 # Strip out --silent because we don't want to record it for future runs.
1940 # Also quote any args containing shell meta-characters.
1941 # Make two passes to allow for proper duplicate-argument suppression.
1945 ac_must_keep_next=false
1951 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1952 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1953 | -silent | --silent | --silen | --sile | --sil)
1956 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1959 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1961 as_fn_append ac_configure_args1 " '$ac_arg'"
1962 if test $ac_must_keep_next = true; then
1963 ac_must_keep_next=false # Got value, back to normal.
1966 *=* | --config-cache | -C | -disable-* | --disable-* \
1967 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1968 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1969 | -with-* | --with-* | -without-* | --without-* | --x)
1970 case "$ac_configure_args0 " in
1971 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1974 -* ) ac_must_keep_next=true ;;
1977 as_fn_append ac_configure_args " '$ac_arg'"
1982 { ac_configure_args0=; unset ac_configure_args0;}
1983 { ac_configure_args1=; unset ac_configure_args1;}
1985 # When interrupted or exit'd, cleanup temporary files, and complete
1986 # config.log. We remove comments because anyway the quotes in there
1987 # would cause problems or look ugly.
1988 # WARNING: Use '\'' to represent an apostrophe within the trap.
1989 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1990 trap 'exit_status=$?
1991 # Save into config.log some information that might help in debugging.
1995 $as_echo "## ---------------- ##
1996 ## Cache variables. ##
1997 ## ---------------- ##"
1999 # The following way of writing the cache mishandles newlines in values,
2001 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2002 eval ac_val=\$$ac_var
2006 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2007 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2010 _ | IFS | as_nl) ;; #(
2011 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2012 *) { eval $ac_var=; unset $ac_var;} ;;
2017 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2018 *${as_nl}ac_space=\ *)
2020 "s/'\''/'\''\\\\'\'''\''/g;
2021 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2024 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2031 $as_echo "## ----------------- ##
2032 ## Output variables. ##
2033 ## ----------------- ##"
2035 for ac_var in $ac_subst_vars
2037 eval ac_val=\$$ac_var
2039 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2041 $as_echo "$ac_var='\''$ac_val'\''"
2045 if test -n "$ac_subst_files"; then
2046 $as_echo "## ------------------- ##
2047 ## File substitutions. ##
2048 ## ------------------- ##"
2050 for ac_var in $ac_subst_files
2052 eval ac_val=\$$ac_var
2054 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2061 if test -s confdefs.h; then
2062 $as_echo "## ----------- ##
2069 test "$ac_signal" != 0 &&
2070 $as_echo "$as_me: caught signal $ac_signal"
2071 $as_echo "$as_me: exit $exit_status"
2073 rm -f core *.core core.conftest.* &&
2074 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2077 for ac_signal in 1 2 13 15; do
2078 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2082 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2083 rm -f -r conftest* confdefs.h
2085 $as_echo "/* confdefs.h */" > confdefs.h
2087 # Predefined preprocessor variables.
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_NAME "$PACKAGE_NAME"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_STRING "$PACKAGE_STRING"
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_URL "$PACKAGE_URL"
2114 # Let the site file select an alternate cache file if it wants to.
2115 # Prefer an explicitly selected file to automatically selected ones.
2118 if test -n "$CONFIG_SITE"; then
2119 # We do not want a PATH search for config.site.
2120 case $CONFIG_SITE in #((
2121 -*) ac_site_file1=./$CONFIG_SITE;;
2122 */*) ac_site_file1=$CONFIG_SITE;;
2123 *) ac_site_file1=./$CONFIG_SITE;;
2125 elif test "x$prefix" != xNONE; then
2126 ac_site_file1=$prefix/share/config.site
2127 ac_site_file2=$prefix/etc/config.site
2129 ac_site_file1=$ac_default_prefix/share/config.site
2130 ac_site_file2=$ac_default_prefix/etc/config.site
2132 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2134 test "x$ac_site_file" = xNONE && continue
2135 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2137 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2138 sed 's/^/| /' "$ac_site_file" >&5
2140 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2142 as_fn_error $? "failed to load site script $ac_site_file
2143 See \`config.log' for more details" "$LINENO" 5; }
2147 if test -r "$cache_file"; then
2148 # Some versions of bash will fail to source /dev/null (special files
2149 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2150 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2152 $as_echo "$as_me: loading cache $cache_file" >&6;}
2154 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2155 *) . "./$cache_file";;
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2160 $as_echo "$as_me: creating cache $cache_file" >&6;}
2164 # Check that the precious variables saved in the cache have kept the same
2166 ac_cache_corrupted=false
2167 for ac_var in $ac_precious_vars; do
2168 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2169 eval ac_new_set=\$ac_env_${ac_var}_set
2170 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2171 eval ac_new_val=\$ac_env_${ac_var}_value
2172 case $ac_old_set,$ac_new_set in
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2176 ac_cache_corrupted=: ;;
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2179 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2180 ac_cache_corrupted=: ;;
2183 if test "x$ac_old_val" != "x$ac_new_val"; then
2184 # differences in whitespace do not lead to failure.
2185 ac_old_val_w=`echo x $ac_old_val`
2186 ac_new_val_w=`echo x $ac_new_val`
2187 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2189 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2190 ac_cache_corrupted=:
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2193 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2194 eval $ac_var=\$ac_old_val
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2197 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2199 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2202 # Pass precious variables to config.status.
2203 if test "$ac_new_set" = set; then
2205 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2206 *) ac_arg=$ac_var=$ac_new_val ;;
2208 case " $ac_configure_args " in
2209 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2210 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2214 if $ac_cache_corrupted; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2218 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2219 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2221 ## -------------------- ##
2222 ## Main body of script. ##
2223 ## -------------------- ##
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 ac_config_headers="$ac_config_headers config.h"
2236 ac_cpp='$CPP $CPPFLAGS'
2237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2240 if test -n "$ac_tool_prefix"; then
2241 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2242 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2244 $as_echo_n "checking for $ac_word... " >&6; }
2245 if ${ac_cv_prog_CC+:} false; then :
2246 $as_echo_n "(cached) " >&6
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test -n "$CC"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2271 $as_echo "$CC" >&6; }
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274 $as_echo "no" >&6; }
2279 if test -z "$ac_cv_prog_CC"; then
2281 # Extract the first word of "gcc", so it can be a program name with args.
2282 set dummy gcc; ac_word=$2
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2284 $as_echo_n "checking for $ac_word... " >&6; }
2285 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2286 $as_echo_n "(cached) " >&6
2288 if test -n "$ac_ct_CC"; then
2289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir=.
2296 for ac_exec_ext in '' $ac_executable_extensions; do
2297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2298 ac_cv_prog_ac_ct_CC="gcc"
2299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2309 if test -n "$ac_ct_CC"; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2311 $as_echo "$ac_ct_CC" >&6; }
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2314 $as_echo "no" >&6; }
2317 if test "x$ac_ct_CC" = x; then
2320 case $cross_compiling:$ac_tool_warned in
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2324 ac_tool_warned=yes ;;
2332 if test -z "$CC"; then
2333 if test -n "$ac_tool_prefix"; then
2334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2335 set dummy ${ac_tool_prefix}cc; ac_word=$2
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2337 $as_echo_n "checking for $ac_word... " >&6; }
2338 if ${ac_cv_prog_CC+:} false; then :
2339 $as_echo_n "(cached) " >&6
2341 if test -n "$CC"; then
2342 ac_cv_prog_CC="$CC" # Let the user override the test.
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2351 ac_cv_prog_CC="${ac_tool_prefix}cc"
2352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 if test -n "$CC"; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2364 $as_echo "$CC" >&6; }
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2367 $as_echo "no" >&6; }
2373 if test -z "$CC"; then
2374 # Extract the first word of "cc", so it can be a program name with args.
2375 set dummy cc; ac_word=$2
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2377 $as_echo_n "checking for $ac_word... " >&6; }
2378 if ${ac_cv_prog_CC+:} false; then :
2379 $as_echo_n "(cached) " >&6
2381 if test -n "$CC"; then
2382 ac_cv_prog_CC="$CC" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2393 ac_prog_rejected=yes
2397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test $ac_prog_rejected = yes; then
2405 # We found a bogon in the path, so make sure we never use it.
2406 set dummy $ac_cv_prog_CC
2408 if test $# != 0; then
2409 # We chose a different compiler from the bogus one.
2410 # However, it has the same basename, so the bogon will be chosen
2411 # first if we set CC to just the basename; use the full file name.
2413 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2419 if test -n "$CC"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2421 $as_echo "$CC" >&6; }
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2424 $as_echo "no" >&6; }
2429 if test -z "$CC"; then
2430 if test -n "$ac_tool_prefix"; then
2431 for ac_prog in cl.exe
2433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436 $as_echo_n "checking for $ac_word... " >&6; }
2437 if ${ac_cv_prog_CC+:} false; then :
2438 $as_echo_n "(cached) " >&6
2440 if test -n "$CC"; then
2441 ac_cv_prog_CC="$CC" # Let the user override the test.
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 if test -n "$CC"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2463 $as_echo "$CC" >&6; }
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466 $as_echo "no" >&6; }
2470 test -n "$CC" && break
2473 if test -z "$CC"; then
2475 for ac_prog in cl.exe
2477 # Extract the first word of "$ac_prog", so it can be a program name with args.
2478 set dummy $ac_prog; ac_word=$2
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 if test -n "$ac_ct_CC"; then
2485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_ac_ct_CC="$ac_prog"
2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2505 if test -n "$ac_ct_CC"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2507 $as_echo "$ac_ct_CC" >&6; }
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2510 $as_echo "no" >&6; }
2514 test -n "$ac_ct_CC" && break
2517 if test "x$ac_ct_CC" = x; then
2520 case $cross_compiling:$ac_tool_warned in
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2524 ac_tool_warned=yes ;;
2533 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2535 as_fn_error $? "no acceptable C compiler found in \$PATH
2536 See \`config.log' for more details" "$LINENO" 5; }
2538 # Provide some information about the compiler.
2539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2542 for ac_option in --version -v -V -qversion; do
2543 { { ac_try="$ac_compiler $ac_option >&5"
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2552 if test -s conftest.err; then
2554 ... rest of stderr output deleted ...
2555 10q' conftest.err >conftest.er1
2556 cat conftest.er1 >&5
2558 rm -f conftest.er1 conftest.err
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; }
2563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2564 /* end confdefs.h. */
2574 ac_clean_files_save=$ac_clean_files
2575 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2576 # Try to create an executable without -o first, disregard a.out.
2577 # It will help us diagnose broken compilers, and finding out an intuition
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2580 $as_echo_n "checking whether the C compiler works... " >&6; }
2581 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2583 # The possible output files:
2584 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2587 for ac_file in $ac_files
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2591 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2596 if { { ac_try="$ac_link_default"
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2602 $as_echo "$ac_try_echo"; } >&5
2603 (eval "$ac_link_default") 2>&5
2605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2606 test $ac_status = 0; }; then :
2607 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2608 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2609 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2610 # so that the user can short-circuit this test for compilers unknown to
2612 for ac_file in $ac_files ''
2614 test -f "$ac_file" || continue
2616 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2619 # We found the default executable, but exeext='' is most
2623 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2625 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2627 # We set ac_cv_exeext here because the later test for it is not
2628 # safe: cross compilers may not add the suffix if given an `-o'
2629 # argument, so we may need to know it at that point already.
2630 # Even if this section looks crufty: it has the advantage of
2637 test "$ac_cv_exeext" = no && ac_cv_exeext=
2642 if test -z "$ac_file"; then :
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2645 $as_echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 as_fn_error 77 "C compiler cannot create executables
2651 See \`config.log' for more details" "$LINENO" 5; }
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2654 $as_echo "yes" >&6; }
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2657 $as_echo_n "checking for C compiler default output file name... " >&6; }
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2659 $as_echo "$ac_file" >&6; }
2660 ac_exeext=$ac_cv_exeext
2662 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2663 ac_clean_files=$ac_clean_files_save
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2665 $as_echo_n "checking for suffix of executables... " >&6; }
2666 if { { ac_try="$ac_link"
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2672 $as_echo "$ac_try_echo"; } >&5
2673 (eval "$ac_link") 2>&5
2675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676 test $ac_status = 0; }; then :
2677 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2678 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2679 # work properly (i.e., refer to `conftest.exe'), while it won't with
2681 for ac_file in conftest.exe conftest conftest.*; do
2682 test -f "$ac_file" || continue
2684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2685 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2694 See \`config.log' for more details" "$LINENO" 5; }
2696 rm -f conftest conftest$ac_cv_exeext
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2698 $as_echo "$ac_cv_exeext" >&6; }
2700 rm -f conftest.$ac_ext
2701 EXEEXT=$ac_cv_exeext
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2709 FILE *f = fopen ("conftest.out", "w");
2710 return ferror (f) || fclose (f) != 0;
2716 ac_clean_files="$ac_clean_files conftest.out"
2717 # Check that the compiler produces executables we can run. If not, either
2718 # the compiler is broken, or we cross compile.
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2720 $as_echo_n "checking whether we are cross compiling... " >&6; }
2721 if test "$cross_compiling" != yes; then
2722 { { ac_try="$ac_link"
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_link") 2>&5
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; }
2733 if { ac_try='./conftest$ac_cv_exeext'
2734 { { case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740 (eval "$ac_try") 2>&5
2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; }; }; then
2746 if test "$cross_compiling" = maybe; then
2749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2751 as_fn_error $? "cannot run C compiled programs.
2752 If you meant to cross compile, use \`--host'.
2753 See \`config.log' for more details" "$LINENO" 5; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2758 $as_echo "$cross_compiling" >&6; }
2760 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2761 ac_clean_files=$ac_clean_files_save
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2763 $as_echo_n "checking for suffix of object files... " >&6; }
2764 if ${ac_cv_objext+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2778 rm -f conftest.o conftest.obj
2779 if { { ac_try="$ac_compile"
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2785 $as_echo "$ac_try_echo"; } >&5
2786 (eval "$ac_compile") 2>&5
2788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2789 test $ac_status = 0; }; then :
2790 for ac_file in conftest.o conftest.obj conftest.*; do
2791 test -f "$ac_file" || continue;
2793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2794 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2799 $as_echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2804 as_fn_error $? "cannot compute suffix of object files: cannot compile
2805 See \`config.log' for more details" "$LINENO" 5; }
2807 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2810 $as_echo "$ac_cv_objext" >&6; }
2811 OBJEXT=$ac_cv_objext
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2814 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2815 if ${ac_cv_c_compiler_gnu+:} false; then :
2816 $as_echo_n "(cached) " >&6
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2832 if ac_fn_c_try_compile "$LINENO"; then :
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2842 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2843 if test $ac_compiler_gnu = yes; then
2848 ac_test_CFLAGS=${CFLAGS+set}
2849 ac_save_CFLAGS=$CFLAGS
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2851 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2852 if ${ac_cv_prog_cc_g+:} false; then :
2853 $as_echo_n "(cached) " >&6
2855 ac_save_c_werror_flag=$ac_c_werror_flag
2856 ac_c_werror_flag=yes
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2870 if ac_fn_c_try_compile "$LINENO"; then :
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2885 if ac_fn_c_try_compile "$LINENO"; then :
2888 ac_c_werror_flag=$ac_save_c_werror_flag
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2901 if ac_fn_c_try_compile "$LINENO"; then :
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 ac_c_werror_flag=$ac_save_c_werror_flag
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2912 $as_echo "$ac_cv_prog_cc_g" >&6; }
2913 if test "$ac_test_CFLAGS" = set; then
2914 CFLAGS=$ac_save_CFLAGS
2915 elif test $ac_cv_prog_cc_g = yes; then
2916 if test "$GCC" = yes; then
2922 if test "$GCC" = yes; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2929 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2930 if ${ac_cv_prog_cc_c89+:} false; then :
2931 $as_echo_n "(cached) " >&6
2933 ac_cv_prog_cc_c89=no
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2939 #include <sys/types.h>
2940 #include <sys/stat.h>
2941 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2942 struct buf { int x; };
2943 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2944 static char *e (p, i)
2950 static char *f (char * (*g) (char **, int), char **p, ...)
2955 s = g (p, va_arg (v,int));
2960 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2961 function prototypes and stuff, but not '\xHH' hex character constants.
2962 These don't provoke an error unfortunately, instead are silently treated
2963 as 'x'. The following induces an error, until -std is added to get
2964 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2965 array size at least. It's necessary to write '\x00'==0 to get something
2966 that's true only with -std. */
2967 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2969 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2970 inside strings and character constants. */
2972 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2974 int test (int i, double x);
2975 struct s1 {int (*f) (int a);};
2976 struct s2 {int (*f) (double a);};
2977 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2983 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2988 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2989 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2991 CC="$ac_save_CC $ac_arg"
2992 if ac_fn_c_try_compile "$LINENO"; then :
2993 ac_cv_prog_cc_c89=$ac_arg
2995 rm -f core conftest.err conftest.$ac_objext
2996 test "x$ac_cv_prog_cc_c89" != "xno" && break
2998 rm -f conftest.$ac_ext
3003 case "x$ac_cv_prog_cc_c89" in
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3006 $as_echo "none needed" >&6; } ;;
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3009 $as_echo "unsupported" >&6; } ;;
3011 CC="$CC $ac_cv_prog_cc_c89"
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3013 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3015 if test "x$ac_cv_prog_cc_c89" != xno; then :
3020 ac_cpp='$CPP $CPPFLAGS'
3021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 ac_cpp='$CPP $CPPFLAGS'
3028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3032 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3033 # On Suns, sometimes $CPP names a directory.
3034 if test -n "$CPP" && test -d "$CPP"; then
3037 if test -z "$CPP"; then
3038 if ${ac_cv_prog_CPP+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 # Double quotes because CPP needs to be expanded
3042 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3045 for ac_c_preproc_warn_flag in '' yes
3047 # Use a header file that comes with gcc, so configuring glibc
3048 # with a fresh cross-compiler works.
3049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3050 # <limits.h> exists even on freestanding compilers.
3051 # On the NeXT, cc -E runs the code through the compiler's parser,
3052 # not just through cpp. "Syntax error" is here to catch this case.
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3056 # include <limits.h>
3058 # include <assert.h>
3062 if ac_fn_c_try_cpp "$LINENO"; then :
3065 # Broken: fails on valid input.
3068 rm -f conftest.err conftest.i conftest.$ac_ext
3070 # OK, works on sane cases. Now check whether nonexistent headers
3071 # can be detected and how.
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3074 #include <ac_nonexistent.h>
3076 if ac_fn_c_try_cpp "$LINENO"; then :
3077 # Broken: success on invalid input.
3080 # Passes both tests.
3084 rm -f conftest.err conftest.i conftest.$ac_ext
3087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3088 rm -f conftest.i conftest.err conftest.$ac_ext
3089 if $ac_preproc_ok; then :
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3102 $as_echo "$CPP" >&6; }
3104 for ac_c_preproc_warn_flag in '' yes
3106 # Use a header file that comes with gcc, so configuring glibc
3107 # with a fresh cross-compiler works.
3108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3109 # <limits.h> exists even on freestanding compilers.
3110 # On the NeXT, cc -E runs the code through the compiler's parser,
3111 # not just through cpp. "Syntax error" is here to catch this case.
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3115 # include <limits.h>
3117 # include <assert.h>
3121 if ac_fn_c_try_cpp "$LINENO"; then :
3124 # Broken: fails on valid input.
3127 rm -f conftest.err conftest.i conftest.$ac_ext
3129 # OK, works on sane cases. Now check whether nonexistent headers
3130 # can be detected and how.
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3133 #include <ac_nonexistent.h>
3135 if ac_fn_c_try_cpp "$LINENO"; then :
3136 # Broken: success on invalid input.
3139 # Passes both tests.
3143 rm -f conftest.err conftest.i conftest.$ac_ext
3146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3147 rm -f conftest.i conftest.err conftest.$ac_ext
3148 if $ac_preproc_ok; then :
3151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3154 See \`config.log' for more details" "$LINENO" 5; }
3158 ac_cpp='$CPP $CPPFLAGS'
3159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3165 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3166 if ${ac_cv_path_GREP+:} false; then :
3167 $as_echo_n "(cached) " >&6
3169 if test -z "$GREP"; then
3170 ac_path_GREP_found=false
3171 # Loop through the user's path and test for each of PROGNAME-LIST
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3176 test -z "$as_dir" && as_dir=.
3177 for ac_prog in grep ggrep; do
3178 for ac_exec_ext in '' $ac_executable_extensions; do
3179 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3180 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3181 # Check for GNU ac_path_GREP and select it if it is found.
3182 # Check for GNU $ac_path_GREP
3183 case `"$ac_path_GREP" --version 2>&1` in
3185 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3188 $as_echo_n 0123456789 >"conftest.in"
3191 cat "conftest.in" "conftest.in" >"conftest.tmp"
3192 mv "conftest.tmp" "conftest.in"
3193 cp "conftest.in" "conftest.nl"
3194 $as_echo 'GREP' >> "conftest.nl"
3195 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3196 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3197 as_fn_arith $ac_count + 1 && ac_count=$as_val
3198 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3199 # Best one so far, save it but keep looking for a better one
3200 ac_cv_path_GREP="$ac_path_GREP"
3201 ac_path_GREP_max=$ac_count
3203 # 10*(2^10) chars as input seems more than enough
3204 test $ac_count -gt 10 && break
3206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3209 $ac_path_GREP_found && break 3
3214 if test -z "$ac_cv_path_GREP"; then
3215 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3218 ac_cv_path_GREP=$GREP
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3223 $as_echo "$ac_cv_path_GREP" >&6; }
3224 GREP="$ac_cv_path_GREP"
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3228 $as_echo_n "checking for egrep... " >&6; }
3229 if ${ac_cv_path_EGREP+:} false; then :
3230 $as_echo_n "(cached) " >&6
3232 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3233 then ac_cv_path_EGREP="$GREP -E"
3235 if test -z "$EGREP"; then
3236 ac_path_EGREP_found=false
3237 # Loop through the user's path and test for each of PROGNAME-LIST
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3242 test -z "$as_dir" && as_dir=.
3243 for ac_prog in egrep; do
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3246 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3247 # Check for GNU ac_path_EGREP and select it if it is found.
3248 # Check for GNU $ac_path_EGREP
3249 case `"$ac_path_EGREP" --version 2>&1` in
3251 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3254 $as_echo_n 0123456789 >"conftest.in"
3257 cat "conftest.in" "conftest.in" >"conftest.tmp"
3258 mv "conftest.tmp" "conftest.in"
3259 cp "conftest.in" "conftest.nl"
3260 $as_echo 'EGREP' >> "conftest.nl"
3261 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3263 as_fn_arith $ac_count + 1 && ac_count=$as_val
3264 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3265 # Best one so far, save it but keep looking for a better one
3266 ac_cv_path_EGREP="$ac_path_EGREP"
3267 ac_path_EGREP_max=$ac_count
3269 # 10*(2^10) chars as input seems more than enough
3270 test $ac_count -gt 10 && break
3272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3275 $ac_path_EGREP_found && break 3
3280 if test -z "$ac_cv_path_EGREP"; then
3281 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3284 ac_cv_path_EGREP=$EGREP
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3290 $as_echo "$ac_cv_path_EGREP" >&6; }
3291 EGREP="$ac_cv_path_EGREP"
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3295 $as_echo_n "checking for ANSI C header files... " >&6; }
3296 if ${ac_cv_header_stdc+:} false; then :
3297 $as_echo_n "(cached) " >&6
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3314 if ac_fn_c_try_compile "$LINENO"; then :
3315 ac_cv_header_stdc=yes
3317 ac_cv_header_stdc=no
3319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 if test $ac_cv_header_stdc = yes; then
3322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3329 $EGREP "memchr" >/dev/null 2>&1; then :
3332 ac_cv_header_stdc=no
3338 if test $ac_cv_header_stdc = yes; then
3339 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3346 $EGREP "free" >/dev/null 2>&1; then :
3349 ac_cv_header_stdc=no
3355 if test $ac_cv_header_stdc = yes; then
3356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3357 if test "$cross_compiling" = yes; then :
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3364 #if ((' ' & 0x0FF) == 0x020)
3365 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3366 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3368 # define ISLOWER(c) \
3369 (('a' <= (c) && (c) <= 'i') \
3370 || ('j' <= (c) && (c) <= 'r') \
3371 || ('s' <= (c) && (c) <= 'z'))
3372 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3375 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3380 for (i = 0; i < 256; i++)
3381 if (XOR (islower (i), ISLOWER (i))
3382 || toupper (i) != TOUPPER (i))
3387 if ac_fn_c_try_run "$LINENO"; then :
3390 ac_cv_header_stdc=no
3392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3393 conftest.$ac_objext conftest.beam conftest.$ac_ext
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3399 $as_echo "$ac_cv_header_stdc" >&6; }
3400 if test $ac_cv_header_stdc = yes; then
3402 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3406 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3408 inttypes.h stdint.h unistd.h
3410 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3411 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3413 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3414 cat >>confdefs.h <<_ACEOF
3415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3424 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3425 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3432 if test "$MINIX" = yes; then
3434 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3437 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3440 $as_echo "#define _MINIX 1" >>confdefs.h
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3446 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3447 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3448 $as_echo_n "(cached) " >&6
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3453 # define __EXTENSIONS__ 1
3454 $ac_includes_default
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 ac_cv_safe_to_define___extensions__=yes
3466 ac_cv_safe_to_define___extensions__=no
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3471 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3472 test $ac_cv_safe_to_define___extensions__ = yes &&
3473 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3475 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3477 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3479 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3481 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3485 # Initialize Automake
3486 am__api_version='1.11'
3489 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3490 if test -f "$ac_dir/install-sh"; then
3492 ac_install_sh="$ac_aux_dir/install-sh -c"
3494 elif test -f "$ac_dir/install.sh"; then
3496 ac_install_sh="$ac_aux_dir/install.sh -c"
3498 elif test -f "$ac_dir/shtool"; then
3500 ac_install_sh="$ac_aux_dir/shtool install -c"
3504 if test -z "$ac_aux_dir"; then
3505 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3508 # These three variables are undocumented and unsupported,
3509 # and are intended to be withdrawn in a future Autoconf release.
3510 # They can cause serious problems if a builder's source tree is in a directory
3511 # whose full name contains unusual characters.
3512 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3513 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3514 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3517 # Find a good install program. We prefer a C program (faster),
3518 # so one script is as good as another. But avoid the broken or
3519 # incompatible versions:
3520 # SysV /etc/install, /usr/sbin/install
3521 # SunOS /usr/etc/install
3522 # IRIX /sbin/install
3524 # AmigaOS /C/install, which installs bootblocks on floppy discs
3525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3528 # OS/2's system install, which has a completely different semantic
3529 # ./install, which can be erroneously created by make from ./install.sh.
3530 # Reject install programs that cannot install multiple files.
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3532 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3533 if test -z "$INSTALL"; then
3534 if ${ac_cv_path_install+:} false; then :
3535 $as_echo_n "(cached) " >&6
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir=.
3542 # Account for people who put trailing slashes in PATH elements.
3543 case $as_dir/ in #((
3544 ./ | .// | /[cC]/* | \
3545 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3546 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3549 # OSF1 and SCO ODT 3.0 have their own names for install.
3550 # Don't use installbsd from OSF since it installs stuff as root
3552 for ac_prog in ginstall scoinst install; do
3553 for ac_exec_ext in '' $ac_executable_extensions; do
3554 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3555 if test $ac_prog = install &&
3556 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3557 # AIX install. It has an incompatible calling convention.
3559 elif test $ac_prog = install &&
3560 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3561 # program-specific install script used by HP pwplus--don't use.
3564 rm -rf conftest.one conftest.two conftest.dir
3565 echo one > conftest.one
3566 echo two > conftest.two
3568 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3569 test -s conftest.one && test -s conftest.two &&
3570 test -s conftest.dir/conftest.one &&
3571 test -s conftest.dir/conftest.two
3573 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3586 rm -rf conftest.one conftest.two conftest.dir
3589 if test "${ac_cv_path_install+set}" = set; then
3590 INSTALL=$ac_cv_path_install
3592 # As a last resort, use the slow shell script. Don't cache a
3593 # value for INSTALL within a source directory, because that will
3594 # break other packages using the cache if that directory is
3595 # removed, or if the value is a relative name.
3596 INSTALL=$ac_install_sh
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3600 $as_echo "$INSTALL" >&6; }
3602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3603 # It thinks the first close brace ends the variable substitution.
3604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3608 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3611 $as_echo_n "checking whether build environment is sane... " >&6; }
3614 echo timestamp > conftest.file
3615 # Reject unsafe characters in $srcdir or the absolute working directory
3616 # name. Accept space and tab only in the latter.
3620 *[\\\"\#\$\&\'\`$am_lf]*)
3621 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3624 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3625 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3628 # Do `set' in a subshell so we don't clobber the current shell's
3629 # arguments. Must try -L first in case configure is actually a
3630 # symlink; some systems play weird games with the mod time of symlinks
3631 # (eg FreeBSD returns the mod time of the symlink's containing
3634 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3635 if test "$*" = "X"; then
3637 set X `ls -t "$srcdir/configure" conftest.file`
3640 if test "$*" != "X $srcdir/configure conftest.file" \
3641 && test "$*" != "X conftest.file $srcdir/configure"; then
3643 # If neither matched, then we have a broken ls. This can happen
3644 # if, for instance, CONFIG_SHELL is bash and it inherits a
3645 # broken ls alias from the environment. This has actually
3646 # happened. Such a system could not be considered "sane".
3647 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3648 alias in your environment" "$LINENO" 5
3651 test "$2" = conftest.file
3657 as_fn_error $? "newly created file is older than distributed files!
3658 Check your system clock" "$LINENO" 5
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3661 $as_echo "yes" >&6; }
3662 test "$program_prefix" != NONE &&
3663 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3664 # Use a double $ so make ignores it.
3665 test "$program_suffix" != NONE &&
3666 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3667 # Double any \ or $.
3668 # By default was `s,x,x', remove it if useless.
3669 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3670 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3672 # expand $ac_aux_dir to an absolute path
3673 am_aux_dir=`cd $ac_aux_dir && pwd`
3675 if test x"${MISSING+set}" != xset; then
3678 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3680 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3683 # Use eval to expand $SHELL
3684 if eval "$MISSING --run true"; then
3685 am_missing_run="$MISSING --run "
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3689 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3692 if test x"${install_sh}" != xset; then
3695 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3697 install_sh="\${SHELL} $am_aux_dir/install-sh"
3701 # Installed binaries are usually stripped using `strip' when the user
3702 # run `make install-strip'. However `strip' might not be the right
3703 # tool to use in cross-compilation environments, therefore Automake
3704 # will honor the `STRIP' environment variable to overrule this program.
3705 if test "$cross_compiling" != no; then
3706 if test -n "$ac_tool_prefix"; then
3707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3708 set dummy ${ac_tool_prefix}strip; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_STRIP+:} false; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$STRIP"; then
3715 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3724 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 STRIP=$ac_cv_prog_STRIP
3735 if test -n "$STRIP"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3737 $as_echo "$STRIP" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$ac_cv_prog_STRIP"; then
3747 # Extract the first word of "strip", so it can be a program name with args.
3748 set dummy strip; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$ac_ct_STRIP"; then
3755 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3764 ac_cv_prog_ac_ct_STRIP="strip"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3775 if test -n "$ac_ct_STRIP"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3777 $as_echo "$ac_ct_STRIP" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3783 if test "x$ac_ct_STRIP" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3795 STRIP="$ac_cv_prog_STRIP"
3799 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3802 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3803 if test -z "$MKDIR_P"; then
3804 if ${ac_cv_path_mkdir+:} false; then :
3805 $as_echo_n "(cached) " >&6
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3811 test -z "$as_dir" && as_dir=.
3812 for ac_prog in mkdir gmkdir; do
3813 for ac_exec_ext in '' $ac_executable_extensions; do
3814 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3815 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3816 'mkdir (GNU coreutils) '* | \
3817 'mkdir (coreutils) '* | \
3818 'mkdir (fileutils) '4.1*)
3819 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3829 test -d ./--version && rmdir ./--version
3830 if test "${ac_cv_path_mkdir+set}" = set; then
3831 MKDIR_P="$ac_cv_path_mkdir -p"
3833 # As a last resort, use the slow shell script. Don't cache a
3834 # value for MKDIR_P within a source directory, because that will
3835 # break other packages using the cache if that directory is
3836 # removed, or if the value is a relative name.
3837 MKDIR_P="$ac_install_sh -d"
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3841 $as_echo "$MKDIR_P" >&6; }
3845 [\\/$]* | ?:[\\/]*) ;;
3846 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3849 for ac_prog in gawk mawk nawk awk
3851 # Extract the first word of "$ac_prog", so it can be a program name with args.
3852 set dummy $ac_prog; ac_word=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_AWK+:} false; then :
3856 $as_echo_n "(cached) " >&6
3858 if test -n "$AWK"; then
3859 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3868 ac_cv_prog_AWK="$ac_prog"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 if test -n "$AWK"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3881 $as_echo "$AWK" >&6; }
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3888 test -n "$AWK" && break
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3892 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3894 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3895 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3896 $as_echo_n "(cached) " >&6
3898 cat >conftest.make <<\_ACEOF
3901 @echo '@@@%%%=$(MAKE)=@@@%%%'
3903 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3904 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3906 eval ac_cv_prog_make_${ac_make}_set=yes;;
3908 eval ac_cv_prog_make_${ac_make}_set=no;;
3912 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3914 $as_echo "yes" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3919 SET_MAKE="MAKE=${MAKE-make}"
3922 rm -rf .tst 2>/dev/null
3923 mkdir .tst 2>/dev/null
3924 if test -d .tst; then
3929 rmdir .tst 2>/dev/null
3931 DEPDIR="${am__leading_dot}deps"
3933 ac_config_commands="$ac_config_commands depfiles"
3936 am_make=${MAKE-make}
3937 cat > confinc << 'END'
3939 @echo this is the am__doit target
3942 # If we don't find an include directive, just comment out the code.
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3944 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3948 # First try GNU make style include.
3949 echo "include confinc" > confmf
3950 # Ignore all kinds of additional output from `make'.
3951 case `$am_make -s -f confmf 2> /dev/null` in #(
3952 *the\ am__doit\ target*)
3958 # Now try BSD make style include.
3959 if test "$am__include" = "#"; then
3960 echo '.include "confinc"' > confmf
3961 case `$am_make -s -f confmf 2> /dev/null` in #(
3962 *the\ am__doit\ target*)
3963 am__include=.include
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3972 $as_echo "$_am_result" >&6; }
3973 rm -f confinc confmf
3975 # Check whether --enable-dependency-tracking was given.
3976 if test "${enable_dependency_tracking+set}" = set; then :
3977 enableval=$enable_dependency_tracking;
3980 if test "x$enable_dependency_tracking" != xno; then
3981 am_depcomp="$ac_aux_dir/depcomp"
3984 if test "x$enable_dependency_tracking" != xno; then
3993 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3994 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3995 # is not polluted with repeated "-I."
3996 am__isrc=' -I$(srcdir)'
3997 # test to see if srcdir already configured
3998 if test -f $srcdir/config.status; then
3999 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4003 # test whether we have cygpath
4004 if test -z "$CYGPATH_W"; then
4005 if (cygpath --version) >/dev/null 2>/dev/null; then
4006 CYGPATH_W='cygpath -w'
4013 # Define the identity of the package.
4018 cat >>confdefs.h <<_ACEOF
4019 #define PACKAGE "$PACKAGE"
4023 cat >>confdefs.h <<_ACEOF
4024 #define VERSION "$VERSION"
4027 # Some tools Automake needs.
4029 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4032 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4035 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4038 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4041 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4043 # We need awk for the "check" target. The system "awk" is bad on
4045 # Always define AMTAR for backward compatibility.
4047 AMTAR=${AMTAR-"${am_missing_run}tar"}
4049 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4054 depcc="$CC" am_compiler_list=
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4057 $as_echo_n "checking dependency style of $depcc... " >&6; }
4058 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4059 $as_echo_n "(cached) " >&6
4061 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4062 # We make a subdir and do the tests there. Otherwise we can end up
4063 # making bogus files that we don't know about and never remove. For
4064 # instance it was reported that on HP-UX the gcc test will end up
4065 # making a dummy file named `D' -- because `-MD' means `put the output
4068 # Copy depcomp to subdir because otherwise we won't find it if we're
4069 # using a relative directory.
4070 cp "$am_depcomp" conftest.dir
4072 # We will build objects and dependencies in a subdirectory because
4073 # it helps to detect inapplicable dependency modes. For instance
4074 # both Tru64's cc and ICC support -MD to output dependencies as a
4075 # side effect of compilation, but ICC will put the dependencies in
4076 # the current directory while Tru64 will put them in the object
4080 am_cv_CC_dependencies_compiler_type=none
4081 if test "$am_compiler_list" = ""; then
4082 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4085 case " $depcc " in #(
4086 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4089 for depmode in $am_compiler_list; do
4090 # Setup a source with many dependencies, because some compilers
4091 # like to wrap large dependency lists on column 80 (with \), and
4092 # we should not choose a depcomp mode which is confused by this.
4094 # We need to recreate these files for each test, as the compiler may
4095 # overwrite some of them when testing with obscure command lines.
4096 # This happens at least with the AIX C compiler.
4098 for i in 1 2 3 4 5 6; do
4099 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4100 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4101 # Solaris 8's {/usr,}/bin/sh.
4102 touch sub/conftst$i.h
4104 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4106 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4107 # mode. It turns out that the SunPro C++ compiler does not properly
4108 # handle `-M -o', and we need to detect this. Also, some Intel
4109 # versions had trouble with output in subdirs
4110 am__obj=sub/conftest.${OBJEXT-o}
4111 am__minus_obj="-o $am__obj"
4114 # This depmode causes a compiler race in universal mode.
4115 test "$am__universal" = false || continue
4118 # after this tag, mechanisms are not by side-effect, so they'll
4119 # only be used when explicitly requested
4120 if test "x$enable_dependency_tracking" = xyes; then
4126 msvisualcpp | msvcmsys)
4127 # This compiler won't grok `-c -o', but also, the minuso test has
4128 # not run yet. These depmodes are late enough in the game, and
4129 # so weak that their functioning should not be impacted.
4130 am__obj=conftest.${OBJEXT-o}
4135 if depmode=$depmode \
4136 source=sub/conftest.c object=$am__obj \
4137 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4138 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4139 >/dev/null 2>conftest.err &&
4140 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4141 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4142 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4143 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4144 # icc doesn't choke on unknown options, it will just issue warnings
4145 # or remarks (even with -Werror). So we grep stderr for any message
4146 # that says an option was ignored or not supported.
4147 # When given -MP, icc 7.0 and 7.1 complain thusly:
4148 # icc: Command line warning: ignoring option '-M'; no argument required
4149 # The diagnosis changed in icc 8.0:
4150 # icc: Command line remark: option '-MP' not supported
4151 if (grep 'ignoring option' conftest.err ||
4152 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4153 am_cv_CC_dependencies_compiler_type=$depmode
4162 am_cv_CC_dependencies_compiler_type=none
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4167 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4168 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4171 test "x$enable_dependency_tracking" != xno \
4172 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4174 am__fastdepCC_FALSE='#'
4176 am__fastdepCC_TRUE='#'
4177 am__fastdepCC_FALSE=
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4184 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4185 # Check whether --enable-maintainer-mode was given.
4186 if test "${enable_maintainer_mode+set}" = set; then :
4187 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4189 USE_MAINTAINER_MODE=no
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4193 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4194 if test $USE_MAINTAINER_MODE = yes; then
4195 MAINTAINER_MODE_TRUE=
4196 MAINTAINER_MODE_FALSE='#'
4198 MAINTAINER_MODE_TRUE='#'
4199 MAINTAINER_MODE_FALSE=
4202 MAINT=$MAINTAINER_MODE_TRUE
4206 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4219 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4220 if ${ac_cv_prog_cc_c99+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 ac_cv_prog_cc_c99=no
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4228 #include <stdbool.h>
4233 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4234 #define debug(...) fprintf (stderr, __VA_ARGS__)
4235 #define showlist(...) puts (#__VA_ARGS__)
4236 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4238 test_varargs_macros (void)
4243 debug ("X = %d\n", x);
4244 showlist (The first, second, and third items.);
4245 report (x>y, "x is %d but y is %d", x, y);
4248 // Check long long types.
4249 #define BIG64 18446744073709551615ull
4250 #define BIG32 4294967295ul
4251 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4253 your preprocessor is broken;
4257 your preprocessor is broken;
4259 static long long int bignum = -9223372036854775807LL;
4260 static unsigned long long int ubignum = BIG64;
4262 struct incomplete_array
4270 const wchar_t *name;
4274 typedef const char *ccp;
4277 test_restrict (ccp restrict text)
4279 // See if C++-style comments work.
4280 // Iterate through items via the restricted pointer.
4281 // Also check for declarations in for loops.
4282 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4287 // Check varargs and va_copy.
4289 test_varargs (const char *format, ...)
4292 va_start (args, format);
4294 va_copy (args_copy, args);
4305 str = va_arg (args_copy, const char *);
4308 number = va_arg (args_copy, int);
4311 fnumber = va_arg (args_copy, double);
4326 _Bool success = false;
4329 if (test_restrict ("String literal") == 0)
4331 char *restrict newvar = "Another string";
4334 test_varargs ("s, d' f .", "string", 65, 34.234);
4335 test_varargs_macros ();
4337 // Check flexible array members.
4338 struct incomplete_array *ia =
4339 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4341 for (int i = 0; i < ia->datasize; ++i)
4342 ia->data[i] = i * 1.234;
4344 // Check named initializers.
4345 struct named_init ni = {
4347 .name = L"Test wide string",
4348 .average = 543.34343,
4353 int dynamic_array[ni.number];
4354 dynamic_array[ni.number - 1] = 543;
4356 // work around unused variable warnings
4357 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4358 || dynamic_array[ni.number - 1] != 543);
4364 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4366 CC="$ac_save_CC $ac_arg"
4367 if ac_fn_c_try_compile "$LINENO"; then :
4368 ac_cv_prog_cc_c99=$ac_arg
4370 rm -f core conftest.err conftest.$ac_objext
4371 test "x$ac_cv_prog_cc_c99" != "xno" && break
4373 rm -f conftest.$ac_ext
4378 case "x$ac_cv_prog_cc_c99" in
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4381 $as_echo "none needed" >&6; } ;;
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4384 $as_echo "unsupported" >&6; } ;;
4386 CC="$CC $ac_cv_prog_cc_c99"
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4388 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4390 if test "x$ac_cv_prog_cc_c99" != xno; then :
4401 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4402 if test -n "$ac_tool_prefix"; then
4403 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4404 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4408 $as_echo_n "(cached) " >&6
4412 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4434 if test -n "$PKG_CONFIG"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4436 $as_echo "$PKG_CONFIG" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4444 if test -z "$ac_cv_path_PKG_CONFIG"; then
4445 ac_pt_PKG_CONFIG=$PKG_CONFIG
4446 # Extract the first word of "pkg-config", so it can be a program name with args.
4447 set dummy pkg-config; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4451 $as_echo_n "(cached) " >&6
4453 case $ac_pt_PKG_CONFIG in
4455 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4476 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4477 if test -n "$ac_pt_PKG_CONFIG"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4479 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4485 if test "x$ac_pt_PKG_CONFIG" = x; then
4488 case $cross_compiling:$ac_tool_warned in
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4492 ac_tool_warned=yes ;;
4494 PKG_CONFIG=$ac_pt_PKG_CONFIG
4497 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4501 if test -n "$PKG_CONFIG"; then
4502 _pkg_min_version=0.9.0
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4504 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4505 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4507 $as_echo "yes" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 # Make sure we can run config.sub.
4515 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4516 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4519 $as_echo_n "checking build system type... " >&6; }
4520 if ${ac_cv_build+:} false; then :
4521 $as_echo_n "(cached) " >&6
4523 ac_build_alias=$build_alias
4524 test "x$ac_build_alias" = x &&
4525 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4526 test "x$ac_build_alias" = x &&
4527 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4528 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4529 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4533 $as_echo "$ac_cv_build" >&6; }
4534 case $ac_cv_build in
4536 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4539 ac_save_IFS=$IFS; IFS='-'
4545 # Remember, the first character of IFS is used to create $*,
4546 # except with old shells:
4549 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4553 $as_echo_n "checking host system type... " >&6; }
4554 if ${ac_cv_host+:} false; then :
4555 $as_echo_n "(cached) " >&6
4557 if test "x$host_alias" = x; then
4558 ac_cv_host=$ac_cv_build
4560 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4561 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4566 $as_echo "$ac_cv_host" >&6; }
4569 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4572 ac_save_IFS=$IFS; IFS='-'
4578 # Remember, the first character of IFS is used to create $*,
4579 # except with old shells:
4582 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4586 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4587 if ${ac_cv_path_SED+:} false; then :
4588 $as_echo_n "(cached) " >&6
4590 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4591 for ac_i in 1 2 3 4 5 6 7; do
4592 ac_script="$ac_script$as_nl$ac_script"
4594 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4595 { ac_script=; unset ac_script;}
4596 if test -z "$SED"; then
4597 ac_path_SED_found=false
4598 # Loop through the user's path and test for each of PROGNAME-LIST
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir=.
4604 for ac_prog in sed gsed; do
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4607 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4608 # Check for GNU ac_path_SED and select it if it is found.
4609 # Check for GNU $ac_path_SED
4610 case `"$ac_path_SED" --version 2>&1` in
4612 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4615 $as_echo_n 0123456789 >"conftest.in"
4618 cat "conftest.in" "conftest.in" >"conftest.tmp"
4619 mv "conftest.tmp" "conftest.in"
4620 cp "conftest.in" "conftest.nl"
4621 $as_echo '' >> "conftest.nl"
4622 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4624 as_fn_arith $ac_count + 1 && ac_count=$as_val
4625 if test $ac_count -gt ${ac_path_SED_max-0}; then
4626 # Best one so far, save it but keep looking for a better one
4627 ac_cv_path_SED="$ac_path_SED"
4628 ac_path_SED_max=$ac_count
4630 # 10*(2^10) chars as input seems more than enough
4631 test $ac_count -gt 10 && break
4633 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4636 $ac_path_SED_found && break 3
4641 if test -z "$ac_cv_path_SED"; then
4642 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4650 $as_echo "$ac_cv_path_SED" >&6; }
4651 SED="$ac_cv_path_SED"
4658 if test "x$GCC" = xyes ; then
4659 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4660 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4661 -Wbad-function-cast -Wformat=2"
4662 case `$CC -dumpversion` in
4664 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4668 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4669 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4675 if test "x$SUNCC" = "xyes"; then
4682 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4686 # Check whether --enable-strict-compilation was given.
4687 if test "${enable_strict_compilation+set}" = set; then :
4688 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4693 if test "x$STRICT_COMPILE" = "xyes"; then
4694 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4695 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4701 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4702 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4708 if test "x$GCC" = xyes ; then
4709 STRICT_CFLAGS="-pedantic -Werror"
4710 elif test "x$SUNCC" = "xyes"; then
4711 STRICT_CFLAGS="-errwarn"
4712 elif test "x$INTELCC" = "xyes"; then
4713 STRICT_CFLAGS="-Werror"
4716 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4721 cat >>confdefs.h <<_ACEOF
4722 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4725 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4726 if test "x$PVM" = "x"; then
4730 cat >>confdefs.h <<_ACEOF
4731 #define PACKAGE_VERSION_MINOR $PVM
4734 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4735 if test "x$PVP" = "x"; then
4739 cat >>confdefs.h <<_ACEOF
4740 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4745 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4746 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4747 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4748 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4753 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4754 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4755 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4756 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4757 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4764 if test x$APP_MAN_SUFFIX = x ; then
4767 if test x$APP_MAN_DIR = x ; then
4768 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4771 if test x$LIB_MAN_SUFFIX = x ; then
4774 if test x$LIB_MAN_DIR = x ; then
4775 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4778 if test x$FILE_MAN_SUFFIX = x ; then
4780 solaris*) FILE_MAN_SUFFIX=4 ;;
4781 *) FILE_MAN_SUFFIX=5 ;;
4784 if test x$FILE_MAN_DIR = x ; then
4785 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4788 if test x$MISC_MAN_SUFFIX = x ; then
4790 solaris*) MISC_MAN_SUFFIX=5 ;;
4791 *) MISC_MAN_SUFFIX=7 ;;
4794 if test x$MISC_MAN_DIR = x ; then
4795 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4798 if test x$DRIVER_MAN_SUFFIX = x ; then
4800 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4801 *) DRIVER_MAN_SUFFIX=4 ;;
4804 if test x$DRIVER_MAN_DIR = x ; then
4805 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4808 if test x$ADMIN_MAN_SUFFIX = x ; then
4810 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4811 *) ADMIN_MAN_SUFFIX=8 ;;
4814 if test x$ADMIN_MAN_DIR = x ; then
4815 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4832 XORG_MAN_PAGE="X Version 11"
4835 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4836 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4837 -e 's|__xservername__|Xorg|g' \
4838 -e 's|__xconfigfile__|xorg.conf|g' \
4839 -e 's|__projectroot__|\$(prefix)|g' \
4840 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4841 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4842 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4843 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4844 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4845 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4846 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4850 # Check whether --enable-silent-rules was given.
4851 if test "${enable_silent_rules+set}" = set; then :
4852 enableval=$enable_silent_rules;
4855 case $enable_silent_rules in
4856 yes) AM_DEFAULT_VERBOSITY=0;;
4857 no) AM_DEFAULT_VERBOSITY=1;;
4858 *) AM_DEFAULT_VERBOSITY=0;;
4864 for ac_func in mkstemp asprintf
4866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4868 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4869 cat >>confdefs.h <<_ACEOF
4870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4877 # Find MAXHOSTNAMELEN definition
4878 # Common hidey holes:
4879 # BSD & Linux - <sys/param.h>
4880 # Solaris - <netdb.h>
4882 ac_fn_c_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default"
4883 if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = xyes; then :
4884 FOUND_MAXHOSTNAMELEN=yes
4888 if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
4890 $as_echo_n "checking for header that defines MAXHOSTNAMELEN... " >&6; }
4892 FOUND_MAXHOSTNAMELEN='not found'
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4896 #include <sys/param.h>
4900 int h = MAXHOSTNAMELEN;
4905 if ac_fn_c_try_compile "$LINENO"; then :
4906 FOUND_MAXHOSTNAMELEN='sys/param.h'
4908 $as_echo "#define NEED_SYS_PARAM_H 1" >>confdefs.h
4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4919 int h = MAXHOSTNAMELEN;
4924 if ac_fn_c_try_compile "$LINENO"; then :
4925 FOUND_MAXHOSTNAMELEN='netdb.h'
4927 $as_echo "#define NEED_NETDB_H 1" >>confdefs.h
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
4933 $as_echo "$FOUND_MAXHOSTNAMELEN" >&6; }
4936 # xrdb needs to know where to find cpp at runtime - previously set as CppCmd
4937 # in Imake config files for each OS
4939 # Check whether --with-cpp was given.
4940 if test "${with_cpp+set}" = set; then :
4941 withval=$with_cpp; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpp" >&5
4942 $as_echo_n "checking for cpp... " >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: --with-cpp specified $CPP_PATH" >&5
4945 $as_echo "--with-cpp specified $CPP_PATH" >&6; }
4947 # Extract the first word of "cpp", so it can be a program name with args.
4948 set dummy cpp; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_path_CPP_PATH+:} false; then :
4952 $as_echo_n "(cached) " >&6
4956 ac_cv_path_CPP_PATH="$CPP_PATH" # Let the user override the test with a path.
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
4961 for as_dir in $as_dummy
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_path_CPP_PATH="$as_dir/$ac_word$ac_exec_ext"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975 test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="cpp"
4979 CPP_PATH=$ac_cv_path_CPP_PATH
4980 if test -n "$CPP_PATH"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_PATH" >&5
4982 $as_echo "$CPP_PATH" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4991 CPP_PATH=`echo ${CPP_PATH} | sed 's/,/\\",\\"/g'`
4993 cat >>confdefs.h <<_ACEOF
4994 #define CPP "$CPP_PATH"
4998 # Checks for pkg-config packages
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRDB" >&5
5002 $as_echo_n "checking for XRDB... " >&6; }
5004 if test -n "$XRDB_CFLAGS"; then
5005 pkg_cv_XRDB_CFLAGS="$XRDB_CFLAGS"
5006 elif test -n "$PKG_CONFIG"; then
5007 if test -n "$PKG_CONFIG" && \
5008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11\""; } >&5
5009 ($PKG_CONFIG --exists --print-errors "xmuu x11") 2>&5
5011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5012 test $ac_status = 0; }; then
5013 pkg_cv_XRDB_CFLAGS=`$PKG_CONFIG --cflags "xmuu x11" 2>/dev/null`
5020 if test -n "$XRDB_LIBS"; then
5021 pkg_cv_XRDB_LIBS="$XRDB_LIBS"
5022 elif test -n "$PKG_CONFIG"; then
5023 if test -n "$PKG_CONFIG" && \
5024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu x11\""; } >&5
5025 ($PKG_CONFIG --exists --print-errors "xmuu x11") 2>&5
5027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5028 test $ac_status = 0; }; then
5029 pkg_cv_XRDB_LIBS=`$PKG_CONFIG --libs "xmuu x11" 2>/dev/null`
5039 if test $pkg_failed = yes; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5044 _pkg_short_errors_supported=yes
5046 _pkg_short_errors_supported=no
5048 if test $_pkg_short_errors_supported = yes; then
5049 XRDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xmuu x11" 2>&1`
5051 XRDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xmuu x11" 2>&1`
5053 # Put the nasty error message in config.log where it belongs
5054 echo "$XRDB_PKG_ERRORS" >&5
5056 as_fn_error $? "Package requirements (xmuu x11) were not met:
5060 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5061 installed software in a non-standard prefix.
5063 Alternatively, you may set the environment variables XRDB_CFLAGS
5064 and XRDB_LIBS to avoid the need to call pkg-config.
5065 See the pkg-config man page for more details." "$LINENO" 5
5066 elif test $pkg_failed = untried; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5071 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5072 is in your PATH or set the PKG_CONFIG environment variable to the full
5075 Alternatively, you may set the environment variables XRDB_CFLAGS
5076 and XRDB_LIBS to avoid the need to call pkg-config.
5077 See the pkg-config man page for more details.
5079 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5080 See \`config.log' for more details" "$LINENO" 5; }
5082 XRDB_CFLAGS=$pkg_cv_XRDB_CFLAGS
5083 XRDB_LIBS=$pkg_cv_XRDB_LIBS
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5085 $as_echo "yes" >&6; }
5089 ac_config_files="$ac_config_files Makefile man/Makefile"
5091 cat >confcache <<\_ACEOF
5092 # This file is a shell script that caches the results of configure
5093 # tests run on this system so they can be shared between configure
5094 # scripts and configure runs, see configure's option --config-cache.
5095 # It is not useful on other systems. If it contains results you don't
5096 # want to keep, you may remove or edit it.
5098 # config.status only pays attention to the cache file if you give it
5099 # the --recheck option to rerun configure.
5101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5107 # The following way of writing the cache mishandles newlines in values,
5108 # but we know of no workaround that is simple, portable, and efficient.
5109 # So, we kill variables containing newlines.
5110 # Ultrix sh set writes to stderr and can't be redirected directly,
5111 # and sets the high bit in the cache file unless we assign to the vars.
5113 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5114 eval ac_val=\$$ac_var
5118 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5122 _ | IFS | as_nl) ;; #(
5123 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5124 *) { eval $ac_var=; unset $ac_var;} ;;
5130 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5131 *${as_nl}ac_space=\ *)
5132 # `set' does not quote correctly, so add quotes: double-quote
5133 # substitution turns \\\\ into \\, and sed turns \\ into \.
5136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5139 # `set' quotes correctly as required by POSIX, so do not add quotes.
5140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5151 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5153 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5154 if test -w "$cache_file"; then
5155 if test "x$cache_file" != "x/dev/null"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5157 $as_echo "$as_me: updating cache $cache_file" >&6;}
5158 if test ! -f "$cache_file" || test -h "$cache_file"; then
5159 cat confcache >"$cache_file"
5161 case $cache_file in #(
5163 mv -f confcache "$cache_file"$$ &&
5164 mv -f "$cache_file"$$ "$cache_file" ;; #(
5166 mv -f confcache "$cache_file" ;;
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5172 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5177 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5178 # Let make expand exec_prefix.
5179 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5181 DEFS=-DHAVE_CONFIG_H
5186 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5187 # 1. Remove the extension, and $U if already installed.
5188 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5189 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5190 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5191 # will be set to the directory where LIBOBJS objects are built.
5192 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5193 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5197 LTLIBOBJS=$ac_ltlibobjs
5200 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5201 as_fn_error $? "conditional \"AMDEP\" was never defined.
5202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5204 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5205 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5208 if test -n "$EXEEXT"; then
5210 am__EXEEXT_FALSE='#'
5216 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5217 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5221 : "${CONFIG_STATUS=./config.status}"
5223 ac_clean_files_save=$ac_clean_files
5224 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5226 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5228 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5230 # Generated by $as_me.
5231 # Run this file to recreate the current configuration.
5232 # Compiler output produced by configure, useful for debugging
5233 # configure, is in config.log if it exists.
5239 SHELL=\${CONFIG_SHELL-$SHELL}
5242 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5243 ## -------------------- ##
5244 ## M4sh Initialization. ##
5245 ## -------------------- ##
5247 # Be more Bourne compatible
5248 DUALCASE=1; export DUALCASE # for MKS sh
5249 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5252 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5253 # is contrary to our usage. Disable this feature.
5254 alias -g '${1+"$@"}'='"$@"'
5255 setopt NO_GLOB_SUBST
5257 case `(set -o) 2>/dev/null` in #(
5269 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5270 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5273 # Prefer a ksh shell builtin over an external printf program on Solaris,
5274 # but without wasting forks for bash or zsh.
5275 if test -z "$BASH_VERSION$ZSH_VERSION" \
5276 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5277 as_echo='print -r --'
5278 as_echo_n='print -rn --'
5279 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5280 as_echo='printf %s\n'
5281 as_echo_n='printf %s'
5283 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5284 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5285 as_echo_n='/usr/ucb/echo -n'
5287 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5288 as_echo_n_body='eval
5292 expr "X$arg" : "X\\(.*\\)$as_nl";
5293 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5295 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5297 export as_echo_n_body
5298 as_echo_n='sh -c $as_echo_n_body as_echo'
5301 as_echo='sh -c $as_echo_body as_echo'
5304 # The user is always right.
5305 if test "${PATH_SEPARATOR+set}" != set; then
5307 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5308 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5315 # We need space, tab and new line, in precisely that order. Quoting is
5316 # there to prevent editors from complaining about space-tab.
5317 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5318 # splitting by setting IFS to empty value.)
5321 # Find who we are. Look in the path if we contain no directory separator.
5324 *[\\/]* ) as_myself=$0 ;;
5325 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir=.
5330 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5336 # We did not find ourselves, most probably we were run as `sh COMMAND'
5337 # in which case we are not to be found in the path.
5338 if test "x$as_myself" = x; then
5341 if test ! -f "$as_myself"; then
5342 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5346 # Unset variables that we do not need and which cause bugs (e.g. in
5347 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5348 # suppresses any "Segmentation fault" message there. '((' could
5349 # trigger a bug in pdksh 5.2.14.
5350 for as_var in BASH_ENV ENV MAIL MAILPATH
5351 do eval test x\${$as_var+set} = xset \
5352 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5365 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5368 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5369 # ----------------------------------------
5370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5372 # script with STATUS, using 1 if that was 0.
5375 as_status=$1; test $as_status -eq 0 && as_status=1
5377 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5380 $as_echo "$as_me: error: $2" >&2
5381 as_fn_exit $as_status
5385 # as_fn_set_status STATUS
5386 # -----------------------
5387 # Set $? to STATUS, without forking.
5391 } # as_fn_set_status
5395 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5405 # Portably unset VAR.
5408 { eval $1=; unset $1;}
5410 as_unset=as_fn_unset
5411 # as_fn_append VAR VALUE
5412 # ----------------------
5413 # Append the text in VALUE to the end of the definition contained in VAR. Take
5414 # advantage of any shell optimizations that allow amortized linear growth over
5415 # repeated appends, instead of the typical quadratic growth present in naive
5417 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5418 eval 'as_fn_append ()
5429 # as_fn_arith ARG...
5430 # ------------------
5431 # Perform arithmetic evaluation on the ARGs, and store the result in the
5432 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5433 # must be portable across $(()) and expr.
5434 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5435 eval 'as_fn_arith ()
5442 as_val=`expr "$@" || test $? -eq 1`
5447 if expr a : '\(a\)' >/dev/null 2>&1 &&
5448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5455 as_basename=basename
5460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5466 as_me=`$as_basename -- "$0" ||
5467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5468 X"$0" : 'X\(//\)$' \| \
5469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5471 sed '/^.*\/\([^/][^/]*\)\/*$/{
5485 # Avoid depending upon Character Ranges.
5486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5489 as_cr_digits='0123456789'
5490 as_cr_alnum=$as_cr_Letters$as_cr_digits
5492 ECHO_C= ECHO_N= ECHO_T=
5493 case `echo -n x` in #(((((
5495 case `echo 'xy\c'` in
5496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5498 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5505 rm -f conf$$ conf$$.exe conf$$.file
5506 if test -d conf$$.dir; then
5507 rm -f conf$$.dir/conf$$.file
5510 mkdir conf$$.dir 2>/dev/null
5512 if (echo >conf$$.file) 2>/dev/null; then
5513 if ln -s conf$$.file conf$$ 2>/dev/null; then
5515 # ... but there are two gotchas:
5516 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5517 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5518 # In both cases, we have to default to `cp -p'.
5519 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5521 elif ln conf$$.file conf$$ 2>/dev/null; then
5529 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5530 rmdir conf$$.dir 2>/dev/null
5535 # Create "$as_dir" as a directory, including parents if necessary.
5540 -*) as_dir=./$as_dir;;
5542 test -d "$as_dir" || eval $as_mkdir_p || {
5546 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5547 *) as_qdir=$as_dir;;
5549 as_dirs="'$as_qdir' $as_dirs"
5550 as_dir=`$as_dirname -- "$as_dir" ||
5551 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5552 X"$as_dir" : 'X\(//\)[^/]' \| \
5553 X"$as_dir" : 'X\(//\)$' \| \
5554 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5555 $as_echo X"$as_dir" |
5556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5573 test -d "$as_dir" && break
5575 test -z "$as_dirs" || eval "mkdir $as_dirs"
5576 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5580 if mkdir -p . 2>/dev/null; then
5581 as_mkdir_p='mkdir -p "$as_dir"'
5583 test -d ./-p && rmdir ./-p
5587 if test -x / >/dev/null 2>&1; then
5590 if ls -dL / >/dev/null 2>&1; then
5597 if test -d "$1"; then
5603 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5604 ???[sx]*):;;*)false;;esac;fi
5608 as_executable_p=$as_test_x
5610 # Sed expression to map a string onto a valid CPP name.
5611 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5613 # Sed expression to map a string onto a valid variable name.
5614 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5618 ## ----------------------------------- ##
5619 ## Main body of $CONFIG_STATUS script. ##
5620 ## ----------------------------------- ##
5622 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5625 # Save the log message, to keep $0 and so on meaningful, and to
5626 # report actual input values of CONFIG_FILES etc. instead of their
5627 # values after options handling.
5629 This file was extended by xrdb $as_me 1.0.9, which was
5630 generated by GNU Autoconf 2.68. Invocation command line was
5632 CONFIG_FILES = $CONFIG_FILES
5633 CONFIG_HEADERS = $CONFIG_HEADERS
5634 CONFIG_LINKS = $CONFIG_LINKS
5635 CONFIG_COMMANDS = $CONFIG_COMMANDS
5638 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5643 case $ac_config_files in *"
5644 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5647 case $ac_config_headers in *"
5648 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5653 # Files that config.status was made for.
5654 config_files="$ac_config_files"
5655 config_headers="$ac_config_headers"
5656 config_commands="$ac_config_commands"
5660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5662 \`$as_me' instantiates files and other configuration actions
5663 from templates according to the current configuration. Unless the files
5664 and actions are specified as TAGs, all are instantiated by default.
5666 Usage: $0 [OPTION]... [TAG]...
5668 -h, --help print this help, then exit
5669 -V, --version print version number and configuration settings, then exit
5670 --config print configuration, then exit
5671 -q, --quiet, --silent
5672 do not print progress messages
5673 -d, --debug don't remove temporary files
5674 --recheck update $as_me by reconfiguring in the same conditions
5675 --file=FILE[:TEMPLATE]
5676 instantiate the configuration file FILE
5677 --header=FILE[:TEMPLATE]
5678 instantiate the configuration header FILE
5680 Configuration files:
5683 Configuration headers:
5686 Configuration commands:
5689 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5693 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5695 xrdb config.status 1.0.9
5696 configured by $0, generated by GNU Autoconf 2.68,
5697 with options \\"\$ac_cs_config\\"
5699 Copyright (C) 2010 Free Software Foundation, Inc.
5700 This config.status script is free software; the Free Software Foundation
5701 gives unlimited permission to copy, distribute and modify it."
5708 test -n "\$AWK" || AWK=awk
5711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5712 # The default lists apply if the user does not specify any file.
5718 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5719 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5723 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5735 # Handling of the options.
5736 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5738 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5739 $as_echo "$ac_cs_version"; exit ;;
5740 --config | --confi | --conf | --con | --co | --c )
5741 $as_echo "$ac_cs_config"; exit ;;
5742 --debug | --debu | --deb | --de | --d | -d )
5744 --file | --fil | --fi | --f )
5747 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5748 '') as_fn_error $? "missing file argument" ;;
5750 as_fn_append CONFIG_FILES " '$ac_optarg'"
5751 ac_need_defaults=false;;
5752 --header | --heade | --head | --hea )
5755 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5757 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5758 ac_need_defaults=false;;
5760 # Conflict between --help and --header
5761 as_fn_error $? "ambiguous option: \`$1'
5762 Try \`$0 --help' for more information.";;
5763 --help | --hel | -h )
5764 $as_echo "$ac_cs_usage"; exit ;;
5765 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5766 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5770 -*) as_fn_error $? "unrecognized option: \`$1'
5771 Try \`$0 --help' for more information." ;;
5773 *) as_fn_append ac_config_targets " $1"
5774 ac_need_defaults=false ;;
5780 ac_configure_extra_args=
5782 if $ac_cs_silent; then
5784 ac_configure_extra_args="$ac_configure_extra_args --silent"
5788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5789 if \$ac_cs_recheck; then
5790 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5792 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5793 CONFIG_SHELL='$SHELL'
5799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5803 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5804 ## Running $as_me. ##
5810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5814 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5820 # Handling of arguments.
5821 for ac_config_target in $ac_config_targets
5823 case $ac_config_target in
5824 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5825 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5826 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5827 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5829 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5834 # If the user did not use the arguments to specify the items to instantiate,
5835 # then the envvar interface is used. Set only those that are not.
5836 # We use the long form for the default assignment because of an extremely
5837 # bizarre bug on SunOS 4.1.3.
5838 if $ac_need_defaults; then
5839 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5840 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5841 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5844 # Have a temporary directory for convenience. Make it in the build tree
5845 # simply because there is no reason against having it here, and in addition,
5846 # creating and moving files from /tmp can sometimes cause problems.
5847 # Hook for its removal unless debugging.
5848 # Note that there is a small window in which the directory will not be cleaned:
5849 # after its creation but before its name has been assigned to `$tmp'.
5853 trap 'exit_status=$?
5855 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5857 trap 'as_fn_exit 1' 1 2 13 15
5859 # Create a (secure) tmp directory for tmp files.
5862 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5866 tmp=./conf$$-$RANDOM
5867 (umask 077 && mkdir "$tmp")
5868 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5871 # Set up the scripts for CONFIG_FILES section.
5872 # No need to generate them if there are no CONFIG_FILES.
5873 # This happens for instance with `./config.status config.h'.
5874 if test -n "$CONFIG_FILES"; then
5877 ac_cr=`echo X | tr X '\015'`
5878 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5879 # But we know of no other shell where ac_cr would be empty at this
5880 # point, so we can use a bashism as a fallback.
5881 if test "x$ac_cr" = x; then
5882 eval ac_cr=\$\'\\r\'
5884 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5885 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5891 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5896 echo "cat >conf$$subs.awk <<_ACEOF" &&
5897 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5901 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5903 for ac_last_try in false false false false false :; do
5904 . ./conf$$subs.sh ||
5905 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5907 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5908 if test $ac_delim_n = $ac_delim_num; then
5910 elif $ac_last_try; then
5911 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5913 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5919 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5923 s/^/S["/; s/!.*/"]=/
5933 s/\(.\{148\}\)..*/\1/
5935 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5940 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5947 s/\(.\{148\}\)..*/\1/
5949 s/["\\]/\\&/g; s/^/"/; s/$/"/
5953 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5958 ' <conf$$subs.awk | sed '
5963 ' >>$CONFIG_STATUS || ac_write_fail=1
5964 rm -f conf$$subs.awk
5965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5967 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5968 for (key in S) S_is_set[key] = 1
5974 nfields = split(line, field, "@")
5976 len = length(field[1])
5977 for (i = 2; i < nfields; i++) {
5979 keylen = length(key)
5980 if (S_is_set[key]) {
5982 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5983 len += length(value) + length(field[++i])
5994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5995 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5996 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5999 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6000 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6003 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6004 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6005 # trailing colons and then remove the whole line if VPATH becomes empty
6006 # (actually we leave an empty line to preserve line numbers).
6007 if test "x$srcdir" = x.; then
6008 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6027 fi # test -n "$CONFIG_FILES"
6029 # Set up the scripts for CONFIG_HEADERS section.
6030 # No need to generate them if there are no CONFIG_HEADERS.
6031 # This happens for instance with `./config.status Makefile'.
6032 if test -n "$CONFIG_HEADERS"; then
6033 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6037 # Transform confdefs.h into an awk script `defines.awk', embedded as
6038 # here-document in config.status, that substitutes the proper values into
6039 # config.h.in to produce config.h.
6041 # Create a delimiter string that does not exist in confdefs.h, to ease
6042 # handling of long lines.
6044 for ac_last_try in false false :; do
6045 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6046 if test -z "$ac_tt"; then
6048 elif $ac_last_try; then
6049 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6051 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6055 # For the awk script, D is an array of macro values keyed by name,
6056 # likewise P contains macro parameters if any. Preserve backslash
6057 # newline sequences.
6059 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6061 s/.\{148\}/&'"$ac_delim"'/g
6064 s/^[ ]*#[ ]*define[ ][ ]*/ /
6071 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6073 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6077 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6078 D["\1"]=" \3\\\\\\n"\\/p
6080 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6085 s/.\{148\}/&'"$ac_delim"'/g
6090 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6093 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6095 ' <confdefs.h | sed '
6096 s/'"$ac_delim"'/"\\\
6097 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6100 for (key in D) D_is_set[key] = 1
6103 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6105 split(line, arg, " ")
6106 if (arg[1] == "#") {
6110 defundef = substr(arg[1], 2)
6113 split(mac1, mac2, "(") #)
6115 prefix = substr(line, 1, index(line, defundef) - 1)
6116 if (D_is_set[macro]) {
6117 # Preserve the white space surrounding the "#".
6118 print prefix "define", macro P[macro] D[macro]
6121 # Replace #undef with comments. This is necessary, for example,
6122 # in the case of _POSIX_SOURCE, which is predefined and required
6123 # on some systems where configure will not decide to define it.
6124 if (defundef == "undef") {
6125 print "/*", prefix defundef, macro, "*/"
6133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6134 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6135 fi # test -n "$CONFIG_HEADERS"
6138 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6143 :[FHLC]) ac_mode=$ac_tag; continue;;
6145 case $ac_mode$ac_tag in
6147 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6148 :[FH]-) ac_tag=-:-;;
6149 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6166 -) ac_f="$ac_tmp/stdin";;
6167 *) # Look for the file first in the build tree, then in the source tree
6168 # (if the path is not absolute). The absolute path cannot be DOS-style,
6169 # because $ac_f cannot contain `:'.
6173 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6175 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6177 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6178 as_fn_append ac_file_inputs " '$ac_f'"
6181 # Let's still pretend it is `configure' which instantiates (i.e., don't
6182 # use $as_me), people would be surprised to read:
6183 # /* config.h. Generated by config.status. */
6184 configure_input='Generated from '`
6185 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6187 if test x"$ac_file" != x-; then
6188 configure_input="$ac_file. $configure_input"
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6190 $as_echo "$as_me: creating $ac_file" >&6;}
6192 # Neutralize special characters interpreted by sed in replacement strings.
6193 case $configure_input in #(
6194 *\&* | *\|* | *\\* )
6195 ac_sed_conf_input=`$as_echo "$configure_input" |
6196 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6197 *) ac_sed_conf_input=$configure_input;;
6201 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6207 ac_dir=`$as_dirname -- "$ac_file" ||
6208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6209 X"$ac_file" : 'X\(//\)[^/]' \| \
6210 X"$ac_file" : 'X\(//\)$' \| \
6211 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6212 $as_echo X"$ac_file" |
6213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6230 as_dir="$ac_dir"; as_fn_mkdir_p
6234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6236 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6237 # A ".." for each directory in $ac_dir_suffix.
6238 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6239 case $ac_top_builddir_sub in
6240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6244 ac_abs_top_builddir=$ac_pwd
6245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6246 # for backward compatibility:
6247 ac_top_builddir=$ac_top_build_prefix
6250 .) # We are building in place.
6252 ac_top_srcdir=$ac_top_builddir_sub
6253 ac_abs_top_srcdir=$ac_pwd ;;
6254 [\\/]* | ?:[\\/]* ) # Absolute name.
6255 ac_srcdir=$srcdir$ac_dir_suffix;
6256 ac_top_srcdir=$srcdir
6257 ac_abs_top_srcdir=$srcdir ;;
6259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6260 ac_top_srcdir=$ac_top_build_prefix$srcdir
6261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6273 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6274 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6278 [\\/$]* | ?:[\\/]* ) ;;
6279 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6284 # If the template does not know about datarootdir, expand it.
6285 # FIXME: This hack should be removed a few years after 2.60.
6286 ac_datarootdir_hack=; ac_datarootdir_seen=
6297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6298 *datarootdir*) ac_datarootdir_seen=yes;;
6299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6304 ac_datarootdir_hack='
6305 s&@datadir@&$datadir&g
6306 s&@docdir@&$docdir&g
6307 s&@infodir@&$infodir&g
6308 s&@localedir@&$localedir&g
6309 s&@mandir@&$mandir&g
6310 s&\\\${datarootdir}&$datarootdir&g' ;;
6314 # Neutralize VPATH when `$srcdir' = `.'.
6315 # Shell code in configure.ac might set extrasub.
6316 # FIXME: do we really want to maintain this feature?
6317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6318 ac_sed_extra="$ac_vpsub
6321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6324 s|@configure_input@|$ac_sed_conf_input|;t t
6325 s&@top_builddir@&$ac_top_builddir_sub&;t t
6326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6327 s&@srcdir@&$ac_srcdir&;t t
6328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6329 s&@top_srcdir@&$ac_top_srcdir&;t t
6330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6331 s&@builddir@&$ac_builddir&;t t
6332 s&@abs_builddir@&$ac_abs_builddir&;t t
6333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6334 s&@INSTALL@&$ac_INSTALL&;t t
6335 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6336 $ac_datarootdir_hack
6338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6339 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6342 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6344 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6346 which seems to be undefined. Please make sure it is defined" >&5
6347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6348 which seems to be undefined. Please make sure it is defined" >&2;}
6350 rm -f "$ac_tmp/stdin"
6352 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6353 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6361 if test x"$ac_file" != x-; then
6363 $as_echo "/* $configure_input */" \
6364 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6365 } >"$ac_tmp/config.h" \
6366 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6367 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6369 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6372 mv "$ac_tmp/config.h" "$ac_file" \
6373 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6376 $as_echo "/* $configure_input */" \
6377 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6378 || as_fn_error $? "could not create -" "$LINENO" 5
6380 # Compute "$ac_file"'s index in $config_headers.
6383 for _am_header in $config_headers :; do
6385 $_am_arg | $_am_arg:* )
6388 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6391 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6392 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6393 X"$_am_arg" : 'X\(//\)[^/]' \| \
6394 X"$_am_arg" : 'X\(//\)$' \| \
6395 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6396 $as_echo X"$_am_arg" |
6397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6413 s/.*/./; q'`/stamp-h$_am_stamp_count
6416 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6417 $as_echo "$as_me: executing $ac_file commands" >&6;}
6422 case $ac_file$ac_mode in
6423 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6424 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6425 # are listed without --file. Let's play safe and only enable the eval
6426 # if we detect the quoting.
6427 case $CONFIG_FILES in
6428 *\'*) eval set x "$CONFIG_FILES" ;;
6429 *) set x $CONFIG_FILES ;;
6434 # Strip MF so we end up with the name of the file.
6435 mf=`echo "$mf" | sed -e 's/:.*$//'`
6436 # Check whether this is an Automake generated Makefile or not.
6437 # We used to match only the files named `Makefile.in', but
6438 # some people rename them; so instead we look at the file content.
6439 # Grep'ing the first line is not enough: some people post-process
6440 # each Makefile.in and add a new line on top of each file to say so.
6441 # Grep'ing the whole file is not good either: AIX grep has a line
6442 # limit of 2048, but all sed's we know have understand at least 4000.
6443 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6444 dirpart=`$as_dirname -- "$mf" ||
6445 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6446 X"$mf" : 'X\(//\)[^/]' \| \
6447 X"$mf" : 'X\(//\)$' \| \
6448 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6470 # Extract the definition of DEPDIR, am__include, and am__quote
6471 # from the Makefile without running `make'.
6472 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6473 test -z "$DEPDIR" && continue
6474 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6475 test -z "am__include" && continue
6476 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6477 # When using ansi2knr, U may be empty or an underscore; expand it
6478 U=`sed -n 's/^U = //p' < "$mf"`
6479 # Find all dependency output files, they are included files with
6480 # $(DEPDIR) in their names. We invoke sed twice because it is the
6481 # simplest approach to changing $(DEPDIR) to its actual value in the
6483 for file in `sed -n "
6484 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6485 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6486 # Make sure the directory exists.
6487 test -f "$dirpart/$file" && continue
6488 fdir=`$as_dirname -- "$file" ||
6489 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6490 X"$file" : 'X\(//\)[^/]' \| \
6491 X"$file" : 'X\(//\)$' \| \
6492 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6511 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6512 # echo "creating $dirpart/$file"
6513 echo '# dummy' > "$dirpart/$file"
6525 ac_clean_files=$ac_clean_files_save
6527 test $ac_write_fail = 0 ||
6528 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6531 # configure is writing to config.log, and then calls config.status.
6532 # config.status does its own redirection, appending to config.log.
6533 # Unfortunately, on DOS this fails, as config.log is still kept open
6534 # by configure, so config.status won't be able to write to it; its
6535 # output is simply discarded. So we exec the FD to /dev/null,
6536 # effectively closing config.log, so it can be properly (re)opened and
6537 # appended to by config.status. When coming back to configure, we
6538 # need to make the FD available again.
6539 if test "$no_create" != yes; then
6541 ac_config_status_args=
6542 test "$silent" = yes &&
6543 ac_config_status_args="$ac_config_status_args --quiet"
6545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6548 # would make configure fail if this is the last instruction.
6549 $ac_cs_success || as_fn_exit 1
6551 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6553 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}