2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for InputProto 2.2.
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 # Use only awk features that work with 7th edition Unix awk (1978).
542 # My, what an old awk you have, Mr. Solaris!
544 while (length(v1) && length(v2)) {
545 # Set d1 to be the next thing to compare from v1, and likewise for d2.
546 # Normally this is a single character, but if v1 and v2 contain digits,
547 # compare them as integers and fractions as strverscmp does.
548 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
549 # Split v1 and v2 into their leading digit string components d1 and d2,
550 # and advance v1 and v2 past the leading digit strings.
551 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
552 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
553 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
554 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
557 # Compare two fractions.
558 while (d1 ~ /^0/ && d2 ~ /^0/) {
559 d1 = substr(d1, 2); len1--
560 d2 = substr(d2, 2); len2--
562 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
563 # The two components differ in length, and the common prefix
564 # contains only leading zeros. Consider the longer to be less.
568 # Otherwise, compare as strings.
573 # A fraction is less than an integer.
578 # An integer is greater than a fraction.
581 # Compare two integers.
587 # The normal case, without worrying about digits.
588 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
589 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
594 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
595 # which mishandles some comparisons of empty strings to integers.
596 if (length(v2)) exit 1
597 if (length(v1)) exit 2
601 test -n "$DJDIR" || exec 7<&0 </dev/null
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
612 ac_default_prefix=/usr/local
614 ac_config_libobj_dir=.
621 # Identity of this package.
622 PACKAGE_NAME='InputProto'
623 PACKAGE_TARNAME='inputproto'
624 PACKAGE_VERSION='2.2'
625 PACKAGE_STRING='InputProto 2.2'
626 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
629 # Factoring default headers for most tests.
630 ac_includes_default="\
632 #ifdef HAVE_SYS_TYPES_H
633 # include <sys/types.h>
635 #ifdef HAVE_SYS_STAT_H
636 # include <sys/stat.h>
642 # ifdef HAVE_STDLIB_H
647 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
652 #ifdef HAVE_STRINGS_H
653 # include <strings.h>
655 #ifdef HAVE_INTTYPES_H
656 # include <inttypes.h>
665 ac_subst_vars='am__EXEEXT_FALSE
726 MAINTAINER_MODE_FALSE
736 INSTALL_STRIP_PROGRAM
778 program_transform_name
791 enable_option_checking
792 enable_maintainer_mode
793 enable_dependency_tracking
794 enable_strict_compilation
799 ac_precious_vars='build_alias
814 # Initialize some variables set by options.
816 ac_init_version=false
817 ac_unrecognized_opts=
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
828 program_transform_name=s,x,x,
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir='${exec_prefix}/bin'
843 sbindir='${exec_prefix}/sbin'
844 libexecdir='${exec_prefix}/libexec'
845 datarootdir='${prefix}/share'
846 datadir='${datarootdir}'
847 sysconfdir='${prefix}/etc'
848 sharedstatedir='${prefix}/com'
849 localstatedir='${prefix}/var'
850 includedir='${prefix}/include'
851 oldincludedir='/usr/include'
852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
853 infodir='${datarootdir}/info'
858 libdir='${exec_prefix}/lib'
859 localedir='${datarootdir}/locale'
860 mandir='${datarootdir}/man'
866 # If the previous option needs an argument, assign it.
867 if test -n "$ac_prev"; then
868 eval $ac_prev=\$ac_option
874 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 # Accept the important Cygnus configure options, so we can diagnose typos.
881 case $ac_dashdash$ac_option in
885 -bindir | --bindir | --bindi | --bind | --bin | --bi)
887 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
890 -build | --build | --buil | --bui | --bu)
891 ac_prev=build_alias ;;
892 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
893 build_alias=$ac_optarg ;;
895 -cache-file | --cache-file | --cache-fil | --cache-fi \
896 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
897 ac_prev=cache_file ;;
898 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
899 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
900 cache_file=$ac_optarg ;;
903 cache_file=config.cache ;;
905 -datadir | --datadir | --datadi | --datad)
907 -datadir=* | --datadir=* | --datadi=* | --datad=*)
908 datadir=$ac_optarg ;;
910 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
911 | --dataroo | --dataro | --datar)
912 ac_prev=datarootdir ;;
913 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
914 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
915 datarootdir=$ac_optarg ;;
917 -disable-* | --disable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error $? "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
931 eval enable_$ac_useropt=no ;;
933 -docdir | --docdir | --docdi | --doc | --do)
935 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
938 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
940 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
943 -enable-* | --enable-*)
944 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947 as_fn_error $? "invalid feature name: $ac_useropt"
948 ac_useropt_orig=$ac_useropt
949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 ac_unrecognized_sep=', ';;
957 eval enable_$ac_useropt=\$ac_optarg ;;
959 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
960 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
961 | --exec | --exe | --ex)
962 ac_prev=exec_prefix ;;
963 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
964 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
965 | --exec=* | --exe=* | --ex=*)
966 exec_prefix=$ac_optarg ;;
968 -gas | --gas | --ga | --g)
969 # Obsolete; use --with-gas.
972 -help | --help | --hel | --he | -h)
974 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
975 ac_init_help=recursive ;;
976 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
977 ac_init_help=short ;;
979 -host | --host | --hos | --ho)
980 ac_prev=host_alias ;;
981 -host=* | --host=* | --hos=* | --ho=*)
982 host_alias=$ac_optarg ;;
984 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
986 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
988 htmldir=$ac_optarg ;;
990 -includedir | --includedir | --includedi | --included | --include \
991 | --includ | --inclu | --incl | --inc)
992 ac_prev=includedir ;;
993 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
994 | --includ=* | --inclu=* | --incl=* | --inc=*)
995 includedir=$ac_optarg ;;
997 -infodir | --infodir | --infodi | --infod | --info | --inf)
999 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1000 infodir=$ac_optarg ;;
1002 -libdir | --libdir | --libdi | --libd)
1004 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1005 libdir=$ac_optarg ;;
1007 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1008 | --libexe | --libex | --libe)
1009 ac_prev=libexecdir ;;
1010 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1011 | --libexe=* | --libex=* | --libe=*)
1012 libexecdir=$ac_optarg ;;
1014 -localedir | --localedir | --localedi | --localed | --locale)
1015 ac_prev=localedir ;;
1016 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1017 localedir=$ac_optarg ;;
1019 -localstatedir | --localstatedir | --localstatedi | --localstated \
1020 | --localstate | --localstat | --localsta | --localst | --locals)
1021 ac_prev=localstatedir ;;
1022 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1023 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1024 localstatedir=$ac_optarg ;;
1026 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1028 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1029 mandir=$ac_optarg ;;
1031 -nfp | --nfp | --nf)
1032 # Obsolete; use --without-fp.
1035 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1036 | --no-cr | --no-c | -n)
1039 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1040 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1043 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1044 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1045 | --oldin | --oldi | --old | --ol | --o)
1046 ac_prev=oldincludedir ;;
1047 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1048 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1049 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1050 oldincludedir=$ac_optarg ;;
1052 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1054 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1055 prefix=$ac_optarg ;;
1057 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1058 | --program-pre | --program-pr | --program-p)
1059 ac_prev=program_prefix ;;
1060 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1061 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1062 program_prefix=$ac_optarg ;;
1064 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1065 | --program-suf | --program-su | --program-s)
1066 ac_prev=program_suffix ;;
1067 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1068 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1069 program_suffix=$ac_optarg ;;
1071 -program-transform-name | --program-transform-name \
1072 | --program-transform-nam | --program-transform-na \
1073 | --program-transform-n | --program-transform- \
1074 | --program-transform | --program-transfor \
1075 | --program-transfo | --program-transf \
1076 | --program-trans | --program-tran \
1077 | --progr-tra | --program-tr | --program-t)
1078 ac_prev=program_transform_name ;;
1079 -program-transform-name=* | --program-transform-name=* \
1080 | --program-transform-nam=* | --program-transform-na=* \
1081 | --program-transform-n=* | --program-transform-=* \
1082 | --program-transform=* | --program-transfor=* \
1083 | --program-transfo=* | --program-transf=* \
1084 | --program-trans=* | --program-tran=* \
1085 | --progr-tra=* | --program-tr=* | --program-t=*)
1086 program_transform_name=$ac_optarg ;;
1088 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1090 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1091 pdfdir=$ac_optarg ;;
1093 -psdir | --psdir | --psdi | --psd | --ps)
1095 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1099 | -silent | --silent | --silen | --sile | --sil)
1102 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1104 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1106 sbindir=$ac_optarg ;;
1108 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1109 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1110 | --sharedst | --shareds | --shared | --share | --shar \
1112 ac_prev=sharedstatedir ;;
1113 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1114 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1115 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1117 sharedstatedir=$ac_optarg ;;
1119 -site | --site | --sit)
1121 -site=* | --site=* | --sit=*)
1124 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1126 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1127 srcdir=$ac_optarg ;;
1129 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1130 | --syscon | --sysco | --sysc | --sys | --sy)
1131 ac_prev=sysconfdir ;;
1132 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1133 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1134 sysconfdir=$ac_optarg ;;
1136 -target | --target | --targe | --targ | --tar | --ta | --t)
1137 ac_prev=target_alias ;;
1138 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1139 target_alias=$ac_optarg ;;
1141 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1144 -version | --version | --versio | --versi | --vers | -V)
1145 ac_init_version=: ;;
1148 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 as_fn_error $? "invalid package name: $ac_useropt"
1152 ac_useropt_orig=$ac_useropt
1153 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1159 ac_unrecognized_sep=', ';;
1161 eval with_$ac_useropt=\$ac_optarg ;;
1163 -without-* | --without-*)
1164 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid package name: $ac_useropt"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1177 eval with_$ac_useropt=no ;;
1180 # Obsolete; use --with-x.
1183 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1184 | --x-incl | --x-inc | --x-in | --x-i)
1185 ac_prev=x_includes ;;
1186 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1187 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1188 x_includes=$ac_optarg ;;
1190 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1191 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1192 ac_prev=x_libraries ;;
1193 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1194 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1195 x_libraries=$ac_optarg ;;
1197 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1198 Try \`$0 --help' for more information"
1202 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 case $ac_envvar in #(
1205 '' | [0-9]* | *[!_$as_cr_alnum]* )
1206 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1208 eval $ac_envvar=\$ac_optarg
1209 export $ac_envvar ;;
1212 # FIXME: should be removed in autoconf 3.0.
1213 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1215 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222 if test -n "$ac_prev"; then
1223 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1224 as_fn_error $? "missing argument to $ac_option"
1227 if test -n "$ac_unrecognized_opts"; then
1228 case $enable_option_checking in
1230 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1231 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1235 # Check all directory arguments for consistency.
1236 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1237 datadir sysconfdir sharedstatedir localstatedir includedir \
1238 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1239 libdir localedir mandir
1241 eval ac_val=\$$ac_var
1242 # Remove trailing slashes.
1245 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1246 eval $ac_var=\$ac_val;;
1248 # Be sure to have absolute directory names.
1250 [\\/$]* | ?:[\\/]* ) continue;;
1251 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1253 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1256 # There might be people who depend on the old broken behavior: `$host'
1257 # used to hold the argument of --host etc.
1258 # FIXME: To remove some day.
1261 target=$target_alias
1263 # FIXME: To remove some day.
1264 if test "x$host_alias" != x; then
1265 if test "x$build_alias" = x; then
1266 cross_compiling=maybe
1267 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1268 If a cross compiler is detected then cross compile mode will be used" >&2
1269 elif test "x$build_alias" != "x$host_alias"; then
1275 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1277 test "$silent" = yes && exec 6>/dev/null
1280 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1281 ac_ls_di=`ls -di .` &&
1282 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1283 as_fn_error $? "working directory cannot be determined"
1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285 as_fn_error $? "pwd does not report name of working directory"
1288 # Find the source files, if location was not specified.
1289 if test -z "$srcdir"; then
1290 ac_srcdir_defaulted=yes
1291 # Try the directory containing this script, then the parent directory.
1292 ac_confdir=`$as_dirname -- "$as_myself" ||
1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1294 X"$as_myself" : 'X\(//\)[^/]' \| \
1295 X"$as_myself" : 'X\(//\)$' \| \
1296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1297 $as_echo X"$as_myself" |
1298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1320 ac_srcdir_defaulted=no
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1323 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1324 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1326 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1330 # When building in place, set srcdir=.
1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
1334 # Remove unnecessary trailing slashes from srcdir.
1335 # Double slashes in file names in object file debugging info
1336 # mess up M-x gdb in Emacs.
1338 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1340 for ac_var in $ac_precious_vars; do
1341 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1342 eval ac_env_${ac_var}_value=\$${ac_var}
1343 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1344 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1348 # Report the --help message.
1350 if test "$ac_init_help" = "long"; then
1351 # Omit some internal or obsolete options to make the list less imposing.
1352 # This message is too long to be a string in the A/UX 3.1 sh.
1354 \`configure' configures InputProto 2.2 to adapt to many kinds of systems.
1356 Usage: $0 [OPTION]... [VAR=VALUE]...
1358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1359 VAR=VALUE. See below for descriptions of some of the useful variables.
1361 Defaults for the options are specified in brackets.
1364 -h, --help display this help and exit
1365 --help=short display options specific to this package
1366 --help=recursive display the short help of all the included packages
1367 -V, --version display version information and exit
1368 -q, --quiet, --silent do not print \`checking ...' messages
1369 --cache-file=FILE cache test results in FILE [disabled]
1370 -C, --config-cache alias for \`--cache-file=config.cache'
1371 -n, --no-create do not create output files
1372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1374 Installation directories:
1375 --prefix=PREFIX install architecture-independent files in PREFIX
1376 [$ac_default_prefix]
1377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1380 By default, \`make install' will install all the files in
1381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1383 for instance \`--prefix=\$HOME'.
1385 For better control, use the options below.
1387 Fine tuning of the installation directories:
1388 --bindir=DIR user executables [EPREFIX/bin]
1389 --sbindir=DIR system admin executables [EPREFIX/sbin]
1390 --libexecdir=DIR program executables [EPREFIX/libexec]
1391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1394 --libdir=DIR object code libraries [EPREFIX/lib]
1395 --includedir=DIR C header files [PREFIX/include]
1396 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1397 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1398 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1399 --infodir=DIR info documentation [DATAROOTDIR/info]
1400 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1401 --mandir=DIR man documentation [DATAROOTDIR/man]
1402 --docdir=DIR documentation root [DATAROOTDIR/doc/inputproto]
1403 --htmldir=DIR html documentation [DOCDIR]
1404 --dvidir=DIR dvi documentation [DOCDIR]
1405 --pdfdir=DIR pdf documentation [DOCDIR]
1406 --psdir=DIR ps documentation [DOCDIR]
1412 --program-prefix=PREFIX prepend PREFIX to installed program names
1413 --program-suffix=SUFFIX append SUFFIX to installed program names
1414 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1417 --build=BUILD configure for building on BUILD [guessed]
1418 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1422 if test -n "$ac_init_help"; then
1423 case $ac_init_help in
1424 short | recursive ) echo "Configuration of InputProto 2.2:";;
1429 --disable-option-checking ignore unrecognized --enable/--with options
1430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1432 --enable-maintainer-mode enable make rules and dependencies not useful
1433 (and sometimes confusing) to the casual installer
1434 --disable-dependency-tracking speeds up one-time build
1435 --enable-dependency-tracking do not reject slow dependency extractors
1436 --enable-strict-compilation
1437 Enable all warnings from compiler and make them
1438 errors (default: disabled)
1439 --enable-silent-rules less verbose build output (undo: `make V=1')
1440 --disable-silent-rules verbose build output (undo: `make V=0')
1441 --enable-specs Enable building the specs (default: yes)
1444 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1445 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1446 --with-asciidoc Use asciidoc to regenerate documentation (default:
1449 Some influential environment variables:
1450 CC C compiler command
1451 CFLAGS C compiler flags
1452 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1453 nonstandard directory <lib dir>
1454 LIBS libraries to pass to the linker, e.g. -l<library>
1455 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1456 you have headers in a nonstandard directory <include dir>
1458 PKG_CONFIG path to pkg-config utility
1460 directories to add to pkg-config's search path
1462 path overriding pkg-config's built-in search path
1463 ASCIIDOC Path to asciidoc command
1465 Use these variables to override the choices made by `configure' or to help
1466 it to find libraries and programs with nonstandard names/locations.
1468 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1473 if test "$ac_init_help" = "recursive"; then
1474 # If there are subdirs, report their specific --help.
1475 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1476 test -d "$ac_dir" ||
1477 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1485 # A ".." for each directory in $ac_dir_suffix.
1486 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1487 case $ac_top_builddir_sub in
1488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1492 ac_abs_top_builddir=$ac_pwd
1493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1494 # for backward compatibility:
1495 ac_top_builddir=$ac_top_build_prefix
1498 .) # We are building in place.
1500 ac_top_srcdir=$ac_top_builddir_sub
1501 ac_abs_top_srcdir=$ac_pwd ;;
1502 [\\/]* | ?:[\\/]* ) # Absolute name.
1503 ac_srcdir=$srcdir$ac_dir_suffix;
1504 ac_top_srcdir=$srcdir
1505 ac_abs_top_srcdir=$srcdir ;;
1507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1508 ac_top_srcdir=$ac_top_build_prefix$srcdir
1509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1513 cd "$ac_dir" || { ac_status=$?; continue; }
1514 # Check for guested configure.
1515 if test -f "$ac_srcdir/configure.gnu"; then
1517 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1518 elif test -f "$ac_srcdir/configure"; then
1520 $SHELL "$ac_srcdir/configure" --help=recursive
1522 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1524 cd "$ac_pwd" || { ac_status=$?; break; }
1528 test -n "$ac_init_help" && exit $ac_status
1529 if $ac_init_version; then
1531 InputProto configure 2.2
1532 generated by GNU Autoconf 2.68
1534 Copyright (C) 2010 Free Software Foundation, Inc.
1535 This configure script is free software; the Free Software Foundation
1536 gives unlimited permission to copy, distribute and modify it.
1541 ## ------------------------ ##
1542 ## Autoconf initialization. ##
1543 ## ------------------------ ##
1545 # ac_fn_c_try_compile LINENO
1546 # --------------------------
1547 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1548 ac_fn_c_try_compile ()
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 rm -f conftest.$ac_objext
1552 if { { ac_try="$ac_compile"
1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1555 *) ac_try_echo=$ac_try;;
1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_compile") 2>conftest.err
1561 if test -s conftest.err; then
1562 grep -v '^ *+' conftest.err >conftest.er1
1563 cat conftest.er1 >&5
1564 mv -f conftest.er1 conftest.err
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } && {
1568 test -z "$ac_c_werror_flag" ||
1569 test ! -s conftest.err
1570 } && test -s conftest.$ac_objext; then :
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.$ac_ext >&5
1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1579 as_fn_set_status $ac_retval
1581 } # ac_fn_c_try_compile
1583 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1584 # ---------------------------------------------
1585 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1587 ac_fn_c_check_decl ()
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 as_decl_name=`echo $2|sed 's/ *(.*//'`
1591 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1593 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1594 if eval \${$3+:} false; then :
1595 $as_echo_n "(cached) " >&6
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h. */
1603 #ifndef $as_decl_name
1605 (void) $as_decl_use;
1607 (void) $as_decl_name;
1615 if ac_fn_c_try_compile "$LINENO"; then :
1620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1624 $as_echo "$ac_res" >&6; }
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 } # ac_fn_c_check_decl
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 if { { ac_try="$ac_cpp conftest.$ac_ext"
1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } > conftest.i && {
1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1666 # ac_fn_c_try_run LINENO
1667 # ----------------------
1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1669 # that executables *can* be run.
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if { { ac_try="$ac_link"
1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_link") 2>&5
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1684 { { case "(($ac_try" in
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_try") 2>&5
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; }; }; then :
1696 $as_echo "$as_me: program exited with status $ac_status" >&5
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1700 ac_retval=$ac_status
1702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 as_fn_set_status $ac_retval
1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1709 # -------------------------------------------------------
1710 # Tests whether HEADER exists and can be compiled using the include files in
1711 # INCLUDES, setting the cache variable VAR accordingly.
1712 ac_fn_c_check_header_compile ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if eval \${$3+:} false; then :
1718 $as_echo_n "(cached) " >&6
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h. */
1725 if ac_fn_c_try_compile "$LINENO"; then :
1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 } # ac_fn_c_check_header_compile
1738 cat >config.log <<_ACEOF
1739 This file contains any messages produced by compilers while
1740 running configure, to aid debugging if configure makes a mistake.
1742 It was created by InputProto $as_me 2.2, which was
1743 generated by GNU Autoconf 2.68. Invocation command line was
1755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1762 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1764 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1765 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1767 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1768 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1769 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1770 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir=.
1779 $as_echo "PATH: $as_dir"
1795 # Keep a trace of the command line.
1796 # Strip out --no-create and --no-recursion so they do not pile up.
1797 # Strip out --silent because we don't want to record it for future runs.
1798 # Also quote any args containing shell meta-characters.
1799 # Make two passes to allow for proper duplicate-argument suppression.
1803 ac_must_keep_next=false
1809 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1810 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1811 | -silent | --silent | --silen | --sile | --sil)
1814 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1817 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1819 as_fn_append ac_configure_args1 " '$ac_arg'"
1820 if test $ac_must_keep_next = true; then
1821 ac_must_keep_next=false # Got value, back to normal.
1824 *=* | --config-cache | -C | -disable-* | --disable-* \
1825 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1826 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1827 | -with-* | --with-* | -without-* | --without-* | --x)
1828 case "$ac_configure_args0 " in
1829 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1832 -* ) ac_must_keep_next=true ;;
1835 as_fn_append ac_configure_args " '$ac_arg'"
1840 { ac_configure_args0=; unset ac_configure_args0;}
1841 { ac_configure_args1=; unset ac_configure_args1;}
1843 # When interrupted or exit'd, cleanup temporary files, and complete
1844 # config.log. We remove comments because anyway the quotes in there
1845 # would cause problems or look ugly.
1846 # WARNING: Use '\'' to represent an apostrophe within the trap.
1847 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1848 trap 'exit_status=$?
1849 # Save into config.log some information that might help in debugging.
1853 $as_echo "## ---------------- ##
1854 ## Cache variables. ##
1855 ## ---------------- ##"
1857 # The following way of writing the cache mishandles newlines in values,
1859 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1860 eval ac_val=\$$ac_var
1864 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1865 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868 _ | IFS | as_nl) ;; #(
1869 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1870 *) { eval $ac_var=; unset $ac_var;} ;;
1875 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1876 *${as_nl}ac_space=\ *)
1878 "s/'\''/'\''\\\\'\'''\''/g;
1879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1889 $as_echo "## ----------------- ##
1890 ## Output variables. ##
1891 ## ----------------- ##"
1893 for ac_var in $ac_subst_vars
1895 eval ac_val=\$$ac_var
1897 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899 $as_echo "$ac_var='\''$ac_val'\''"
1903 if test -n "$ac_subst_files"; then
1904 $as_echo "## ------------------- ##
1905 ## File substitutions. ##
1906 ## ------------------- ##"
1908 for ac_var in $ac_subst_files
1910 eval ac_val=\$$ac_var
1912 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914 $as_echo "$ac_var='\''$ac_val'\''"
1919 if test -s confdefs.h; then
1920 $as_echo "## ----------- ##
1927 test "$ac_signal" != 0 &&
1928 $as_echo "$as_me: caught signal $ac_signal"
1929 $as_echo "$as_me: exit $exit_status"
1931 rm -f core *.core core.conftest.* &&
1932 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1935 for ac_signal in 1 2 13 15; do
1936 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1941 rm -f -r conftest* confdefs.h
1943 $as_echo "/* confdefs.h */" > confdefs.h
1945 # Predefined preprocessor variables.
1947 cat >>confdefs.h <<_ACEOF
1948 #define PACKAGE_NAME "$PACKAGE_NAME"
1951 cat >>confdefs.h <<_ACEOF
1952 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1955 cat >>confdefs.h <<_ACEOF
1956 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1959 cat >>confdefs.h <<_ACEOF
1960 #define PACKAGE_STRING "$PACKAGE_STRING"
1963 cat >>confdefs.h <<_ACEOF
1964 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE_URL "$PACKAGE_URL"
1972 # Let the site file select an alternate cache file if it wants to.
1973 # Prefer an explicitly selected file to automatically selected ones.
1976 if test -n "$CONFIG_SITE"; then
1977 # We do not want a PATH search for config.site.
1978 case $CONFIG_SITE in #((
1979 -*) ac_site_file1=./$CONFIG_SITE;;
1980 */*) ac_site_file1=$CONFIG_SITE;;
1981 *) ac_site_file1=./$CONFIG_SITE;;
1983 elif test "x$prefix" != xNONE; then
1984 ac_site_file1=$prefix/share/config.site
1985 ac_site_file2=$prefix/etc/config.site
1987 ac_site_file1=$ac_default_prefix/share/config.site
1988 ac_site_file2=$ac_default_prefix/etc/config.site
1990 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1992 test "x$ac_site_file" = xNONE && continue
1993 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1995 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1996 sed 's/^/| /' "$ac_site_file" >&5
1998 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2000 as_fn_error $? "failed to load site script $ac_site_file
2001 See \`config.log' for more details" "$LINENO" 5; }
2005 if test -r "$cache_file"; then
2006 # Some versions of bash will fail to source /dev/null (special files
2007 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2008 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2010 $as_echo "$as_me: loading cache $cache_file" >&6;}
2012 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2013 *) . "./$cache_file";;
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2018 $as_echo "$as_me: creating cache $cache_file" >&6;}
2022 # Check that the precious variables saved in the cache have kept the same
2024 ac_cache_corrupted=false
2025 for ac_var in $ac_precious_vars; do
2026 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2027 eval ac_new_set=\$ac_env_${ac_var}_set
2028 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2029 eval ac_new_val=\$ac_env_${ac_var}_value
2030 case $ac_old_set,$ac_new_set in
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2033 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2034 ac_cache_corrupted=: ;;
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2037 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2038 ac_cache_corrupted=: ;;
2041 if test "x$ac_old_val" != "x$ac_new_val"; then
2042 # differences in whitespace do not lead to failure.
2043 ac_old_val_w=`echo x $ac_old_val`
2044 ac_new_val_w=`echo x $ac_new_val`
2045 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2047 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2048 ac_cache_corrupted=:
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2051 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2052 eval $ac_var=\$ac_old_val
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2055 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2057 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2060 # Pass precious variables to config.status.
2061 if test "$ac_new_set" = set; then
2063 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2064 *) ac_arg=$ac_var=$ac_new_val ;;
2066 case " $ac_configure_args " in
2067 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2068 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2072 if $ac_cache_corrupted; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2076 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2077 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2079 ## -------------------- ##
2080 ## Main body of script. ##
2081 ## -------------------- ##
2084 ac_cpp='$CPP $CPPFLAGS'
2085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090 am__api_version='1.11'
2093 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2094 if test -f "$ac_dir/install-sh"; then
2096 ac_install_sh="$ac_aux_dir/install-sh -c"
2098 elif test -f "$ac_dir/install.sh"; then
2100 ac_install_sh="$ac_aux_dir/install.sh -c"
2102 elif test -f "$ac_dir/shtool"; then
2104 ac_install_sh="$ac_aux_dir/shtool install -c"
2108 if test -z "$ac_aux_dir"; then
2109 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2112 # These three variables are undocumented and unsupported,
2113 # and are intended to be withdrawn in a future Autoconf release.
2114 # They can cause serious problems if a builder's source tree is in a directory
2115 # whose full name contains unusual characters.
2116 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2117 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2118 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2121 # Find a good install program. We prefer a C program (faster),
2122 # so one script is as good as another. But avoid the broken or
2123 # incompatible versions:
2124 # SysV /etc/install, /usr/sbin/install
2125 # SunOS /usr/etc/install
2126 # IRIX /sbin/install
2128 # AmigaOS /C/install, which installs bootblocks on floppy discs
2129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2132 # OS/2's system install, which has a completely different semantic
2133 # ./install, which can be erroneously created by make from ./install.sh.
2134 # Reject install programs that cannot install multiple files.
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2136 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2137 if test -z "$INSTALL"; then
2138 if ${ac_cv_path_install+:} false; then :
2139 $as_echo_n "(cached) " >&6
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 # Account for people who put trailing slashes in PATH elements.
2147 case $as_dir/ in #((
2148 ./ | .// | /[cC]/* | \
2149 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2150 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2153 # OSF1 and SCO ODT 3.0 have their own names for install.
2154 # Don't use installbsd from OSF since it installs stuff as root
2156 for ac_prog in ginstall scoinst install; do
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2159 if test $ac_prog = install &&
2160 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2161 # AIX install. It has an incompatible calling convention.
2163 elif test $ac_prog = install &&
2164 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2165 # program-specific install script used by HP pwplus--don't use.
2168 rm -rf conftest.one conftest.two conftest.dir
2169 echo one > conftest.one
2170 echo two > conftest.two
2172 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2173 test -s conftest.one && test -s conftest.two &&
2174 test -s conftest.dir/conftest.one &&
2175 test -s conftest.dir/conftest.two
2177 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2190 rm -rf conftest.one conftest.two conftest.dir
2193 if test "${ac_cv_path_install+set}" = set; then
2194 INSTALL=$ac_cv_path_install
2196 # As a last resort, use the slow shell script. Don't cache a
2197 # value for INSTALL within a source directory, because that will
2198 # break other packages using the cache if that directory is
2199 # removed, or if the value is a relative name.
2200 INSTALL=$ac_install_sh
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2204 $as_echo "$INSTALL" >&6; }
2206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2207 # It thinks the first close brace ends the variable substitution.
2208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2212 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2215 $as_echo_n "checking whether build environment is sane... " >&6; }
2218 echo timestamp > conftest.file
2219 # Reject unsafe characters in $srcdir or the absolute working directory
2220 # name. Accept space and tab only in the latter.
2224 *[\\\"\#\$\&\'\`$am_lf]*)
2225 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2228 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2229 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2232 # Do `set' in a subshell so we don't clobber the current shell's
2233 # arguments. Must try -L first in case configure is actually a
2234 # symlink; some systems play weird games with the mod time of symlinks
2235 # (eg FreeBSD returns the mod time of the symlink's containing
2238 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2239 if test "$*" = "X"; then
2241 set X `ls -t "$srcdir/configure" conftest.file`
2244 if test "$*" != "X $srcdir/configure conftest.file" \
2245 && test "$*" != "X conftest.file $srcdir/configure"; then
2247 # If neither matched, then we have a broken ls. This can happen
2248 # if, for instance, CONFIG_SHELL is bash and it inherits a
2249 # broken ls alias from the environment. This has actually
2250 # happened. Such a system could not be considered "sane".
2251 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2252 alias in your environment" "$LINENO" 5
2255 test "$2" = conftest.file
2261 as_fn_error $? "newly created file is older than distributed files!
2262 Check your system clock" "$LINENO" 5
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2265 $as_echo "yes" >&6; }
2266 test "$program_prefix" != NONE &&
2267 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2268 # Use a double $ so make ignores it.
2269 test "$program_suffix" != NONE &&
2270 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2271 # Double any \ or $.
2272 # By default was `s,x,x', remove it if useless.
2273 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2274 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2276 # expand $ac_aux_dir to an absolute path
2277 am_aux_dir=`cd $ac_aux_dir && pwd`
2279 if test x"${MISSING+set}" != xset; then
2282 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2284 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2287 # Use eval to expand $SHELL
2288 if eval "$MISSING --run true"; then
2289 am_missing_run="$MISSING --run "
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2293 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2296 if test x"${install_sh}" != xset; then
2299 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2301 install_sh="\${SHELL} $am_aux_dir/install-sh"
2305 # Installed binaries are usually stripped using `strip' when the user
2306 # run `make install-strip'. However `strip' might not be the right
2307 # tool to use in cross-compilation environments, therefore Automake
2308 # will honor the `STRIP' environment variable to overrule this program.
2309 if test "$cross_compiling" != no; then
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2312 set dummy ${ac_tool_prefix}strip; ac_word=$2
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2314 $as_echo_n "checking for $ac_word... " >&6; }
2315 if ${ac_cv_prog_STRIP+:} false; then :
2316 $as_echo_n "(cached) " >&6
2318 if test -n "$STRIP"; then
2319 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 STRIP=$ac_cv_prog_STRIP
2339 if test -n "$STRIP"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2341 $as_echo "$STRIP" >&6; }
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2344 $as_echo "no" >&6; }
2349 if test -z "$ac_cv_prog_STRIP"; then
2351 # Extract the first word of "strip", so it can be a program name with args.
2352 set dummy strip; ac_word=$2
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2354 $as_echo_n "checking for $ac_word... " >&6; }
2355 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2356 $as_echo_n "(cached) " >&6
2358 if test -n "$ac_ct_STRIP"; then
2359 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_ac_ct_STRIP="strip"
2369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2379 if test -n "$ac_ct_STRIP"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2381 $as_echo "$ac_ct_STRIP" >&6; }
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 $as_echo "no" >&6; }
2387 if test "x$ac_ct_STRIP" = x; then
2390 case $cross_compiling:$ac_tool_warned in
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2394 ac_tool_warned=yes ;;
2399 STRIP="$ac_cv_prog_STRIP"
2403 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2406 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2407 if test -z "$MKDIR_P"; then
2408 if ${ac_cv_path_mkdir+:} false; then :
2409 $as_echo_n "(cached) " >&6
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2415 test -z "$as_dir" && as_dir=.
2416 for ac_prog in mkdir gmkdir; do
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2419 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2420 'mkdir (GNU coreutils) '* | \
2421 'mkdir (coreutils) '* | \
2422 'mkdir (fileutils) '4.1*)
2423 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2433 test -d ./--version && rmdir ./--version
2434 if test "${ac_cv_path_mkdir+set}" = set; then
2435 MKDIR_P="$ac_cv_path_mkdir -p"
2437 # As a last resort, use the slow shell script. Don't cache a
2438 # value for MKDIR_P within a source directory, because that will
2439 # break other packages using the cache if that directory is
2440 # removed, or if the value is a relative name.
2441 MKDIR_P="$ac_install_sh -d"
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2445 $as_echo "$MKDIR_P" >&6; }
2449 [\\/$]* | ?:[\\/]*) ;;
2450 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2453 for ac_prog in gawk mawk nawk awk
2455 # Extract the first word of "$ac_prog", so it can be a program name with args.
2456 set dummy $ac_prog; ac_word=$2
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if ${ac_cv_prog_AWK+:} false; then :
2460 $as_echo_n "(cached) " >&6
2462 if test -n "$AWK"; then
2463 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_AWK="$ac_prog"
2473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 if test -n "$AWK"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2485 $as_echo "$AWK" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488 $as_echo "no" >&6; }
2492 test -n "$AWK" && break
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2496 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2498 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2499 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2500 $as_echo_n "(cached) " >&6
2502 cat >conftest.make <<\_ACEOF
2505 @echo '@@@%%%=$(MAKE)=@@@%%%'
2507 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2508 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2510 eval ac_cv_prog_make_${ac_make}_set=yes;;
2512 eval ac_cv_prog_make_${ac_make}_set=no;;
2516 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2518 $as_echo "yes" >&6; }
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522 $as_echo "no" >&6; }
2523 SET_MAKE="MAKE=${MAKE-make}"
2526 rm -rf .tst 2>/dev/null
2527 mkdir .tst 2>/dev/null
2528 if test -d .tst; then
2533 rmdir .tst 2>/dev/null
2535 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2536 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2537 # is not polluted with repeated "-I."
2538 am__isrc=' -I$(srcdir)'
2539 # test to see if srcdir already configured
2540 if test -f $srcdir/config.status; then
2541 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2545 # test whether we have cygpath
2546 if test -z "$CYGPATH_W"; then
2547 if (cygpath --version) >/dev/null 2>/dev/null; then
2548 CYGPATH_W='cygpath -w'
2555 # Define the identity of the package.
2556 PACKAGE='inputproto'
2560 cat >>confdefs.h <<_ACEOF
2561 #define PACKAGE "$PACKAGE"
2565 cat >>confdefs.h <<_ACEOF
2566 #define VERSION "$VERSION"
2569 # Some tools Automake needs.
2571 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2574 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2577 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2580 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2583 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2585 # We need awk for the "check" target. The system "awk" is bad on
2587 # Always define AMTAR for backward compatibility.
2589 AMTAR=${AMTAR-"${am_missing_run}tar"}
2591 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2599 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2600 # Check whether --enable-maintainer-mode was given.
2601 if test "${enable_maintainer_mode+set}" = set; then :
2602 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2604 USE_MAINTAINER_MODE=no
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2608 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2609 if test $USE_MAINTAINER_MODE = yes; then
2610 MAINTAINER_MODE_TRUE=
2611 MAINTAINER_MODE_FALSE='#'
2613 MAINTAINER_MODE_TRUE='#'
2614 MAINTAINER_MODE_FALSE=
2617 MAINT=$MAINTAINER_MODE_TRUE
2621 # Require xorg-macros: XORG_WITH_ASCIIDOC
2633 DEPDIR="${am__leading_dot}deps"
2635 ac_config_commands="$ac_config_commands depfiles"
2638 am_make=${MAKE-make}
2639 cat > confinc << 'END'
2641 @echo this is the am__doit target
2644 # If we don't find an include directive, just comment out the code.
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2646 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2650 # First try GNU make style include.
2651 echo "include confinc" > confmf
2652 # Ignore all kinds of additional output from `make'.
2653 case `$am_make -s -f confmf 2> /dev/null` in #(
2654 *the\ am__doit\ target*)
2660 # Now try BSD make style include.
2661 if test "$am__include" = "#"; then
2662 echo '.include "confinc"' > confmf
2663 case `$am_make -s -f confmf 2> /dev/null` in #(
2664 *the\ am__doit\ target*)
2665 am__include=.include
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2674 $as_echo "$_am_result" >&6; }
2675 rm -f confinc confmf
2677 # Check whether --enable-dependency-tracking was given.
2678 if test "${enable_dependency_tracking+set}" = set; then :
2679 enableval=$enable_dependency_tracking;
2682 if test "x$enable_dependency_tracking" != xno; then
2683 am_depcomp="$ac_aux_dir/depcomp"
2686 if test "x$enable_dependency_tracking" != xno; then
2696 ac_cpp='$CPP $CPPFLAGS'
2697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2700 if test -n "$ac_tool_prefix"; then
2701 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2702 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_CC+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$CC"; then
2709 ac_cv_prog_CC="$CC" # Let the user override the test.
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$CC"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2731 $as_echo "$CC" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2739 if test -z "$ac_cv_prog_CC"; then
2741 # Extract the first word of "gcc", so it can be a program name with args.
2742 set dummy gcc; ac_word=$2
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2744 $as_echo_n "checking for $ac_word... " >&6; }
2745 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2746 $as_echo_n "(cached) " >&6
2748 if test -n "$ac_ct_CC"; then
2749 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir=.
2756 for ac_exec_ext in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_ac_ct_CC="gcc"
2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2769 if test -n "$ac_ct_CC"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2771 $as_echo "$ac_ct_CC" >&6; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2774 $as_echo "no" >&6; }
2777 if test "x$ac_ct_CC" = x; then
2780 case $cross_compiling:$ac_tool_warned in
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2784 ac_tool_warned=yes ;;
2792 if test -z "$CC"; then
2793 if test -n "$ac_tool_prefix"; then
2794 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2795 set dummy ${ac_tool_prefix}cc; ac_word=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if ${ac_cv_prog_CC+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 if test -n "$CC"; then
2802 ac_cv_prog_CC="$CC" # Let the user override the test.
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir=.
2809 for ac_exec_ext in '' $ac_executable_extensions; do
2810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2811 ac_cv_prog_CC="${ac_tool_prefix}cc"
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 if test -n "$CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2824 $as_echo "$CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2833 if test -z "$CC"; then
2834 # Extract the first word of "cc", so it can be a program name with args.
2835 set dummy cc; ac_word=$2
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837 $as_echo_n "checking for $ac_word... " >&6; }
2838 if ${ac_cv_prog_CC+:} false; then :
2839 $as_echo_n "(cached) " >&6
2841 if test -n "$CC"; then
2842 ac_cv_prog_CC="$CC" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2853 ac_prog_rejected=yes
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 if test $ac_prog_rejected = yes; then
2865 # We found a bogon in the path, so make sure we never use it.
2866 set dummy $ac_cv_prog_CC
2868 if test $# != 0; then
2869 # We chose a different compiler from the bogus one.
2870 # However, it has the same basename, so the bogon will be chosen
2871 # first if we set CC to just the basename; use the full file name.
2873 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2879 if test -n "$CC"; then
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2881 $as_echo "$CC" >&6; }
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884 $as_echo "no" >&6; }
2889 if test -z "$CC"; then
2890 if test -n "$ac_tool_prefix"; then
2891 for ac_prog in cl.exe
2893 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2894 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC="$CC" # Let the user override the test.
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2930 test -n "$CC" && break
2933 if test -z "$CC"; then
2935 for ac_prog in cl.exe
2937 # Extract the first word of "$ac_prog", so it can be a program name with args.
2938 set dummy $ac_prog; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 if test -n "$ac_ct_CC"; then
2945 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2954 ac_cv_prog_ac_ct_CC="$ac_prog"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2965 if test -n "$ac_ct_CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2967 $as_echo "$ac_ct_CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2974 test -n "$ac_ct_CC" && break
2977 if test "x$ac_ct_CC" = x; then
2980 case $cross_compiling:$ac_tool_warned in
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned=yes ;;
2993 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995 as_fn_error $? "no acceptable C compiler found in \$PATH
2996 See \`config.log' for more details" "$LINENO" 5; }
2998 # Provide some information about the compiler.
2999 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3002 for ac_option in --version -v -V -qversion; do
3003 { { ac_try="$ac_compiler $ac_option >&5"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3012 if test -s conftest.err; then
3014 ... rest of stderr output deleted ...
3015 10q' conftest.err >conftest.er1
3016 cat conftest.er1 >&5
3018 rm -f conftest.er1 conftest.err
3019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020 test $ac_status = 0; }
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3034 ac_clean_files_save=$ac_clean_files
3035 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3036 # Try to create an executable without -o first, disregard a.out.
3037 # It will help us diagnose broken compilers, and finding out an intuition
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3040 $as_echo_n "checking whether the C compiler works... " >&6; }
3041 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3043 # The possible output files:
3044 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3047 for ac_file in $ac_files
3050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3051 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3056 if { { ac_try="$ac_link_default"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_link_default") 2>&5
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; }; then :
3067 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3068 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3069 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3070 # so that the user can short-circuit this test for compilers unknown to
3072 for ac_file in $ac_files ''
3074 test -f "$ac_file" || continue
3076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3079 # We found the default executable, but exeext='' is most
3083 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3085 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3087 # We set ac_cv_exeext here because the later test for it is not
3088 # safe: cross compilers may not add the suffix if given an `-o'
3089 # argument, so we may need to know it at that point already.
3090 # Even if this section looks crufty: it has the advantage of
3097 test "$ac_cv_exeext" = no && ac_cv_exeext=
3102 if test -z "$ac_file"; then :
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3105 $as_echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 as_fn_error 77 "C compiler cannot create executables
3111 See \`config.log' for more details" "$LINENO" 5; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3114 $as_echo "yes" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3117 $as_echo_n "checking for C compiler default output file name... " >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3119 $as_echo "$ac_file" >&6; }
3120 ac_exeext=$ac_cv_exeext
3122 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3123 ac_clean_files=$ac_clean_files_save
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3125 $as_echo_n "checking for suffix of executables... " >&6; }
3126 if { { ac_try="$ac_link"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_link") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; then :
3137 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3138 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3139 # work properly (i.e., refer to `conftest.exe'), while it won't with
3141 for ac_file in conftest.exe conftest conftest.*; do
3142 test -f "$ac_file" || continue
3144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3145 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 $? "cannot compute suffix of executables: cannot compile and link
3154 See \`config.log' for more details" "$LINENO" 5; }
3156 rm -f conftest conftest$ac_cv_exeext
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3158 $as_echo "$ac_cv_exeext" >&6; }
3160 rm -f conftest.$ac_ext
3161 EXEEXT=$ac_cv_exeext
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3169 FILE *f = fopen ("conftest.out", "w");
3170 return ferror (f) || fclose (f) != 0;
3176 ac_clean_files="$ac_clean_files conftest.out"
3177 # Check that the compiler produces executables we can run. If not, either
3178 # the compiler is broken, or we cross compile.
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3180 $as_echo_n "checking whether we are cross compiling... " >&6; }
3181 if test "$cross_compiling" != yes; then
3182 { { ac_try="$ac_link"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_link") 2>&5
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }
3193 if { ac_try='./conftest$ac_cv_exeext'
3194 { { case "(($ac_try" in
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200 (eval "$ac_try") 2>&5
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; }; }; then
3206 if test "$cross_compiling" = maybe; then
3209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3211 as_fn_error $? "cannot run C compiled programs.
3212 If you meant to cross compile, use \`--host'.
3213 See \`config.log' for more details" "$LINENO" 5; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3218 $as_echo "$cross_compiling" >&6; }
3220 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3221 ac_clean_files=$ac_clean_files_save
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3223 $as_echo_n "checking for suffix of object files... " >&6; }
3224 if ${ac_cv_objext+:} false; then :
3225 $as_echo_n "(cached) " >&6
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3238 rm -f conftest.o conftest.obj
3239 if { { ac_try="$ac_compile"
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_compile") 2>&5
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }; then :
3250 for ac_file in conftest.o conftest.obj conftest.*; do
3251 test -f "$ac_file" || continue;
3253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3254 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3259 $as_echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.$ac_ext >&5
3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error $? "cannot compute suffix of object files: cannot compile
3265 See \`config.log' for more details" "$LINENO" 5; }
3267 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3270 $as_echo "$ac_cv_objext" >&6; }
3271 OBJEXT=$ac_cv_objext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3274 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3275 if ${ac_cv_c_compiler_gnu+:} false; then :
3276 $as_echo_n "(cached) " >&6
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3292 if ac_fn_c_try_compile "$LINENO"; then :
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3302 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3303 if test $ac_compiler_gnu = yes; then
3308 ac_test_CFLAGS=${CFLAGS+set}
3309 ac_save_CFLAGS=$CFLAGS
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3311 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3312 if ${ac_cv_prog_cc_g+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 ac_save_c_werror_flag=$ac_c_werror_flag
3316 ac_c_werror_flag=yes
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile "$LINENO"; then :
3348 ac_c_werror_flag=$ac_save_c_werror_flag
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 if ac_fn_c_try_compile "$LINENO"; then :
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_c_werror_flag=$ac_save_c_werror_flag
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3372 $as_echo "$ac_cv_prog_cc_g" >&6; }
3373 if test "$ac_test_CFLAGS" = set; then
3374 CFLAGS=$ac_save_CFLAGS
3375 elif test $ac_cv_prog_cc_g = yes; then
3376 if test "$GCC" = yes; then
3382 if test "$GCC" = yes; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3389 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3390 if ${ac_cv_prog_cc_c89+:} false; then :
3391 $as_echo_n "(cached) " >&6
3393 ac_cv_prog_cc_c89=no
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 #include <sys/types.h>
3400 #include <sys/stat.h>
3401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3402 struct buf { int x; };
3403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3404 static char *e (p, i)
3410 static char *f (char * (*g) (char **, int), char **p, ...)
3415 s = g (p, va_arg (v,int));
3420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3421 function prototypes and stuff, but not '\xHH' hex character constants.
3422 These don't provoke an error unfortunately, instead are silently treated
3423 as 'x'. The following induces an error, until -std is added to get
3424 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3425 array size at least. It's necessary to write '\x00'==0 to get something
3426 that's true only with -std. */
3427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3430 inside strings and character constants. */
3432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3434 int test (int i, double x);
3435 struct s1 {int (*f) (int a);};
3436 struct s2 {int (*f) (double a);};
3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3449 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3451 CC="$ac_save_CC $ac_arg"
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 ac_cv_prog_cc_c89=$ac_arg
3455 rm -f core conftest.err conftest.$ac_objext
3456 test "x$ac_cv_prog_cc_c89" != "xno" && break
3458 rm -f conftest.$ac_ext
3463 case "x$ac_cv_prog_cc_c89" in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3466 $as_echo "none needed" >&6; } ;;
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3469 $as_echo "unsupported" >&6; } ;;
3471 CC="$CC $ac_cv_prog_cc_c89"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3475 if test "x$ac_cv_prog_cc_c89" != xno; then :
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485 depcc="$CC" am_compiler_list=
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3488 $as_echo_n "checking dependency style of $depcc... " >&6; }
3489 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3493 # We make a subdir and do the tests there. Otherwise we can end up
3494 # making bogus files that we don't know about and never remove. For
3495 # instance it was reported that on HP-UX the gcc test will end up
3496 # making a dummy file named `D' -- because `-MD' means `put the output
3499 # Copy depcomp to subdir because otherwise we won't find it if we're
3500 # using a relative directory.
3501 cp "$am_depcomp" conftest.dir
3503 # We will build objects and dependencies in a subdirectory because
3504 # it helps to detect inapplicable dependency modes. For instance
3505 # both Tru64's cc and ICC support -MD to output dependencies as a
3506 # side effect of compilation, but ICC will put the dependencies in
3507 # the current directory while Tru64 will put them in the object
3511 am_cv_CC_dependencies_compiler_type=none
3512 if test "$am_compiler_list" = ""; then
3513 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3516 case " $depcc " in #(
3517 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3520 for depmode in $am_compiler_list; do
3521 # Setup a source with many dependencies, because some compilers
3522 # like to wrap large dependency lists on column 80 (with \), and
3523 # we should not choose a depcomp mode which is confused by this.
3525 # We need to recreate these files for each test, as the compiler may
3526 # overwrite some of them when testing with obscure command lines.
3527 # This happens at least with the AIX C compiler.
3529 for i in 1 2 3 4 5 6; do
3530 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3531 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3532 # Solaris 8's {/usr,}/bin/sh.
3533 touch sub/conftst$i.h
3535 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3537 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3538 # mode. It turns out that the SunPro C++ compiler does not properly
3539 # handle `-M -o', and we need to detect this. Also, some Intel
3540 # versions had trouble with output in subdirs
3541 am__obj=sub/conftest.${OBJEXT-o}
3542 am__minus_obj="-o $am__obj"
3545 # This depmode causes a compiler race in universal mode.
3546 test "$am__universal" = false || continue
3549 # after this tag, mechanisms are not by side-effect, so they'll
3550 # only be used when explicitly requested
3551 if test "x$enable_dependency_tracking" = xyes; then
3557 msvisualcpp | msvcmsys)
3558 # This compiler won't grok `-c -o', but also, the minuso test has
3559 # not run yet. These depmodes are late enough in the game, and
3560 # so weak that their functioning should not be impacted.
3561 am__obj=conftest.${OBJEXT-o}
3566 if depmode=$depmode \
3567 source=sub/conftest.c object=$am__obj \
3568 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3569 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3570 >/dev/null 2>conftest.err &&
3571 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3572 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3573 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3574 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3575 # icc doesn't choke on unknown options, it will just issue warnings
3576 # or remarks (even with -Werror). So we grep stderr for any message
3577 # that says an option was ignored or not supported.
3578 # When given -MP, icc 7.0 and 7.1 complain thusly:
3579 # icc: Command line warning: ignoring option '-M'; no argument required
3580 # The diagnosis changed in icc 8.0:
3581 # icc: Command line remark: option '-MP' not supported
3582 if (grep 'ignoring option' conftest.err ||
3583 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3584 am_cv_CC_dependencies_compiler_type=$depmode
3593 am_cv_CC_dependencies_compiler_type=none
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3598 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3599 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3602 test "x$enable_dependency_tracking" != xno \
3603 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3605 am__fastdepCC_FALSE='#'
3607 am__fastdepCC_TRUE='#'
3608 am__fastdepCC_FALSE=
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3613 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3614 if ${ac_cv_prog_cc_c99+:} false; then :
3615 $as_echo_n "(cached) " >&6
3617 ac_cv_prog_cc_c99=no
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3622 #include <stdbool.h>
3627 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3628 #define debug(...) fprintf (stderr, __VA_ARGS__)
3629 #define showlist(...) puts (#__VA_ARGS__)
3630 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3632 test_varargs_macros (void)
3637 debug ("X = %d\n", x);
3638 showlist (The first, second, and third items.);
3639 report (x>y, "x is %d but y is %d", x, y);
3642 // Check long long types.
3643 #define BIG64 18446744073709551615ull
3644 #define BIG32 4294967295ul
3645 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3647 your preprocessor is broken;
3651 your preprocessor is broken;
3653 static long long int bignum = -9223372036854775807LL;
3654 static unsigned long long int ubignum = BIG64;
3656 struct incomplete_array
3664 const wchar_t *name;
3668 typedef const char *ccp;
3671 test_restrict (ccp restrict text)
3673 // See if C++-style comments work.
3674 // Iterate through items via the restricted pointer.
3675 // Also check for declarations in for loops.
3676 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3681 // Check varargs and va_copy.
3683 test_varargs (const char *format, ...)
3686 va_start (args, format);
3688 va_copy (args_copy, args);
3699 str = va_arg (args_copy, const char *);
3702 number = va_arg (args_copy, int);
3705 fnumber = va_arg (args_copy, double);
3720 _Bool success = false;
3723 if (test_restrict ("String literal") == 0)
3725 char *restrict newvar = "Another string";
3728 test_varargs ("s, d' f .", "string", 65, 34.234);
3729 test_varargs_macros ();
3731 // Check flexible array members.
3732 struct incomplete_array *ia =
3733 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3735 for (int i = 0; i < ia->datasize; ++i)
3736 ia->data[i] = i * 1.234;
3738 // Check named initializers.
3739 struct named_init ni = {
3741 .name = L"Test wide string",
3742 .average = 543.34343,
3747 int dynamic_array[ni.number];
3748 dynamic_array[ni.number - 1] = 543;
3750 // work around unused variable warnings
3751 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3752 || dynamic_array[ni.number - 1] != 543);
3758 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3760 CC="$ac_save_CC $ac_arg"
3761 if ac_fn_c_try_compile "$LINENO"; then :
3762 ac_cv_prog_cc_c99=$ac_arg
3764 rm -f core conftest.err conftest.$ac_objext
3765 test "x$ac_cv_prog_cc_c99" != "xno" && break
3767 rm -f conftest.$ac_ext
3772 case "x$ac_cv_prog_cc_c99" in
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3775 $as_echo "none needed" >&6; } ;;
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3778 $as_echo "unsupported" >&6; } ;;
3780 CC="$CC $ac_cv_prog_cc_c99"
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3782 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3784 if test "x$ac_cv_prog_cc_c99" != xno; then :
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3796 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3797 # On Suns, sometimes $CPP names a directory.
3798 if test -n "$CPP" && test -d "$CPP"; then
3801 if test -z "$CPP"; then
3802 if ${ac_cv_prog_CPP+:} false; then :
3803 $as_echo_n "(cached) " >&6
3805 # Double quotes because CPP needs to be expanded
3806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3809 for ac_c_preproc_warn_flag in '' yes
3811 # Use a header file that comes with gcc, so configuring glibc
3812 # with a fresh cross-compiler works.
3813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3814 # <limits.h> exists even on freestanding compilers.
3815 # On the NeXT, cc -E runs the code through the compiler's parser,
3816 # not just through cpp. "Syntax error" is here to catch this case.
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3820 # include <limits.h>
3822 # include <assert.h>
3826 if ac_fn_c_try_cpp "$LINENO"; then :
3829 # Broken: fails on valid input.
3832 rm -f conftest.err conftest.i conftest.$ac_ext
3834 # OK, works on sane cases. Now check whether nonexistent headers
3835 # can be detected and how.
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3838 #include <ac_nonexistent.h>
3840 if ac_fn_c_try_cpp "$LINENO"; then :
3841 # Broken: success on invalid input.
3844 # Passes both tests.
3848 rm -f conftest.err conftest.i conftest.$ac_ext
3851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3852 rm -f conftest.i conftest.err conftest.$ac_ext
3853 if $ac_preproc_ok; then :
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3866 $as_echo "$CPP" >&6; }
3868 for ac_c_preproc_warn_flag in '' yes
3870 # Use a header file that comes with gcc, so configuring glibc
3871 # with a fresh cross-compiler works.
3872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3873 # <limits.h> exists even on freestanding compilers.
3874 # On the NeXT, cc -E runs the code through the compiler's parser,
3875 # not just through cpp. "Syntax error" is here to catch this case.
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3879 # include <limits.h>
3881 # include <assert.h>
3885 if ac_fn_c_try_cpp "$LINENO"; then :
3888 # Broken: fails on valid input.
3891 rm -f conftest.err conftest.i conftest.$ac_ext
3893 # OK, works on sane cases. Now check whether nonexistent headers
3894 # can be detected and how.
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3897 #include <ac_nonexistent.h>
3899 if ac_fn_c_try_cpp "$LINENO"; then :
3900 # Broken: success on invalid input.
3903 # Passes both tests.
3907 rm -f conftest.err conftest.i conftest.$ac_ext
3910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3911 rm -f conftest.i conftest.err conftest.$ac_ext
3912 if $ac_preproc_ok; then :
3915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3918 See \`config.log' for more details" "$LINENO" 5; }
3922 ac_cpp='$CPP $CPPFLAGS'
3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3929 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3930 if ${ac_cv_path_GREP+:} false; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -z "$GREP"; then
3934 ac_path_GREP_found=false
3935 # Loop through the user's path and test for each of PROGNAME-LIST
3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3940 test -z "$as_dir" && as_dir=.
3941 for ac_prog in grep ggrep; do
3942 for ac_exec_ext in '' $ac_executable_extensions; do
3943 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3944 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3945 # Check for GNU ac_path_GREP and select it if it is found.
3946 # Check for GNU $ac_path_GREP
3947 case `"$ac_path_GREP" --version 2>&1` in
3949 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3952 $as_echo_n 0123456789 >"conftest.in"
3955 cat "conftest.in" "conftest.in" >"conftest.tmp"
3956 mv "conftest.tmp" "conftest.in"
3957 cp "conftest.in" "conftest.nl"
3958 $as_echo 'GREP' >> "conftest.nl"
3959 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3961 as_fn_arith $ac_count + 1 && ac_count=$as_val
3962 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3963 # Best one so far, save it but keep looking for a better one
3964 ac_cv_path_GREP="$ac_path_GREP"
3965 ac_path_GREP_max=$ac_count
3967 # 10*(2^10) chars as input seems more than enough
3968 test $ac_count -gt 10 && break
3970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3973 $ac_path_GREP_found && break 3
3978 if test -z "$ac_cv_path_GREP"; then
3979 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3982 ac_cv_path_GREP=$GREP
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3987 $as_echo "$ac_cv_path_GREP" >&6; }
3988 GREP="$ac_cv_path_GREP"
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3992 $as_echo_n "checking for egrep... " >&6; }
3993 if ${ac_cv_path_EGREP+:} false; then :
3994 $as_echo_n "(cached) " >&6
3996 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3997 then ac_cv_path_EGREP="$GREP -E"
3999 if test -z "$EGREP"; then
4000 ac_path_EGREP_found=false
4001 # Loop through the user's path and test for each of PROGNAME-LIST
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4006 test -z "$as_dir" && as_dir=.
4007 for ac_prog in egrep; do
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4010 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4011 # Check for GNU ac_path_EGREP and select it if it is found.
4012 # Check for GNU $ac_path_EGREP
4013 case `"$ac_path_EGREP" --version 2>&1` in
4015 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4018 $as_echo_n 0123456789 >"conftest.in"
4021 cat "conftest.in" "conftest.in" >"conftest.tmp"
4022 mv "conftest.tmp" "conftest.in"
4023 cp "conftest.in" "conftest.nl"
4024 $as_echo 'EGREP' >> "conftest.nl"
4025 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4026 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4027 as_fn_arith $ac_count + 1 && ac_count=$as_val
4028 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4029 # Best one so far, save it but keep looking for a better one
4030 ac_cv_path_EGREP="$ac_path_EGREP"
4031 ac_path_EGREP_max=$ac_count
4033 # 10*(2^10) chars as input seems more than enough
4034 test $ac_count -gt 10 && break
4036 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4039 $ac_path_EGREP_found && break 3
4044 if test -z "$ac_cv_path_EGREP"; then
4045 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4048 ac_cv_path_EGREP=$EGREP
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4054 $as_echo "$ac_cv_path_EGREP" >&6; }
4055 EGREP="$ac_cv_path_EGREP"
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4059 $as_echo_n "checking for ANSI C header files... " >&6; }
4060 if ${ac_cv_header_stdc+:} false; then :
4061 $as_echo_n "(cached) " >&6
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4078 if ac_fn_c_try_compile "$LINENO"; then :
4079 ac_cv_header_stdc=yes
4081 ac_cv_header_stdc=no
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 if test $ac_cv_header_stdc = yes; then
4086 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4093 $EGREP "memchr" >/dev/null 2>&1; then :
4096 ac_cv_header_stdc=no
4102 if test $ac_cv_header_stdc = yes; then
4103 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4110 $EGREP "free" >/dev/null 2>&1; then :
4113 ac_cv_header_stdc=no
4119 if test $ac_cv_header_stdc = yes; then
4120 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4121 if test "$cross_compiling" = yes; then :
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4128 #if ((' ' & 0x0FF) == 0x020)
4129 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4130 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4132 # define ISLOWER(c) \
4133 (('a' <= (c) && (c) <= 'i') \
4134 || ('j' <= (c) && (c) <= 'r') \
4135 || ('s' <= (c) && (c) <= 'z'))
4136 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4139 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4144 for (i = 0; i < 256; i++)
4145 if (XOR (islower (i), ISLOWER (i))
4146 || toupper (i) != TOUPPER (i))
4151 if ac_fn_c_try_run "$LINENO"; then :
4154 ac_cv_header_stdc=no
4156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4157 conftest.$ac_objext conftest.beam conftest.$ac_ext
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4163 $as_echo "$ac_cv_header_stdc" >&6; }
4164 if test $ac_cv_header_stdc = yes; then
4166 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4170 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4171 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4172 inttypes.h stdint.h unistd.h
4174 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4175 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4178 cat >>confdefs.h <<_ACEOF
4179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4189 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
4190 if test "x$ac_cv_have_decl___clang__" = xyes; then :
4196 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4197 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4203 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4204 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4217 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4218 if test -n "$ac_tool_prefix"; then
4219 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4220 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4222 $as_echo_n "checking for $ac_word... " >&6; }
4223 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4224 $as_echo_n "(cached) " >&6
4228 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir=.
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4238 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4250 if test -n "$PKG_CONFIG"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4252 $as_echo "$PKG_CONFIG" >&6; }
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4260 if test -z "$ac_cv_path_PKG_CONFIG"; then
4261 ac_pt_PKG_CONFIG=$PKG_CONFIG
4262 # Extract the first word of "pkg-config", so it can be a program name with args.
4263 set dummy pkg-config; ac_word=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 case $ac_pt_PKG_CONFIG in
4271 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir=.
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4281 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4293 if test -n "$ac_pt_PKG_CONFIG"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4295 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4301 if test "x$ac_pt_PKG_CONFIG" = x; then
4304 case $cross_compiling:$ac_tool_warned in
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4308 ac_tool_warned=yes ;;
4310 PKG_CONFIG=$ac_pt_PKG_CONFIG
4313 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4317 if test -n "$PKG_CONFIG"; then
4318 _pkg_min_version=0.9.0
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4320 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4321 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4323 $as_echo "yes" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4330 # Make sure we can run config.sub.
4331 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4332 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4335 $as_echo_n "checking build system type... " >&6; }
4336 if ${ac_cv_build+:} false; then :
4337 $as_echo_n "(cached) " >&6
4339 ac_build_alias=$build_alias
4340 test "x$ac_build_alias" = x &&
4341 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4342 test "x$ac_build_alias" = x &&
4343 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4344 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4345 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4349 $as_echo "$ac_cv_build" >&6; }
4350 case $ac_cv_build in
4352 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4355 ac_save_IFS=$IFS; IFS='-'
4361 # Remember, the first character of IFS is used to create $*,
4362 # except with old shells:
4365 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4369 $as_echo_n "checking host system type... " >&6; }
4370 if ${ac_cv_host+:} false; then :
4371 $as_echo_n "(cached) " >&6
4373 if test "x$host_alias" = x; then
4374 ac_cv_host=$ac_cv_build
4376 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4377 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4382 $as_echo "$ac_cv_host" >&6; }
4385 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4388 ac_save_IFS=$IFS; IFS='-'
4394 # Remember, the first character of IFS is used to create $*,
4395 # except with old shells:
4398 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4402 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4403 if ${ac_cv_path_SED+:} false; then :
4404 $as_echo_n "(cached) " >&6
4406 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4407 for ac_i in 1 2 3 4 5 6 7; do
4408 ac_script="$ac_script$as_nl$ac_script"
4410 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4411 { ac_script=; unset ac_script;}
4412 if test -z "$SED"; then
4413 ac_path_SED_found=false
4414 # Loop through the user's path and test for each of PROGNAME-LIST
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 for ac_prog in sed gsed; do
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4423 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4424 # Check for GNU ac_path_SED and select it if it is found.
4425 # Check for GNU $ac_path_SED
4426 case `"$ac_path_SED" --version 2>&1` in
4428 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4431 $as_echo_n 0123456789 >"conftest.in"
4434 cat "conftest.in" "conftest.in" >"conftest.tmp"
4435 mv "conftest.tmp" "conftest.in"
4436 cp "conftest.in" "conftest.nl"
4437 $as_echo '' >> "conftest.nl"
4438 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4439 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4440 as_fn_arith $ac_count + 1 && ac_count=$as_val
4441 if test $ac_count -gt ${ac_path_SED_max-0}; then
4442 # Best one so far, save it but keep looking for a better one
4443 ac_cv_path_SED="$ac_path_SED"
4444 ac_path_SED_max=$ac_count
4446 # 10*(2^10) chars as input seems more than enough
4447 test $ac_count -gt 10 && break
4449 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4452 $ac_path_SED_found && break 3
4457 if test -z "$ac_cv_path_SED"; then
4458 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4466 $as_echo "$ac_cv_path_SED" >&6; }
4467 SED="$ac_cv_path_SED"
4475 if test "x$GCC" = xyes ; then
4476 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4477 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4478 -Wbad-function-cast -Wformat=2"
4479 case `$CC -dumpversion` in
4481 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4485 if test "x$SUNCC" = "xyes"; then
4492 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4497 # Check whether --enable-strict-compilation was given.
4498 if test "${enable_strict_compilation+set}" = set; then :
4499 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4504 if test "x$GCC" = xyes ; then
4505 STRICT_CFLAGS="-pedantic -Werror"
4506 # Add -Werror=attributes if supported (gcc 4.2 & later)
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
4508 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
4509 save_CFLAGS="$CFLAGS"
4510 CFLAGS="$CFLAGS $STRICT_CFLAGS -Werror=attributes"
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4515 if ac_fn_c_try_compile "$LINENO"; then :
4516 STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4518 $as_echo "yes" >&6; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 CFLAGS="$save_CFLAGS"
4525 elif test "x$SUNCC" = "xyes"; then
4526 STRICT_CFLAGS="-errwarn"
4527 elif test "x$INTELCC" = "xyes"; then
4528 STRICT_CFLAGS="-Werror"
4530 if test "x$STRICT_COMPILE" = "xyes"; then
4531 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4538 cat >>confdefs.h <<_ACEOF
4539 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4542 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4543 if test "x$PVM" = "x"; then
4547 cat >>confdefs.h <<_ACEOF
4548 #define PACKAGE_VERSION_MINOR $PVM
4551 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4552 if test "x$PVP" = "x"; then
4556 cat >>confdefs.h <<_ACEOF
4557 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4562 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4563 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4564 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4565 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4570 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4571 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4572 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4573 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4574 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4581 if test x$APP_MAN_SUFFIX = x ; then
4584 if test x$APP_MAN_DIR = x ; then
4585 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4588 if test x$LIB_MAN_SUFFIX = x ; then
4591 if test x$LIB_MAN_DIR = x ; then
4592 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4595 if test x$FILE_MAN_SUFFIX = x ; then
4597 solaris*) FILE_MAN_SUFFIX=4 ;;
4598 *) FILE_MAN_SUFFIX=5 ;;
4601 if test x$FILE_MAN_DIR = x ; then
4602 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4605 if test x$MISC_MAN_SUFFIX = x ; then
4607 solaris*) MISC_MAN_SUFFIX=5 ;;
4608 *) MISC_MAN_SUFFIX=7 ;;
4611 if test x$MISC_MAN_DIR = x ; then
4612 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4615 if test x$DRIVER_MAN_SUFFIX = x ; then
4617 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4618 *) DRIVER_MAN_SUFFIX=4 ;;
4621 if test x$DRIVER_MAN_DIR = x ; then
4622 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4625 if test x$ADMIN_MAN_SUFFIX = x ; then
4627 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4628 *) ADMIN_MAN_SUFFIX=8 ;;
4631 if test x$ADMIN_MAN_DIR = x ; then
4632 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4649 XORG_MAN_PAGE="X Version 11"
4652 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4653 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4654 -e 's|__xservername__|Xorg|g' \
4655 -e 's|__xconfigfile__|xorg.conf|g' \
4656 -e 's|__projectroot__|\$(prefix)|g' \
4657 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4658 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4659 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4660 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4661 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4662 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4663 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4667 # Check whether --enable-silent-rules was given.
4668 if test "${enable_silent_rules+set}" = set; then :
4669 enableval=$enable_silent_rules;
4672 case $enable_silent_rules in
4673 yes) AM_DEFAULT_VERBOSITY=0;;
4674 no) AM_DEFAULT_VERBOSITY=1;;
4675 *) AM_DEFAULT_VERBOSITY=0;;
4682 # Check whether --enable-specs was given.
4683 if test "${enable_specs+set}" = set; then :
4684 enableval=$enable_specs; build_specs=$enableval
4690 if test x$build_specs = xyes; then
4692 ENABLE_SPECS_FALSE='#'
4694 ENABLE_SPECS_TRUE='#'
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
4699 $as_echo_n "checking whether to build functional specifications... " >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
4701 $as_echo "$build_specs" >&6; }
4707 # Check whether --with-asciidoc was given.
4708 if test "${with_asciidoc+set}" = set; then :
4709 withval=$with_asciidoc; use_asciidoc=$withval
4716 if test "x$use_asciidoc" = x"auto"; then
4717 # Extract the first word of "asciidoc", so it can be a program name with args.
4718 set dummy asciidoc; ac_word=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if ${ac_cv_path_ASCIIDOC+:} false; then :
4722 $as_echo_n "(cached) " >&6
4726 ac_cv_path_ASCIIDOC="$ASCIIDOC" # Let the user override the test with a path.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_path_ASCIIDOC="$as_dir/$ac_word$ac_exec_ext"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 ASCIIDOC=$ac_cv_path_ASCIIDOC
4748 if test -n "$ASCIIDOC"; then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
4750 $as_echo "$ASCIIDOC" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4757 if test "x$ASCIIDOC" = "x"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: asciidoc not found - documentation targets will be skipped" >&5
4759 $as_echo "$as_me: WARNING: asciidoc not found - documentation targets will be skipped" >&2;}
4764 elif test "x$use_asciidoc" = x"yes" ; then
4765 # Extract the first word of "asciidoc", so it can be a program name with args.
4766 set dummy asciidoc; ac_word=$2
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 $as_echo_n "checking for $ac_word... " >&6; }
4769 if ${ac_cv_path_ASCIIDOC+:} false; then :
4770 $as_echo_n "(cached) " >&6
4774 ac_cv_path_ASCIIDOC="$ASCIIDOC" # Let the user override the test with a path.
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir=.
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4784 ac_cv_path_ASCIIDOC="$as_dir/$ac_word$ac_exec_ext"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 ASCIIDOC=$ac_cv_path_ASCIIDOC
4796 if test -n "$ASCIIDOC"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
4798 $as_echo "$ASCIIDOC" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4805 if test "x$ASCIIDOC" = "x"; then
4806 as_fn_error $? "--with-asciidoc=yes specified but asciidoc not found in PATH" "$LINENO" 5
4809 elif test "x$use_asciidoc" = x"no" ; then
4810 if test "x$ASCIIDOC" != "x"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified" >&5
4812 $as_echo "$as_me: WARNING: ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified" >&2;}
4816 as_fn_error $? "--with-asciidoc expects 'yes' or 'no'" "$LINENO" 5
4818 if test "$have_asciidoc" = yes; then
4819 # scrape the asciidoc version
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the asciidoc version" >&5
4821 $as_echo_n "checking the asciidoc version... " >&6; }
4822 asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2`
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $asciidoc_version" >&5
4824 $as_echo "$asciidoc_version" >&6; }
4825 as_arg_v1=$asciidoc_version
4827 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
4830 if test "x$use_asciidoc" = xauto; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: asciidoc version $asciidoc_version found, but 8.4.5 needed" >&5
4832 $as_echo "$as_me: WARNING: asciidoc version $asciidoc_version found, but 8.4.5 needed" >&2;}
4835 as_fn_error $? "asciidoc version $asciidoc_version found, but 8.4.5 needed" "$LINENO" 5
4845 if test "$have_asciidoc" = yes; then
4847 HAVE_ASCIIDOC_FALSE='#'
4849 HAVE_ASCIIDOC_TRUE='#'
4850 HAVE_ASCIIDOC_FALSE=
4855 ac_config_files="$ac_config_files Makefile specs/Makefile inputproto.pc"
4857 cat >confcache <<\_ACEOF
4858 # This file is a shell script that caches the results of configure
4859 # tests run on this system so they can be shared between configure
4860 # scripts and configure runs, see configure's option --config-cache.
4861 # It is not useful on other systems. If it contains results you don't
4862 # want to keep, you may remove or edit it.
4864 # config.status only pays attention to the cache file if you give it
4865 # the --recheck option to rerun configure.
4867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4873 # The following way of writing the cache mishandles newlines in values,
4874 # but we know of no workaround that is simple, portable, and efficient.
4875 # So, we kill variables containing newlines.
4876 # Ultrix sh set writes to stderr and can't be redirected directly,
4877 # and sets the high bit in the cache file unless we assign to the vars.
4879 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4880 eval ac_val=\$$ac_var
4884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4888 _ | IFS | as_nl) ;; #(
4889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4890 *) { eval $ac_var=; unset $ac_var;} ;;
4896 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4897 *${as_nl}ac_space=\ *)
4898 # `set' does not quote correctly, so add quotes: double-quote
4899 # substitution turns \\\\ into \\, and sed turns \\ into \.
4902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4905 # `set' quotes correctly as required by POSIX, so do not add quotes.
4906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4915 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4917 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4920 if test -w "$cache_file"; then
4921 if test "x$cache_file" != "x/dev/null"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4923 $as_echo "$as_me: updating cache $cache_file" >&6;}
4924 if test ! -f "$cache_file" || test -h "$cache_file"; then
4925 cat confcache >"$cache_file"
4927 case $cache_file in #(
4929 mv -f confcache "$cache_file"$$ &&
4930 mv -f "$cache_file"$$ "$cache_file" ;; #(
4932 mv -f confcache "$cache_file" ;;
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4944 # Let make expand exec_prefix.
4945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4947 # Transform confdefs.h into DEFS.
4948 # Protect against shell expansion while executing Makefile rules.
4949 # Protect against Makefile macro expansion.
4951 # If the first sed substitution is executed (which looks for macros that
4952 # take arguments), then branch to the quote section. Otherwise,
4953 # look for a macro that doesn't take arguments.
4963 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4965 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4969 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4982 DEFS=`sed -n "$ac_script" confdefs.h`
4988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4989 # 1. Remove the extension, and $U if already installed.
4990 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4991 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4993 # will be set to the directory where LIBOBJS objects are built.
4994 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4995 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4999 LTLIBOBJS=$ac_ltlibobjs
5002 if test -n "$EXEEXT"; then
5004 am__EXEEXT_FALSE='#'
5010 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5011 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5014 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5015 as_fn_error $? "conditional \"AMDEP\" was never defined.
5016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5018 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5019 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5022 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
5023 as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
5024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5026 if test -z "${HAVE_ASCIIDOC_TRUE}" && test -z "${HAVE_ASCIIDOC_FALSE}"; then
5027 as_fn_error $? "conditional \"HAVE_ASCIIDOC\" was never defined.
5028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5031 : "${CONFIG_STATUS=./config.status}"
5033 ac_clean_files_save=$ac_clean_files
5034 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5036 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5038 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5040 # Generated by $as_me.
5041 # Run this file to recreate the current configuration.
5042 # Compiler output produced by configure, useful for debugging
5043 # configure, is in config.log if it exists.
5049 SHELL=\${CONFIG_SHELL-$SHELL}
5052 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5053 ## -------------------- ##
5054 ## M4sh Initialization. ##
5055 ## -------------------- ##
5057 # Be more Bourne compatible
5058 DUALCASE=1; export DUALCASE # for MKS sh
5059 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5062 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5063 # is contrary to our usage. Disable this feature.
5064 alias -g '${1+"$@"}'='"$@"'
5065 setopt NO_GLOB_SUBST
5067 case `(set -o) 2>/dev/null` in #(
5079 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5080 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5081 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5082 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5083 # Prefer a ksh shell builtin over an external printf program on Solaris,
5084 # but without wasting forks for bash or zsh.
5085 if test -z "$BASH_VERSION$ZSH_VERSION" \
5086 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5087 as_echo='print -r --'
5088 as_echo_n='print -rn --'
5089 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5090 as_echo='printf %s\n'
5091 as_echo_n='printf %s'
5093 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5094 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5095 as_echo_n='/usr/ucb/echo -n'
5097 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5098 as_echo_n_body='eval
5102 expr "X$arg" : "X\\(.*\\)$as_nl";
5103 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5105 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5107 export as_echo_n_body
5108 as_echo_n='sh -c $as_echo_n_body as_echo'
5111 as_echo='sh -c $as_echo_body as_echo'
5114 # The user is always right.
5115 if test "${PATH_SEPARATOR+set}" != set; then
5117 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5118 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5125 # We need space, tab and new line, in precisely that order. Quoting is
5126 # there to prevent editors from complaining about space-tab.
5127 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5128 # splitting by setting IFS to empty value.)
5131 # Find who we are. Look in the path if we contain no directory separator.
5134 *[\\/]* ) as_myself=$0 ;;
5135 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir=.
5140 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5146 # We did not find ourselves, most probably we were run as `sh COMMAND'
5147 # in which case we are not to be found in the path.
5148 if test "x$as_myself" = x; then
5151 if test ! -f "$as_myself"; then
5152 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5156 # Unset variables that we do not need and which cause bugs (e.g. in
5157 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5158 # suppresses any "Segmentation fault" message there. '((' could
5159 # trigger a bug in pdksh 5.2.14.
5160 for as_var in BASH_ENV ENV MAIL MAILPATH
5161 do eval test x\${$as_var+set} = xset \
5162 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5175 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5178 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5179 # ----------------------------------------
5180 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5181 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5182 # script with STATUS, using 1 if that was 0.
5185 as_status=$1; test $as_status -eq 0 && as_status=1
5187 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5188 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5190 $as_echo "$as_me: error: $2" >&2
5191 as_fn_exit $as_status
5195 # as_fn_set_status STATUS
5196 # -----------------------
5197 # Set $? to STATUS, without forking.
5201 } # as_fn_set_status
5205 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5215 # Portably unset VAR.
5218 { eval $1=; unset $1;}
5220 as_unset=as_fn_unset
5221 # as_fn_append VAR VALUE
5222 # ----------------------
5223 # Append the text in VALUE to the end of the definition contained in VAR. Take
5224 # advantage of any shell optimizations that allow amortized linear growth over
5225 # repeated appends, instead of the typical quadratic growth present in naive
5227 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5228 eval 'as_fn_append ()
5239 # as_fn_arith ARG...
5240 # ------------------
5241 # Perform arithmetic evaluation on the ARGs, and store the result in the
5242 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5243 # must be portable across $(()) and expr.
5244 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5245 eval 'as_fn_arith ()
5252 as_val=`expr "$@" || test $? -eq 1`
5257 if expr a : '\(a\)' >/dev/null 2>&1 &&
5258 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5264 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5265 as_basename=basename
5270 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5276 as_me=`$as_basename -- "$0" ||
5277 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5278 X"$0" : 'X\(//\)$' \| \
5279 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5281 sed '/^.*\/\([^/][^/]*\)\/*$/{
5295 # Avoid depending upon Character Ranges.
5296 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5297 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5298 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5299 as_cr_digits='0123456789'
5300 as_cr_alnum=$as_cr_Letters$as_cr_digits
5302 ECHO_C= ECHO_N= ECHO_T=
5303 case `echo -n x` in #(((((
5305 case `echo 'xy\c'` in
5306 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5308 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5315 rm -f conf$$ conf$$.exe conf$$.file
5316 if test -d conf$$.dir; then
5317 rm -f conf$$.dir/conf$$.file
5320 mkdir conf$$.dir 2>/dev/null
5322 if (echo >conf$$.file) 2>/dev/null; then
5323 if ln -s conf$$.file conf$$ 2>/dev/null; then
5325 # ... but there are two gotchas:
5326 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5327 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5328 # In both cases, we have to default to `cp -p'.
5329 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5331 elif ln conf$$.file conf$$ 2>/dev/null; then
5339 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5340 rmdir conf$$.dir 2>/dev/null
5345 # Create "$as_dir" as a directory, including parents if necessary.
5350 -*) as_dir=./$as_dir;;
5352 test -d "$as_dir" || eval $as_mkdir_p || {
5356 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5357 *) as_qdir=$as_dir;;
5359 as_dirs="'$as_qdir' $as_dirs"
5360 as_dir=`$as_dirname -- "$as_dir" ||
5361 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5362 X"$as_dir" : 'X\(//\)[^/]' \| \
5363 X"$as_dir" : 'X\(//\)$' \| \
5364 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5365 $as_echo X"$as_dir" |
5366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5383 test -d "$as_dir" && break
5385 test -z "$as_dirs" || eval "mkdir $as_dirs"
5386 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5390 if mkdir -p . 2>/dev/null; then
5391 as_mkdir_p='mkdir -p "$as_dir"'
5393 test -d ./-p && rmdir ./-p
5397 if test -x / >/dev/null 2>&1; then
5400 if ls -dL / >/dev/null 2>&1; then
5407 if test -d "$1"; then
5413 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5414 ???[sx]*):;;*)false;;esac;fi
5418 as_executable_p=$as_test_x
5420 # Sed expression to map a string onto a valid CPP name.
5421 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5423 # Sed expression to map a string onto a valid variable name.
5424 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5428 ## ----------------------------------- ##
5429 ## Main body of $CONFIG_STATUS script. ##
5430 ## ----------------------------------- ##
5432 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5435 # Save the log message, to keep $0 and so on meaningful, and to
5436 # report actual input values of CONFIG_FILES etc. instead of their
5437 # values after options handling.
5439 This file was extended by InputProto $as_me 2.2, which was
5440 generated by GNU Autoconf 2.68. Invocation command line was
5442 CONFIG_FILES = $CONFIG_FILES
5443 CONFIG_HEADERS = $CONFIG_HEADERS
5444 CONFIG_LINKS = $CONFIG_LINKS
5445 CONFIG_COMMANDS = $CONFIG_COMMANDS
5448 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5453 case $ac_config_files in *"
5454 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5460 # Files that config.status was made for.
5461 config_files="$ac_config_files"
5462 config_commands="$ac_config_commands"
5466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5468 \`$as_me' instantiates files and other configuration actions
5469 from templates according to the current configuration. Unless the files
5470 and actions are specified as TAGs, all are instantiated by default.
5472 Usage: $0 [OPTION]... [TAG]...
5474 -h, --help print this help, then exit
5475 -V, --version print version number and configuration settings, then exit
5476 --config print configuration, then exit
5477 -q, --quiet, --silent
5478 do not print progress messages
5479 -d, --debug don't remove temporary files
5480 --recheck update $as_me by reconfiguring in the same conditions
5481 --file=FILE[:TEMPLATE]
5482 instantiate the configuration file FILE
5484 Configuration files:
5487 Configuration commands:
5490 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5494 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5496 InputProto config.status 2.2
5497 configured by $0, generated by GNU Autoconf 2.68,
5498 with options \\"\$ac_cs_config\\"
5500 Copyright (C) 2010 Free Software Foundation, Inc.
5501 This config.status script is free software; the Free Software Foundation
5502 gives unlimited permission to copy, distribute and modify it."
5509 test -n "\$AWK" || AWK=awk
5512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5513 # The default lists apply if the user does not specify any file.
5519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5520 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5524 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5536 # Handling of the options.
5537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5539 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5540 $as_echo "$ac_cs_version"; exit ;;
5541 --config | --confi | --conf | --con | --co | --c )
5542 $as_echo "$ac_cs_config"; exit ;;
5543 --debug | --debu | --deb | --de | --d | -d )
5545 --file | --fil | --fi | --f )
5548 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5549 '') as_fn_error $? "missing file argument" ;;
5551 as_fn_append CONFIG_FILES " '$ac_optarg'"
5552 ac_need_defaults=false;;
5553 --he | --h | --help | --hel | -h )
5554 $as_echo "$ac_cs_usage"; exit ;;
5555 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5556 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5560 -*) as_fn_error $? "unrecognized option: \`$1'
5561 Try \`$0 --help' for more information." ;;
5563 *) as_fn_append ac_config_targets " $1"
5564 ac_need_defaults=false ;;
5570 ac_configure_extra_args=
5572 if $ac_cs_silent; then
5574 ac_configure_extra_args="$ac_configure_extra_args --silent"
5578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5579 if \$ac_cs_recheck; then
5580 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5582 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5583 CONFIG_SHELL='$SHELL'
5589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5593 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5594 ## Running $as_me. ##
5600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5604 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5610 # Handling of arguments.
5611 for ac_config_target in $ac_config_targets
5613 case $ac_config_target in
5614 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5615 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5616 "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
5617 "inputproto.pc") CONFIG_FILES="$CONFIG_FILES inputproto.pc" ;;
5619 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5624 # If the user did not use the arguments to specify the items to instantiate,
5625 # then the envvar interface is used. Set only those that are not.
5626 # We use the long form for the default assignment because of an extremely
5627 # bizarre bug on SunOS 4.1.3.
5628 if $ac_need_defaults; then
5629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5630 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5633 # Have a temporary directory for convenience. Make it in the build tree
5634 # simply because there is no reason against having it here, and in addition,
5635 # creating and moving files from /tmp can sometimes cause problems.
5636 # Hook for its removal unless debugging.
5637 # Note that there is a small window in which the directory will not be cleaned:
5638 # after its creation but before its name has been assigned to `$tmp'.
5642 trap 'exit_status=$?
5644 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5646 trap 'as_fn_exit 1' 1 2 13 15
5648 # Create a (secure) tmp directory for tmp files.
5651 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5655 tmp=./conf$$-$RANDOM
5656 (umask 077 && mkdir "$tmp")
5657 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5660 # Set up the scripts for CONFIG_FILES section.
5661 # No need to generate them if there are no CONFIG_FILES.
5662 # This happens for instance with `./config.status config.h'.
5663 if test -n "$CONFIG_FILES"; then
5666 ac_cr=`echo X | tr X '\015'`
5667 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5668 # But we know of no other shell where ac_cr would be empty at this
5669 # point, so we can use a bashism as a fallback.
5670 if test "x$ac_cr" = x; then
5671 eval ac_cr=\$\'\\r\'
5673 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5674 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5680 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5685 echo "cat >conf$$subs.awk <<_ACEOF" &&
5686 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5689 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5690 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5692 for ac_last_try in false false false false false :; do
5693 . ./conf$$subs.sh ||
5694 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5696 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5697 if test $ac_delim_n = $ac_delim_num; then
5699 elif $ac_last_try; then
5700 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5702 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5712 s/^/S["/; s/!.*/"]=/
5722 s/\(.\{148\}\)..*/\1/
5724 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5729 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5736 s/\(.\{148\}\)..*/\1/
5738 s/["\\]/\\&/g; s/^/"/; s/$/"/
5742 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5747 ' <conf$$subs.awk | sed '
5752 ' >>$CONFIG_STATUS || ac_write_fail=1
5753 rm -f conf$$subs.awk
5754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5756 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5757 for (key in S) S_is_set[key] = 1
5763 nfields = split(line, field, "@")
5765 len = length(field[1])
5766 for (i = 2; i < nfields; i++) {
5768 keylen = length(key)
5769 if (S_is_set[key]) {
5771 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5772 len += length(value) + length(field[++i])
5783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5784 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5785 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5788 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5789 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5792 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5793 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5794 # trailing colons and then remove the whole line if VPATH becomes empty
5795 # (actually we leave an empty line to preserve line numbers).
5796 if test "x$srcdir" = x.; then
5797 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5816 fi # test -n "$CONFIG_FILES"
5819 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5824 :[FHLC]) ac_mode=$ac_tag; continue;;
5826 case $ac_mode$ac_tag in
5828 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5829 :[FH]-) ac_tag=-:-;;
5830 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5847 -) ac_f="$ac_tmp/stdin";;
5848 *) # Look for the file first in the build tree, then in the source tree
5849 # (if the path is not absolute). The absolute path cannot be DOS-style,
5850 # because $ac_f cannot contain `:'.
5854 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5856 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5858 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5859 as_fn_append ac_file_inputs " '$ac_f'"
5862 # Let's still pretend it is `configure' which instantiates (i.e., don't
5863 # use $as_me), people would be surprised to read:
5864 # /* config.h. Generated by config.status. */
5865 configure_input='Generated from '`
5866 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5868 if test x"$ac_file" != x-; then
5869 configure_input="$ac_file. $configure_input"
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5871 $as_echo "$as_me: creating $ac_file" >&6;}
5873 # Neutralize special characters interpreted by sed in replacement strings.
5874 case $configure_input in #(
5875 *\&* | *\|* | *\\* )
5876 ac_sed_conf_input=`$as_echo "$configure_input" |
5877 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5878 *) ac_sed_conf_input=$configure_input;;
5882 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5883 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5888 ac_dir=`$as_dirname -- "$ac_file" ||
5889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5890 X"$ac_file" : 'X\(//\)[^/]' \| \
5891 X"$ac_file" : 'X\(//\)$' \| \
5892 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5893 $as_echo X"$ac_file" |
5894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5911 as_dir="$ac_dir"; as_fn_mkdir_p
5915 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5917 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5918 # A ".." for each directory in $ac_dir_suffix.
5919 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5920 case $ac_top_builddir_sub in
5921 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5922 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5925 ac_abs_top_builddir=$ac_pwd
5926 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5927 # for backward compatibility:
5928 ac_top_builddir=$ac_top_build_prefix
5931 .) # We are building in place.
5933 ac_top_srcdir=$ac_top_builddir_sub
5934 ac_abs_top_srcdir=$ac_pwd ;;
5935 [\\/]* | ?:[\\/]* ) # Absolute name.
5936 ac_srcdir=$srcdir$ac_dir_suffix;
5937 ac_top_srcdir=$srcdir
5938 ac_abs_top_srcdir=$srcdir ;;
5940 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5941 ac_top_srcdir=$ac_top_build_prefix$srcdir
5942 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5944 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5954 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5955 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5959 [\\/$]* | ?:[\\/]* ) ;;
5960 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5965 # If the template does not know about datarootdir, expand it.
5966 # FIXME: This hack should be removed a few years after 2.60.
5967 ac_datarootdir_hack=; ac_datarootdir_seen=
5978 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5979 *datarootdir*) ac_datarootdir_seen=yes;;
5980 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5982 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5985 ac_datarootdir_hack='
5986 s&@datadir@&$datadir&g
5987 s&@docdir@&$docdir&g
5988 s&@infodir@&$infodir&g
5989 s&@localedir@&$localedir&g
5990 s&@mandir@&$mandir&g
5991 s&\\\${datarootdir}&$datarootdir&g' ;;
5995 # Neutralize VPATH when `$srcdir' = `.'.
5996 # Shell code in configure.ac might set extrasub.
5997 # FIXME: do we really want to maintain this feature?
5998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5999 ac_sed_extra="$ac_vpsub
6002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6004 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6005 s|@configure_input@|$ac_sed_conf_input|;t t
6006 s&@top_builddir@&$ac_top_builddir_sub&;t t
6007 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6008 s&@srcdir@&$ac_srcdir&;t t
6009 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6010 s&@top_srcdir@&$ac_top_srcdir&;t t
6011 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6012 s&@builddir@&$ac_builddir&;t t
6013 s&@abs_builddir@&$ac_abs_builddir&;t t
6014 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6015 s&@INSTALL@&$ac_INSTALL&;t t
6016 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6017 $ac_datarootdir_hack
6019 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6020 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6022 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6023 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6024 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6025 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6027 which seems to be undefined. Please make sure it is defined" >&5
6028 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6029 which seems to be undefined. Please make sure it is defined" >&2;}
6031 rm -f "$ac_tmp/stdin"
6033 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6034 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6036 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6040 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6041 $as_echo "$as_me: executing $ac_file commands" >&6;}
6046 case $ac_file$ac_mode in
6047 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6048 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6049 # are listed without --file. Let's play safe and only enable the eval
6050 # if we detect the quoting.
6051 case $CONFIG_FILES in
6052 *\'*) eval set x "$CONFIG_FILES" ;;
6053 *) set x $CONFIG_FILES ;;
6058 # Strip MF so we end up with the name of the file.
6059 mf=`echo "$mf" | sed -e 's/:.*$//'`
6060 # Check whether this is an Automake generated Makefile or not.
6061 # We used to match only the files named `Makefile.in', but
6062 # some people rename them; so instead we look at the file content.
6063 # Grep'ing the first line is not enough: some people post-process
6064 # each Makefile.in and add a new line on top of each file to say so.
6065 # Grep'ing the whole file is not good either: AIX grep has a line
6066 # limit of 2048, but all sed's we know have understand at least 4000.
6067 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6068 dirpart=`$as_dirname -- "$mf" ||
6069 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6070 X"$mf" : 'X\(//\)[^/]' \| \
6071 X"$mf" : 'X\(//\)$' \| \
6072 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6094 # Extract the definition of DEPDIR, am__include, and am__quote
6095 # from the Makefile without running `make'.
6096 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6097 test -z "$DEPDIR" && continue
6098 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6099 test -z "am__include" && continue
6100 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6101 # When using ansi2knr, U may be empty or an underscore; expand it
6102 U=`sed -n 's/^U = //p' < "$mf"`
6103 # Find all dependency output files, they are included files with
6104 # $(DEPDIR) in their names. We invoke sed twice because it is the
6105 # simplest approach to changing $(DEPDIR) to its actual value in the
6107 for file in `sed -n "
6108 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6109 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6110 # Make sure the directory exists.
6111 test -f "$dirpart/$file" && continue
6112 fdir=`$as_dirname -- "$file" ||
6113 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6114 X"$file" : 'X\(//\)[^/]' \| \
6115 X"$file" : 'X\(//\)$' \| \
6116 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6135 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6136 # echo "creating $dirpart/$file"
6137 echo '# dummy' > "$dirpart/$file"
6149 ac_clean_files=$ac_clean_files_save
6151 test $ac_write_fail = 0 ||
6152 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6155 # configure is writing to config.log, and then calls config.status.
6156 # config.status does its own redirection, appending to config.log.
6157 # Unfortunately, on DOS this fails, as config.log is still kept open
6158 # by configure, so config.status won't be able to write to it; its
6159 # output is simply discarded. So we exec the FD to /dev/null,
6160 # effectively closing config.log, so it can be properly (re)opened and
6161 # appended to by config.status. When coming back to configure, we
6162 # need to make the FD available again.
6163 if test "$no_create" != yes; then
6165 ac_config_status_args=
6166 test "$silent" = yes &&
6167 ac_config_status_args="$ac_config_status_args --quiet"
6169 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6171 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6172 # would make configure fail if this is the last instruction.
6173 $ac_cs_success || as_fn_exit 1
6175 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6177 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}