2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.66 for FixesProto 5.0.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 test -n "$DJDIR" || exec 7<&0 </dev/null
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix=/usr/local
546 ac_config_libobj_dir=.
553 # Identity of this package.
554 PACKAGE_NAME='FixesProto'
555 PACKAGE_TARNAME='fixesproto'
556 PACKAGE_VERSION='5.0'
557 PACKAGE_STRING='FixesProto 5.0'
558 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars='am__EXEEXT_FALSE
652 MAINTAINER_MODE_FALSE
662 INSTALL_STRIP_PROGRAM
704 program_transform_name
717 enable_option_checking
718 enable_maintainer_mode
719 enable_dependency_tracking
720 enable_strict_compilation
723 ac_precious_vars='build_alias
737 # Initialize some variables set by options.
739 ac_init_version=false
740 ac_unrecognized_opts=
742 # The variables have the same names as the options, with
743 # dashes changed to underlines.
751 program_transform_name=s,x,x,
759 # Installation directory options.
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
761 # and all the variables that are supposed to be based on exec_prefix
762 # by default will actually change.
763 # Use braces instead of parens because sh, perl, etc. also accept them.
764 # (The list follows the same order as the GNU Coding Standards.)
765 bindir='${exec_prefix}/bin'
766 sbindir='${exec_prefix}/sbin'
767 libexecdir='${exec_prefix}/libexec'
768 datarootdir='${prefix}/share'
769 datadir='${datarootdir}'
770 sysconfdir='${prefix}/etc'
771 sharedstatedir='${prefix}/com'
772 localstatedir='${prefix}/var'
773 includedir='${prefix}/include'
774 oldincludedir='/usr/include'
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776 infodir='${datarootdir}/info'
781 libdir='${exec_prefix}/lib'
782 localedir='${datarootdir}/locale'
783 mandir='${datarootdir}/man'
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\$ac_option
797 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 # Accept the important Cygnus configure options, so we can diagnose typos.
803 case $ac_dashdash$ac_option in
807 -bindir | --bindir | --bindi | --bind | --bin | --bi)
809 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812 -build | --build | --buil | --bui | --bu)
813 ac_prev=build_alias ;;
814 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
815 build_alias=$ac_optarg ;;
817 -cache-file | --cache-file | --cache-fil | --cache-fi \
818 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819 ac_prev=cache_file ;;
820 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822 cache_file=$ac_optarg ;;
825 cache_file=config.cache ;;
827 -datadir | --datadir | --datadi | --datad)
829 -datadir=* | --datadir=* | --datadi=* | --datad=*)
830 datadir=$ac_optarg ;;
832 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833 | --dataroo | --dataro | --datar)
834 ac_prev=datarootdir ;;
835 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837 datarootdir=$ac_optarg ;;
839 -disable-* | --disable-*)
840 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843 as_fn_error $? "invalid feature name: $ac_useropt"
844 ac_useropt_orig=$ac_useropt
845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851 ac_unrecognized_sep=', ';;
853 eval enable_$ac_useropt=no ;;
855 -docdir | --docdir | --docdi | --doc | --do)
857 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
860 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
862 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
865 -enable-* | --enable-*)
866 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869 as_fn_error $? "invalid feature name: $ac_useropt"
870 ac_useropt_orig=$ac_useropt
871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
877 ac_unrecognized_sep=', ';;
879 eval enable_$ac_useropt=\$ac_optarg ;;
881 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
882 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
883 | --exec | --exe | --ex)
884 ac_prev=exec_prefix ;;
885 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
886 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
887 | --exec=* | --exe=* | --ex=*)
888 exec_prefix=$ac_optarg ;;
890 -gas | --gas | --ga | --g)
891 # Obsolete; use --with-gas.
894 -help | --help | --hel | --he | -h)
896 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
897 ac_init_help=recursive ;;
898 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
899 ac_init_help=short ;;
901 -host | --host | --hos | --ho)
902 ac_prev=host_alias ;;
903 -host=* | --host=* | --hos=* | --ho=*)
904 host_alias=$ac_optarg ;;
906 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
908 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
910 htmldir=$ac_optarg ;;
912 -includedir | --includedir | --includedi | --included | --include \
913 | --includ | --inclu | --incl | --inc)
914 ac_prev=includedir ;;
915 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
916 | --includ=* | --inclu=* | --incl=* | --inc=*)
917 includedir=$ac_optarg ;;
919 -infodir | --infodir | --infodi | --infod | --info | --inf)
921 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
922 infodir=$ac_optarg ;;
924 -libdir | --libdir | --libdi | --libd)
926 -libdir=* | --libdir=* | --libdi=* | --libd=*)
929 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
930 | --libexe | --libex | --libe)
931 ac_prev=libexecdir ;;
932 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
933 | --libexe=* | --libex=* | --libe=*)
934 libexecdir=$ac_optarg ;;
936 -localedir | --localedir | --localedi | --localed | --locale)
938 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
939 localedir=$ac_optarg ;;
941 -localstatedir | --localstatedir | --localstatedi | --localstated \
942 | --localstate | --localstat | --localsta | --localst | --locals)
943 ac_prev=localstatedir ;;
944 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
945 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
946 localstatedir=$ac_optarg ;;
948 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
950 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
954 # Obsolete; use --without-fp.
957 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
958 | --no-cr | --no-c | -n)
961 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
962 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
965 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
966 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
967 | --oldin | --oldi | --old | --ol | --o)
968 ac_prev=oldincludedir ;;
969 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
970 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
971 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
972 oldincludedir=$ac_optarg ;;
974 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
976 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
979 -program-prefix | --program-prefix | --program-prefi | --program-pref \
980 | --program-pre | --program-pr | --program-p)
981 ac_prev=program_prefix ;;
982 -program-prefix=* | --program-prefix=* | --program-prefi=* \
983 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
984 program_prefix=$ac_optarg ;;
986 -program-suffix | --program-suffix | --program-suffi | --program-suff \
987 | --program-suf | --program-su | --program-s)
988 ac_prev=program_suffix ;;
989 -program-suffix=* | --program-suffix=* | --program-suffi=* \
990 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
991 program_suffix=$ac_optarg ;;
993 -program-transform-name | --program-transform-name \
994 | --program-transform-nam | --program-transform-na \
995 | --program-transform-n | --program-transform- \
996 | --program-transform | --program-transfor \
997 | --program-transfo | --program-transf \
998 | --program-trans | --program-tran \
999 | --progr-tra | --program-tr | --program-t)
1000 ac_prev=program_transform_name ;;
1001 -program-transform-name=* | --program-transform-name=* \
1002 | --program-transform-nam=* | --program-transform-na=* \
1003 | --program-transform-n=* | --program-transform-=* \
1004 | --program-transform=* | --program-transfor=* \
1005 | --program-transfo=* | --program-transf=* \
1006 | --program-trans=* | --program-tran=* \
1007 | --progr-tra=* | --program-tr=* | --program-t=*)
1008 program_transform_name=$ac_optarg ;;
1010 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1012 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1013 pdfdir=$ac_optarg ;;
1015 -psdir | --psdir | --psdi | --psd | --ps)
1017 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021 | -silent | --silent | --silen | --sile | --sil)
1024 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1026 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1028 sbindir=$ac_optarg ;;
1030 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1031 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1032 | --sharedst | --shareds | --shared | --share | --shar \
1034 ac_prev=sharedstatedir ;;
1035 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1036 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1037 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1039 sharedstatedir=$ac_optarg ;;
1041 -site | --site | --sit)
1043 -site=* | --site=* | --sit=*)
1046 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1048 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1049 srcdir=$ac_optarg ;;
1051 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1052 | --syscon | --sysco | --sysc | --sys | --sy)
1053 ac_prev=sysconfdir ;;
1054 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1055 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1056 sysconfdir=$ac_optarg ;;
1058 -target | --target | --targe | --targ | --tar | --ta | --t)
1059 ac_prev=target_alias ;;
1060 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1061 target_alias=$ac_optarg ;;
1063 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1066 -version | --version | --versio | --versi | --vers | -V)
1067 ac_init_version=: ;;
1070 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073 as_fn_error $? "invalid package name: $ac_useropt"
1074 ac_useropt_orig=$ac_useropt
1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1081 ac_unrecognized_sep=', ';;
1083 eval with_$ac_useropt=\$ac_optarg ;;
1085 -without-* | --without-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid package name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1099 eval with_$ac_useropt=no ;;
1102 # Obsolete; use --with-x.
1105 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1106 | --x-incl | --x-inc | --x-in | --x-i)
1107 ac_prev=x_includes ;;
1108 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1109 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1110 x_includes=$ac_optarg ;;
1112 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1113 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1114 ac_prev=x_libraries ;;
1115 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1116 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1117 x_libraries=$ac_optarg ;;
1119 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1120 Try \`$0 --help' for more information"
1124 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1125 # Reject names that are not valid shell variable names.
1126 case $ac_envvar in #(
1127 '' | [0-9]* | *[!_$as_cr_alnum]* )
1128 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1130 eval $ac_envvar=\$ac_optarg
1131 export $ac_envvar ;;
1134 # FIXME: should be removed in autoconf 3.0.
1135 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1136 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1137 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1138 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1144 if test -n "$ac_prev"; then
1145 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1146 as_fn_error $? "missing argument to $ac_option"
1149 if test -n "$ac_unrecognized_opts"; then
1150 case $enable_option_checking in
1152 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1153 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1157 # Check all directory arguments for consistency.
1158 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1159 datadir sysconfdir sharedstatedir localstatedir includedir \
1160 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1161 libdir localedir mandir
1163 eval ac_val=\$$ac_var
1164 # Remove trailing slashes.
1167 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1168 eval $ac_var=\$ac_val;;
1170 # Be sure to have absolute directory names.
1172 [\\/$]* | ?:[\\/]* ) continue;;
1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x; then
1187 if test "x$build_alias" = x; then
1188 cross_compiling=maybe
1189 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used" >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1197 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1199 test "$silent" = yes && exec 6>/dev/null
1202 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di=`ls -di .` &&
1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205 as_fn_error $? "working directory cannot be determined"
1206 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1207 as_fn_error $? "pwd does not report name of working directory"
1210 # Find the source files, if location was not specified.
1211 if test -z "$srcdir"; then
1212 ac_srcdir_defaulted=yes
1213 # Try the directory containing this script, then the parent directory.
1214 ac_confdir=`$as_dirname -- "$as_myself" ||
1215 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1216 X"$as_myself" : 'X\(//\)[^/]' \| \
1217 X"$as_myself" : 'X\(//\)$' \| \
1218 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1219 $as_echo X"$as_myself" |
1220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1238 if test ! -r "$srcdir/$ac_unique_file"; then
1242 ac_srcdir_defaulted=no
1244 if test ! -r "$srcdir/$ac_unique_file"; then
1245 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1246 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1248 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1250 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1252 # When building in place, set srcdir=.
1253 if test "$ac_abs_confdir" = "$ac_pwd"; then
1256 # Remove unnecessary trailing slashes from srcdir.
1257 # Double slashes in file names in object file debugging info
1258 # mess up M-x gdb in Emacs.
1260 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1262 for ac_var in $ac_precious_vars; do
1263 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1264 eval ac_env_${ac_var}_value=\$${ac_var}
1265 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1266 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1270 # Report the --help message.
1272 if test "$ac_init_help" = "long"; then
1273 # Omit some internal or obsolete options to make the list less imposing.
1274 # This message is too long to be a string in the A/UX 3.1 sh.
1276 \`configure' configures FixesProto 5.0 to adapt to many kinds of systems.
1278 Usage: $0 [OPTION]... [VAR=VALUE]...
1280 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1281 VAR=VALUE. See below for descriptions of some of the useful variables.
1283 Defaults for the options are specified in brackets.
1286 -h, --help display this help and exit
1287 --help=short display options specific to this package
1288 --help=recursive display the short help of all the included packages
1289 -V, --version display version information and exit
1290 -q, --quiet, --silent do not print \`checking ...' messages
1291 --cache-file=FILE cache test results in FILE [disabled]
1292 -C, --config-cache alias for \`--cache-file=config.cache'
1293 -n, --no-create do not create output files
1294 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1296 Installation directories:
1297 --prefix=PREFIX install architecture-independent files in PREFIX
1298 [$ac_default_prefix]
1299 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1302 By default, \`make install' will install all the files in
1303 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1304 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1305 for instance \`--prefix=\$HOME'.
1307 For better control, use the options below.
1309 Fine tuning of the installation directories:
1310 --bindir=DIR user executables [EPREFIX/bin]
1311 --sbindir=DIR system admin executables [EPREFIX/sbin]
1312 --libexecdir=DIR program executables [EPREFIX/libexec]
1313 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1314 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1315 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1316 --libdir=DIR object code libraries [EPREFIX/lib]
1317 --includedir=DIR C header files [PREFIX/include]
1318 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1319 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1320 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1321 --infodir=DIR info documentation [DATAROOTDIR/info]
1322 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1323 --mandir=DIR man documentation [DATAROOTDIR/man]
1324 --docdir=DIR documentation root [DATAROOTDIR/doc/fixesproto]
1325 --htmldir=DIR html documentation [DOCDIR]
1326 --dvidir=DIR dvi documentation [DOCDIR]
1327 --pdfdir=DIR pdf documentation [DOCDIR]
1328 --psdir=DIR ps documentation [DOCDIR]
1334 --program-prefix=PREFIX prepend PREFIX to installed program names
1335 --program-suffix=SUFFIX append SUFFIX to installed program names
1336 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1339 --build=BUILD configure for building on BUILD [guessed]
1340 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1344 if test -n "$ac_init_help"; then
1345 case $ac_init_help in
1346 short | recursive ) echo "Configuration of FixesProto 5.0:";;
1351 --disable-option-checking ignore unrecognized --enable/--with options
1352 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1353 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1354 --enable-maintainer-mode enable make rules and dependencies not useful
1355 (and sometimes confusing) to the casual installer
1356 --disable-dependency-tracking speeds up one-time build
1357 --enable-dependency-tracking do not reject slow dependency extractors
1358 --enable-strict-compilation
1359 Enable all warnings from compiler and make them
1360 errors (default: disabled)
1361 --enable-silent-rules less verbose build output (undo: `make V=1')
1362 --disable-silent-rules verbose build output (undo: `make V=0')
1364 Some influential environment variables:
1365 CC C compiler command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1368 nonstandard directory <lib dir>
1369 LIBS libraries to pass to the linker, e.g. -l<library>
1370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1371 you have headers in a nonstandard directory <include dir>
1373 PKG_CONFIG path to pkg-config utility
1375 directories to add to pkg-config's search path
1377 path overriding pkg-config's built-in search path
1379 Use these variables to override the choices made by `configure' or to help
1380 it to find libraries and programs with nonstandard names/locations.
1382 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390 test -d "$ac_dir" ||
1391 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1412 .) # We are building in place.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1445 FixesProto configure 5.0
1446 generated by GNU Autoconf 2.66
1448 Copyright (C) 2010 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1455 ## ------------------------ ##
1456 ## Autoconf initialization. ##
1457 ## ------------------------ ##
1459 # ac_fn_c_try_compile LINENO
1460 # --------------------------
1461 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1462 ac_fn_c_try_compile ()
1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1465 rm -f conftest.$ac_objext
1466 if { { ac_try="$ac_compile"
1468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1469 *) ac_try_echo=$ac_try;;
1471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1472 $as_echo "$ac_try_echo"; } >&5
1473 (eval "$ac_compile") 2>conftest.err
1475 if test -s conftest.err; then
1476 grep -v '^ *+' conftest.err >conftest.er1
1477 cat conftest.er1 >&5
1478 mv -f conftest.er1 conftest.err
1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1481 test $ac_status = 0; } && {
1482 test -z "$ac_c_werror_flag" ||
1483 test ! -s conftest.err
1484 } && test -s conftest.$ac_objext; then :
1487 $as_echo "$as_me: failed program was:" >&5
1488 sed 's/^/| /' conftest.$ac_ext >&5
1492 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1493 as_fn_set_status $ac_retval
1495 } # ac_fn_c_try_compile
1497 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1498 # ---------------------------------------------
1499 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1501 ac_fn_c_check_decl ()
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 as_decl_name=`echo $2|sed 's/ *(.*//'`
1505 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1507 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1508 if eval "test \"\${$3+set}\"" = set; then :
1509 $as_echo_n "(cached) " >&6
1511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1512 /* end confdefs.h. */
1517 #ifndef $as_decl_name
1519 (void) $as_decl_use;
1521 (void) $as_decl_name;
1529 if ac_fn_c_try_compile "$LINENO"; then :
1534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1538 $as_echo "$ac_res" >&6; }
1539 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1541 } # ac_fn_c_check_decl
1543 # ac_fn_c_try_cpp LINENO
1544 # ----------------------
1545 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if { { ac_try="$ac_cpp conftest.$ac_ext"
1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1558 if test -s conftest.err; then
1559 grep -v '^ *+' conftest.err >conftest.er1
1560 cat conftest.er1 >&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } >/dev/null && {
1565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1576 as_fn_set_status $ac_retval
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1583 # that executables *can* be run.
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_link"
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>&5
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; }; }; then :
1610 $as_echo "$as_me: program exited with status $ac_status" >&5
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1614 ac_retval=$ac_status
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1618 as_fn_set_status $ac_retval
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval "test \"\${$3+set}\"" = set; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1651 } # ac_fn_c_check_header_compile
1652 cat >config.log <<_ACEOF
1653 This file contains any messages produced by compilers while
1654 running configure, to aid debugging if configure makes a mistake.
1656 It was created by FixesProto $as_me 5.0, which was
1657 generated by GNU Autoconf 2.66. Invocation command line was
1669 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1670 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1671 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1672 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1673 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1675 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1676 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1678 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1679 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1680 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1681 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1682 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1683 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1684 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 $as_echo "PATH: $as_dir"
1709 # Keep a trace of the command line.
1710 # Strip out --no-create and --no-recursion so they do not pile up.
1711 # Strip out --silent because we don't want to record it for future runs.
1712 # Also quote any args containing shell meta-characters.
1713 # Make two passes to allow for proper duplicate-argument suppression.
1717 ac_must_keep_next=false
1723 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1725 | -silent | --silent | --silen | --sile | --sil)
1728 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1731 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1733 as_fn_append ac_configure_args1 " '$ac_arg'"
1734 if test $ac_must_keep_next = true; then
1735 ac_must_keep_next=false # Got value, back to normal.
1738 *=* | --config-cache | -C | -disable-* | --disable-* \
1739 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1740 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1741 | -with-* | --with-* | -without-* | --without-* | --x)
1742 case "$ac_configure_args0 " in
1743 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1746 -* ) ac_must_keep_next=true ;;
1749 as_fn_append ac_configure_args " '$ac_arg'"
1754 { ac_configure_args0=; unset ac_configure_args0;}
1755 { ac_configure_args1=; unset ac_configure_args1;}
1757 # When interrupted or exit'd, cleanup temporary files, and complete
1758 # config.log. We remove comments because anyway the quotes in there
1759 # would cause problems or look ugly.
1760 # WARNING: Use '\'' to represent an apostrophe within the trap.
1761 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1762 trap 'exit_status=$?
1763 # Save into config.log some information that might help in debugging.
1767 $as_echo "## ---------------- ##
1768 ## Cache variables. ##
1769 ## ---------------- ##"
1771 # The following way of writing the cache mishandles newlines in values,
1773 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1774 eval ac_val=\$$ac_var
1778 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1779 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1782 _ | IFS | as_nl) ;; #(
1783 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1784 *) { eval $ac_var=; unset $ac_var;} ;;
1789 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1790 *${as_nl}ac_space=\ *)
1792 "s/'\''/'\''\\\\'\'''\''/g;
1793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1803 $as_echo "## ----------------- ##
1804 ## Output variables. ##
1805 ## ----------------- ##"
1807 for ac_var in $ac_subst_vars
1809 eval ac_val=\$$ac_var
1811 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1813 $as_echo "$ac_var='\''$ac_val'\''"
1817 if test -n "$ac_subst_files"; then
1818 $as_echo "## ------------------- ##
1819 ## File substitutions. ##
1820 ## ------------------- ##"
1822 for ac_var in $ac_subst_files
1824 eval ac_val=\$$ac_var
1826 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1828 $as_echo "$ac_var='\''$ac_val'\''"
1833 if test -s confdefs.h; then
1834 $as_echo "## ----------- ##
1841 test "$ac_signal" != 0 &&
1842 $as_echo "$as_me: caught signal $ac_signal"
1843 $as_echo "$as_me: exit $exit_status"
1845 rm -f core *.core core.conftest.* &&
1846 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1849 for ac_signal in 1 2 13 15; do
1850 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1854 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1855 rm -f -r conftest* confdefs.h
1857 $as_echo "/* confdefs.h */" > confdefs.h
1859 # Predefined preprocessor variables.
1861 cat >>confdefs.h <<_ACEOF
1862 #define PACKAGE_NAME "$PACKAGE_NAME"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1869 cat >>confdefs.h <<_ACEOF
1870 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_STRING "$PACKAGE_STRING"
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_URL "$PACKAGE_URL"
1886 # Let the site file select an alternate cache file if it wants to.
1887 # Prefer an explicitly selected file to automatically selected ones.
1890 if test -n "$CONFIG_SITE"; then
1891 # We do not want a PATH search for config.site.
1892 case $CONFIG_SITE in #((
1893 -*) ac_site_file1=./$CONFIG_SITE;;
1894 */*) ac_site_file1=$CONFIG_SITE;;
1895 *) ac_site_file1=./$CONFIG_SITE;;
1897 elif test "x$prefix" != xNONE; then
1898 ac_site_file1=$prefix/share/config.site
1899 ac_site_file2=$prefix/etc/config.site
1901 ac_site_file1=$ac_default_prefix/share/config.site
1902 ac_site_file2=$ac_default_prefix/etc/config.site
1904 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1906 test "x$ac_site_file" = xNONE && continue
1907 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1909 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1910 sed 's/^/| /' "$ac_site_file" >&5
1912 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1914 as_fn_error $? "failed to load site script $ac_site_file
1915 See \`config.log' for more details" "$LINENO" 5; }
1919 if test -r "$cache_file"; then
1920 # Some versions of bash will fail to source /dev/null (special files
1921 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1922 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1924 $as_echo "$as_me: loading cache $cache_file" >&6;}
1926 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1927 *) . "./$cache_file";;
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1932 $as_echo "$as_me: creating cache $cache_file" >&6;}
1936 # Check that the precious variables saved in the cache have kept the same
1938 ac_cache_corrupted=false
1939 for ac_var in $ac_precious_vars; do
1940 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1941 eval ac_new_set=\$ac_env_${ac_var}_set
1942 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1943 eval ac_new_val=\$ac_env_${ac_var}_value
1944 case $ac_old_set,$ac_new_set in
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1947 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1948 ac_cache_corrupted=: ;;
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1951 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1952 ac_cache_corrupted=: ;;
1955 if test "x$ac_old_val" != "x$ac_new_val"; then
1956 # differences in whitespace do not lead to failure.
1957 ac_old_val_w=`echo x $ac_old_val`
1958 ac_new_val_w=`echo x $ac_new_val`
1959 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1961 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1962 ac_cache_corrupted=:
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1965 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1966 eval $ac_var=\$ac_old_val
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1969 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1971 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1974 # Pass precious variables to config.status.
1975 if test "$ac_new_set" = set; then
1977 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1978 *) ac_arg=$ac_var=$ac_new_val ;;
1980 case " $ac_configure_args " in
1981 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1982 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1986 if $ac_cache_corrupted; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1990 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1991 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1993 ## -------------------- ##
1994 ## Main body of script. ##
1995 ## -------------------- ##
1998 ac_cpp='$CPP $CPPFLAGS'
1999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2004 am__api_version='1.11'
2007 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2008 if test -f "$ac_dir/install-sh"; then
2010 ac_install_sh="$ac_aux_dir/install-sh -c"
2012 elif test -f "$ac_dir/install.sh"; then
2014 ac_install_sh="$ac_aux_dir/install.sh -c"
2016 elif test -f "$ac_dir/shtool"; then
2018 ac_install_sh="$ac_aux_dir/shtool install -c"
2022 if test -z "$ac_aux_dir"; then
2023 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2026 # These three variables are undocumented and unsupported,
2027 # and are intended to be withdrawn in a future Autoconf release.
2028 # They can cause serious problems if a builder's source tree is in a directory
2029 # whose full name contains unusual characters.
2030 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2031 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2032 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2035 # Find a good install program. We prefer a C program (faster),
2036 # so one script is as good as another. But avoid the broken or
2037 # incompatible versions:
2038 # SysV /etc/install, /usr/sbin/install
2039 # SunOS /usr/etc/install
2040 # IRIX /sbin/install
2042 # AmigaOS /C/install, which installs bootblocks on floppy discs
2043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2046 # OS/2's system install, which has a completely different semantic
2047 # ./install, which can be erroneously created by make from ./install.sh.
2048 # Reject install programs that cannot install multiple files.
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2050 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2051 if test -z "$INSTALL"; then
2052 if test "${ac_cv_path_install+set}" = set; then :
2053 $as_echo_n "(cached) " >&6
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir=.
2060 # Account for people who put trailing slashes in PATH elements.
2061 case $as_dir/ in #((
2062 ./ | .// | /[cC]/* | \
2063 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2064 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2067 # OSF1 and SCO ODT 3.0 have their own names for install.
2068 # Don't use installbsd from OSF since it installs stuff as root
2070 for ac_prog in ginstall scoinst install; do
2071 for ac_exec_ext in '' $ac_executable_extensions; do
2072 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2073 if test $ac_prog = install &&
2074 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2075 # AIX install. It has an incompatible calling convention.
2077 elif test $ac_prog = install &&
2078 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2079 # program-specific install script used by HP pwplus--don't use.
2082 rm -rf conftest.one conftest.two conftest.dir
2083 echo one > conftest.one
2084 echo two > conftest.two
2086 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2087 test -s conftest.one && test -s conftest.two &&
2088 test -s conftest.dir/conftest.one &&
2089 test -s conftest.dir/conftest.two
2091 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2104 rm -rf conftest.one conftest.two conftest.dir
2107 if test "${ac_cv_path_install+set}" = set; then
2108 INSTALL=$ac_cv_path_install
2110 # As a last resort, use the slow shell script. Don't cache a
2111 # value for INSTALL within a source directory, because that will
2112 # break other packages using the cache if that directory is
2113 # removed, or if the value is a relative name.
2114 INSTALL=$ac_install_sh
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2118 $as_echo "$INSTALL" >&6; }
2120 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2121 # It thinks the first close brace ends the variable substitution.
2122 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2124 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2126 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2129 $as_echo_n "checking whether build environment is sane... " >&6; }
2132 echo timestamp > conftest.file
2133 # Reject unsafe characters in $srcdir or the absolute working directory
2134 # name. Accept space and tab only in the latter.
2138 *[\\\"\#\$\&\'\`$am_lf]*)
2139 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2142 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2143 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2146 # Do `set' in a subshell so we don't clobber the current shell's
2147 # arguments. Must try -L first in case configure is actually a
2148 # symlink; some systems play weird games with the mod time of symlinks
2149 # (eg FreeBSD returns the mod time of the symlink's containing
2152 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2153 if test "$*" = "X"; then
2155 set X `ls -t "$srcdir/configure" conftest.file`
2158 if test "$*" != "X $srcdir/configure conftest.file" \
2159 && test "$*" != "X conftest.file $srcdir/configure"; then
2161 # If neither matched, then we have a broken ls. This can happen
2162 # if, for instance, CONFIG_SHELL is bash and it inherits a
2163 # broken ls alias from the environment. This has actually
2164 # happened. Such a system could not be considered "sane".
2165 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2166 alias in your environment" "$LINENO" 5
2169 test "$2" = conftest.file
2175 as_fn_error $? "newly created file is older than distributed files!
2176 Check your system clock" "$LINENO" 5
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2179 $as_echo "yes" >&6; }
2180 test "$program_prefix" != NONE &&
2181 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2182 # Use a double $ so make ignores it.
2183 test "$program_suffix" != NONE &&
2184 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2185 # Double any \ or $.
2186 # By default was `s,x,x', remove it if useless.
2187 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2188 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2190 # expand $ac_aux_dir to an absolute path
2191 am_aux_dir=`cd $ac_aux_dir && pwd`
2193 if test x"${MISSING+set}" != xset; then
2196 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2198 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2201 # Use eval to expand $SHELL
2202 if eval "$MISSING --run true"; then
2203 am_missing_run="$MISSING --run "
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2207 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2210 if test x"${install_sh}" != xset; then
2213 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2215 install_sh="\${SHELL} $am_aux_dir/install-sh"
2219 # Installed binaries are usually stripped using `strip' when the user
2220 # run `make install-strip'. However `strip' might not be the right
2221 # tool to use in cross-compilation environments, therefore Automake
2222 # will honor the `STRIP' environment variable to overrule this program.
2223 if test "$cross_compiling" != no; then
2224 if test -n "$ac_tool_prefix"; then
2225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2226 set dummy ${ac_tool_prefix}strip; ac_word=$2
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2228 $as_echo_n "checking for $ac_word... " >&6; }
2229 if test "${ac_cv_prog_STRIP+set}" = set; then :
2230 $as_echo_n "(cached) " >&6
2232 if test -n "$STRIP"; then
2233 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 STRIP=$ac_cv_prog_STRIP
2253 if test -n "$STRIP"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2255 $as_echo "$STRIP" >&6; }
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2258 $as_echo "no" >&6; }
2263 if test -z "$ac_cv_prog_STRIP"; then
2265 # Extract the first word of "strip", so it can be a program name with args.
2266 set dummy strip; ac_word=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2270 $as_echo_n "(cached) " >&6
2272 if test -n "$ac_ct_STRIP"; then
2273 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2282 ac_cv_prog_ac_ct_STRIP="strip"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2293 if test -n "$ac_ct_STRIP"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2295 $as_echo "$ac_ct_STRIP" >&6; }
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2301 if test "x$ac_ct_STRIP" = x; then
2304 case $cross_compiling:$ac_tool_warned in
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2308 ac_tool_warned=yes ;;
2313 STRIP="$ac_cv_prog_STRIP"
2317 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2320 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2321 if test -z "$MKDIR_P"; then
2322 if test "${ac_cv_path_mkdir+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2329 test -z "$as_dir" && as_dir=.
2330 for ac_prog in mkdir gmkdir; do
2331 for ac_exec_ext in '' $ac_executable_extensions; do
2332 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2333 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2334 'mkdir (GNU coreutils) '* | \
2335 'mkdir (coreutils) '* | \
2336 'mkdir (fileutils) '4.1*)
2337 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2347 test -d ./--version && rmdir ./--version
2348 if test "${ac_cv_path_mkdir+set}" = set; then
2349 MKDIR_P="$ac_cv_path_mkdir -p"
2351 # As a last resort, use the slow shell script. Don't cache a
2352 # value for MKDIR_P within a source directory, because that will
2353 # break other packages using the cache if that directory is
2354 # removed, or if the value is a relative name.
2355 MKDIR_P="$ac_install_sh -d"
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2359 $as_echo "$MKDIR_P" >&6; }
2363 [\\/$]* | ?:[\\/]*) ;;
2364 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2367 for ac_prog in gawk mawk nawk awk
2369 # Extract the first word of "$ac_prog", so it can be a program name with args.
2370 set dummy $ac_prog; ac_word=$2
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2372 $as_echo_n "checking for $ac_word... " >&6; }
2373 if test "${ac_cv_prog_AWK+set}" = set; then :
2374 $as_echo_n "(cached) " >&6
2376 if test -n "$AWK"; then
2377 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir=.
2384 for ac_exec_ext in '' $ac_executable_extensions; do
2385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2386 ac_cv_prog_AWK="$ac_prog"
2387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 if test -n "$AWK"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2399 $as_echo "$AWK" >&6; }
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2402 $as_echo "no" >&6; }
2406 test -n "$AWK" && break
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2410 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2412 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2413 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2414 $as_echo_n "(cached) " >&6
2416 cat >conftest.make <<\_ACEOF
2419 @echo '@@@%%%=$(MAKE)=@@@%%%'
2421 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2422 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2424 eval ac_cv_prog_make_${ac_make}_set=yes;;
2426 eval ac_cv_prog_make_${ac_make}_set=no;;
2430 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2432 $as_echo "yes" >&6; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 $as_echo "no" >&6; }
2437 SET_MAKE="MAKE=${MAKE-make}"
2440 rm -rf .tst 2>/dev/null
2441 mkdir .tst 2>/dev/null
2442 if test -d .tst; then
2447 rmdir .tst 2>/dev/null
2449 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2450 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2451 # is not polluted with repeated "-I."
2452 am__isrc=' -I$(srcdir)'
2453 # test to see if srcdir already configured
2454 if test -f $srcdir/config.status; then
2455 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2459 # test whether we have cygpath
2460 if test -z "$CYGPATH_W"; then
2461 if (cygpath --version) >/dev/null 2>/dev/null; then
2462 CYGPATH_W='cygpath -w'
2469 # Define the identity of the package.
2470 PACKAGE='fixesproto'
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE "$PACKAGE"
2479 cat >>confdefs.h <<_ACEOF
2480 #define VERSION "$VERSION"
2483 # Some tools Automake needs.
2485 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2488 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2491 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2494 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2497 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2499 # We need awk for the "check" target. The system "awk" is bad on
2501 # Always define AMTAR for backward compatibility.
2503 AMTAR=${AMTAR-"${am_missing_run}tar"}
2505 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2513 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2514 # Check whether --enable-maintainer-mode was given.
2515 if test "${enable_maintainer_mode+set}" = set; then :
2516 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2518 USE_MAINTAINER_MODE=no
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2522 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2523 if test $USE_MAINTAINER_MODE = yes; then
2524 MAINTAINER_MODE_TRUE=
2525 MAINTAINER_MODE_FALSE='#'
2527 MAINTAINER_MODE_TRUE='#'
2528 MAINTAINER_MODE_FALSE=
2531 MAINT=$MAINTAINER_MODE_TRUE
2535 # Require xorg-macros: XORG_DEFAULT_OPTIONS
2547 DEPDIR="${am__leading_dot}deps"
2549 ac_config_commands="$ac_config_commands depfiles"
2552 am_make=${MAKE-make}
2553 cat > confinc << 'END'
2555 @echo this is the am__doit target
2558 # If we don't find an include directive, just comment out the code.
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2560 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2564 # First try GNU make style include.
2565 echo "include confinc" > confmf
2566 # Ignore all kinds of additional output from `make'.
2567 case `$am_make -s -f confmf 2> /dev/null` in #(
2568 *the\ am__doit\ target*)
2574 # Now try BSD make style include.
2575 if test "$am__include" = "#"; then
2576 echo '.include "confinc"' > confmf
2577 case `$am_make -s -f confmf 2> /dev/null` in #(
2578 *the\ am__doit\ target*)
2579 am__include=.include
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2588 $as_echo "$_am_result" >&6; }
2589 rm -f confinc confmf
2591 # Check whether --enable-dependency-tracking was given.
2592 if test "${enable_dependency_tracking+set}" = set; then :
2593 enableval=$enable_dependency_tracking;
2596 if test "x$enable_dependency_tracking" != xno; then
2597 am_depcomp="$ac_aux_dir/depcomp"
2600 if test "x$enable_dependency_tracking" != xno; then
2610 ac_cpp='$CPP $CPPFLAGS'
2611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2614 if test -n "$ac_tool_prefix"; then
2615 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2616 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if test "${ac_cv_prog_CC+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2622 if test -n "$CC"; then
2623 ac_cv_prog_CC="$CC" # Let the user override the test.
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2645 $as_echo "$CC" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2653 if test -z "$ac_cv_prog_CC"; then
2655 # Extract the first word of "gcc", so it can be a program name with args.
2656 set dummy gcc; ac_word=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$ac_ct_CC"; then
2663 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir=.
2670 for ac_exec_ext in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_ac_ct_CC="gcc"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2683 if test -n "$ac_ct_CC"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2685 $as_echo "$ac_ct_CC" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2691 if test "x$ac_ct_CC" = x; then
2694 case $cross_compiling:$ac_tool_warned in
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2698 ac_tool_warned=yes ;;
2706 if test -z "$CC"; then
2707 if test -n "$ac_tool_prefix"; then
2708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2709 set dummy ${ac_tool_prefix}cc; ac_word=$2
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2711 $as_echo_n "checking for $ac_word... " >&6; }
2712 if test "${ac_cv_prog_CC+set}" = set; then :
2713 $as_echo_n "(cached) " >&6
2715 if test -n "$CC"; then
2716 ac_cv_prog_CC="$CC" # Let the user override the test.
2718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 test -z "$as_dir" && as_dir=.
2723 for ac_exec_ext in '' $ac_executable_extensions; do
2724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2725 ac_cv_prog_CC="${ac_tool_prefix}cc"
2726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736 if test -n "$CC"; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2738 $as_echo "$CC" >&6; }
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2741 $as_echo "no" >&6; }
2747 if test -z "$CC"; then
2748 # Extract the first word of "cc", so it can be a program name with args.
2749 set dummy cc; ac_word=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if test "${ac_cv_prog_CC+set}" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$CC"; then
2756 ac_cv_prog_CC="$CC" # Let the user override the test.
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir=.
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2767 ac_prog_rejected=yes
2771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 if test $ac_prog_rejected = yes; then
2779 # We found a bogon in the path, so make sure we never use it.
2780 set dummy $ac_cv_prog_CC
2782 if test $# != 0; then
2783 # We chose a different compiler from the bogus one.
2784 # However, it has the same basename, so the bogon will be chosen
2785 # first if we set CC to just the basename; use the full file name.
2787 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2793 if test -n "$CC"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2795 $as_echo "$CC" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2803 if test -z "$CC"; then
2804 if test -n "$ac_tool_prefix"; then
2805 for ac_prog in cl.exe
2807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if test "${ac_cv_prog_CC+set}" = set; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$CC"; then
2815 ac_cv_prog_CC="$CC" # Let the user override the test.
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 if test -n "$CC"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2837 $as_echo "$CC" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2844 test -n "$CC" && break
2847 if test -z "$CC"; then
2849 for ac_prog in cl.exe
2851 # Extract the first word of "$ac_prog", so it can be a program name with args.
2852 set dummy $ac_prog; ac_word=$2
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2854 $as_echo_n "checking for $ac_word... " >&6; }
2855 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2856 $as_echo_n "(cached) " >&6
2858 if test -n "$ac_ct_CC"; then
2859 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 test -z "$as_dir" && as_dir=.
2866 for ac_exec_ext in '' $ac_executable_extensions; do
2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2868 ac_cv_prog_ac_ct_CC="$ac_prog"
2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2879 if test -n "$ac_ct_CC"; then
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2881 $as_echo "$ac_ct_CC" >&6; }
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884 $as_echo "no" >&6; }
2888 test -n "$ac_ct_CC" && break
2891 if test "x$ac_ct_CC" = x; then
2894 case $cross_compiling:$ac_tool_warned in
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2898 ac_tool_warned=yes ;;
2907 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2909 as_fn_error $? "no acceptable C compiler found in \$PATH
2910 See \`config.log' for more details" "$LINENO" 5; }
2912 # Provide some information about the compiler.
2913 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2916 for ac_option in --version -v -V -qversion; do
2917 { { ac_try="$ac_compiler $ac_option >&5"
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923 $as_echo "$ac_try_echo"; } >&5
2924 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2926 if test -s conftest.err; then
2928 ... rest of stderr output deleted ...
2929 10q' conftest.err >conftest.er1
2930 cat conftest.er1 >&5
2932 rm -f conftest.er1 conftest.err
2933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2934 test $ac_status = 0; }
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2948 ac_clean_files_save=$ac_clean_files
2949 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2950 # Try to create an executable without -o first, disregard a.out.
2951 # It will help us diagnose broken compilers, and finding out an intuition
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2954 $as_echo_n "checking whether the C compiler works... " >&6; }
2955 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2957 # The possible output files:
2958 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2961 for ac_file in $ac_files
2964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2965 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2970 if { { ac_try="$ac_link_default"
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2976 $as_echo "$ac_try_echo"; } >&5
2977 (eval "$ac_link_default") 2>&5
2979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2980 test $ac_status = 0; }; then :
2981 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2982 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2983 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2984 # so that the user can short-circuit this test for compilers unknown to
2986 for ac_file in $ac_files ''
2988 test -f "$ac_file" || continue
2990 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2993 # We found the default executable, but exeext='' is most
2997 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2999 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3001 # We set ac_cv_exeext here because the later test for it is not
3002 # safe: cross compilers may not add the suffix if given an `-o'
3003 # argument, so we may need to know it at that point already.
3004 # Even if this section looks crufty: it has the advantage of
3011 test "$ac_cv_exeext" = no && ac_cv_exeext=
3016 if test -z "$ac_file"; then :
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3019 $as_echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 as_fn_error 77 "C compiler cannot create executables
3025 See \`config.log' for more details" "$LINENO" 5; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3028 $as_echo "yes" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3031 $as_echo_n "checking for C compiler default output file name... " >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3033 $as_echo "$ac_file" >&6; }
3034 ac_exeext=$ac_cv_exeext
3036 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3037 ac_clean_files=$ac_clean_files_save
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3039 $as_echo_n "checking for suffix of executables... " >&6; }
3040 if { { ac_try="$ac_link"
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_link") 2>&5
3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3050 test $ac_status = 0; }; then :
3051 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3052 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3053 # work properly (i.e., refer to `conftest.exe'), while it won't with
3055 for ac_file in conftest.exe conftest conftest.*; do
3056 test -f "$ac_file" || continue
3058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3059 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3067 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3068 See \`config.log' for more details" "$LINENO" 5; }
3070 rm -f conftest conftest$ac_cv_exeext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3072 $as_echo "$ac_cv_exeext" >&6; }
3074 rm -f conftest.$ac_ext
3075 EXEEXT=$ac_cv_exeext
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3083 FILE *f = fopen ("conftest.out", "w");
3084 return ferror (f) || fclose (f) != 0;
3090 ac_clean_files="$ac_clean_files conftest.out"
3091 # Check that the compiler produces executables we can run. If not, either
3092 # the compiler is broken, or we cross compile.
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3094 $as_echo_n "checking whether we are cross compiling... " >&6; }
3095 if test "$cross_compiling" != yes; then
3096 { { ac_try="$ac_link"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_link") 2>&5
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }
3107 if { ac_try='./conftest$ac_cv_exeext'
3108 { { case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_try") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; }; then
3120 if test "$cross_compiling" = maybe; then
3123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 as_fn_error $? "cannot run C compiled programs.
3126 If you meant to cross compile, use \`--host'.
3127 See \`config.log' for more details" "$LINENO" 5; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3132 $as_echo "$cross_compiling" >&6; }
3134 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3135 ac_clean_files=$ac_clean_files_save
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3137 $as_echo_n "checking for suffix of object files... " >&6; }
3138 if test "${ac_cv_objext+set}" = set; then :
3139 $as_echo_n "(cached) " >&6
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3152 rm -f conftest.o conftest.obj
3153 if { { ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159 $as_echo "$ac_try_echo"; } >&5
3160 (eval "$ac_compile") 2>&5
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; }; then :
3164 for ac_file in conftest.o conftest.obj conftest.*; do
3165 test -f "$ac_file" || continue;
3167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3168 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3173 $as_echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "cannot compute suffix of object files: cannot compile
3179 See \`config.log' for more details" "$LINENO" 5; }
3181 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3184 $as_echo "$ac_cv_objext" >&6; }
3185 OBJEXT=$ac_cv_objext
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3188 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3189 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3206 if ac_fn_c_try_compile "$LINENO"; then :
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3216 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3217 if test $ac_compiler_gnu = yes; then
3222 ac_test_CFLAGS=${CFLAGS+set}
3223 ac_save_CFLAGS=$CFLAGS
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3225 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3226 if test "${ac_cv_prog_cc_g+set}" = set; then :
3227 $as_echo_n "(cached) " >&6
3229 ac_save_c_werror_flag=$ac_c_werror_flag
3230 ac_c_werror_flag=yes
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3244 if ac_fn_c_try_compile "$LINENO"; then :
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3259 if ac_fn_c_try_compile "$LINENO"; then :
3262 ac_c_werror_flag=$ac_save_c_werror_flag
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3275 if ac_fn_c_try_compile "$LINENO"; then :
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 ac_c_werror_flag=$ac_save_c_werror_flag
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3286 $as_echo "$ac_cv_prog_cc_g" >&6; }
3287 if test "$ac_test_CFLAGS" = set; then
3288 CFLAGS=$ac_save_CFLAGS
3289 elif test $ac_cv_prog_cc_g = yes; then
3290 if test "$GCC" = yes; then
3296 if test "$GCC" = yes; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3303 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3304 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3305 $as_echo_n "(cached) " >&6
3307 ac_cv_prog_cc_c89=no
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3313 #include <sys/types.h>
3314 #include <sys/stat.h>
3315 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3316 struct buf { int x; };
3317 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3318 static char *e (p, i)
3324 static char *f (char * (*g) (char **, int), char **p, ...)
3329 s = g (p, va_arg (v,int));
3334 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3335 function prototypes and stuff, but not '\xHH' hex character constants.
3336 These don't provoke an error unfortunately, instead are silently treated
3337 as 'x'. The following induces an error, until -std is added to get
3338 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3339 array size at least. It's necessary to write '\x00'==0 to get something
3340 that's true only with -std. */
3341 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3343 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3344 inside strings and character constants. */
3346 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3348 int test (int i, double x);
3349 struct s1 {int (*f) (int a);};
3350 struct s2 {int (*f) (double a);};
3351 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3357 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3362 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3363 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3365 CC="$ac_save_CC $ac_arg"
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367 ac_cv_prog_cc_c89=$ac_arg
3369 rm -f core conftest.err conftest.$ac_objext
3370 test "x$ac_cv_prog_cc_c89" != "xno" && break
3372 rm -f conftest.$ac_ext
3377 case "x$ac_cv_prog_cc_c89" in
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3380 $as_echo "none needed" >&6; } ;;
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3383 $as_echo "unsupported" >&6; } ;;
3385 CC="$CC $ac_cv_prog_cc_c89"
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3387 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3389 if test "x$ac_cv_prog_cc_c89" != xno; then :
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 depcc="$CC" am_compiler_list=
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3402 $as_echo_n "checking dependency style of $depcc... " >&6; }
3403 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3404 $as_echo_n "(cached) " >&6
3406 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3407 # We make a subdir and do the tests there. Otherwise we can end up
3408 # making bogus files that we don't know about and never remove. For
3409 # instance it was reported that on HP-UX the gcc test will end up
3410 # making a dummy file named `D' -- because `-MD' means `put the output
3413 # Copy depcomp to subdir because otherwise we won't find it if we're
3414 # using a relative directory.
3415 cp "$am_depcomp" conftest.dir
3417 # We will build objects and dependencies in a subdirectory because
3418 # it helps to detect inapplicable dependency modes. For instance
3419 # both Tru64's cc and ICC support -MD to output dependencies as a
3420 # side effect of compilation, but ICC will put the dependencies in
3421 # the current directory while Tru64 will put them in the object
3425 am_cv_CC_dependencies_compiler_type=none
3426 if test "$am_compiler_list" = ""; then
3427 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3430 case " $depcc " in #(
3431 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3434 for depmode in $am_compiler_list; do
3435 # Setup a source with many dependencies, because some compilers
3436 # like to wrap large dependency lists on column 80 (with \), and
3437 # we should not choose a depcomp mode which is confused by this.
3439 # We need to recreate these files for each test, as the compiler may
3440 # overwrite some of them when testing with obscure command lines.
3441 # This happens at least with the AIX C compiler.
3443 for i in 1 2 3 4 5 6; do
3444 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3445 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3446 # Solaris 8's {/usr,}/bin/sh.
3447 touch sub/conftst$i.h
3449 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3451 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3452 # mode. It turns out that the SunPro C++ compiler does not properly
3453 # handle `-M -o', and we need to detect this. Also, some Intel
3454 # versions had trouble with output in subdirs
3455 am__obj=sub/conftest.${OBJEXT-o}
3456 am__minus_obj="-o $am__obj"
3459 # This depmode causes a compiler race in universal mode.
3460 test "$am__universal" = false || continue
3463 # after this tag, mechanisms are not by side-effect, so they'll
3464 # only be used when explicitly requested
3465 if test "x$enable_dependency_tracking" = xyes; then
3471 msvisualcpp | msvcmsys)
3472 # This compiler won't grok `-c -o', but also, the minuso test has
3473 # not run yet. These depmodes are late enough in the game, and
3474 # so weak that their functioning should not be impacted.
3475 am__obj=conftest.${OBJEXT-o}
3480 if depmode=$depmode \
3481 source=sub/conftest.c object=$am__obj \
3482 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3483 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3484 >/dev/null 2>conftest.err &&
3485 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3486 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3487 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3488 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3489 # icc doesn't choke on unknown options, it will just issue warnings
3490 # or remarks (even with -Werror). So we grep stderr for any message
3491 # that says an option was ignored or not supported.
3492 # When given -MP, icc 7.0 and 7.1 complain thusly:
3493 # icc: Command line warning: ignoring option '-M'; no argument required
3494 # The diagnosis changed in icc 8.0:
3495 # icc: Command line remark: option '-MP' not supported
3496 if (grep 'ignoring option' conftest.err ||
3497 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3498 am_cv_CC_dependencies_compiler_type=$depmode
3507 am_cv_CC_dependencies_compiler_type=none
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3512 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3513 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3516 test "x$enable_dependency_tracking" != xno \
3517 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3519 am__fastdepCC_FALSE='#'
3521 am__fastdepCC_TRUE='#'
3522 am__fastdepCC_FALSE=
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3527 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3528 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3529 $as_echo_n "(cached) " >&6
3531 ac_cv_prog_cc_c99=no
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3536 #include <stdbool.h>
3541 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3542 #define debug(...) fprintf (stderr, __VA_ARGS__)
3543 #define showlist(...) puts (#__VA_ARGS__)
3544 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3546 test_varargs_macros (void)
3551 debug ("X = %d\n", x);
3552 showlist (The first, second, and third items.);
3553 report (x>y, "x is %d but y is %d", x, y);
3556 // Check long long types.
3557 #define BIG64 18446744073709551615ull
3558 #define BIG32 4294967295ul
3559 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3561 your preprocessor is broken;
3565 your preprocessor is broken;
3567 static long long int bignum = -9223372036854775807LL;
3568 static unsigned long long int ubignum = BIG64;
3570 struct incomplete_array
3578 const wchar_t *name;
3582 typedef const char *ccp;
3585 test_restrict (ccp restrict text)
3587 // See if C++-style comments work.
3588 // Iterate through items via the restricted pointer.
3589 // Also check for declarations in for loops.
3590 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3595 // Check varargs and va_copy.
3597 test_varargs (const char *format, ...)
3600 va_start (args, format);
3602 va_copy (args_copy, args);
3613 str = va_arg (args_copy, const char *);
3616 number = va_arg (args_copy, int);
3619 fnumber = va_arg (args_copy, double);
3634 _Bool success = false;
3637 if (test_restrict ("String literal") == 0)
3639 char *restrict newvar = "Another string";
3642 test_varargs ("s, d' f .", "string", 65, 34.234);
3643 test_varargs_macros ();
3645 // Check flexible array members.
3646 struct incomplete_array *ia =
3647 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3649 for (int i = 0; i < ia->datasize; ++i)
3650 ia->data[i] = i * 1.234;
3652 // Check named initializers.
3653 struct named_init ni = {
3655 .name = L"Test wide string",
3656 .average = 543.34343,
3661 int dynamic_array[ni.number];
3662 dynamic_array[ni.number - 1] = 543;
3664 // work around unused variable warnings
3665 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3666 || dynamic_array[ni.number - 1] != 543);
3672 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3674 CC="$ac_save_CC $ac_arg"
3675 if ac_fn_c_try_compile "$LINENO"; then :
3676 ac_cv_prog_cc_c99=$ac_arg
3678 rm -f core conftest.err conftest.$ac_objext
3679 test "x$ac_cv_prog_cc_c99" != "xno" && break
3681 rm -f conftest.$ac_ext
3686 case "x$ac_cv_prog_cc_c99" in
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3689 $as_echo "none needed" >&6; } ;;
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3692 $as_echo "unsupported" >&6; } ;;
3694 CC="$CC $ac_cv_prog_cc_c99"
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3696 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3698 if test "x$ac_cv_prog_cc_c99" != xno; then :
3705 ac_cpp='$CPP $CPPFLAGS'
3706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3710 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3711 # On Suns, sometimes $CPP names a directory.
3712 if test -n "$CPP" && test -d "$CPP"; then
3715 if test -z "$CPP"; then
3716 if test "${ac_cv_prog_CPP+set}" = set; then :
3717 $as_echo_n "(cached) " >&6
3719 # Double quotes because CPP needs to be expanded
3720 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3723 for ac_c_preproc_warn_flag in '' yes
3725 # Use a header file that comes with gcc, so configuring glibc
3726 # with a fresh cross-compiler works.
3727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3728 # <limits.h> exists even on freestanding compilers.
3729 # On the NeXT, cc -E runs the code through the compiler's parser,
3730 # not just through cpp. "Syntax error" is here to catch this case.
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3734 # include <limits.h>
3736 # include <assert.h>
3740 if ac_fn_c_try_cpp "$LINENO"; then :
3743 # Broken: fails on valid input.
3746 rm -f conftest.err conftest.$ac_ext
3748 # OK, works on sane cases. Now check whether nonexistent headers
3749 # can be detected and how.
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3752 #include <ac_nonexistent.h>
3754 if ac_fn_c_try_cpp "$LINENO"; then :
3755 # Broken: success on invalid input.
3758 # Passes both tests.
3762 rm -f conftest.err conftest.$ac_ext
3765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3766 rm -f conftest.err conftest.$ac_ext
3767 if $ac_preproc_ok; then :
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3780 $as_echo "$CPP" >&6; }
3782 for ac_c_preproc_warn_flag in '' yes
3784 # Use a header file that comes with gcc, so configuring glibc
3785 # with a fresh cross-compiler works.
3786 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787 # <limits.h> exists even on freestanding compilers.
3788 # On the NeXT, cc -E runs the code through the compiler's parser,
3789 # not just through cpp. "Syntax error" is here to catch this case.
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3793 # include <limits.h>
3795 # include <assert.h>
3799 if ac_fn_c_try_cpp "$LINENO"; then :
3802 # Broken: fails on valid input.
3805 rm -f conftest.err conftest.$ac_ext
3807 # OK, works on sane cases. Now check whether nonexistent headers
3808 # can be detected and how.
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3811 #include <ac_nonexistent.h>
3813 if ac_fn_c_try_cpp "$LINENO"; then :
3814 # Broken: success on invalid input.
3817 # Passes both tests.
3821 rm -f conftest.err conftest.$ac_ext
3824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3825 rm -f conftest.err conftest.$ac_ext
3826 if $ac_preproc_ok; then :
3829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3832 See \`config.log' for more details" "$LINENO" 5; }
3836 ac_cpp='$CPP $CPPFLAGS'
3837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3843 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3844 if test "${ac_cv_path_GREP+set}" = set; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -z "$GREP"; then
3848 ac_path_GREP_found=false
3849 # Loop through the user's path and test for each of PROGNAME-LIST
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3854 test -z "$as_dir" && as_dir=.
3855 for ac_prog in grep ggrep; do
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3858 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3859 # Check for GNU ac_path_GREP and select it if it is found.
3860 # Check for GNU $ac_path_GREP
3861 case `"$ac_path_GREP" --version 2>&1` in
3863 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3866 $as_echo_n 0123456789 >"conftest.in"
3869 cat "conftest.in" "conftest.in" >"conftest.tmp"
3870 mv "conftest.tmp" "conftest.in"
3871 cp "conftest.in" "conftest.nl"
3872 $as_echo 'GREP' >> "conftest.nl"
3873 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3874 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3875 as_fn_arith $ac_count + 1 && ac_count=$as_val
3876 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3877 # Best one so far, save it but keep looking for a better one
3878 ac_cv_path_GREP="$ac_path_GREP"
3879 ac_path_GREP_max=$ac_count
3881 # 10*(2^10) chars as input seems more than enough
3882 test $ac_count -gt 10 && break
3884 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3887 $ac_path_GREP_found && break 3
3892 if test -z "$ac_cv_path_GREP"; then
3893 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3896 ac_cv_path_GREP=$GREP
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3901 $as_echo "$ac_cv_path_GREP" >&6; }
3902 GREP="$ac_cv_path_GREP"
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3906 $as_echo_n "checking for egrep... " >&6; }
3907 if test "${ac_cv_path_EGREP+set}" = set; then :
3908 $as_echo_n "(cached) " >&6
3910 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3911 then ac_cv_path_EGREP="$GREP -E"
3913 if test -z "$EGREP"; then
3914 ac_path_EGREP_found=false
3915 # Loop through the user's path and test for each of PROGNAME-LIST
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3920 test -z "$as_dir" && as_dir=.
3921 for ac_prog in egrep; do
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3924 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3925 # Check for GNU ac_path_EGREP and select it if it is found.
3926 # Check for GNU $ac_path_EGREP
3927 case `"$ac_path_EGREP" --version 2>&1` in
3929 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3932 $as_echo_n 0123456789 >"conftest.in"
3935 cat "conftest.in" "conftest.in" >"conftest.tmp"
3936 mv "conftest.tmp" "conftest.in"
3937 cp "conftest.in" "conftest.nl"
3938 $as_echo 'EGREP' >> "conftest.nl"
3939 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3941 as_fn_arith $ac_count + 1 && ac_count=$as_val
3942 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3943 # Best one so far, save it but keep looking for a better one
3944 ac_cv_path_EGREP="$ac_path_EGREP"
3945 ac_path_EGREP_max=$ac_count
3947 # 10*(2^10) chars as input seems more than enough
3948 test $ac_count -gt 10 && break
3950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3953 $ac_path_EGREP_found && break 3
3958 if test -z "$ac_cv_path_EGREP"; then
3959 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3962 ac_cv_path_EGREP=$EGREP
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3968 $as_echo "$ac_cv_path_EGREP" >&6; }
3969 EGREP="$ac_cv_path_EGREP"
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3973 $as_echo_n "checking for ANSI C header files... " >&6; }
3974 if test "${ac_cv_header_stdc+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3992 if ac_fn_c_try_compile "$LINENO"; then :
3993 ac_cv_header_stdc=yes
3995 ac_cv_header_stdc=no
3997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 if test $ac_cv_header_stdc = yes; then
4000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4007 $EGREP "memchr" >/dev/null 2>&1; then :
4010 ac_cv_header_stdc=no
4016 if test $ac_cv_header_stdc = yes; then
4017 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4024 $EGREP "free" >/dev/null 2>&1; then :
4027 ac_cv_header_stdc=no
4033 if test $ac_cv_header_stdc = yes; then
4034 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4035 if test "$cross_compiling" = yes; then :
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4042 #if ((' ' & 0x0FF) == 0x020)
4043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4046 # define ISLOWER(c) \
4047 (('a' <= (c) && (c) <= 'i') \
4048 || ('j' <= (c) && (c) <= 'r') \
4049 || ('s' <= (c) && (c) <= 'z'))
4050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4058 for (i = 0; i < 256; i++)
4059 if (XOR (islower (i), ISLOWER (i))
4060 || toupper (i) != TOUPPER (i))
4065 if ac_fn_c_try_run "$LINENO"; then :
4068 ac_cv_header_stdc=no
4070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4071 conftest.$ac_objext conftest.beam conftest.$ac_ext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4077 $as_echo "$ac_cv_header_stdc" >&6; }
4078 if test $ac_cv_header_stdc = yes; then
4080 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4085 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4086 inttypes.h stdint.h unistd.h
4088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4089 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4092 cat >>confdefs.h <<_ACEOF
4093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4107 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4108 if test -n "$ac_tool_prefix"; then
4109 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4110 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4118 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4140 if test -n "$PKG_CONFIG"; then
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4142 $as_echo "$PKG_CONFIG" >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4150 if test -z "$ac_cv_path_PKG_CONFIG"; then
4151 ac_pt_PKG_CONFIG=$PKG_CONFIG
4152 # Extract the first word of "pkg-config", so it can be a program name with args.
4153 set dummy pkg-config; ac_word=$2
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 $as_echo_n "checking for $ac_word... " >&6; }
4156 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4159 case $ac_pt_PKG_CONFIG in
4161 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4183 if test -n "$ac_pt_PKG_CONFIG"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4185 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4191 if test "x$ac_pt_PKG_CONFIG" = x; then
4194 case $cross_compiling:$ac_tool_warned in
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4198 ac_tool_warned=yes ;;
4200 PKG_CONFIG=$ac_pt_PKG_CONFIG
4203 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4207 if test -n "$PKG_CONFIG"; then
4208 _pkg_min_version=0.9.0
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4210 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4211 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4213 $as_echo "yes" >&6; }
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4220 # Make sure we can run config.sub.
4221 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4222 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4225 $as_echo_n "checking build system type... " >&6; }
4226 if test "${ac_cv_build+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 ac_build_alias=$build_alias
4230 test "x$ac_build_alias" = x &&
4231 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4232 test "x$ac_build_alias" = x &&
4233 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4234 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4235 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4239 $as_echo "$ac_cv_build" >&6; }
4240 case $ac_cv_build in
4242 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4245 ac_save_IFS=$IFS; IFS='-'
4251 # Remember, the first character of IFS is used to create $*,
4252 # except with old shells:
4255 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4259 $as_echo_n "checking host system type... " >&6; }
4260 if test "${ac_cv_host+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4263 if test "x$host_alias" = x; then
4264 ac_cv_host=$ac_cv_build
4266 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4267 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4272 $as_echo "$ac_cv_host" >&6; }
4275 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4278 ac_save_IFS=$IFS; IFS='-'
4284 # Remember, the first character of IFS is used to create $*,
4285 # except with old shells:
4288 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4292 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4293 if test "${ac_cv_path_SED+set}" = set; then :
4294 $as_echo_n "(cached) " >&6
4296 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4297 for ac_i in 1 2 3 4 5 6 7; do
4298 ac_script="$ac_script$as_nl$ac_script"
4300 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4301 { ac_script=; unset ac_script;}
4302 if test -z "$SED"; then
4303 ac_path_SED_found=false
4304 # Loop through the user's path and test for each of PROGNAME-LIST
4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 test -z "$as_dir" && as_dir=.
4310 for ac_prog in sed gsed; do
4311 for ac_exec_ext in '' $ac_executable_extensions; do
4312 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4313 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4314 # Check for GNU ac_path_SED and select it if it is found.
4315 # Check for GNU $ac_path_SED
4316 case `"$ac_path_SED" --version 2>&1` in
4318 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4321 $as_echo_n 0123456789 >"conftest.in"
4324 cat "conftest.in" "conftest.in" >"conftest.tmp"
4325 mv "conftest.tmp" "conftest.in"
4326 cp "conftest.in" "conftest.nl"
4327 $as_echo '' >> "conftest.nl"
4328 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4330 as_fn_arith $ac_count + 1 && ac_count=$as_val
4331 if test $ac_count -gt ${ac_path_SED_max-0}; then
4332 # Best one so far, save it but keep looking for a better one
4333 ac_cv_path_SED="$ac_path_SED"
4334 ac_path_SED_max=$ac_count
4336 # 10*(2^10) chars as input seems more than enough
4337 test $ac_count -gt 10 && break
4339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4342 $ac_path_SED_found && break 3
4347 if test -z "$ac_cv_path_SED"; then
4348 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4356 $as_echo "$ac_cv_path_SED" >&6; }
4357 SED="$ac_cv_path_SED"
4364 if test "x$GCC" = xyes ; then
4365 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4366 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4367 -Wbad-function-cast -Wformat=2"
4368 case `$CC -dumpversion` in
4370 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4374 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4375 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4381 if test "x$SUNCC" = "xyes"; then
4388 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4392 # Check whether --enable-strict-compilation was given.
4393 if test "${enable_strict_compilation+set}" = set; then :
4394 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4399 if test "x$STRICT_COMPILE" = "xyes"; then
4400 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4401 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4407 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4408 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
4414 if test "x$GCC" = xyes ; then
4415 STRICT_CFLAGS="-pedantic -Werror"
4416 elif test "x$SUNCC" = "xyes"; then
4417 STRICT_CFLAGS="-errwarn"
4418 elif test "x$INTELCC" = "xyes"; then
4419 STRICT_CFLAGS="-Werror"
4422 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4427 cat >>confdefs.h <<_ACEOF
4428 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4431 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4432 if test "x$PVM" = "x"; then
4436 cat >>confdefs.h <<_ACEOF
4437 #define PACKAGE_VERSION_MINOR $PVM
4440 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4441 if test "x$PVP" = "x"; then
4445 cat >>confdefs.h <<_ACEOF
4446 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4451 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4452 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4453 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4454 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4459 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4460 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4461 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4462 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4463 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4470 if test x$APP_MAN_SUFFIX = x ; then
4473 if test x$APP_MAN_DIR = x ; then
4474 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4477 if test x$LIB_MAN_SUFFIX = x ; then
4480 if test x$LIB_MAN_DIR = x ; then
4481 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4484 if test x$FILE_MAN_SUFFIX = x ; then
4486 solaris*) FILE_MAN_SUFFIX=4 ;;
4487 *) FILE_MAN_SUFFIX=5 ;;
4490 if test x$FILE_MAN_DIR = x ; then
4491 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4494 if test x$MISC_MAN_SUFFIX = x ; then
4496 solaris*) MISC_MAN_SUFFIX=5 ;;
4497 *) MISC_MAN_SUFFIX=7 ;;
4500 if test x$MISC_MAN_DIR = x ; then
4501 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4504 if test x$DRIVER_MAN_SUFFIX = x ; then
4506 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4507 *) DRIVER_MAN_SUFFIX=4 ;;
4510 if test x$DRIVER_MAN_DIR = x ; then
4511 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4514 if test x$ADMIN_MAN_SUFFIX = x ; then
4516 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4517 *) ADMIN_MAN_SUFFIX=8 ;;
4520 if test x$ADMIN_MAN_DIR = x ; then
4521 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4538 XORG_MAN_PAGE="X Version 11"
4541 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4542 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4543 -e 's|__xservername__|Xorg|g' \
4544 -e 's|__xconfigfile__|xorg.conf|g' \
4545 -e 's|__projectroot__|\$(prefix)|g' \
4546 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4547 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4548 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4549 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4550 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4551 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4555 # Check whether --enable-silent-rules was given.
4556 if test "${enable_silent_rules+set}" = set; then :
4557 enableval=$enable_silent_rules;
4560 case $enable_silent_rules in
4561 yes) AM_DEFAULT_VERBOSITY=0;;
4562 no) AM_DEFAULT_VERBOSITY=1;;
4563 *) AM_DEFAULT_VERBOSITY=0;;
4569 ac_config_files="$ac_config_files Makefile fixesproto.pc"
4571 cat >confcache <<\_ACEOF
4572 # This file is a shell script that caches the results of configure
4573 # tests run on this system so they can be shared between configure
4574 # scripts and configure runs, see configure's option --config-cache.
4575 # It is not useful on other systems. If it contains results you don't
4576 # want to keep, you may remove or edit it.
4578 # config.status only pays attention to the cache file if you give it
4579 # the --recheck option to rerun configure.
4581 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4582 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4587 # The following way of writing the cache mishandles newlines in values,
4588 # but we know of no workaround that is simple, portable, and efficient.
4589 # So, we kill variables containing newlines.
4590 # Ultrix sh set writes to stderr and can't be redirected directly,
4591 # and sets the high bit in the cache file unless we assign to the vars.
4593 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4594 eval ac_val=\$$ac_var
4598 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4599 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4602 _ | IFS | as_nl) ;; #(
4603 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4604 *) { eval $ac_var=; unset $ac_var;} ;;
4610 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4611 *${as_nl}ac_space=\ *)
4612 # `set' does not quote correctly, so add quotes: double-quote
4613 # substitution turns \\\\ into \\, and sed turns \\ into \.
4616 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4619 # `set' quotes correctly as required by POSIX, so do not add quotes.
4620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4629 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4631 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4633 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4634 if test -w "$cache_file"; then
4635 test "x$cache_file" != "x/dev/null" &&
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4637 $as_echo "$as_me: updating cache $cache_file" >&6;}
4638 cat confcache >$cache_file
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4641 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4646 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4647 # Let make expand exec_prefix.
4648 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4650 # Transform confdefs.h into DEFS.
4651 # Protect against shell expansion while executing Makefile rules.
4652 # Protect against Makefile macro expansion.
4654 # If the first sed substitution is executed (which looks for macros that
4655 # take arguments), then branch to the quote section. Otherwise,
4656 # look for a macro that doesn't take arguments.
4666 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4668 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4672 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4685 DEFS=`sed -n "$ac_script" confdefs.h`
4691 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4692 # 1. Remove the extension, and $U if already installed.
4693 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4694 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4695 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4696 # will be set to the directory where LIBOBJS objects are built.
4697 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4698 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4702 LTLIBOBJS=$ac_ltlibobjs
4705 if test -n "$EXEEXT"; then
4707 am__EXEEXT_FALSE='#'
4713 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4714 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4717 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4718 as_fn_error $? "conditional \"AMDEP\" was never defined.
4719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4721 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4722 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4726 : ${CONFIG_STATUS=./config.status}
4728 ac_clean_files_save=$ac_clean_files
4729 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4731 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4733 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4735 # Generated by $as_me.
4736 # Run this file to recreate the current configuration.
4737 # Compiler output produced by configure, useful for debugging
4738 # configure, is in config.log if it exists.
4744 SHELL=\${CONFIG_SHELL-$SHELL}
4747 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4748 ## -------------------- ##
4749 ## M4sh Initialization. ##
4750 ## -------------------- ##
4752 # Be more Bourne compatible
4753 DUALCASE=1; export DUALCASE # for MKS sh
4754 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4757 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4758 # is contrary to our usage. Disable this feature.
4759 alias -g '${1+"$@"}'='"$@"'
4760 setopt NO_GLOB_SUBST
4762 case `(set -o) 2>/dev/null` in #(
4774 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4775 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4778 # Prefer a ksh shell builtin over an external printf program on Solaris,
4779 # but without wasting forks for bash or zsh.
4780 if test -z "$BASH_VERSION$ZSH_VERSION" \
4781 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4782 as_echo='print -r --'
4783 as_echo_n='print -rn --'
4784 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4785 as_echo='printf %s\n'
4786 as_echo_n='printf %s'
4788 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4789 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4790 as_echo_n='/usr/ucb/echo -n'
4792 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4793 as_echo_n_body='eval
4797 expr "X$arg" : "X\\(.*\\)$as_nl";
4798 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4800 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4802 export as_echo_n_body
4803 as_echo_n='sh -c $as_echo_n_body as_echo'
4806 as_echo='sh -c $as_echo_body as_echo'
4809 # The user is always right.
4810 if test "${PATH_SEPARATOR+set}" != set; then
4812 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4813 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4820 # We need space, tab and new line, in precisely that order. Quoting is
4821 # there to prevent editors from complaining about space-tab.
4822 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4823 # splitting by setting IFS to empty value.)
4826 # Find who we are. Look in the path if we contain no directory separator.
4828 *[\\/]* ) as_myself=$0 ;;
4829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 test -z "$as_dir" && as_dir=.
4834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4840 # We did not find ourselves, most probably we were run as `sh COMMAND'
4841 # in which case we are not to be found in the path.
4842 if test "x$as_myself" = x; then
4845 if test ! -f "$as_myself"; then
4846 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4850 # Unset variables that we do not need and which cause bugs (e.g. in
4851 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4852 # suppresses any "Segmentation fault" message there. '((' could
4853 # trigger a bug in pdksh 5.2.14.
4854 for as_var in BASH_ENV ENV MAIL MAILPATH
4855 do eval test x\${$as_var+set} = xset \
4856 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4869 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4872 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4873 # ----------------------------------------
4874 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4875 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4876 # script with STATUS, using 1 if that was 0.
4879 as_status=$1; test $as_status -eq 0 && as_status=1
4881 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4884 $as_echo "$as_me: error: $2" >&2
4885 as_fn_exit $as_status
4889 # as_fn_set_status STATUS
4890 # -----------------------
4891 # Set $? to STATUS, without forking.
4895 } # as_fn_set_status
4899 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4909 # Portably unset VAR.
4912 { eval $1=; unset $1;}
4914 as_unset=as_fn_unset
4915 # as_fn_append VAR VALUE
4916 # ----------------------
4917 # Append the text in VALUE to the end of the definition contained in VAR. Take
4918 # advantage of any shell optimizations that allow amortized linear growth over
4919 # repeated appends, instead of the typical quadratic growth present in naive
4921 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4922 eval 'as_fn_append ()
4933 # as_fn_arith ARG...
4934 # ------------------
4935 # Perform arithmetic evaluation on the ARGs, and store the result in the
4936 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4937 # must be portable across $(()) and expr.
4938 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4939 eval 'as_fn_arith ()
4946 as_val=`expr "$@" || test $? -eq 1`
4951 if expr a : '\(a\)' >/dev/null 2>&1 &&
4952 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4958 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4959 as_basename=basename
4964 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4970 as_me=`$as_basename -- "$0" ||
4971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4972 X"$0" : 'X\(//\)$' \| \
4973 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4975 sed '/^.*\/\([^/][^/]*\)\/*$/{
4989 # Avoid depending upon Character Ranges.
4990 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4991 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4992 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4993 as_cr_digits='0123456789'
4994 as_cr_alnum=$as_cr_Letters$as_cr_digits
4996 ECHO_C= ECHO_N= ECHO_T=
4997 case `echo -n x` in #(((((
4999 case `echo 'xy\c'` in
5000 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5002 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5009 rm -f conf$$ conf$$.exe conf$$.file
5010 if test -d conf$$.dir; then
5011 rm -f conf$$.dir/conf$$.file
5014 mkdir conf$$.dir 2>/dev/null
5016 if (echo >conf$$.file) 2>/dev/null; then
5017 if ln -s conf$$.file conf$$ 2>/dev/null; then
5019 # ... but there are two gotchas:
5020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5022 # In both cases, we have to default to `cp -p'.
5023 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5025 elif ln conf$$.file conf$$ 2>/dev/null; then
5033 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5034 rmdir conf$$.dir 2>/dev/null
5039 # Create "$as_dir" as a directory, including parents if necessary.
5044 -*) as_dir=./$as_dir;;
5046 test -d "$as_dir" || eval $as_mkdir_p || {
5050 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5051 *) as_qdir=$as_dir;;
5053 as_dirs="'$as_qdir' $as_dirs"
5054 as_dir=`$as_dirname -- "$as_dir" ||
5055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5056 X"$as_dir" : 'X\(//\)[^/]' \| \
5057 X"$as_dir" : 'X\(//\)$' \| \
5058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5059 $as_echo X"$as_dir" |
5060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5077 test -d "$as_dir" && break
5079 test -z "$as_dirs" || eval "mkdir $as_dirs"
5080 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5084 if mkdir -p . 2>/dev/null; then
5085 as_mkdir_p='mkdir -p "$as_dir"'
5087 test -d ./-p && rmdir ./-p
5091 if test -x / >/dev/null 2>&1; then
5094 if ls -dL / >/dev/null 2>&1; then
5101 if test -d "$1"; then
5107 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5108 ???[sx]*):;;*)false;;esac;fi
5112 as_executable_p=$as_test_x
5114 # Sed expression to map a string onto a valid CPP name.
5115 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5117 # Sed expression to map a string onto a valid variable name.
5118 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5122 ## ----------------------------------- ##
5123 ## Main body of $CONFIG_STATUS script. ##
5124 ## ----------------------------------- ##
5126 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5129 # Save the log message, to keep $0 and so on meaningful, and to
5130 # report actual input values of CONFIG_FILES etc. instead of their
5131 # values after options handling.
5133 This file was extended by FixesProto $as_me 5.0, which was
5134 generated by GNU Autoconf 2.66. Invocation command line was
5136 CONFIG_FILES = $CONFIG_FILES
5137 CONFIG_HEADERS = $CONFIG_HEADERS
5138 CONFIG_LINKS = $CONFIG_LINKS
5139 CONFIG_COMMANDS = $CONFIG_COMMANDS
5142 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5147 case $ac_config_files in *"
5148 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5154 # Files that config.status was made for.
5155 config_files="$ac_config_files"
5156 config_commands="$ac_config_commands"
5160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5162 \`$as_me' instantiates files and other configuration actions
5163 from templates according to the current configuration. Unless the files
5164 and actions are specified as TAGs, all are instantiated by default.
5166 Usage: $0 [OPTION]... [TAG]...
5168 -h, --help print this help, then exit
5169 -V, --version print version number and configuration settings, then exit
5170 --config print configuration, then exit
5171 -q, --quiet, --silent
5172 do not print progress messages
5173 -d, --debug don't remove temporary files
5174 --recheck update $as_me by reconfiguring in the same conditions
5175 --file=FILE[:TEMPLATE]
5176 instantiate the configuration file FILE
5178 Configuration files:
5181 Configuration commands:
5184 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5188 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5190 FixesProto config.status 5.0
5191 configured by $0, generated by GNU Autoconf 2.66,
5192 with options \\"\$ac_cs_config\\"
5194 Copyright (C) 2010 Free Software Foundation, Inc.
5195 This config.status script is free software; the Free Software Foundation
5196 gives unlimited permission to copy, distribute and modify it."
5203 test -n "\$AWK" || AWK=awk
5206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5207 # The default lists apply if the user does not specify any file.
5213 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5214 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5225 # Handling of the options.
5226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5228 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5229 $as_echo "$ac_cs_version"; exit ;;
5230 --config | --confi | --conf | --con | --co | --c )
5231 $as_echo "$ac_cs_config"; exit ;;
5232 --debug | --debu | --deb | --de | --d | -d )
5234 --file | --fil | --fi | --f )
5237 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5239 as_fn_append CONFIG_FILES " '$ac_optarg'"
5240 ac_need_defaults=false;;
5241 --he | --h | --help | --hel | -h )
5242 $as_echo "$ac_cs_usage"; exit ;;
5243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5244 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5248 -*) as_fn_error $? "unrecognized option: \`$1'
5249 Try \`$0 --help' for more information." ;;
5251 *) as_fn_append ac_config_targets " $1"
5252 ac_need_defaults=false ;;
5258 ac_configure_extra_args=
5260 if $ac_cs_silent; then
5262 ac_configure_extra_args="$ac_configure_extra_args --silent"
5266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5267 if \$ac_cs_recheck; then
5268 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5270 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5271 CONFIG_SHELL='$SHELL'
5277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5281 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5282 ## Running $as_me. ##
5288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5292 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5298 # Handling of arguments.
5299 for ac_config_target in $ac_config_targets
5301 case $ac_config_target in
5302 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5303 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5304 "fixesproto.pc") CONFIG_FILES="$CONFIG_FILES fixesproto.pc" ;;
5306 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5311 # If the user did not use the arguments to specify the items to instantiate,
5312 # then the envvar interface is used. Set only those that are not.
5313 # We use the long form for the default assignment because of an extremely
5314 # bizarre bug on SunOS 4.1.3.
5315 if $ac_need_defaults; then
5316 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5317 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5320 # Have a temporary directory for convenience. Make it in the build tree
5321 # simply because there is no reason against having it here, and in addition,
5322 # creating and moving files from /tmp can sometimes cause problems.
5323 # Hook for its removal unless debugging.
5324 # Note that there is a small window in which the directory will not be cleaned:
5325 # after its creation but before its name has been assigned to `$tmp'.
5329 trap 'exit_status=$?
5330 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5332 trap 'as_fn_exit 1' 1 2 13 15
5334 # Create a (secure) tmp directory for tmp files.
5337 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5338 test -n "$tmp" && test -d "$tmp"
5341 tmp=./conf$$-$RANDOM
5342 (umask 077 && mkdir "$tmp")
5343 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5345 # Set up the scripts for CONFIG_FILES section.
5346 # No need to generate them if there are no CONFIG_FILES.
5347 # This happens for instance with `./config.status config.h'.
5348 if test -n "$CONFIG_FILES"; then
5351 ac_cr=`echo X | tr X '\015'`
5352 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5353 # But we know of no other shell where ac_cr would be empty at this
5354 # point, so we can use a bashism as a fallback.
5355 if test "x$ac_cr" = x; then
5356 eval ac_cr=\$\'\\r\'
5358 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5365 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5370 echo "cat >conf$$subs.awk <<_ACEOF" &&
5371 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5374 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5375 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5377 for ac_last_try in false false false false false :; do
5378 . ./conf$$subs.sh ||
5379 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5381 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5382 if test $ac_delim_n = $ac_delim_num; then
5384 elif $ac_last_try; then
5385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5387 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5393 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5397 s/^/S["/; s/!.*/"]=/
5407 s/\(.\{148\}\)..*/\1/
5409 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5421 s/\(.\{148\}\)..*/\1/
5423 s/["\\]/\\&/g; s/^/"/; s/$/"/
5427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5432 ' <conf$$subs.awk | sed '
5437 ' >>$CONFIG_STATUS || ac_write_fail=1
5438 rm -f conf$$subs.awk
5439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5441 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5442 for (key in S) S_is_set[key] = 1
5448 nfields = split(line, field, "@")
5450 len = length(field[1])
5451 for (i = 2; i < nfields; i++) {
5453 keylen = length(key)
5454 if (S_is_set[key]) {
5456 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5457 len += length(value) + length(field[++i])
5468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5469 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5470 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5473 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5474 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5477 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5478 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5479 # trailing colons and then remove the whole line if VPATH becomes empty
5480 # (actually we leave an empty line to preserve line numbers).
5481 if test "x$srcdir" = x.; then
5482 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501 fi # test -n "$CONFIG_FILES"
5504 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5509 :[FHLC]) ac_mode=$ac_tag; continue;;
5511 case $ac_mode$ac_tag in
5513 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5514 :[FH]-) ac_tag=-:-;;
5515 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5532 -) ac_f="$tmp/stdin";;
5533 *) # Look for the file first in the build tree, then in the source tree
5534 # (if the path is not absolute). The absolute path cannot be DOS-style,
5535 # because $ac_f cannot contain `:'.
5539 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5541 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5543 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5544 as_fn_append ac_file_inputs " '$ac_f'"
5547 # Let's still pretend it is `configure' which instantiates (i.e., don't
5548 # use $as_me), people would be surprised to read:
5549 # /* config.h. Generated by config.status. */
5550 configure_input='Generated from '`
5551 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5553 if test x"$ac_file" != x-; then
5554 configure_input="$ac_file. $configure_input"
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5556 $as_echo "$as_me: creating $ac_file" >&6;}
5558 # Neutralize special characters interpreted by sed in replacement strings.
5559 case $configure_input in #(
5560 *\&* | *\|* | *\\* )
5561 ac_sed_conf_input=`$as_echo "$configure_input" |
5562 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5563 *) ac_sed_conf_input=$configure_input;;
5567 *:-:* | *:-) cat >"$tmp/stdin" \
5568 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5573 ac_dir=`$as_dirname -- "$ac_file" ||
5574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5575 X"$ac_file" : 'X\(//\)[^/]' \| \
5576 X"$ac_file" : 'X\(//\)$' \| \
5577 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5578 $as_echo X"$ac_file" |
5579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5596 as_dir="$ac_dir"; as_fn_mkdir_p
5600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5602 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5603 # A ".." for each directory in $ac_dir_suffix.
5604 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5605 case $ac_top_builddir_sub in
5606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5610 ac_abs_top_builddir=$ac_pwd
5611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5612 # for backward compatibility:
5613 ac_top_builddir=$ac_top_build_prefix
5616 .) # We are building in place.
5618 ac_top_srcdir=$ac_top_builddir_sub
5619 ac_abs_top_srcdir=$ac_pwd ;;
5620 [\\/]* | ?:[\\/]* ) # Absolute name.
5621 ac_srcdir=$srcdir$ac_dir_suffix;
5622 ac_top_srcdir=$srcdir
5623 ac_abs_top_srcdir=$srcdir ;;
5625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5626 ac_top_srcdir=$ac_top_build_prefix$srcdir
5627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5639 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5640 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5644 [\\/$]* | ?:[\\/]* ) ;;
5645 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5650 # If the template does not know about datarootdir, expand it.
5651 # FIXME: This hack should be removed a few years after 2.60.
5652 ac_datarootdir_hack=; ac_datarootdir_seen=
5663 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5664 *datarootdir*) ac_datarootdir_seen=yes;;
5665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5667 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5670 ac_datarootdir_hack='
5671 s&@datadir@&$datadir&g
5672 s&@docdir@&$docdir&g
5673 s&@infodir@&$infodir&g
5674 s&@localedir@&$localedir&g
5675 s&@mandir@&$mandir&g
5676 s&\\\${datarootdir}&$datarootdir&g' ;;
5680 # Neutralize VPATH when `$srcdir' = `.'.
5681 # Shell code in configure.ac might set extrasub.
5682 # FIXME: do we really want to maintain this feature?
5683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5684 ac_sed_extra="$ac_vpsub
5687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5690 s|@configure_input@|$ac_sed_conf_input|;t t
5691 s&@top_builddir@&$ac_top_builddir_sub&;t t
5692 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5693 s&@srcdir@&$ac_srcdir&;t t
5694 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5695 s&@top_srcdir@&$ac_top_srcdir&;t t
5696 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5697 s&@builddir@&$ac_builddir&;t t
5698 s&@abs_builddir@&$ac_abs_builddir&;t t
5699 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5700 s&@INSTALL@&$ac_INSTALL&;t t
5701 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5702 $ac_datarootdir_hack
5704 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5708 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5711 which seems to be undefined. Please make sure it is defined" >&5
5712 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5713 which seems to be undefined. Please make sure it is defined" >&2;}
5717 -) cat "$tmp/out" && rm -f "$tmp/out";;
5718 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5724 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5725 $as_echo "$as_me: executing $ac_file commands" >&6;}
5730 case $ac_file$ac_mode in
5731 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5732 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5733 # are listed without --file. Let's play safe and only enable the eval
5734 # if we detect the quoting.
5735 case $CONFIG_FILES in
5736 *\'*) eval set x "$CONFIG_FILES" ;;
5737 *) set x $CONFIG_FILES ;;
5742 # Strip MF so we end up with the name of the file.
5743 mf=`echo "$mf" | sed -e 's/:.*$//'`
5744 # Check whether this is an Automake generated Makefile or not.
5745 # We used to match only the files named `Makefile.in', but
5746 # some people rename them; so instead we look at the file content.
5747 # Grep'ing the first line is not enough: some people post-process
5748 # each Makefile.in and add a new line on top of each file to say so.
5749 # Grep'ing the whole file is not good either: AIX grep has a line
5750 # limit of 2048, but all sed's we know have understand at least 4000.
5751 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5752 dirpart=`$as_dirname -- "$mf" ||
5753 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5754 X"$mf" : 'X\(//\)[^/]' \| \
5755 X"$mf" : 'X\(//\)$' \| \
5756 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5778 # Extract the definition of DEPDIR, am__include, and am__quote
5779 # from the Makefile without running `make'.
5780 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5781 test -z "$DEPDIR" && continue
5782 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5783 test -z "am__include" && continue
5784 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5785 # When using ansi2knr, U may be empty or an underscore; expand it
5786 U=`sed -n 's/^U = //p' < "$mf"`
5787 # Find all dependency output files, they are included files with
5788 # $(DEPDIR) in their names. We invoke sed twice because it is the
5789 # simplest approach to changing $(DEPDIR) to its actual value in the
5791 for file in `sed -n "
5792 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5793 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5794 # Make sure the directory exists.
5795 test -f "$dirpart/$file" && continue
5796 fdir=`$as_dirname -- "$file" ||
5797 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5798 X"$file" : 'X\(//\)[^/]' \| \
5799 X"$file" : 'X\(//\)$' \| \
5800 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5819 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5820 # echo "creating $dirpart/$file"
5821 echo '# dummy' > "$dirpart/$file"
5833 ac_clean_files=$ac_clean_files_save
5835 test $ac_write_fail = 0 ||
5836 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5839 # configure is writing to config.log, and then calls config.status.
5840 # config.status does its own redirection, appending to config.log.
5841 # Unfortunately, on DOS this fails, as config.log is still kept open
5842 # by configure, so config.status won't be able to write to it; its
5843 # output is simply discarded. So we exec the FD to /dev/null,
5844 # effectively closing config.log, so it can be properly (re)opened and
5845 # appended to by config.status. When coming back to configure, we
5846 # need to make the FD available again.
5847 if test "$no_create" != yes; then
5849 ac_config_status_args=
5850 test "$silent" = yes &&
5851 ac_config_status_args="$ac_config_status_args --quiet"
5853 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5855 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5856 # would make configure fail if this is the last instruction.
5857 $ac_cs_success || as_fn_exit 1
5859 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5861 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}