2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xkbevd 1.1.2.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243 $0: about your system, including any error possibly output
244 $0: before this message. Then install a modern shell, or
245 $0: manually run the script under such a shell if you do
252 SHELL=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir=./$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304 as_dirs="'$as_qdir' $as_dirs"
305 as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 as_val=`expr "$@" || test $? -eq 1`
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
378 as_status=$1; test $as_status -eq 0 && as_status=1
380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit $as_status
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
433 as_lineno_1=$LINENO as_lineno_1a=$LINENO
434 as_lineno_2=$LINENO as_lineno_2a=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
460 # Exit status is that of the last command.
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479 rm -f conf$$.dir/conf$$.file
482 mkdir conf$$.dir 2>/dev/null
484 if (echo >conf$$.file) 2>/dev/null; then
485 if ln -s conf$$.file conf$$ 2>/dev/null; then
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
493 elif ln conf$$.file conf$$ 2>/dev/null; then
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
504 if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"'
507 test -d ./-p && rmdir ./-p
511 if test -x / >/dev/null 2>&1; then
514 if ls -dL / >/dev/null 2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 test -n "$DJDIR" || exec 7<&0 </dev/null
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
552 ac_default_prefix=/usr/local
554 ac_config_libobj_dir=.
561 # Identity of this package.
562 PACKAGE_NAME='xkbevd'
563 PACKAGE_TARNAME='xkbevd'
564 PACKAGE_VERSION='1.1.2'
565 PACKAGE_STRING='xkbevd 1.1.2'
566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
569 ac_unique_file="Makefile.am"
570 # Factoring default headers for most tests.
571 ac_includes_default="\
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
583 # ifdef HAVE_STDLIB_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
606 ac_subst_vars='am__EXEEXT_FALSE
664 MAINTAINER_MODE_FALSE
674 INSTALL_STRIP_PROGRAM
716 program_transform_name
729 enable_option_checking
730 enable_maintainer_mode
731 enable_dependency_tracking
732 enable_strict_compilation
735 ac_precious_vars='build_alias
751 # Initialize some variables set by options.
753 ac_init_version=false
754 ac_unrecognized_opts=
756 # The variables have the same names as the options, with
757 # dashes changed to underlines.
765 program_transform_name=s,x,x,
773 # Installation directory options.
774 # These are left unexpanded so users can "make install exec_prefix=/foo"
775 # and all the variables that are supposed to be based on exec_prefix
776 # by default will actually change.
777 # Use braces instead of parens because sh, perl, etc. also accept them.
778 # (The list follows the same order as the GNU Coding Standards.)
779 bindir='${exec_prefix}/bin'
780 sbindir='${exec_prefix}/sbin'
781 libexecdir='${exec_prefix}/libexec'
782 datarootdir='${prefix}/share'
783 datadir='${datarootdir}'
784 sysconfdir='${prefix}/etc'
785 sharedstatedir='${prefix}/com'
786 localstatedir='${prefix}/var'
787 includedir='${prefix}/include'
788 oldincludedir='/usr/include'
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir='${datarootdir}/info'
795 libdir='${exec_prefix}/lib'
796 localedir='${datarootdir}/locale'
797 mandir='${datarootdir}/man'
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\$ac_option
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
840 cache_file=config.cache ;;
842 -datadir | --datadir | --datadi | --datad)
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
868 eval enable_$ac_useropt=no ;;
870 -docdir | --docdir | --docdi | --doc | --do)
872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880 -enable-* | --enable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=\$ac_optarg ;;
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898 | --exec | --exe | --ex)
899 ac_prev=exec_prefix ;;
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902 | --exec=* | --exe=* | --ex=*)
903 exec_prefix=$ac_optarg ;;
905 -gas | --gas | --ga | --g)
906 # Obsolete; use --with-gas.
909 -help | --help | --hel | --he | -h)
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912 ac_init_help=recursive ;;
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914 ac_init_help=short ;;
916 -host | --host | --hos | --ho)
917 ac_prev=host_alias ;;
918 -host=* | --host=* | --hos=* | --ho=*)
919 host_alias=$ac_optarg ;;
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
925 htmldir=$ac_optarg ;;
927 -includedir | --includedir | --includedi | --included | --include \
928 | --includ | --inclu | --incl | --inc)
929 ac_prev=includedir ;;
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931 | --includ=* | --inclu=* | --incl=* | --inc=*)
932 includedir=$ac_optarg ;;
934 -infodir | --infodir | --infodi | --infod | --info | --inf)
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937 infodir=$ac_optarg ;;
939 -libdir | --libdir | --libdi | --libd)
941 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945 | --libexe | --libex | --libe)
946 ac_prev=libexecdir ;;
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948 | --libexe=* | --libex=* | --libe=*)
949 libexecdir=$ac_optarg ;;
951 -localedir | --localedir | --localedi | --localed | --locale)
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954 localedir=$ac_optarg ;;
956 -localstatedir | --localstatedir | --localstatedi | --localstated \
957 | --localstate | --localstat | --localsta | --localst | --locals)
958 ac_prev=localstatedir ;;
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961 localstatedir=$ac_optarg ;;
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
969 # Obsolete; use --without-fp.
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973 | --no-cr | --no-c | -n)
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982 | --oldin | --oldi | --old | --ol | --o)
983 ac_prev=oldincludedir ;;
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987 oldincludedir=$ac_optarg ;;
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \
995 | --program-pre | --program-pr | --program-p)
996 ac_prev=program_prefix ;;
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999 program_prefix=$ac_optarg ;;
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002 | --program-suf | --program-su | --program-s)
1003 ac_prev=program_suffix ;;
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006 program_suffix=$ac_optarg ;;
1008 -program-transform-name | --program-transform-name \
1009 | --program-transform-nam | --program-transform-na \
1010 | --program-transform-n | --program-transform- \
1011 | --program-transform | --program-transfor \
1012 | --program-transfo | --program-transf \
1013 | --program-trans | --program-tran \
1014 | --progr-tra | --program-tr | --program-t)
1015 ac_prev=program_transform_name ;;
1016 -program-transform-name=* | --program-transform-name=* \
1017 | --program-transform-nam=* | --program-transform-na=* \
1018 | --program-transform-n=* | --program-transform-=* \
1019 | --program-transform=* | --program-transfor=* \
1020 | --program-transfo=* | --program-transf=* \
1021 | --program-trans=* | --program-tran=* \
1022 | --progr-tra=* | --program-tr=* | --program-t=*)
1023 program_transform_name=$ac_optarg ;;
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028 pdfdir=$ac_optarg ;;
1030 -psdir | --psdir | --psdi | --psd | --ps)
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043 sbindir=$ac_optarg ;;
1045 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1047 | --sharedst | --shareds | --shared | --share | --shar \
1049 ac_prev=sharedstatedir ;;
1050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054 sharedstatedir=$ac_optarg ;;
1056 -site | --site | --sit)
1058 -site=* | --site=* | --sit=*)
1061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1064 srcdir=$ac_optarg ;;
1066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1067 | --syscon | --sysco | --sysc | --sys | --sy)
1068 ac_prev=sysconfdir ;;
1069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1071 sysconfdir=$ac_optarg ;;
1073 -target | --target | --targe | --targ | --tar | --ta | --t)
1074 ac_prev=target_alias ;;
1075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1076 target_alias=$ac_optarg ;;
1078 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 -version | --version | --versio | --versi | --vers | -V)
1082 ac_init_version=: ;;
1085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 as_fn_error $? "invalid package name: $ac_useropt"
1089 ac_useropt_orig=$ac_useropt
1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1096 ac_unrecognized_sep=', ';;
1098 eval with_$ac_useropt=\$ac_optarg ;;
1100 -without-* | --without-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid package name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1114 eval with_$ac_useropt=no ;;
1117 # Obsolete; use --with-x.
1120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1121 | --x-incl | --x-inc | --x-in | --x-i)
1122 ac_prev=x_includes ;;
1123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1125 x_includes=$ac_optarg ;;
1127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1129 ac_prev=x_libraries ;;
1130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1132 x_libraries=$ac_optarg ;;
1134 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1135 Try \`$0 --help' for more information"
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 case $ac_envvar in #(
1142 '' | [0-9]* | *[!_$as_cr_alnum]* )
1143 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1145 eval $ac_envvar=\$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1152 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159 if test -n "$ac_prev"; then
1160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1161 as_fn_error $? "missing argument to $ac_option"
1164 if test -n "$ac_unrecognized_opts"; then
1165 case $enable_option_checking in
1167 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172 # Check all directory arguments for consistency.
1173 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174 datadir sysconfdir sharedstatedir localstatedir includedir \
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176 libdir localedir mandir
1178 eval ac_val=\$$ac_var
1179 # Remove trailing slashes.
1182 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183 eval $ac_var=\$ac_val;;
1185 # Be sure to have absolute directory names.
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x; then
1202 if test "x$build_alias" = x; then
1203 cross_compiling=maybe
1204 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used" >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1214 test "$silent" = yes && exec 6>/dev/null
1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di=`ls -di .` &&
1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1220 as_fn_error $? "working directory cannot be determined"
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 as_fn_error $? "pwd does not report name of working directory"
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$as_myself" ||
1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$as_myself" : 'X\(//\)[^/]' \| \
1232 X"$as_myself" : 'X\(//\)$' \| \
1233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1234 $as_echo X"$as_myself" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1291 \`configure' configures xkbevd 1.1.2 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking ...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/xkbevd]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1349 --program-prefix=PREFIX prepend PREFIX to installed program names
1350 --program-suffix=SUFFIX append SUFFIX to installed program names
1351 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of xkbevd 1.1.2:";;
1366 --disable-option-checking ignore unrecognized --enable/--with options
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --enable-maintainer-mode enable make rules and dependencies not useful
1370 (and sometimes confusing) to the casual installer
1371 --disable-dependency-tracking speeds up one-time build
1372 --enable-dependency-tracking do not reject slow dependency extractors
1373 --enable-strict-compilation
1374 Enable all warnings from compiler and make them
1375 errors (default: disabled)
1376 --enable-silent-rules less verbose build output (undo: `make V=1')
1377 --disable-silent-rules verbose build output (undo: `make V=0')
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1388 PKG_CONFIG path to pkg-config utility
1389 YACC The `Yet Another Compiler Compiler' implementation to use.
1390 Defaults to the first program found out of: `bison -y', `byacc',
1392 YFLAGS The list of arguments that will be passed by default to $YACC.
1393 This script will default YFLAGS to the empty string to avoid a
1394 default value of `-d' given by some make applications.
1396 C compiler flags for XKBEVD, overriding pkg-config
1397 XKBEVD_LIBS linker flags for XKBEVD, overriding pkg-config
1399 Use these variables to override the choices made by `configure' or to help
1400 it to find libraries and programs with nonstandard names/locations.
1402 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1407 if test "$ac_init_help" = "recursive"; then
1408 # If there are subdirs, report their specific --help.
1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1410 test -d "$ac_dir" ||
1411 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1419 # A ".." for each directory in $ac_dir_suffix.
1420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1421 case $ac_top_builddir_sub in
1422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426 ac_abs_top_builddir=$ac_pwd
1427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1428 # for backward compatibility:
1429 ac_top_builddir=$ac_top_build_prefix
1432 .) # We are building in place.
1434 ac_top_srcdir=$ac_top_builddir_sub
1435 ac_abs_top_srcdir=$ac_pwd ;;
1436 [\\/]* | ?:[\\/]* ) # Absolute name.
1437 ac_srcdir=$srcdir$ac_dir_suffix;
1438 ac_top_srcdir=$srcdir
1439 ac_abs_top_srcdir=$srcdir ;;
1441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1442 ac_top_srcdir=$ac_top_build_prefix$srcdir
1443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1447 cd "$ac_dir" || { ac_status=$?; continue; }
1448 # Check for guested configure.
1449 if test -f "$ac_srcdir/configure.gnu"; then
1451 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1452 elif test -f "$ac_srcdir/configure"; then
1454 $SHELL "$ac_srcdir/configure" --help=recursive
1456 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 cd "$ac_pwd" || { ac_status=$?; break; }
1462 test -n "$ac_init_help" && exit $ac_status
1463 if $ac_init_version; then
1465 xkbevd configure 1.1.2
1466 generated by GNU Autoconf 2.68
1468 Copyright (C) 2010 Free Software Foundation, Inc.
1469 This configure script is free software; the Free Software Foundation
1470 gives unlimited permission to copy, distribute and modify it.
1475 ## ------------------------ ##
1476 ## Autoconf initialization. ##
1477 ## ------------------------ ##
1479 # ac_fn_c_try_compile LINENO
1480 # --------------------------
1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1482 ac_fn_c_try_compile ()
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 rm -f conftest.$ac_objext
1486 if { { ac_try="$ac_compile"
1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1489 *) ac_try_echo=$ac_try;;
1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1492 $as_echo "$ac_try_echo"; } >&5
1493 (eval "$ac_compile") 2>conftest.err
1495 if test -s conftest.err; then
1496 grep -v '^ *+' conftest.err >conftest.er1
1497 cat conftest.er1 >&5
1498 mv -f conftest.er1 conftest.err
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1501 test $ac_status = 0; } && {
1502 test -z "$ac_c_werror_flag" ||
1503 test ! -s conftest.err
1504 } && test -s conftest.$ac_objext; then :
1507 $as_echo "$as_me: failed program was:" >&5
1508 sed 's/^/| /' conftest.$ac_ext >&5
1512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1513 as_fn_set_status $ac_retval
1515 } # ac_fn_c_try_compile
1517 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1518 # ---------------------------------------------
1519 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1521 ac_fn_c_check_decl ()
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524 as_decl_name=`echo $2|sed 's/ *(.*//'`
1525 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1527 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1528 if eval \${$3+:} false; then :
1529 $as_echo_n "(cached) " >&6
1531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1532 /* end confdefs.h. */
1537 #ifndef $as_decl_name
1539 (void) $as_decl_use;
1541 (void) $as_decl_name;
1549 if ac_fn_c_try_compile "$LINENO"; then :
1554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558 $as_echo "$ac_res" >&6; }
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561 } # ac_fn_c_check_decl
1563 # ac_fn_c_try_cpp LINENO
1564 # ----------------------
1565 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 if { { ac_try="$ac_cpp conftest.$ac_ext"
1571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1572 *) ac_try_echo=$ac_try;;
1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1578 if test -s conftest.err; then
1579 grep -v '^ *+' conftest.err >conftest.er1
1580 cat conftest.er1 >&5
1581 mv -f conftest.er1 conftest.err
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } > conftest.i && {
1585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1586 test ! -s conftest.err
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.$ac_ext >&5
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 as_fn_set_status $ac_retval
1600 # ac_fn_c_try_run LINENO
1601 # ----------------------
1602 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1603 # that executables *can* be run.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 if { { ac_try="$ac_link"
1609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_link") 2>&5
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1618 { { case "(($ac_try" in
1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_try") 2>&5
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; }; }; then :
1630 $as_echo "$as_me: program exited with status $ac_status" >&5
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1634 ac_retval=$ac_status
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status $ac_retval
1642 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1643 # -------------------------------------------------------
1644 # Tests whether HEADER exists and can be compiled using the include files in
1645 # INCLUDES, setting the cache variable VAR accordingly.
1646 ac_fn_c_check_header_compile ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if eval \${$3+:} false; then :
1652 $as_echo_n "(cached) " >&6
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1659 if ac_fn_c_try_compile "$LINENO"; then :
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 } # ac_fn_c_check_header_compile
1672 cat >config.log <<_ACEOF
1673 This file contains any messages produced by compilers while
1674 running configure, to aid debugging if configure makes a mistake.
1676 It was created by xkbevd $as_me 1.1.2, which was
1677 generated by GNU Autoconf 2.68. Invocation command line was
1689 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1690 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1691 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1692 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1693 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1695 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1696 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1698 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1699 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1700 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1701 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1702 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1703 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1704 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir=.
1713 $as_echo "PATH: $as_dir"
1729 # Keep a trace of the command line.
1730 # Strip out --no-create and --no-recursion so they do not pile up.
1731 # Strip out --silent because we don't want to record it for future runs.
1732 # Also quote any args containing shell meta-characters.
1733 # Make two passes to allow for proper duplicate-argument suppression.
1737 ac_must_keep_next=false
1743 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1745 | -silent | --silent | --silen | --sile | --sil)
1748 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1751 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1753 as_fn_append ac_configure_args1 " '$ac_arg'"
1754 if test $ac_must_keep_next = true; then
1755 ac_must_keep_next=false # Got value, back to normal.
1758 *=* | --config-cache | -C | -disable-* | --disable-* \
1759 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1760 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1761 | -with-* | --with-* | -without-* | --without-* | --x)
1762 case "$ac_configure_args0 " in
1763 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1766 -* ) ac_must_keep_next=true ;;
1769 as_fn_append ac_configure_args " '$ac_arg'"
1774 { ac_configure_args0=; unset ac_configure_args0;}
1775 { ac_configure_args1=; unset ac_configure_args1;}
1777 # When interrupted or exit'd, cleanup temporary files, and complete
1778 # config.log. We remove comments because anyway the quotes in there
1779 # would cause problems or look ugly.
1780 # WARNING: Use '\'' to represent an apostrophe within the trap.
1781 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1782 trap 'exit_status=$?
1783 # Save into config.log some information that might help in debugging.
1787 $as_echo "## ---------------- ##
1788 ## Cache variables. ##
1789 ## ---------------- ##"
1791 # The following way of writing the cache mishandles newlines in values,
1793 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1794 eval ac_val=\$$ac_var
1798 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1799 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1802 _ | IFS | as_nl) ;; #(
1803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1804 *) { eval $ac_var=; unset $ac_var;} ;;
1809 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1810 *${as_nl}ac_space=\ *)
1812 "s/'\''/'\''\\\\'\'''\''/g;
1813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1823 $as_echo "## ----------------- ##
1824 ## Output variables. ##
1825 ## ----------------- ##"
1827 for ac_var in $ac_subst_vars
1829 eval ac_val=\$$ac_var
1831 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833 $as_echo "$ac_var='\''$ac_val'\''"
1837 if test -n "$ac_subst_files"; then
1838 $as_echo "## ------------------- ##
1839 ## File substitutions. ##
1840 ## ------------------- ##"
1842 for ac_var in $ac_subst_files
1844 eval ac_val=\$$ac_var
1846 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1848 $as_echo "$ac_var='\''$ac_val'\''"
1853 if test -s confdefs.h; then
1854 $as_echo "## ----------- ##
1861 test "$ac_signal" != 0 &&
1862 $as_echo "$as_me: caught signal $ac_signal"
1863 $as_echo "$as_me: exit $exit_status"
1865 rm -f core *.core core.conftest.* &&
1866 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1869 for ac_signal in 1 2 13 15; do
1870 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1874 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1875 rm -f -r conftest* confdefs.h
1877 $as_echo "/* confdefs.h */" > confdefs.h
1879 # Predefined preprocessor variables.
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_NAME "$PACKAGE_NAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1889 cat >>confdefs.h <<_ACEOF
1890 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_STRING "$PACKAGE_STRING"
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_URL "$PACKAGE_URL"
1906 # Let the site file select an alternate cache file if it wants to.
1907 # Prefer an explicitly selected file to automatically selected ones.
1910 if test -n "$CONFIG_SITE"; then
1911 # We do not want a PATH search for config.site.
1912 case $CONFIG_SITE in #((
1913 -*) ac_site_file1=./$CONFIG_SITE;;
1914 */*) ac_site_file1=$CONFIG_SITE;;
1915 *) ac_site_file1=./$CONFIG_SITE;;
1917 elif test "x$prefix" != xNONE; then
1918 ac_site_file1=$prefix/share/config.site
1919 ac_site_file2=$prefix/etc/config.site
1921 ac_site_file1=$ac_default_prefix/share/config.site
1922 ac_site_file2=$ac_default_prefix/etc/config.site
1924 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1926 test "x$ac_site_file" = xNONE && continue
1927 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1929 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1930 sed 's/^/| /' "$ac_site_file" >&5
1932 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1934 as_fn_error $? "failed to load site script $ac_site_file
1935 See \`config.log' for more details" "$LINENO" 5; }
1939 if test -r "$cache_file"; then
1940 # Some versions of bash will fail to source /dev/null (special files
1941 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1942 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1944 $as_echo "$as_me: loading cache $cache_file" >&6;}
1946 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1947 *) . "./$cache_file";;
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1952 $as_echo "$as_me: creating cache $cache_file" >&6;}
1956 # Check that the precious variables saved in the cache have kept the same
1958 ac_cache_corrupted=false
1959 for ac_var in $ac_precious_vars; do
1960 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1961 eval ac_new_set=\$ac_env_${ac_var}_set
1962 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1963 eval ac_new_val=\$ac_env_${ac_var}_value
1964 case $ac_old_set,$ac_new_set in
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1967 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1968 ac_cache_corrupted=: ;;
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1971 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1972 ac_cache_corrupted=: ;;
1975 if test "x$ac_old_val" != "x$ac_new_val"; then
1976 # differences in whitespace do not lead to failure.
1977 ac_old_val_w=`echo x $ac_old_val`
1978 ac_new_val_w=`echo x $ac_new_val`
1979 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1981 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1982 ac_cache_corrupted=:
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1985 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1986 eval $ac_var=\$ac_old_val
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1989 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1991 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1994 # Pass precious variables to config.status.
1995 if test "$ac_new_set" = set; then
1997 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1998 *) ac_arg=$ac_var=$ac_new_val ;;
2000 case " $ac_configure_args " in
2001 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2002 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2006 if $ac_cache_corrupted; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2010 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2011 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2013 ## -------------------- ##
2014 ## Main body of script. ##
2015 ## -------------------- ##
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2025 ac_config_headers="$ac_config_headers config.h"
2028 # Initialize Automake
2029 am__api_version='1.11'
2032 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2033 if test -f "$ac_dir/install-sh"; then
2035 ac_install_sh="$ac_aux_dir/install-sh -c"
2037 elif test -f "$ac_dir/install.sh"; then
2039 ac_install_sh="$ac_aux_dir/install.sh -c"
2041 elif test -f "$ac_dir/shtool"; then
2043 ac_install_sh="$ac_aux_dir/shtool install -c"
2047 if test -z "$ac_aux_dir"; then
2048 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2051 # These three variables are undocumented and unsupported,
2052 # and are intended to be withdrawn in a future Autoconf release.
2053 # They can cause serious problems if a builder's source tree is in a directory
2054 # whose full name contains unusual characters.
2055 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2056 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2057 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2060 # Find a good install program. We prefer a C program (faster),
2061 # so one script is as good as another. But avoid the broken or
2062 # incompatible versions:
2063 # SysV /etc/install, /usr/sbin/install
2064 # SunOS /usr/etc/install
2065 # IRIX /sbin/install
2067 # AmigaOS /C/install, which installs bootblocks on floppy discs
2068 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2069 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2070 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2071 # OS/2's system install, which has a completely different semantic
2072 # ./install, which can be erroneously created by make from ./install.sh.
2073 # Reject install programs that cannot install multiple files.
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2075 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2076 if test -z "$INSTALL"; then
2077 if ${ac_cv_path_install+:} false; then :
2078 $as_echo_n "(cached) " >&6
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir=.
2085 # Account for people who put trailing slashes in PATH elements.
2086 case $as_dir/ in #((
2087 ./ | .// | /[cC]/* | \
2088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2089 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2092 # OSF1 and SCO ODT 3.0 have their own names for install.
2093 # Don't use installbsd from OSF since it installs stuff as root
2095 for ac_prog in ginstall scoinst install; do
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2098 if test $ac_prog = install &&
2099 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2100 # AIX install. It has an incompatible calling convention.
2102 elif test $ac_prog = install &&
2103 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2104 # program-specific install script used by HP pwplus--don't use.
2107 rm -rf conftest.one conftest.two conftest.dir
2108 echo one > conftest.one
2109 echo two > conftest.two
2111 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2112 test -s conftest.one && test -s conftest.two &&
2113 test -s conftest.dir/conftest.one &&
2114 test -s conftest.dir/conftest.two
2116 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2129 rm -rf conftest.one conftest.two conftest.dir
2132 if test "${ac_cv_path_install+set}" = set; then
2133 INSTALL=$ac_cv_path_install
2135 # As a last resort, use the slow shell script. Don't cache a
2136 # value for INSTALL within a source directory, because that will
2137 # break other packages using the cache if that directory is
2138 # removed, or if the value is a relative name.
2139 INSTALL=$ac_install_sh
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2143 $as_echo "$INSTALL" >&6; }
2145 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2146 # It thinks the first close brace ends the variable substitution.
2147 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2149 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2151 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2154 $as_echo_n "checking whether build environment is sane... " >&6; }
2157 echo timestamp > conftest.file
2158 # Reject unsafe characters in $srcdir or the absolute working directory
2159 # name. Accept space and tab only in the latter.
2163 *[\\\"\#\$\&\'\`$am_lf]*)
2164 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2167 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2168 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2171 # Do `set' in a subshell so we don't clobber the current shell's
2172 # arguments. Must try -L first in case configure is actually a
2173 # symlink; some systems play weird games with the mod time of symlinks
2174 # (eg FreeBSD returns the mod time of the symlink's containing
2177 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2178 if test "$*" = "X"; then
2180 set X `ls -t "$srcdir/configure" conftest.file`
2183 if test "$*" != "X $srcdir/configure conftest.file" \
2184 && test "$*" != "X conftest.file $srcdir/configure"; then
2186 # If neither matched, then we have a broken ls. This can happen
2187 # if, for instance, CONFIG_SHELL is bash and it inherits a
2188 # broken ls alias from the environment. This has actually
2189 # happened. Such a system could not be considered "sane".
2190 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2191 alias in your environment" "$LINENO" 5
2194 test "$2" = conftest.file
2200 as_fn_error $? "newly created file is older than distributed files!
2201 Check your system clock" "$LINENO" 5
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2204 $as_echo "yes" >&6; }
2205 test "$program_prefix" != NONE &&
2206 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2207 # Use a double $ so make ignores it.
2208 test "$program_suffix" != NONE &&
2209 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2210 # Double any \ or $.
2211 # By default was `s,x,x', remove it if useless.
2212 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2213 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2215 # expand $ac_aux_dir to an absolute path
2216 am_aux_dir=`cd $ac_aux_dir && pwd`
2218 if test x"${MISSING+set}" != xset; then
2221 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2223 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2226 # Use eval to expand $SHELL
2227 if eval "$MISSING --run true"; then
2228 am_missing_run="$MISSING --run "
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2232 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2235 if test x"${install_sh}" != xset; then
2238 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2240 install_sh="\${SHELL} $am_aux_dir/install-sh"
2244 # Installed binaries are usually stripped using `strip' when the user
2245 # run `make install-strip'. However `strip' might not be the right
2246 # tool to use in cross-compilation environments, therefore Automake
2247 # will honor the `STRIP' environment variable to overrule this program.
2248 if test "$cross_compiling" != no; then
2249 if test -n "$ac_tool_prefix"; then
2250 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2251 set dummy ${ac_tool_prefix}strip; ac_word=$2
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2253 $as_echo_n "checking for $ac_word... " >&6; }
2254 if ${ac_cv_prog_STRIP+:} false; then :
2255 $as_echo_n "(cached) " >&6
2257 if test -n "$STRIP"; then
2258 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 STRIP=$ac_cv_prog_STRIP
2278 if test -n "$STRIP"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2280 $as_echo "$STRIP" >&6; }
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283 $as_echo "no" >&6; }
2288 if test -z "$ac_cv_prog_STRIP"; then
2290 # Extract the first word of "strip", so it can be a program name with args.
2291 set dummy strip; ac_word=$2
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2295 $as_echo_n "(cached) " >&6
2297 if test -n "$ac_ct_STRIP"; then
2298 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_ac_ct_STRIP="strip"
2308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2318 if test -n "$ac_ct_STRIP"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2320 $as_echo "$ac_ct_STRIP" >&6; }
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2323 $as_echo "no" >&6; }
2326 if test "x$ac_ct_STRIP" = x; then
2329 case $cross_compiling:$ac_tool_warned in
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2333 ac_tool_warned=yes ;;
2338 STRIP="$ac_cv_prog_STRIP"
2342 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2345 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2346 if test -z "$MKDIR_P"; then
2347 if ${ac_cv_path_mkdir+:} false; then :
2348 $as_echo_n "(cached) " >&6
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2354 test -z "$as_dir" && as_dir=.
2355 for ac_prog in mkdir gmkdir; do
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2358 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2359 'mkdir (GNU coreutils) '* | \
2360 'mkdir (coreutils) '* | \
2361 'mkdir (fileutils) '4.1*)
2362 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2372 test -d ./--version && rmdir ./--version
2373 if test "${ac_cv_path_mkdir+set}" = set; then
2374 MKDIR_P="$ac_cv_path_mkdir -p"
2376 # As a last resort, use the slow shell script. Don't cache a
2377 # value for MKDIR_P within a source directory, because that will
2378 # break other packages using the cache if that directory is
2379 # removed, or if the value is a relative name.
2380 MKDIR_P="$ac_install_sh -d"
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2384 $as_echo "$MKDIR_P" >&6; }
2388 [\\/$]* | ?:[\\/]*) ;;
2389 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2392 for ac_prog in gawk mawk nawk awk
2394 # Extract the first word of "$ac_prog", so it can be a program name with args.
2395 set dummy $ac_prog; ac_word=$2
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2397 $as_echo_n "checking for $ac_word... " >&6; }
2398 if ${ac_cv_prog_AWK+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 if test -n "$AWK"; then
2402 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 ac_cv_prog_AWK="$ac_prog"
2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$AWK"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2424 $as_echo "$AWK" >&6; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427 $as_echo "no" >&6; }
2431 test -n "$AWK" && break
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2435 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2437 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2438 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2439 $as_echo_n "(cached) " >&6
2441 cat >conftest.make <<\_ACEOF
2444 @echo '@@@%%%=$(MAKE)=@@@%%%'
2446 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2447 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2449 eval ac_cv_prog_make_${ac_make}_set=yes;;
2451 eval ac_cv_prog_make_${ac_make}_set=no;;
2455 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2457 $as_echo "yes" >&6; }
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2462 SET_MAKE="MAKE=${MAKE-make}"
2465 rm -rf .tst 2>/dev/null
2466 mkdir .tst 2>/dev/null
2467 if test -d .tst; then
2472 rmdir .tst 2>/dev/null
2474 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2475 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2476 # is not polluted with repeated "-I."
2477 am__isrc=' -I$(srcdir)'
2478 # test to see if srcdir already configured
2479 if test -f $srcdir/config.status; then
2480 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2484 # test whether we have cygpath
2485 if test -z "$CYGPATH_W"; then
2486 if (cygpath --version) >/dev/null 2>/dev/null; then
2487 CYGPATH_W='cygpath -w'
2494 # Define the identity of the package.
2499 cat >>confdefs.h <<_ACEOF
2500 #define PACKAGE "$PACKAGE"
2504 cat >>confdefs.h <<_ACEOF
2505 #define VERSION "$VERSION"
2508 # Some tools Automake needs.
2510 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2513 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2516 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2519 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2522 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2524 # We need awk for the "check" target. The system "awk" is bad on
2526 # Always define AMTAR for backward compatibility.
2528 AMTAR=${AMTAR-"${am_missing_run}tar"}
2530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2538 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2539 # Check whether --enable-maintainer-mode was given.
2540 if test "${enable_maintainer_mode+set}" = set; then :
2541 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2543 USE_MAINTAINER_MODE=no
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2547 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2548 if test $USE_MAINTAINER_MODE = yes; then
2549 MAINTAINER_MODE_TRUE=
2550 MAINTAINER_MODE_FALSE='#'
2552 MAINTAINER_MODE_TRUE='#'
2553 MAINTAINER_MODE_FALSE=
2556 MAINT=$MAINTAINER_MODE_TRUE
2560 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2572 DEPDIR="${am__leading_dot}deps"
2574 ac_config_commands="$ac_config_commands depfiles"
2577 am_make=${MAKE-make}
2578 cat > confinc << 'END'
2580 @echo this is the am__doit target
2583 # If we don't find an include directive, just comment out the code.
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2585 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2589 # First try GNU make style include.
2590 echo "include confinc" > confmf
2591 # Ignore all kinds of additional output from `make'.
2592 case `$am_make -s -f confmf 2> /dev/null` in #(
2593 *the\ am__doit\ target*)
2599 # Now try BSD make style include.
2600 if test "$am__include" = "#"; then
2601 echo '.include "confinc"' > confmf
2602 case `$am_make -s -f confmf 2> /dev/null` in #(
2603 *the\ am__doit\ target*)
2604 am__include=.include
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2613 $as_echo "$_am_result" >&6; }
2614 rm -f confinc confmf
2616 # Check whether --enable-dependency-tracking was given.
2617 if test "${enable_dependency_tracking+set}" = set; then :
2618 enableval=$enable_dependency_tracking;
2621 if test "x$enable_dependency_tracking" != xno; then
2622 am_depcomp="$ac_aux_dir/depcomp"
2625 if test "x$enable_dependency_tracking" != xno; then
2635 ac_cpp='$CPP $CPPFLAGS'
2636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2639 if test -n "$ac_tool_prefix"; then
2640 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2641 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_CC+:} false; then :
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$CC"; then
2648 ac_cv_prog_CC="$CC" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$CC"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2670 $as_echo "$CC" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2678 if test -z "$ac_cv_prog_CC"; then
2680 # Extract the first word of "gcc", so it can be a program name with args.
2681 set dummy gcc; ac_word=$2
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683 $as_echo_n "checking for $ac_word... " >&6; }
2684 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2685 $as_echo_n "(cached) " >&6
2687 if test -n "$ac_ct_CC"; then
2688 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_ac_ct_CC="gcc"
2698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2708 if test -n "$ac_ct_CC"; then
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2710 $as_echo "$ac_ct_CC" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2716 if test "x$ac_ct_CC" = x; then
2719 case $cross_compiling:$ac_tool_warned in
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2723 ac_tool_warned=yes ;;
2731 if test -z "$CC"; then
2732 if test -n "$ac_tool_prefix"; then
2733 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2734 set dummy ${ac_tool_prefix}cc; ac_word=$2
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736 $as_echo_n "checking for $ac_word... " >&6; }
2737 if ${ac_cv_prog_CC+:} false; then :
2738 $as_echo_n "(cached) " >&6
2740 if test -n "$CC"; then
2741 ac_cv_prog_CC="$CC" # Let the user override the test.
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir=.
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 ac_cv_prog_CC="${ac_tool_prefix}cc"
2751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 if test -n "$CC"; then
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2763 $as_echo "$CC" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766 $as_echo "no" >&6; }
2772 if test -z "$CC"; then
2773 # Extract the first word of "cc", so it can be a program name with args.
2774 set dummy cc; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if ${ac_cv_prog_CC+:} false; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC="$CC" # Let the user override the test.
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir=.
2789 for ac_exec_ext in '' $ac_executable_extensions; do
2790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2791 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2792 ac_prog_rejected=yes
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 if test $ac_prog_rejected = yes; then
2804 # We found a bogon in the path, so make sure we never use it.
2805 set dummy $ac_cv_prog_CC
2807 if test $# != 0; then
2808 # We chose a different compiler from the bogus one.
2809 # However, it has the same basename, so the bogon will be chosen
2810 # first if we set CC to just the basename; use the full file name.
2812 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2818 if test -n "$CC"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2820 $as_echo "$CC" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2828 if test -z "$CC"; then
2829 if test -n "$ac_tool_prefix"; then
2830 for ac_prog in cl.exe
2832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if ${ac_cv_prog_CC+:} false; then :
2837 $as_echo_n "(cached) " >&6
2839 if test -n "$CC"; then
2840 ac_cv_prog_CC="$CC" # Let the user override the test.
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 test -z "$as_dir" && as_dir=.
2847 for ac_exec_ext in '' $ac_executable_extensions; do
2848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2849 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 if test -n "$CC"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2862 $as_echo "$CC" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2869 test -n "$CC" && break
2872 if test -z "$CC"; then
2874 for ac_prog in cl.exe
2876 # Extract the first word of "$ac_prog", so it can be a program name with args.
2877 set dummy $ac_prog; ac_word=$2
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879 $as_echo_n "checking for $ac_word... " >&6; }
2880 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 if test -n "$ac_ct_CC"; then
2884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2893 ac_cv_prog_ac_ct_CC="$ac_prog"
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2904 if test -n "$ac_ct_CC"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2906 $as_echo "$ac_ct_CC" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2913 test -n "$ac_ct_CC" && break
2916 if test "x$ac_ct_CC" = x; then
2919 case $cross_compiling:$ac_tool_warned in
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2923 ac_tool_warned=yes ;;
2932 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 as_fn_error $? "no acceptable C compiler found in \$PATH
2935 See \`config.log' for more details" "$LINENO" 5; }
2937 # Provide some information about the compiler.
2938 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2941 for ac_option in --version -v -V -qversion; do
2942 { { ac_try="$ac_compiler $ac_option >&5"
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 $as_echo "$ac_try_echo"; } >&5
2949 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2951 if test -s conftest.err; then
2953 ... rest of stderr output deleted ...
2954 10q' conftest.err >conftest.er1
2955 cat conftest.er1 >&5
2957 rm -f conftest.er1 conftest.err
2958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2959 test $ac_status = 0; }
2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2973 ac_clean_files_save=$ac_clean_files
2974 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2975 # Try to create an executable without -o first, disregard a.out.
2976 # It will help us diagnose broken compilers, and finding out an intuition
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2979 $as_echo_n "checking whether the C compiler works... " >&6; }
2980 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2982 # The possible output files:
2983 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2986 for ac_file in $ac_files
2989 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2990 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2995 if { { ac_try="$ac_link_default"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3001 $as_echo "$ac_try_echo"; } >&5
3002 (eval "$ac_link_default") 2>&5
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }; then :
3006 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3007 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3008 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3009 # so that the user can short-circuit this test for compilers unknown to
3011 for ac_file in $ac_files ''
3013 test -f "$ac_file" || continue
3015 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3018 # We found the default executable, but exeext='' is most
3022 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3024 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3026 # We set ac_cv_exeext here because the later test for it is not
3027 # safe: cross compilers may not add the suffix if given an `-o'
3028 # argument, so we may need to know it at that point already.
3029 # Even if this section looks crufty: it has the advantage of
3036 test "$ac_cv_exeext" = no && ac_cv_exeext=
3041 if test -z "$ac_file"; then :
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3044 $as_echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.$ac_ext >&5
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error 77 "C compiler cannot create executables
3050 See \`config.log' for more details" "$LINENO" 5; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3053 $as_echo "yes" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3056 $as_echo_n "checking for C compiler default output file name... " >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3058 $as_echo "$ac_file" >&6; }
3059 ac_exeext=$ac_cv_exeext
3061 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3062 ac_clean_files=$ac_clean_files_save
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3064 $as_echo_n "checking for suffix of executables... " >&6; }
3065 if { { ac_try="$ac_link"
3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_link") 2>&5
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; }; then :
3076 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3077 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3078 # work properly (i.e., refer to `conftest.exe'), while it won't with
3080 for ac_file in conftest.exe conftest conftest.*; do
3081 test -f "$ac_file" || continue
3083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3084 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3093 See \`config.log' for more details" "$LINENO" 5; }
3095 rm -f conftest conftest$ac_cv_exeext
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3097 $as_echo "$ac_cv_exeext" >&6; }
3099 rm -f conftest.$ac_ext
3100 EXEEXT=$ac_cv_exeext
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3108 FILE *f = fopen ("conftest.out", "w");
3109 return ferror (f) || fclose (f) != 0;
3115 ac_clean_files="$ac_clean_files conftest.out"
3116 # Check that the compiler produces executables we can run. If not, either
3117 # the compiler is broken, or we cross compile.
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3119 $as_echo_n "checking whether we are cross compiling... " >&6; }
3120 if test "$cross_compiling" != yes; then
3121 { { ac_try="$ac_link"
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_link") 2>&5
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }
3132 if { ac_try='./conftest$ac_cv_exeext'
3133 { { case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_try") 2>&5
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; }; }; then
3145 if test "$cross_compiling" = maybe; then
3148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3150 as_fn_error $? "cannot run C compiled programs.
3151 If you meant to cross compile, use \`--host'.
3152 See \`config.log' for more details" "$LINENO" 5; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3157 $as_echo "$cross_compiling" >&6; }
3159 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3160 ac_clean_files=$ac_clean_files_save
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3162 $as_echo_n "checking for suffix of object files... " >&6; }
3163 if ${ac_cv_objext+:} false; then :
3164 $as_echo_n "(cached) " >&6
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3177 rm -f conftest.o conftest.obj
3178 if { { ac_try="$ac_compile"
3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_compile") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; then :
3189 for ac_file in conftest.o conftest.obj conftest.*; do
3190 test -f "$ac_file" || continue;
3192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3193 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 as_fn_error $? "cannot compute suffix of object files: cannot compile
3204 See \`config.log' for more details" "$LINENO" 5; }
3206 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3209 $as_echo "$ac_cv_objext" >&6; }
3210 OBJEXT=$ac_cv_objext
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3213 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3214 if ${ac_cv_c_compiler_gnu+:} false; then :
3215 $as_echo_n "(cached) " >&6
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3231 if ac_fn_c_try_compile "$LINENO"; then :
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3241 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3242 if test $ac_compiler_gnu = yes; then
3247 ac_test_CFLAGS=${CFLAGS+set}
3248 ac_save_CFLAGS=$CFLAGS
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3250 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3251 if ${ac_cv_prog_cc_g+:} false; then :
3252 $as_echo_n "(cached) " >&6
3254 ac_save_c_werror_flag=$ac_c_werror_flag
3255 ac_c_werror_flag=yes
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 if ac_fn_c_try_compile "$LINENO"; then :
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3284 if ac_fn_c_try_compile "$LINENO"; then :
3287 ac_c_werror_flag=$ac_save_c_werror_flag
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 if ac_fn_c_try_compile "$LINENO"; then :
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 ac_c_werror_flag=$ac_save_c_werror_flag
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3311 $as_echo "$ac_cv_prog_cc_g" >&6; }
3312 if test "$ac_test_CFLAGS" = set; then
3313 CFLAGS=$ac_save_CFLAGS
3314 elif test $ac_cv_prog_cc_g = yes; then
3315 if test "$GCC" = yes; then
3321 if test "$GCC" = yes; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3328 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3329 if ${ac_cv_prog_cc_c89+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 ac_cv_prog_cc_c89=no
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 #include <sys/types.h>
3339 #include <sys/stat.h>
3340 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3341 struct buf { int x; };
3342 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3343 static char *e (p, i)
3349 static char *f (char * (*g) (char **, int), char **p, ...)
3354 s = g (p, va_arg (v,int));
3359 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3360 function prototypes and stuff, but not '\xHH' hex character constants.
3361 These don't provoke an error unfortunately, instead are silently treated
3362 as 'x'. The following induces an error, until -std is added to get
3363 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3364 array size at least. It's necessary to write '\x00'==0 to get something
3365 that's true only with -std. */
3366 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3368 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3369 inside strings and character constants. */
3371 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3373 int test (int i, double x);
3374 struct s1 {int (*f) (int a);};
3375 struct s2 {int (*f) (double a);};
3376 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3382 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3387 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3388 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3390 CC="$ac_save_CC $ac_arg"
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 ac_cv_prog_cc_c89=$ac_arg
3394 rm -f core conftest.err conftest.$ac_objext
3395 test "x$ac_cv_prog_cc_c89" != "xno" && break
3397 rm -f conftest.$ac_ext
3402 case "x$ac_cv_prog_cc_c89" in
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3405 $as_echo "none needed" >&6; } ;;
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3408 $as_echo "unsupported" >&6; } ;;
3410 CC="$CC $ac_cv_prog_cc_c89"
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3412 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3414 if test "x$ac_cv_prog_cc_c89" != xno; then :
3419 ac_cpp='$CPP $CPPFLAGS'
3420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3424 depcc="$CC" am_compiler_list=
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3427 $as_echo_n "checking dependency style of $depcc... " >&6; }
3428 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3429 $as_echo_n "(cached) " >&6
3431 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3432 # We make a subdir and do the tests there. Otherwise we can end up
3433 # making bogus files that we don't know about and never remove. For
3434 # instance it was reported that on HP-UX the gcc test will end up
3435 # making a dummy file named `D' -- because `-MD' means `put the output
3438 # Copy depcomp to subdir because otherwise we won't find it if we're
3439 # using a relative directory.
3440 cp "$am_depcomp" conftest.dir
3442 # We will build objects and dependencies in a subdirectory because
3443 # it helps to detect inapplicable dependency modes. For instance
3444 # both Tru64's cc and ICC support -MD to output dependencies as a
3445 # side effect of compilation, but ICC will put the dependencies in
3446 # the current directory while Tru64 will put them in the object
3450 am_cv_CC_dependencies_compiler_type=none
3451 if test "$am_compiler_list" = ""; then
3452 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3455 case " $depcc " in #(
3456 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3459 for depmode in $am_compiler_list; do
3460 # Setup a source with many dependencies, because some compilers
3461 # like to wrap large dependency lists on column 80 (with \), and
3462 # we should not choose a depcomp mode which is confused by this.
3464 # We need to recreate these files for each test, as the compiler may
3465 # overwrite some of them when testing with obscure command lines.
3466 # This happens at least with the AIX C compiler.
3468 for i in 1 2 3 4 5 6; do
3469 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3470 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3471 # Solaris 8's {/usr,}/bin/sh.
3472 touch sub/conftst$i.h
3474 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3476 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3477 # mode. It turns out that the SunPro C++ compiler does not properly
3478 # handle `-M -o', and we need to detect this. Also, some Intel
3479 # versions had trouble with output in subdirs
3480 am__obj=sub/conftest.${OBJEXT-o}
3481 am__minus_obj="-o $am__obj"
3484 # This depmode causes a compiler race in universal mode.
3485 test "$am__universal" = false || continue
3488 # after this tag, mechanisms are not by side-effect, so they'll
3489 # only be used when explicitly requested
3490 if test "x$enable_dependency_tracking" = xyes; then
3496 msvisualcpp | msvcmsys)
3497 # This compiler won't grok `-c -o', but also, the minuso test has
3498 # not run yet. These depmodes are late enough in the game, and
3499 # so weak that their functioning should not be impacted.
3500 am__obj=conftest.${OBJEXT-o}
3505 if depmode=$depmode \
3506 source=sub/conftest.c object=$am__obj \
3507 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3508 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3509 >/dev/null 2>conftest.err &&
3510 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3511 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3512 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3513 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3514 # icc doesn't choke on unknown options, it will just issue warnings
3515 # or remarks (even with -Werror). So we grep stderr for any message
3516 # that says an option was ignored or not supported.
3517 # When given -MP, icc 7.0 and 7.1 complain thusly:
3518 # icc: Command line warning: ignoring option '-M'; no argument required
3519 # The diagnosis changed in icc 8.0:
3520 # icc: Command line remark: option '-MP' not supported
3521 if (grep 'ignoring option' conftest.err ||
3522 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3523 am_cv_CC_dependencies_compiler_type=$depmode
3532 am_cv_CC_dependencies_compiler_type=none
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3537 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3538 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3541 test "x$enable_dependency_tracking" != xno \
3542 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3544 am__fastdepCC_FALSE='#'
3546 am__fastdepCC_TRUE='#'
3547 am__fastdepCC_FALSE=
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3552 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3553 if ${ac_cv_prog_cc_c99+:} false; then :
3554 $as_echo_n "(cached) " >&6
3556 ac_cv_prog_cc_c99=no
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3561 #include <stdbool.h>
3566 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3567 #define debug(...) fprintf (stderr, __VA_ARGS__)
3568 #define showlist(...) puts (#__VA_ARGS__)
3569 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3571 test_varargs_macros (void)
3576 debug ("X = %d\n", x);
3577 showlist (The first, second, and third items.);
3578 report (x>y, "x is %d but y is %d", x, y);
3581 // Check long long types.
3582 #define BIG64 18446744073709551615ull
3583 #define BIG32 4294967295ul
3584 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3586 your preprocessor is broken;
3590 your preprocessor is broken;
3592 static long long int bignum = -9223372036854775807LL;
3593 static unsigned long long int ubignum = BIG64;
3595 struct incomplete_array
3603 const wchar_t *name;
3607 typedef const char *ccp;
3610 test_restrict (ccp restrict text)
3612 // See if C++-style comments work.
3613 // Iterate through items via the restricted pointer.
3614 // Also check for declarations in for loops.
3615 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3620 // Check varargs and va_copy.
3622 test_varargs (const char *format, ...)
3625 va_start (args, format);
3627 va_copy (args_copy, args);
3638 str = va_arg (args_copy, const char *);
3641 number = va_arg (args_copy, int);
3644 fnumber = va_arg (args_copy, double);
3659 _Bool success = false;
3662 if (test_restrict ("String literal") == 0)
3664 char *restrict newvar = "Another string";
3667 test_varargs ("s, d' f .", "string", 65, 34.234);
3668 test_varargs_macros ();
3670 // Check flexible array members.
3671 struct incomplete_array *ia =
3672 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3674 for (int i = 0; i < ia->datasize; ++i)
3675 ia->data[i] = i * 1.234;
3677 // Check named initializers.
3678 struct named_init ni = {
3680 .name = L"Test wide string",
3681 .average = 543.34343,
3686 int dynamic_array[ni.number];
3687 dynamic_array[ni.number - 1] = 543;
3689 // work around unused variable warnings
3690 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3691 || dynamic_array[ni.number - 1] != 543);
3697 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3699 CC="$ac_save_CC $ac_arg"
3700 if ac_fn_c_try_compile "$LINENO"; then :
3701 ac_cv_prog_cc_c99=$ac_arg
3703 rm -f core conftest.err conftest.$ac_objext
3704 test "x$ac_cv_prog_cc_c99" != "xno" && break
3706 rm -f conftest.$ac_ext
3711 case "x$ac_cv_prog_cc_c99" in
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3714 $as_echo "none needed" >&6; } ;;
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3717 $as_echo "unsupported" >&6; } ;;
3719 CC="$CC $ac_cv_prog_cc_c99"
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3721 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3723 if test "x$ac_cv_prog_cc_c99" != xno; then :
3730 ac_cpp='$CPP $CPPFLAGS'
3731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3735 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3736 # On Suns, sometimes $CPP names a directory.
3737 if test -n "$CPP" && test -d "$CPP"; then
3740 if test -z "$CPP"; then
3741 if ${ac_cv_prog_CPP+:} false; then :
3742 $as_echo_n "(cached) " >&6
3744 # Double quotes because CPP needs to be expanded
3745 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3748 for ac_c_preproc_warn_flag in '' yes
3750 # Use a header file that comes with gcc, so configuring glibc
3751 # with a fresh cross-compiler works.
3752 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3753 # <limits.h> exists even on freestanding compilers.
3754 # On the NeXT, cc -E runs the code through the compiler's parser,
3755 # not just through cpp. "Syntax error" is here to catch this case.
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3759 # include <limits.h>
3761 # include <assert.h>
3765 if ac_fn_c_try_cpp "$LINENO"; then :
3768 # Broken: fails on valid input.
3771 rm -f conftest.err conftest.i conftest.$ac_ext
3773 # OK, works on sane cases. Now check whether nonexistent headers
3774 # can be detected and how.
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3777 #include <ac_nonexistent.h>
3779 if ac_fn_c_try_cpp "$LINENO"; then :
3780 # Broken: success on invalid input.
3783 # Passes both tests.
3787 rm -f conftest.err conftest.i conftest.$ac_ext
3790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3791 rm -f conftest.i conftest.err conftest.$ac_ext
3792 if $ac_preproc_ok; then :
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3805 $as_echo "$CPP" >&6; }
3807 for ac_c_preproc_warn_flag in '' yes
3809 # Use a header file that comes with gcc, so configuring glibc
3810 # with a fresh cross-compiler works.
3811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3812 # <limits.h> exists even on freestanding compilers.
3813 # On the NeXT, cc -E runs the code through the compiler's parser,
3814 # not just through cpp. "Syntax error" is here to catch this case.
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3818 # include <limits.h>
3820 # include <assert.h>
3824 if ac_fn_c_try_cpp "$LINENO"; then :
3827 # Broken: fails on valid input.
3830 rm -f conftest.err conftest.i conftest.$ac_ext
3832 # OK, works on sane cases. Now check whether nonexistent headers
3833 # can be detected and how.
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3836 #include <ac_nonexistent.h>
3838 if ac_fn_c_try_cpp "$LINENO"; then :
3839 # Broken: success on invalid input.
3842 # Passes both tests.
3846 rm -f conftest.err conftest.i conftest.$ac_ext
3849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3850 rm -f conftest.i conftest.err conftest.$ac_ext
3851 if $ac_preproc_ok; then :
3854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3856 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3857 See \`config.log' for more details" "$LINENO" 5; }
3861 ac_cpp='$CPP $CPPFLAGS'
3862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3868 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3869 if ${ac_cv_path_GREP+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 if test -z "$GREP"; then
3873 ac_path_GREP_found=false
3874 # Loop through the user's path and test for each of PROGNAME-LIST
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3879 test -z "$as_dir" && as_dir=.
3880 for ac_prog in grep ggrep; do
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3883 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3884 # Check for GNU ac_path_GREP and select it if it is found.
3885 # Check for GNU $ac_path_GREP
3886 case `"$ac_path_GREP" --version 2>&1` in
3888 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3891 $as_echo_n 0123456789 >"conftest.in"
3894 cat "conftest.in" "conftest.in" >"conftest.tmp"
3895 mv "conftest.tmp" "conftest.in"
3896 cp "conftest.in" "conftest.nl"
3897 $as_echo 'GREP' >> "conftest.nl"
3898 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3899 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3900 as_fn_arith $ac_count + 1 && ac_count=$as_val
3901 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3902 # Best one so far, save it but keep looking for a better one
3903 ac_cv_path_GREP="$ac_path_GREP"
3904 ac_path_GREP_max=$ac_count
3906 # 10*(2^10) chars as input seems more than enough
3907 test $ac_count -gt 10 && break
3909 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3912 $ac_path_GREP_found && break 3
3917 if test -z "$ac_cv_path_GREP"; then
3918 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3921 ac_cv_path_GREP=$GREP
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3926 $as_echo "$ac_cv_path_GREP" >&6; }
3927 GREP="$ac_cv_path_GREP"
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3931 $as_echo_n "checking for egrep... " >&6; }
3932 if ${ac_cv_path_EGREP+:} false; then :
3933 $as_echo_n "(cached) " >&6
3935 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3936 then ac_cv_path_EGREP="$GREP -E"
3938 if test -z "$EGREP"; then
3939 ac_path_EGREP_found=false
3940 # Loop through the user's path and test for each of PROGNAME-LIST
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3945 test -z "$as_dir" && as_dir=.
3946 for ac_prog in egrep; do
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3949 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3950 # Check for GNU ac_path_EGREP and select it if it is found.
3951 # Check for GNU $ac_path_EGREP
3952 case `"$ac_path_EGREP" --version 2>&1` in
3954 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3957 $as_echo_n 0123456789 >"conftest.in"
3960 cat "conftest.in" "conftest.in" >"conftest.tmp"
3961 mv "conftest.tmp" "conftest.in"
3962 cp "conftest.in" "conftest.nl"
3963 $as_echo 'EGREP' >> "conftest.nl"
3964 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3965 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3966 as_fn_arith $ac_count + 1 && ac_count=$as_val
3967 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3968 # Best one so far, save it but keep looking for a better one
3969 ac_cv_path_EGREP="$ac_path_EGREP"
3970 ac_path_EGREP_max=$ac_count
3972 # 10*(2^10) chars as input seems more than enough
3973 test $ac_count -gt 10 && break
3975 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3978 $ac_path_EGREP_found && break 3
3983 if test -z "$ac_cv_path_EGREP"; then
3984 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3987 ac_cv_path_EGREP=$EGREP
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3993 $as_echo "$ac_cv_path_EGREP" >&6; }
3994 EGREP="$ac_cv_path_EGREP"
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3998 $as_echo_n "checking for ANSI C header files... " >&6; }
3999 if ${ac_cv_header_stdc+:} false; then :
4000 $as_echo_n "(cached) " >&6
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4017 if ac_fn_c_try_compile "$LINENO"; then :
4018 ac_cv_header_stdc=yes
4020 ac_cv_header_stdc=no
4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4024 if test $ac_cv_header_stdc = yes; then
4025 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4032 $EGREP "memchr" >/dev/null 2>&1; then :
4035 ac_cv_header_stdc=no
4041 if test $ac_cv_header_stdc = yes; then
4042 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4049 $EGREP "free" >/dev/null 2>&1; then :
4052 ac_cv_header_stdc=no
4058 if test $ac_cv_header_stdc = yes; then
4059 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4060 if test "$cross_compiling" = yes; then :
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4067 #if ((' ' & 0x0FF) == 0x020)
4068 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4069 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4071 # define ISLOWER(c) \
4072 (('a' <= (c) && (c) <= 'i') \
4073 || ('j' <= (c) && (c) <= 'r') \
4074 || ('s' <= (c) && (c) <= 'z'))
4075 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4078 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4083 for (i = 0; i < 256; i++)
4084 if (XOR (islower (i), ISLOWER (i))
4085 || toupper (i) != TOUPPER (i))
4090 if ac_fn_c_try_run "$LINENO"; then :
4093 ac_cv_header_stdc=no
4095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4096 conftest.$ac_objext conftest.beam conftest.$ac_ext
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4102 $as_echo "$ac_cv_header_stdc" >&6; }
4103 if test $ac_cv_header_stdc = yes; then
4105 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4109 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4110 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4111 inttypes.h stdint.h unistd.h
4113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4114 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4117 cat >>confdefs.h <<_ACEOF
4118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4128 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4129 if test -n "$ac_tool_prefix"; then
4130 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4131 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4135 $as_echo_n "(cached) " >&6
4139 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir=.
4147 for ac_exec_ext in '' $ac_executable_extensions; do
4148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4149 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4161 if test -n "$PKG_CONFIG"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4163 $as_echo "$PKG_CONFIG" >&6; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 $as_echo "no" >&6; }
4171 if test -z "$ac_cv_path_PKG_CONFIG"; then
4172 ac_pt_PKG_CONFIG=$PKG_CONFIG
4173 # Extract the first word of "pkg-config", so it can be a program name with args.
4174 set dummy pkg-config; ac_word=$2
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176 $as_echo_n "checking for $ac_word... " >&6; }
4177 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 case $ac_pt_PKG_CONFIG in
4182 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4192 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4204 if test -n "$ac_pt_PKG_CONFIG"; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4206 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4209 $as_echo "no" >&6; }
4212 if test "x$ac_pt_PKG_CONFIG" = x; then
4215 case $cross_compiling:$ac_tool_warned in
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4219 ac_tool_warned=yes ;;
4221 PKG_CONFIG=$ac_pt_PKG_CONFIG
4224 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4228 if test -n "$PKG_CONFIG"; then
4229 _pkg_min_version=0.9.0
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4231 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4232 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4234 $as_echo "yes" >&6; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4242 # Make sure we can run config.sub.
4243 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4244 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4247 $as_echo_n "checking build system type... " >&6; }
4248 if ${ac_cv_build+:} false; then :
4249 $as_echo_n "(cached) " >&6
4251 ac_build_alias=$build_alias
4252 test "x$ac_build_alias" = x &&
4253 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4254 test "x$ac_build_alias" = x &&
4255 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4256 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4261 $as_echo "$ac_cv_build" >&6; }
4262 case $ac_cv_build in
4264 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4267 ac_save_IFS=$IFS; IFS='-'
4273 # Remember, the first character of IFS is used to create $*,
4274 # except with old shells:
4277 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4281 $as_echo_n "checking host system type... " >&6; }
4282 if ${ac_cv_host+:} false; then :
4283 $as_echo_n "(cached) " >&6
4285 if test "x$host_alias" = x; then
4286 ac_cv_host=$ac_cv_build
4288 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4289 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4294 $as_echo "$ac_cv_host" >&6; }
4297 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4300 ac_save_IFS=$IFS; IFS='-'
4306 # Remember, the first character of IFS is used to create $*,
4307 # except with old shells:
4310 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4314 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4315 if ${ac_cv_path_SED+:} false; then :
4316 $as_echo_n "(cached) " >&6
4318 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4319 for ac_i in 1 2 3 4 5 6 7; do
4320 ac_script="$ac_script$as_nl$ac_script"
4322 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4323 { ac_script=; unset ac_script;}
4324 if test -z "$SED"; then
4325 ac_path_SED_found=false
4326 # Loop through the user's path and test for each of PROGNAME-LIST
4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4331 test -z "$as_dir" && as_dir=.
4332 for ac_prog in sed gsed; do
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4335 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4336 # Check for GNU ac_path_SED and select it if it is found.
4337 # Check for GNU $ac_path_SED
4338 case `"$ac_path_SED" --version 2>&1` in
4340 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4343 $as_echo_n 0123456789 >"conftest.in"
4346 cat "conftest.in" "conftest.in" >"conftest.tmp"
4347 mv "conftest.tmp" "conftest.in"
4348 cp "conftest.in" "conftest.nl"
4349 $as_echo '' >> "conftest.nl"
4350 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4351 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4352 as_fn_arith $ac_count + 1 && ac_count=$as_val
4353 if test $ac_count -gt ${ac_path_SED_max-0}; then
4354 # Best one so far, save it but keep looking for a better one
4355 ac_cv_path_SED="$ac_path_SED"
4356 ac_path_SED_max=$ac_count
4358 # 10*(2^10) chars as input seems more than enough
4359 test $ac_count -gt 10 && break
4361 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4364 $ac_path_SED_found && break 3
4369 if test -z "$ac_cv_path_SED"; then
4370 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4378 $as_echo "$ac_cv_path_SED" >&6; }
4379 SED="$ac_cv_path_SED"
4386 if test "x$GCC" = xyes ; then
4387 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4388 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4389 -Wbad-function-cast -Wformat=2"
4390 case `$CC -dumpversion` in
4392 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4396 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4397 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4403 if test "x$SUNCC" = "xyes"; then
4410 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4414 # Check whether --enable-strict-compilation was given.
4415 if test "${enable_strict_compilation+set}" = set; then :
4416 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4421 if test "x$STRICT_COMPILE" = "xyes"; then
4422 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4423 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4429 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4430 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4436 if test "x$GCC" = xyes ; then
4437 STRICT_CFLAGS="-pedantic -Werror"
4438 elif test "x$SUNCC" = "xyes"; then
4439 STRICT_CFLAGS="-errwarn"
4440 elif test "x$INTELCC" = "xyes"; then
4441 STRICT_CFLAGS="-Werror"
4444 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4449 cat >>confdefs.h <<_ACEOF
4450 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4453 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4454 if test "x$PVM" = "x"; then
4458 cat >>confdefs.h <<_ACEOF
4459 #define PACKAGE_VERSION_MINOR $PVM
4462 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4463 if test "x$PVP" = "x"; then
4467 cat >>confdefs.h <<_ACEOF
4468 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4473 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4474 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4475 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4476 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4481 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4482 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4483 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4484 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4485 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4492 if test x$APP_MAN_SUFFIX = x ; then
4495 if test x$APP_MAN_DIR = x ; then
4496 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4499 if test x$LIB_MAN_SUFFIX = x ; then
4502 if test x$LIB_MAN_DIR = x ; then
4503 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4506 if test x$FILE_MAN_SUFFIX = x ; then
4508 solaris*) FILE_MAN_SUFFIX=4 ;;
4509 *) FILE_MAN_SUFFIX=5 ;;
4512 if test x$FILE_MAN_DIR = x ; then
4513 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4516 if test x$MISC_MAN_SUFFIX = x ; then
4518 solaris*) MISC_MAN_SUFFIX=5 ;;
4519 *) MISC_MAN_SUFFIX=7 ;;
4522 if test x$MISC_MAN_DIR = x ; then
4523 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4526 if test x$DRIVER_MAN_SUFFIX = x ; then
4528 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4529 *) DRIVER_MAN_SUFFIX=4 ;;
4532 if test x$DRIVER_MAN_DIR = x ; then
4533 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4536 if test x$ADMIN_MAN_SUFFIX = x ; then
4538 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4539 *) ADMIN_MAN_SUFFIX=8 ;;
4542 if test x$ADMIN_MAN_DIR = x ; then
4543 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4560 XORG_MAN_PAGE="X Version 11"
4563 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4564 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4565 -e 's|__xservername__|Xorg|g' \
4566 -e 's|__xconfigfile__|xorg.conf|g' \
4567 -e 's|__projectroot__|\$(prefix)|g' \
4568 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4569 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4570 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4571 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4572 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4573 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4574 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4578 # Check whether --enable-silent-rules was given.
4579 if test "${enable_silent_rules+set}" = set; then :
4580 enableval=$enable_silent_rules;
4583 case $enable_silent_rules in
4584 yes) AM_DEFAULT_VERBOSITY=0;;
4585 no) AM_DEFAULT_VERBOSITY=1;;
4586 *) AM_DEFAULT_VERBOSITY=0;;
4592 for ac_prog in 'bison -y' byacc
4594 # Extract the first word of "$ac_prog", so it can be a program name with args.
4595 set dummy $ac_prog; ac_word=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_YACC+:} false; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -n "$YACC"; then
4602 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611 ac_cv_prog_YACC="$ac_prog"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 YACC=$ac_cv_prog_YACC
4622 if test -n "$YACC"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4624 $as_echo "$YACC" >&6; }
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4631 test -n "$YACC" && break
4633 test -n "$YACC" || YACC="yacc"
4635 # Extract the first word of "$YACC", so it can be a program name with args.
4636 set dummy $YACC; ac_word=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if ${ac_cv_path_YACC_INST+:} false; then :
4640 $as_echo_n "(cached) " >&6
4644 ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4654 ac_cv_path_YACC_INST="$as_dir/$ac_word$ac_exec_ext"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 YACC_INST=$ac_cv_path_YACC_INST
4666 if test -n "$YACC_INST"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
4668 $as_echo "$YACC_INST" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4675 if test ! -f "cfgparse.c"; then
4676 if test -z "$YACC_INST"; then
4677 as_fn_error $? "yacc not found - unable to compile cfgparse.y" "$LINENO" 5
4681 # Checks for pkg-config packages
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBEVD" >&5
4685 $as_echo_n "checking for XKBEVD... " >&6; }
4687 if test -n "$XKBEVD_CFLAGS"; then
4688 pkg_cv_XKBEVD_CFLAGS="$XKBEVD_CFLAGS"
4689 elif test -n "$PKG_CONFIG"; then
4690 if test -n "$PKG_CONFIG" && \
4691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\""; } >&5
4692 ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
4694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4695 test $ac_status = 0; }; then
4696 pkg_cv_XKBEVD_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11" 2>/dev/null`
4703 if test -n "$XKBEVD_LIBS"; then
4704 pkg_cv_XKBEVD_LIBS="$XKBEVD_LIBS"
4705 elif test -n "$PKG_CONFIG"; then
4706 if test -n "$PKG_CONFIG" && \
4707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\""; } >&5
4708 ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
4710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4711 test $ac_status = 0; }; then
4712 pkg_cv_XKBEVD_LIBS=`$PKG_CONFIG --libs "xkbfile x11" 2>/dev/null`
4722 if test $pkg_failed = yes; then
4724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4725 _pkg_short_errors_supported=yes
4727 _pkg_short_errors_supported=no
4729 if test $_pkg_short_errors_supported = yes; then
4730 XKBEVD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xkbfile x11" 2>&1`
4732 XKBEVD_PKG_ERRORS=`$PKG_CONFIG --print-errors "xkbfile x11" 2>&1`
4734 # Put the nasty error message in config.log where it belongs
4735 echo "$XKBEVD_PKG_ERRORS" >&5
4737 as_fn_error $? "Package requirements (xkbfile x11) were not met:
4741 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4742 installed software in a non-standard prefix.
4744 Alternatively, you may set the environment variables XKBEVD_CFLAGS
4745 and XKBEVD_LIBS to avoid the need to call pkg-config.
4746 See the pkg-config man page for more details.
4748 elif test $pkg_failed = untried; then
4749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4751 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4752 is in your PATH or set the PKG_CONFIG environment variable to the full
4755 Alternatively, you may set the environment variables XKBEVD_CFLAGS
4756 and XKBEVD_LIBS to avoid the need to call pkg-config.
4757 See the pkg-config man page for more details.
4759 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4760 See \`config.log' for more details" "$LINENO" 5; }
4762 XKBEVD_CFLAGS=$pkg_cv_XKBEVD_CFLAGS
4763 XKBEVD_LIBS=$pkg_cv_XKBEVD_LIBS
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4765 $as_echo "yes" >&6; }
4769 ac_config_files="$ac_config_files Makefile"
4771 cat >confcache <<\_ACEOF
4772 # This file is a shell script that caches the results of configure
4773 # tests run on this system so they can be shared between configure
4774 # scripts and configure runs, see configure's option --config-cache.
4775 # It is not useful on other systems. If it contains results you don't
4776 # want to keep, you may remove or edit it.
4778 # config.status only pays attention to the cache file if you give it
4779 # the --recheck option to rerun configure.
4781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4787 # The following way of writing the cache mishandles newlines in values,
4788 # but we know of no workaround that is simple, portable, and efficient.
4789 # So, we kill variables containing newlines.
4790 # Ultrix sh set writes to stderr and can't be redirected directly,
4791 # and sets the high bit in the cache file unless we assign to the vars.
4793 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4794 eval ac_val=\$$ac_var
4798 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4799 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4802 _ | IFS | as_nl) ;; #(
4803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4804 *) { eval $ac_var=; unset $ac_var;} ;;
4810 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4811 *${as_nl}ac_space=\ *)
4812 # `set' does not quote correctly, so add quotes: double-quote
4813 # substitution turns \\\\ into \\, and sed turns \\ into \.
4816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4819 # `set' quotes correctly as required by POSIX, so do not add quotes.
4820 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4831 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4833 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4834 if test -w "$cache_file"; then
4835 if test "x$cache_file" != "x/dev/null"; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4837 $as_echo "$as_me: updating cache $cache_file" >&6;}
4838 if test ! -f "$cache_file" || test -h "$cache_file"; then
4839 cat confcache >"$cache_file"
4841 case $cache_file in #(
4843 mv -f confcache "$cache_file"$$ &&
4844 mv -f "$cache_file"$$ "$cache_file" ;; #(
4846 mv -f confcache "$cache_file" ;;
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4852 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4857 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4858 # Let make expand exec_prefix.
4859 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4861 DEFS=-DHAVE_CONFIG_H
4866 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4867 # 1. Remove the extension, and $U if already installed.
4868 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4869 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4870 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4871 # will be set to the directory where LIBOBJS objects are built.
4872 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4873 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4877 LTLIBOBJS=$ac_ltlibobjs
4880 if test -n "$EXEEXT"; then
4882 am__EXEEXT_FALSE='#'
4888 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4889 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4892 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4893 as_fn_error $? "conditional \"AMDEP\" was never defined.
4894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4896 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4897 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4901 : "${CONFIG_STATUS=./config.status}"
4903 ac_clean_files_save=$ac_clean_files
4904 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4906 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4908 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4910 # Generated by $as_me.
4911 # Run this file to recreate the current configuration.
4912 # Compiler output produced by configure, useful for debugging
4913 # configure, is in config.log if it exists.
4919 SHELL=\${CONFIG_SHELL-$SHELL}
4922 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4923 ## -------------------- ##
4924 ## M4sh Initialization. ##
4925 ## -------------------- ##
4927 # Be more Bourne compatible
4928 DUALCASE=1; export DUALCASE # for MKS sh
4929 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4932 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4933 # is contrary to our usage. Disable this feature.
4934 alias -g '${1+"$@"}'='"$@"'
4935 setopt NO_GLOB_SUBST
4937 case `(set -o) 2>/dev/null` in #(
4949 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4950 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4951 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4952 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4953 # Prefer a ksh shell builtin over an external printf program on Solaris,
4954 # but without wasting forks for bash or zsh.
4955 if test -z "$BASH_VERSION$ZSH_VERSION" \
4956 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4957 as_echo='print -r --'
4958 as_echo_n='print -rn --'
4959 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4960 as_echo='printf %s\n'
4961 as_echo_n='printf %s'
4963 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4964 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4965 as_echo_n='/usr/ucb/echo -n'
4967 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4968 as_echo_n_body='eval
4972 expr "X$arg" : "X\\(.*\\)$as_nl";
4973 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4975 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4977 export as_echo_n_body
4978 as_echo_n='sh -c $as_echo_n_body as_echo'
4981 as_echo='sh -c $as_echo_body as_echo'
4984 # The user is always right.
4985 if test "${PATH_SEPARATOR+set}" != set; then
4987 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4988 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4995 # We need space, tab and new line, in precisely that order. Quoting is
4996 # there to prevent editors from complaining about space-tab.
4997 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4998 # splitting by setting IFS to empty value.)
5001 # Find who we are. Look in the path if we contain no directory separator.
5004 *[\\/]* ) as_myself=$0 ;;
5005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir=.
5010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5016 # We did not find ourselves, most probably we were run as `sh COMMAND'
5017 # in which case we are not to be found in the path.
5018 if test "x$as_myself" = x; then
5021 if test ! -f "$as_myself"; then
5022 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5026 # Unset variables that we do not need and which cause bugs (e.g. in
5027 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5028 # suppresses any "Segmentation fault" message there. '((' could
5029 # trigger a bug in pdksh 5.2.14.
5030 for as_var in BASH_ENV ENV MAIL MAILPATH
5031 do eval test x\${$as_var+set} = xset \
5032 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5045 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5048 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5049 # ----------------------------------------
5050 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5051 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5052 # script with STATUS, using 1 if that was 0.
5055 as_status=$1; test $as_status -eq 0 && as_status=1
5057 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5058 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5060 $as_echo "$as_me: error: $2" >&2
5061 as_fn_exit $as_status
5065 # as_fn_set_status STATUS
5066 # -----------------------
5067 # Set $? to STATUS, without forking.
5071 } # as_fn_set_status
5075 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5085 # Portably unset VAR.
5088 { eval $1=; unset $1;}
5090 as_unset=as_fn_unset
5091 # as_fn_append VAR VALUE
5092 # ----------------------
5093 # Append the text in VALUE to the end of the definition contained in VAR. Take
5094 # advantage of any shell optimizations that allow amortized linear growth over
5095 # repeated appends, instead of the typical quadratic growth present in naive
5097 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5098 eval 'as_fn_append ()
5109 # as_fn_arith ARG...
5110 # ------------------
5111 # Perform arithmetic evaluation on the ARGs, and store the result in the
5112 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5113 # must be portable across $(()) and expr.
5114 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5115 eval 'as_fn_arith ()
5122 as_val=`expr "$@" || test $? -eq 1`
5127 if expr a : '\(a\)' >/dev/null 2>&1 &&
5128 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5134 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5135 as_basename=basename
5140 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5146 as_me=`$as_basename -- "$0" ||
5147 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5148 X"$0" : 'X\(//\)$' \| \
5149 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5151 sed '/^.*\/\([^/][^/]*\)\/*$/{
5165 # Avoid depending upon Character Ranges.
5166 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5167 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5168 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5169 as_cr_digits='0123456789'
5170 as_cr_alnum=$as_cr_Letters$as_cr_digits
5172 ECHO_C= ECHO_N= ECHO_T=
5173 case `echo -n x` in #(((((
5175 case `echo 'xy\c'` in
5176 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5178 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5185 rm -f conf$$ conf$$.exe conf$$.file
5186 if test -d conf$$.dir; then
5187 rm -f conf$$.dir/conf$$.file
5190 mkdir conf$$.dir 2>/dev/null
5192 if (echo >conf$$.file) 2>/dev/null; then
5193 if ln -s conf$$.file conf$$ 2>/dev/null; then
5195 # ... but there are two gotchas:
5196 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5197 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5198 # In both cases, we have to default to `cp -p'.
5199 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5201 elif ln conf$$.file conf$$ 2>/dev/null; then
5209 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5210 rmdir conf$$.dir 2>/dev/null
5215 # Create "$as_dir" as a directory, including parents if necessary.
5220 -*) as_dir=./$as_dir;;
5222 test -d "$as_dir" || eval $as_mkdir_p || {
5226 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5227 *) as_qdir=$as_dir;;
5229 as_dirs="'$as_qdir' $as_dirs"
5230 as_dir=`$as_dirname -- "$as_dir" ||
5231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5232 X"$as_dir" : 'X\(//\)[^/]' \| \
5233 X"$as_dir" : 'X\(//\)$' \| \
5234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5235 $as_echo X"$as_dir" |
5236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5253 test -d "$as_dir" && break
5255 test -z "$as_dirs" || eval "mkdir $as_dirs"
5256 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5260 if mkdir -p . 2>/dev/null; then
5261 as_mkdir_p='mkdir -p "$as_dir"'
5263 test -d ./-p && rmdir ./-p
5267 if test -x / >/dev/null 2>&1; then
5270 if ls -dL / >/dev/null 2>&1; then
5277 if test -d "$1"; then
5283 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5284 ???[sx]*):;;*)false;;esac;fi
5288 as_executable_p=$as_test_x
5290 # Sed expression to map a string onto a valid CPP name.
5291 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5293 # Sed expression to map a string onto a valid variable name.
5294 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5298 ## ----------------------------------- ##
5299 ## Main body of $CONFIG_STATUS script. ##
5300 ## ----------------------------------- ##
5302 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5305 # Save the log message, to keep $0 and so on meaningful, and to
5306 # report actual input values of CONFIG_FILES etc. instead of their
5307 # values after options handling.
5309 This file was extended by xkbevd $as_me 1.1.2, which was
5310 generated by GNU Autoconf 2.68. Invocation command line was
5312 CONFIG_FILES = $CONFIG_FILES
5313 CONFIG_HEADERS = $CONFIG_HEADERS
5314 CONFIG_LINKS = $CONFIG_LINKS
5315 CONFIG_COMMANDS = $CONFIG_COMMANDS
5318 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5323 case $ac_config_files in *"
5324 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5327 case $ac_config_headers in *"
5328 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5333 # Files that config.status was made for.
5334 config_files="$ac_config_files"
5335 config_headers="$ac_config_headers"
5336 config_commands="$ac_config_commands"
5340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5342 \`$as_me' instantiates files and other configuration actions
5343 from templates according to the current configuration. Unless the files
5344 and actions are specified as TAGs, all are instantiated by default.
5346 Usage: $0 [OPTION]... [TAG]...
5348 -h, --help print this help, then exit
5349 -V, --version print version number and configuration settings, then exit
5350 --config print configuration, then exit
5351 -q, --quiet, --silent
5352 do not print progress messages
5353 -d, --debug don't remove temporary files
5354 --recheck update $as_me by reconfiguring in the same conditions
5355 --file=FILE[:TEMPLATE]
5356 instantiate the configuration file FILE
5357 --header=FILE[:TEMPLATE]
5358 instantiate the configuration header FILE
5360 Configuration files:
5363 Configuration headers:
5366 Configuration commands:
5369 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5373 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5375 xkbevd config.status 1.1.2
5376 configured by $0, generated by GNU Autoconf 2.68,
5377 with options \\"\$ac_cs_config\\"
5379 Copyright (C) 2010 Free Software Foundation, Inc.
5380 This config.status script is free software; the Free Software Foundation
5381 gives unlimited permission to copy, distribute and modify it."
5388 test -n "\$AWK" || AWK=awk
5391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5392 # The default lists apply if the user does not specify any file.
5398 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5399 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5403 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5415 # Handling of the options.
5416 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5418 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5419 $as_echo "$ac_cs_version"; exit ;;
5420 --config | --confi | --conf | --con | --co | --c )
5421 $as_echo "$ac_cs_config"; exit ;;
5422 --debug | --debu | --deb | --de | --d | -d )
5424 --file | --fil | --fi | --f )
5427 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5428 '') as_fn_error $? "missing file argument" ;;
5430 as_fn_append CONFIG_FILES " '$ac_optarg'"
5431 ac_need_defaults=false;;
5432 --header | --heade | --head | --hea )
5435 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5437 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5438 ac_need_defaults=false;;
5440 # Conflict between --help and --header
5441 as_fn_error $? "ambiguous option: \`$1'
5442 Try \`$0 --help' for more information.";;
5443 --help | --hel | -h )
5444 $as_echo "$ac_cs_usage"; exit ;;
5445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5446 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5450 -*) as_fn_error $? "unrecognized option: \`$1'
5451 Try \`$0 --help' for more information." ;;
5453 *) as_fn_append ac_config_targets " $1"
5454 ac_need_defaults=false ;;
5460 ac_configure_extra_args=
5462 if $ac_cs_silent; then
5464 ac_configure_extra_args="$ac_configure_extra_args --silent"
5468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5469 if \$ac_cs_recheck; then
5470 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5472 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5473 CONFIG_SHELL='$SHELL'
5479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5483 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5484 ## Running $as_me. ##
5490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5494 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5500 # Handling of arguments.
5501 for ac_config_target in $ac_config_targets
5503 case $ac_config_target in
5504 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5505 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5506 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5508 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5513 # If the user did not use the arguments to specify the items to instantiate,
5514 # then the envvar interface is used. Set only those that are not.
5515 # We use the long form for the default assignment because of an extremely
5516 # bizarre bug on SunOS 4.1.3.
5517 if $ac_need_defaults; then
5518 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5519 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5520 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5523 # Have a temporary directory for convenience. Make it in the build tree
5524 # simply because there is no reason against having it here, and in addition,
5525 # creating and moving files from /tmp can sometimes cause problems.
5526 # Hook for its removal unless debugging.
5527 # Note that there is a small window in which the directory will not be cleaned:
5528 # after its creation but before its name has been assigned to `$tmp'.
5532 trap 'exit_status=$?
5534 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5536 trap 'as_fn_exit 1' 1 2 13 15
5538 # Create a (secure) tmp directory for tmp files.
5541 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5545 tmp=./conf$$-$RANDOM
5546 (umask 077 && mkdir "$tmp")
5547 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5550 # Set up the scripts for CONFIG_FILES section.
5551 # No need to generate them if there are no CONFIG_FILES.
5552 # This happens for instance with `./config.status config.h'.
5553 if test -n "$CONFIG_FILES"; then
5556 ac_cr=`echo X | tr X '\015'`
5557 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5558 # But we know of no other shell where ac_cr would be empty at this
5559 # point, so we can use a bashism as a fallback.
5560 if test "x$ac_cr" = x; then
5561 eval ac_cr=\$\'\\r\'
5563 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5564 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5570 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5575 echo "cat >conf$$subs.awk <<_ACEOF" &&
5576 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5579 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5582 for ac_last_try in false false false false false :; do
5583 . ./conf$$subs.sh ||
5584 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5586 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5587 if test $ac_delim_n = $ac_delim_num; then
5589 elif $ac_last_try; then
5590 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5592 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5598 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5602 s/^/S["/; s/!.*/"]=/
5612 s/\(.\{148\}\)..*/\1/
5614 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5626 s/\(.\{148\}\)..*/\1/
5628 s/["\\]/\\&/g; s/^/"/; s/$/"/
5632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5637 ' <conf$$subs.awk | sed '
5642 ' >>$CONFIG_STATUS || ac_write_fail=1
5643 rm -f conf$$subs.awk
5644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5646 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5647 for (key in S) S_is_set[key] = 1
5653 nfields = split(line, field, "@")
5655 len = length(field[1])
5656 for (i = 2; i < nfields; i++) {
5658 keylen = length(key)
5659 if (S_is_set[key]) {
5661 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5662 len += length(value) + length(field[++i])
5673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5674 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5675 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5678 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5679 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5682 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5683 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5684 # trailing colons and then remove the whole line if VPATH becomes empty
5685 # (actually we leave an empty line to preserve line numbers).
5686 if test "x$srcdir" = x.; then
5687 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5706 fi # test -n "$CONFIG_FILES"
5708 # Set up the scripts for CONFIG_HEADERS section.
5709 # No need to generate them if there are no CONFIG_HEADERS.
5710 # This happens for instance with `./config.status Makefile'.
5711 if test -n "$CONFIG_HEADERS"; then
5712 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5716 # Transform confdefs.h into an awk script `defines.awk', embedded as
5717 # here-document in config.status, that substitutes the proper values into
5718 # config.h.in to produce config.h.
5720 # Create a delimiter string that does not exist in confdefs.h, to ease
5721 # handling of long lines.
5723 for ac_last_try in false false :; do
5724 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5725 if test -z "$ac_tt"; then
5727 elif $ac_last_try; then
5728 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5730 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5734 # For the awk script, D is an array of macro values keyed by name,
5735 # likewise P contains macro parameters if any. Preserve backslash
5736 # newline sequences.
5738 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5740 s/.\{148\}/&'"$ac_delim"'/g
5743 s/^[ ]*#[ ]*define[ ][ ]*/ /
5750 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5752 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5756 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5757 D["\1"]=" \3\\\\\\n"\\/p
5759 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5764 s/.\{148\}/&'"$ac_delim"'/g
5769 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5772 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5774 ' <confdefs.h | sed '
5775 s/'"$ac_delim"'/"\\\
5776 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5779 for (key in D) D_is_set[key] = 1
5782 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5784 split(line, arg, " ")
5785 if (arg[1] == "#") {
5789 defundef = substr(arg[1], 2)
5792 split(mac1, mac2, "(") #)
5794 prefix = substr(line, 1, index(line, defundef) - 1)
5795 if (D_is_set[macro]) {
5796 # Preserve the white space surrounding the "#".
5797 print prefix "define", macro P[macro] D[macro]
5800 # Replace #undef with comments. This is necessary, for example,
5801 # in the case of _POSIX_SOURCE, which is predefined and required
5802 # on some systems where configure will not decide to define it.
5803 if (defundef == "undef") {
5804 print "/*", prefix defundef, macro, "*/"
5812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5813 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5814 fi # test -n "$CONFIG_HEADERS"
5817 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5822 :[FHLC]) ac_mode=$ac_tag; continue;;
5824 case $ac_mode$ac_tag in
5826 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5827 :[FH]-) ac_tag=-:-;;
5828 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5845 -) ac_f="$ac_tmp/stdin";;
5846 *) # Look for the file first in the build tree, then in the source tree
5847 # (if the path is not absolute). The absolute path cannot be DOS-style,
5848 # because $ac_f cannot contain `:'.
5852 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5854 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5856 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5857 as_fn_append ac_file_inputs " '$ac_f'"
5860 # Let's still pretend it is `configure' which instantiates (i.e., don't
5861 # use $as_me), people would be surprised to read:
5862 # /* config.h. Generated by config.status. */
5863 configure_input='Generated from '`
5864 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5866 if test x"$ac_file" != x-; then
5867 configure_input="$ac_file. $configure_input"
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5869 $as_echo "$as_me: creating $ac_file" >&6;}
5871 # Neutralize special characters interpreted by sed in replacement strings.
5872 case $configure_input in #(
5873 *\&* | *\|* | *\\* )
5874 ac_sed_conf_input=`$as_echo "$configure_input" |
5875 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5876 *) ac_sed_conf_input=$configure_input;;
5880 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5886 ac_dir=`$as_dirname -- "$ac_file" ||
5887 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5888 X"$ac_file" : 'X\(//\)[^/]' \| \
5889 X"$ac_file" : 'X\(//\)$' \| \
5890 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5891 $as_echo X"$ac_file" |
5892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5909 as_dir="$ac_dir"; as_fn_mkdir_p
5913 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5915 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5916 # A ".." for each directory in $ac_dir_suffix.
5917 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5918 case $ac_top_builddir_sub in
5919 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5920 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5923 ac_abs_top_builddir=$ac_pwd
5924 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5925 # for backward compatibility:
5926 ac_top_builddir=$ac_top_build_prefix
5929 .) # We are building in place.
5931 ac_top_srcdir=$ac_top_builddir_sub
5932 ac_abs_top_srcdir=$ac_pwd ;;
5933 [\\/]* | ?:[\\/]* ) # Absolute name.
5934 ac_srcdir=$srcdir$ac_dir_suffix;
5935 ac_top_srcdir=$srcdir
5936 ac_abs_top_srcdir=$srcdir ;;
5938 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5939 ac_top_srcdir=$ac_top_build_prefix$srcdir
5940 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5942 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5952 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5953 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5957 [\\/$]* | ?:[\\/]* ) ;;
5958 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5963 # If the template does not know about datarootdir, expand it.
5964 # FIXME: This hack should be removed a few years after 2.60.
5965 ac_datarootdir_hack=; ac_datarootdir_seen=
5976 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5977 *datarootdir*) ac_datarootdir_seen=yes;;
5978 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5980 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5983 ac_datarootdir_hack='
5984 s&@datadir@&$datadir&g
5985 s&@docdir@&$docdir&g
5986 s&@infodir@&$infodir&g
5987 s&@localedir@&$localedir&g
5988 s&@mandir@&$mandir&g
5989 s&\\\${datarootdir}&$datarootdir&g' ;;
5993 # Neutralize VPATH when `$srcdir' = `.'.
5994 # Shell code in configure.ac might set extrasub.
5995 # FIXME: do we really want to maintain this feature?
5996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5997 ac_sed_extra="$ac_vpsub
6000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6002 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6003 s|@configure_input@|$ac_sed_conf_input|;t t
6004 s&@top_builddir@&$ac_top_builddir_sub&;t t
6005 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6006 s&@srcdir@&$ac_srcdir&;t t
6007 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6008 s&@top_srcdir@&$ac_top_srcdir&;t t
6009 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6010 s&@builddir@&$ac_builddir&;t t
6011 s&@abs_builddir@&$ac_abs_builddir&;t t
6012 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6013 s&@INSTALL@&$ac_INSTALL&;t t
6014 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6015 $ac_datarootdir_hack
6017 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6018 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6020 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6021 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6022 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6023 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6025 which seems to be undefined. Please make sure it is defined" >&5
6026 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6027 which seems to be undefined. Please make sure it is defined" >&2;}
6029 rm -f "$ac_tmp/stdin"
6031 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6032 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6034 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6040 if test x"$ac_file" != x-; then
6042 $as_echo "/* $configure_input */" \
6043 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6044 } >"$ac_tmp/config.h" \
6045 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6046 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6048 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6051 mv "$ac_tmp/config.h" "$ac_file" \
6052 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6055 $as_echo "/* $configure_input */" \
6056 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6057 || as_fn_error $? "could not create -" "$LINENO" 5
6059 # Compute "$ac_file"'s index in $config_headers.
6062 for _am_header in $config_headers :; do
6064 $_am_arg | $_am_arg:* )
6067 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6070 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6071 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6072 X"$_am_arg" : 'X\(//\)[^/]' \| \
6073 X"$_am_arg" : 'X\(//\)$' \| \
6074 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6075 $as_echo X"$_am_arg" |
6076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6092 s/.*/./; q'`/stamp-h$_am_stamp_count
6095 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6096 $as_echo "$as_me: executing $ac_file commands" >&6;}
6101 case $ac_file$ac_mode in
6102 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6103 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6104 # are listed without --file. Let's play safe and only enable the eval
6105 # if we detect the quoting.
6106 case $CONFIG_FILES in
6107 *\'*) eval set x "$CONFIG_FILES" ;;
6108 *) set x $CONFIG_FILES ;;
6113 # Strip MF so we end up with the name of the file.
6114 mf=`echo "$mf" | sed -e 's/:.*$//'`
6115 # Check whether this is an Automake generated Makefile or not.
6116 # We used to match only the files named `Makefile.in', but
6117 # some people rename them; so instead we look at the file content.
6118 # Grep'ing the first line is not enough: some people post-process
6119 # each Makefile.in and add a new line on top of each file to say so.
6120 # Grep'ing the whole file is not good either: AIX grep has a line
6121 # limit of 2048, but all sed's we know have understand at least 4000.
6122 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6123 dirpart=`$as_dirname -- "$mf" ||
6124 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6125 X"$mf" : 'X\(//\)[^/]' \| \
6126 X"$mf" : 'X\(//\)$' \| \
6127 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6149 # Extract the definition of DEPDIR, am__include, and am__quote
6150 # from the Makefile without running `make'.
6151 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6152 test -z "$DEPDIR" && continue
6153 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6154 test -z "am__include" && continue
6155 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6156 # When using ansi2knr, U may be empty or an underscore; expand it
6157 U=`sed -n 's/^U = //p' < "$mf"`
6158 # Find all dependency output files, they are included files with
6159 # $(DEPDIR) in their names. We invoke sed twice because it is the
6160 # simplest approach to changing $(DEPDIR) to its actual value in the
6162 for file in `sed -n "
6163 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6164 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6165 # Make sure the directory exists.
6166 test -f "$dirpart/$file" && continue
6167 fdir=`$as_dirname -- "$file" ||
6168 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6169 X"$file" : 'X\(//\)[^/]' \| \
6170 X"$file" : 'X\(//\)$' \| \
6171 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6190 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6191 # echo "creating $dirpart/$file"
6192 echo '# dummy' > "$dirpart/$file"
6204 ac_clean_files=$ac_clean_files_save
6206 test $ac_write_fail = 0 ||
6207 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6210 # configure is writing to config.log, and then calls config.status.
6211 # config.status does its own redirection, appending to config.log.
6212 # Unfortunately, on DOS this fails, as config.log is still kept open
6213 # by configure, so config.status won't be able to write to it; its
6214 # output is simply discarded. So we exec the FD to /dev/null,
6215 # effectively closing config.log, so it can be properly (re)opened and
6216 # appended to by config.status. When coming back to configure, we
6217 # need to make the FD available again.
6218 if test "$no_create" != yes; then
6220 ac_config_status_args=
6221 test "$silent" = yes &&
6222 ac_config_status_args="$ac_config_status_args --quiet"
6224 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6226 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6227 # would make configure fail if this is the last instruction.
6228 $ac_cs_success || as_fn_exit 1
6230 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6232 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}