2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xauth 1.0.5.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243 $0: about your system, including any error possibly output
244 $0: before this message. Then install a modern shell, or
245 $0: manually run the script under such a shell if you do
252 SHELL=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir=./$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304 as_dirs="'$as_qdir' $as_dirs"
305 as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 as_val=`expr "$@" || test $? -eq 1`
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
378 as_status=$1; test $as_status -eq 0 && as_status=1
380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit $as_status
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
433 as_lineno_1=$LINENO as_lineno_1a=$LINENO
434 as_lineno_2=$LINENO as_lineno_2a=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
460 # Exit status is that of the last command.
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479 rm -f conf$$.dir/conf$$.file
482 mkdir conf$$.dir 2>/dev/null
484 if (echo >conf$$.file) 2>/dev/null; then
485 if ln -s conf$$.file conf$$ 2>/dev/null; then
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
493 elif ln conf$$.file conf$$ 2>/dev/null; then
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
504 if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"'
507 test -d ./-p && rmdir ./-p
511 if test -x / >/dev/null 2>&1; then
514 if ls -dL / >/dev/null 2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 test -n "$DJDIR" || exec 7<&0 </dev/null
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
552 ac_default_prefix=/usr/local
554 ac_config_libobj_dir=.
561 # Identity of this package.
563 PACKAGE_TARNAME='xauth'
564 PACKAGE_VERSION='1.0.5'
565 PACKAGE_STRING='xauth 1.0.5'
566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 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
734 enable_unix_transport
737 enable_local_transport
740 ac_precious_vars='build_alias
756 # Initialize some variables set by options.
758 ac_init_version=false
759 ac_unrecognized_opts=
761 # The variables have the same names as the options, with
762 # dashes changed to underlines.
770 program_transform_name=s,x,x,
778 # Installation directory options.
779 # These are left unexpanded so users can "make install exec_prefix=/foo"
780 # and all the variables that are supposed to be based on exec_prefix
781 # by default will actually change.
782 # Use braces instead of parens because sh, perl, etc. also accept them.
783 # (The list follows the same order as the GNU Coding Standards.)
784 bindir='${exec_prefix}/bin'
785 sbindir='${exec_prefix}/sbin'
786 libexecdir='${exec_prefix}/libexec'
787 datarootdir='${prefix}/share'
788 datadir='${datarootdir}'
789 sysconfdir='${prefix}/etc'
790 sharedstatedir='${prefix}/com'
791 localstatedir='${prefix}/var'
792 includedir='${prefix}/include'
793 oldincludedir='/usr/include'
794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
795 infodir='${datarootdir}/info'
800 libdir='${exec_prefix}/lib'
801 localedir='${datarootdir}/locale'
802 mandir='${datarootdir}/man'
808 # If the previous option needs an argument, assign it.
809 if test -n "$ac_prev"; then
810 eval $ac_prev=\$ac_option
816 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821 # Accept the important Cygnus configure options, so we can diagnose typos.
823 case $ac_dashdash$ac_option in
827 -bindir | --bindir | --bindi | --bind | --bin | --bi)
829 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
832 -build | --build | --buil | --bui | --bu)
833 ac_prev=build_alias ;;
834 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835 build_alias=$ac_optarg ;;
837 -cache-file | --cache-file | --cache-fil | --cache-fi \
838 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839 ac_prev=cache_file ;;
840 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842 cache_file=$ac_optarg ;;
845 cache_file=config.cache ;;
847 -datadir | --datadir | --datadi | --datad)
849 -datadir=* | --datadir=* | --datadi=* | --datad=*)
850 datadir=$ac_optarg ;;
852 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853 | --dataroo | --dataro | --datar)
854 ac_prev=datarootdir ;;
855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857 datarootdir=$ac_optarg ;;
859 -disable-* | --disable-*)
860 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error $? "invalid feature name: $ac_useropt"
864 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871 ac_unrecognized_sep=', ';;
873 eval enable_$ac_useropt=no ;;
875 -docdir | --docdir | --docdi | --doc | --do)
877 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
880 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
885 -enable-* | --enable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
899 eval enable_$ac_useropt=\$ac_optarg ;;
901 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903 | --exec | --exe | --ex)
904 ac_prev=exec_prefix ;;
905 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907 | --exec=* | --exe=* | --ex=*)
908 exec_prefix=$ac_optarg ;;
910 -gas | --gas | --ga | --g)
911 # Obsolete; use --with-gas.
914 -help | --help | --hel | --he | -h)
916 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917 ac_init_help=recursive ;;
918 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919 ac_init_help=short ;;
921 -host | --host | --hos | --ho)
922 ac_prev=host_alias ;;
923 -host=* | --host=* | --hos=* | --ho=*)
924 host_alias=$ac_optarg ;;
926 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930 htmldir=$ac_optarg ;;
932 -includedir | --includedir | --includedi | --included | --include \
933 | --includ | --inclu | --incl | --inc)
934 ac_prev=includedir ;;
935 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936 | --includ=* | --inclu=* | --incl=* | --inc=*)
937 includedir=$ac_optarg ;;
939 -infodir | --infodir | --infodi | --infod | --info | --inf)
941 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942 infodir=$ac_optarg ;;
944 -libdir | --libdir | --libdi | --libd)
946 -libdir=* | --libdir=* | --libdi=* | --libd=*)
949 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950 | --libexe | --libex | --libe)
951 ac_prev=libexecdir ;;
952 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953 | --libexe=* | --libex=* | --libe=*)
954 libexecdir=$ac_optarg ;;
956 -localedir | --localedir | --localedi | --localed | --locale)
958 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959 localedir=$ac_optarg ;;
961 -localstatedir | --localstatedir | --localstatedi | --localstated \
962 | --localstate | --localstat | --localsta | --localst | --locals)
963 ac_prev=localstatedir ;;
964 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966 localstatedir=$ac_optarg ;;
968 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
974 # Obsolete; use --without-fp.
977 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978 | --no-cr | --no-c | -n)
981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
985 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987 | --oldin | --oldi | --old | --ol | --o)
988 ac_prev=oldincludedir ;;
989 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992 oldincludedir=$ac_optarg ;;
994 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
999 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000 | --program-pre | --program-pr | --program-p)
1001 ac_prev=program_prefix ;;
1002 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004 program_prefix=$ac_optarg ;;
1006 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007 | --program-suf | --program-su | --program-s)
1008 ac_prev=program_suffix ;;
1009 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011 program_suffix=$ac_optarg ;;
1013 -program-transform-name | --program-transform-name \
1014 | --program-transform-nam | --program-transform-na \
1015 | --program-transform-n | --program-transform- \
1016 | --program-transform | --program-transfor \
1017 | --program-transfo | --program-transf \
1018 | --program-trans | --program-tran \
1019 | --progr-tra | --program-tr | --program-t)
1020 ac_prev=program_transform_name ;;
1021 -program-transform-name=* | --program-transform-name=* \
1022 | --program-transform-nam=* | --program-transform-na=* \
1023 | --program-transform-n=* | --program-transform-=* \
1024 | --program-transform=* | --program-transfor=* \
1025 | --program-transfo=* | --program-transf=* \
1026 | --program-trans=* | --program-tran=* \
1027 | --progr-tra=* | --program-tr=* | --program-t=*)
1028 program_transform_name=$ac_optarg ;;
1030 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033 pdfdir=$ac_optarg ;;
1035 -psdir | --psdir | --psdi | --psd | --ps)
1037 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041 | -silent | --silent | --silen | --sile | --sil)
1044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048 sbindir=$ac_optarg ;;
1050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052 | --sharedst | --shareds | --shared | --share | --shar \
1054 ac_prev=sharedstatedir ;;
1055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059 sharedstatedir=$ac_optarg ;;
1061 -site | --site | --sit)
1063 -site=* | --site=* | --sit=*)
1066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069 srcdir=$ac_optarg ;;
1071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072 | --syscon | --sysco | --sysc | --sys | --sy)
1073 ac_prev=sysconfdir ;;
1074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076 sysconfdir=$ac_optarg ;;
1078 -target | --target | --targe | --targ | --tar | --ta | --t)
1079 ac_prev=target_alias ;;
1080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081 target_alias=$ac_optarg ;;
1083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1086 -version | --version | --versio | --versi | --vers | -V)
1087 ac_init_version=: ;;
1090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid package name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 as_fn_error $? "invalid package name: $ac_useropt"
1110 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117 ac_unrecognized_sep=', ';;
1119 eval with_$ac_useropt=no ;;
1122 # Obsolete; use --with-x.
1125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126 | --x-incl | --x-inc | --x-in | --x-i)
1127 ac_prev=x_includes ;;
1128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130 x_includes=$ac_optarg ;;
1132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134 ac_prev=x_libraries ;;
1135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137 x_libraries=$ac_optarg ;;
1139 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1140 Try \`$0 --help' for more information"
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 case $ac_envvar in #(
1147 '' | [0-9]* | *[!_$as_cr_alnum]* )
1148 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1150 eval $ac_envvar=\$ac_optarg
1151 export $ac_envvar ;;
1154 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1164 if test -n "$ac_prev"; then
1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166 as_fn_error $? "missing argument to $ac_option"
1169 if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1172 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1177 # Check all directory arguments for consistency.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 # Remove trailing slashes.
1187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188 eval $ac_var=\$ac_val;;
1190 # Be sure to have absolute directory names.
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used" >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219 test "$silent" = yes && exec 6>/dev/null
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 as_fn_error $? "working directory cannot be determined"
1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227 as_fn_error $? "pwd does not report name of working directory"
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$as_myself" ||
1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$as_myself" : 'X\(//\)[^/]' \| \
1237 X"$as_myself" : 'X\(//\)$' \| \
1238 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239 $as_echo X"$as_myself" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures xauth 1.0.5 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking ...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/xauth]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1359 --build=BUILD configure for building on BUILD [guessed]
1360 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1364 if test -n "$ac_init_help"; then
1365 case $ac_init_help in
1366 short | recursive ) echo "Configuration of xauth 1.0.5:";;
1371 --disable-option-checking ignore unrecognized --enable/--with options
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --enable-maintainer-mode enable make rules and dependencies not useful
1375 (and sometimes confusing) to the casual installer
1376 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking do not reject slow dependency extractors
1378 --enable-strict-compilation
1379 Enable all warnings from compiler and make them
1380 errors (default: disabled)
1381 --enable-silent-rules less verbose build output (undo: `make V=1')
1382 --disable-silent-rules verbose build output (undo: `make V=0')
1383 --enable-unix-transport Enable UNIX domain socket transport
1384 --enable-tcp-transport Enable TCP socket transport
1385 --enable-ipv6 Enable IPv6 support
1386 --enable-local-transport
1387 Enable os-specific local transport
1390 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1391 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1392 --with-lint Use a lint-style source code checker (default:
1395 Some influential environment variables:
1396 CC C compiler command
1397 CFLAGS C compiler flags
1398 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1399 nonstandard directory <lib dir>
1400 LIBS libraries to pass to the linker, e.g. -l<library>
1401 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1402 you have headers in a nonstandard directory <include dir>
1404 PKG_CONFIG path to pkg-config utility
1406 C compiler flags for XAUTH, overriding pkg-config
1407 XAUTH_LIBS linker flags for XAUTH, overriding pkg-config
1408 LINT Path to a lint-style command
1409 LINT_FLAGS Flags for the lint-style command
1411 Use these variables to override the choices made by `configure' or to help
1412 it to find libraries and programs with nonstandard names/locations.
1414 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1419 if test "$ac_init_help" = "recursive"; then
1420 # If there are subdirs, report their specific --help.
1421 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422 test -d "$ac_dir" ||
1423 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1431 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433 case $ac_top_builddir_sub in
1434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1444 .) # We are building in place.
1446 ac_top_srcdir=$ac_top_builddir_sub
1447 ac_abs_top_srcdir=$ac_pwd ;;
1448 [\\/]* | ?:[\\/]* ) # Absolute name.
1449 ac_srcdir=$srcdir$ac_dir_suffix;
1450 ac_top_srcdir=$srcdir
1451 ac_abs_top_srcdir=$srcdir ;;
1453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454 ac_top_srcdir=$ac_top_build_prefix$srcdir
1455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1459 cd "$ac_dir" || { ac_status=$?; continue; }
1460 # Check for guested configure.
1461 if test -f "$ac_srcdir/configure.gnu"; then
1463 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464 elif test -f "$ac_srcdir/configure"; then
1466 $SHELL "$ac_srcdir/configure" --help=recursive
1468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1470 cd "$ac_pwd" || { ac_status=$?; break; }
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1477 xauth configure 1.0.5
1478 generated by GNU Autoconf 2.68
1480 Copyright (C) 2010 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 # ac_fn_c_try_compile LINENO
1492 # --------------------------
1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1494 ac_fn_c_try_compile ()
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 rm -f conftest.$ac_objext
1498 if { { ac_try="$ac_compile"
1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_compile") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest.$ac_objext; then :
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status $ac_retval
1527 } # ac_fn_c_try_compile
1529 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1530 # ---------------------------------------------
1531 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1533 ac_fn_c_check_decl ()
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 as_decl_name=`echo $2|sed 's/ *(.*//'`
1537 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1539 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1540 if eval \${$3+:} false; then :
1541 $as_echo_n "(cached) " >&6
1543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1544 /* end confdefs.h. */
1549 #ifndef $as_decl_name
1551 (void) $as_decl_use;
1553 (void) $as_decl_name;
1561 if ac_fn_c_try_compile "$LINENO"; then :
1566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1570 $as_echo "$ac_res" >&6; }
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573 } # ac_fn_c_check_decl
1575 # ac_fn_c_try_cpp LINENO
1576 # ----------------------
1577 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 if { { ac_try="$ac_cpp conftest.$ac_ext"
1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1590 if test -s conftest.err; then
1591 grep -v '^ *+' conftest.err >conftest.er1
1592 cat conftest.er1 >&5
1593 mv -f conftest.er1 conftest.err
1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } > conftest.i && {
1597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1598 test ! -s conftest.err
1602 $as_echo "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.$ac_ext >&5
1607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608 as_fn_set_status $ac_retval
1612 # ac_fn_c_try_run LINENO
1613 # ----------------------
1614 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1615 # that executables *can* be run.
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 if { { ac_try="$ac_link"
1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;;
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_link") 2>&5
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1630 { { case "(($ac_try" in
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_try") 2>&5
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; }; }; then :
1642 $as_echo "$as_me: program exited with status $ac_status" >&5
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1646 ac_retval=$ac_status
1648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655 # -------------------------------------------------------
1656 # Tests whether HEADER exists and can be compiled using the include files in
1657 # INCLUDES, setting the cache variable VAR accordingly.
1658 ac_fn_c_check_header_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \${$3+:} false; then :
1664 $as_echo_n "(cached) " >&6
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1671 if ac_fn_c_try_compile "$LINENO"; then :
1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 } # ac_fn_c_check_header_compile
1685 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1686 # -------------------------------------------------------
1687 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1688 # the include files in INCLUDES and setting the cache variable VAR
1690 ac_fn_c_check_header_mongrel ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if eval \${$3+:} false; then :
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \${$3+:} false; then :
1697 $as_echo_n "(cached) " >&6
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701 $as_echo "$ac_res" >&6; }
1703 # Is the header compilable?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1705 $as_echo_n "checking $2 usability... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1711 if ac_fn_c_try_compile "$LINENO"; then :
1712 ac_header_compiler=yes
1714 ac_header_compiler=no
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1718 $as_echo "$ac_header_compiler" >&6; }
1720 # Is the header present?
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1722 $as_echo_n "checking $2 presence... " >&6; }
1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724 /* end confdefs.h. */
1727 if ac_fn_c_try_cpp "$LINENO"; then :
1728 ac_header_preproc=yes
1730 ac_header_preproc=no
1732 rm -f conftest.err conftest.i conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1734 $as_echo "$ac_header_preproc" >&6; }
1736 # So? What about this header?
1737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1740 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1746 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1748 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1750 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1752 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1754 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1755 ( $as_echo "## ---------------------------------------------------------------------- ##
1756 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1757 ## ---------------------------------------------------------------------- ##"
1758 ) | sed "s/^/$as_me: WARNING: /" >&2
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \${$3+:} false; then :
1764 $as_echo_n "(cached) " >&6
1766 eval "$3=\$ac_header_compiler"
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 } # ac_fn_c_check_header_mongrel
1776 # ac_fn_c_try_link LINENO
1777 # -----------------------
1778 # Try to link conftest.$ac_ext, and return whether this succeeded.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext conftest$ac_exeext
1783 if { { ac_try="$ac_link"
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_link") 2>conftest.err
1792 if test -s conftest.err; then
1793 grep -v '^ *+' conftest.err >conftest.er1
1794 cat conftest.er1 >&5
1795 mv -f conftest.er1 conftest.err
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_c_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest$ac_exeext && {
1802 test "$cross_compiling" = yes ||
1803 $as_test_x conftest$ac_exeext
1807 $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status $ac_retval
1820 } # ac_fn_c_try_link
1822 # ac_fn_c_check_func LINENO FUNC VAR
1823 # ----------------------------------
1824 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1825 ac_fn_c_check_func ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if eval \${$3+:} false; then :
1831 $as_echo_n "(cached) " >&6
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1835 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1837 #define $2 innocuous_$2
1839 /* System header to define __stub macros and hopefully few prototypes,
1840 which can conflict with char $2 (); below.
1841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1842 <limits.h> exists even on freestanding compilers. */
1845 # include <limits.h>
1847 # include <assert.h>
1852 /* Override any GCC internal prototype to avoid an error.
1853 Use char because int might match the return type of a GCC
1854 builtin and then its argument prototype would still apply. */
1859 /* The GNU C library defines this for functions which it implements
1860 to always fail with ENOSYS. Some functions are actually named
1861 something starting with __ and the normal name is an alias. */
1862 #if defined __stub_$2 || defined __stub___$2
1874 if ac_fn_c_try_link "$LINENO"; then :
1879 rm -f core conftest.err conftest.$ac_objext \
1880 conftest$ac_exeext conftest.$ac_ext
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 } # ac_fn_c_check_func
1889 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1890 # ----------------------------------------------------
1891 # Tries to find if the field MEMBER exists in type AGGR, after including
1892 # INCLUDES, setting cache variable VAR accordingly.
1893 ac_fn_c_check_member ()
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1897 $as_echo_n "checking for $2.$3... " >&6; }
1898 if eval \${$4+:} false; then :
1899 $as_echo_n "(cached) " >&6
1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1914 if ac_fn_c_try_compile "$LINENO"; then :
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1924 if (sizeof ac_aggr.$3)
1930 if ac_fn_c_try_compile "$LINENO"; then :
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_member
1946 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1947 # -------------------------------------------
1948 # Tests whether TYPE exists after having included INCLUDES, setting cache
1949 # variable VAR accordingly.
1950 ac_fn_c_check_type ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if eval \${$3+:} false; then :
1956 $as_echo_n "(cached) " >&6
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1971 if ac_fn_c_try_compile "$LINENO"; then :
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1984 if ac_fn_c_try_compile "$LINENO"; then :
1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 } # ac_fn_c_check_type
1999 cat >config.log <<_ACEOF
2000 This file contains any messages produced by compilers while
2001 running configure, to aid debugging if configure makes a mistake.
2003 It was created by xauth $as_me 1.0.5, which was
2004 generated by GNU Autoconf 2.68. Invocation command line was
2016 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2017 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2018 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2019 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2020 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2022 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2023 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2025 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2026 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2027 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2028 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2029 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2030 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2031 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 $as_echo "PATH: $as_dir"
2056 # Keep a trace of the command line.
2057 # Strip out --no-create and --no-recursion so they do not pile up.
2058 # Strip out --silent because we don't want to record it for future runs.
2059 # Also quote any args containing shell meta-characters.
2060 # Make two passes to allow for proper duplicate-argument suppression.
2064 ac_must_keep_next=false
2070 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2072 | -silent | --silent | --silen | --sile | --sil)
2075 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2078 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2080 as_fn_append ac_configure_args1 " '$ac_arg'"
2081 if test $ac_must_keep_next = true; then
2082 ac_must_keep_next=false # Got value, back to normal.
2085 *=* | --config-cache | -C | -disable-* | --disable-* \
2086 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2087 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2088 | -with-* | --with-* | -without-* | --without-* | --x)
2089 case "$ac_configure_args0 " in
2090 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2093 -* ) ac_must_keep_next=true ;;
2096 as_fn_append ac_configure_args " '$ac_arg'"
2101 { ac_configure_args0=; unset ac_configure_args0;}
2102 { ac_configure_args1=; unset ac_configure_args1;}
2104 # When interrupted or exit'd, cleanup temporary files, and complete
2105 # config.log. We remove comments because anyway the quotes in there
2106 # would cause problems or look ugly.
2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2109 trap 'exit_status=$?
2110 # Save into config.log some information that might help in debugging.
2114 $as_echo "## ---------------- ##
2115 ## Cache variables. ##
2116 ## ---------------- ##"
2118 # The following way of writing the cache mishandles newlines in values,
2120 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2121 eval ac_val=\$$ac_var
2125 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2129 _ | IFS | as_nl) ;; #(
2130 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2131 *) { eval $ac_var=; unset $ac_var;} ;;
2136 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2137 *${as_nl}ac_space=\ *)
2139 "s/'\''/'\''\\\\'\'''\''/g;
2140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2150 $as_echo "## ----------------- ##
2151 ## Output variables. ##
2152 ## ----------------- ##"
2154 for ac_var in $ac_subst_vars
2156 eval ac_val=\$$ac_var
2158 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 $as_echo "$ac_var='\''$ac_val'\''"
2164 if test -n "$ac_subst_files"; then
2165 $as_echo "## ------------------- ##
2166 ## File substitutions. ##
2167 ## ------------------- ##"
2169 for ac_var in $ac_subst_files
2171 eval ac_val=\$$ac_var
2173 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2175 $as_echo "$ac_var='\''$ac_val'\''"
2180 if test -s confdefs.h; then
2181 $as_echo "## ----------- ##
2188 test "$ac_signal" != 0 &&
2189 $as_echo "$as_me: caught signal $ac_signal"
2190 $as_echo "$as_me: exit $exit_status"
2192 rm -f core *.core core.conftest.* &&
2193 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2196 for ac_signal in 1 2 13 15; do
2197 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2202 rm -f -r conftest* confdefs.h
2204 $as_echo "/* confdefs.h */" > confdefs.h
2206 # Predefined preprocessor variables.
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_NAME "$PACKAGE_NAME"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_URL "$PACKAGE_URL"
2233 # Let the site file select an alternate cache file if it wants to.
2234 # Prefer an explicitly selected file to automatically selected ones.
2237 if test -n "$CONFIG_SITE"; then
2238 # We do not want a PATH search for config.site.
2239 case $CONFIG_SITE in #((
2240 -*) ac_site_file1=./$CONFIG_SITE;;
2241 */*) ac_site_file1=$CONFIG_SITE;;
2242 *) ac_site_file1=./$CONFIG_SITE;;
2244 elif test "x$prefix" != xNONE; then
2245 ac_site_file1=$prefix/share/config.site
2246 ac_site_file2=$prefix/etc/config.site
2248 ac_site_file1=$ac_default_prefix/share/config.site
2249 ac_site_file2=$ac_default_prefix/etc/config.site
2251 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2253 test "x$ac_site_file" = xNONE && continue
2254 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2256 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2257 sed 's/^/| /' "$ac_site_file" >&5
2259 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 as_fn_error $? "failed to load site script $ac_site_file
2262 See \`config.log' for more details" "$LINENO" 5; }
2266 if test -r "$cache_file"; then
2267 # Some versions of bash will fail to source /dev/null (special files
2268 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2269 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2271 $as_echo "$as_me: loading cache $cache_file" >&6;}
2273 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2274 *) . "./$cache_file";;
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2279 $as_echo "$as_me: creating cache $cache_file" >&6;}
2283 # Check that the precious variables saved in the cache have kept the same
2285 ac_cache_corrupted=false
2286 for ac_var in $ac_precious_vars; do
2287 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2288 eval ac_new_set=\$ac_env_${ac_var}_set
2289 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2290 eval ac_new_val=\$ac_env_${ac_var}_value
2291 case $ac_old_set,$ac_new_set in
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2294 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2295 ac_cache_corrupted=: ;;
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2298 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2299 ac_cache_corrupted=: ;;
2302 if test "x$ac_old_val" != "x$ac_new_val"; then
2303 # differences in whitespace do not lead to failure.
2304 ac_old_val_w=`echo x $ac_old_val`
2305 ac_new_val_w=`echo x $ac_new_val`
2306 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2308 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2309 ac_cache_corrupted=:
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2312 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2313 eval $ac_var=\$ac_old_val
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2316 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2318 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2321 # Pass precious variables to config.status.
2322 if test "$ac_new_set" = set; then
2324 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2325 *) ac_arg=$ac_var=$ac_new_val ;;
2327 case " $ac_configure_args " in
2328 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2329 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2333 if $ac_cache_corrupted; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2337 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2338 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2340 ## -------------------- ##
2341 ## Main body of script. ##
2342 ## -------------------- ##
2345 ac_cpp='$CPP $CPPFLAGS'
2346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2351 am__api_version='1.11'
2354 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2355 if test -f "$ac_dir/install-sh"; then
2357 ac_install_sh="$ac_aux_dir/install-sh -c"
2359 elif test -f "$ac_dir/install.sh"; then
2361 ac_install_sh="$ac_aux_dir/install.sh -c"
2363 elif test -f "$ac_dir/shtool"; then
2365 ac_install_sh="$ac_aux_dir/shtool install -c"
2369 if test -z "$ac_aux_dir"; then
2370 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2373 # These three variables are undocumented and unsupported,
2374 # and are intended to be withdrawn in a future Autoconf release.
2375 # They can cause serious problems if a builder's source tree is in a directory
2376 # whose full name contains unusual characters.
2377 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2378 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2379 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2382 # Find a good install program. We prefer a C program (faster),
2383 # so one script is as good as another. But avoid the broken or
2384 # incompatible versions:
2385 # SysV /etc/install, /usr/sbin/install
2386 # SunOS /usr/etc/install
2387 # IRIX /sbin/install
2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2393 # OS/2's system install, which has a completely different semantic
2394 # ./install, which can be erroneously created by make from ./install.sh.
2395 # Reject install programs that cannot install multiple files.
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2397 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2398 if test -z "$INSTALL"; then
2399 if ${ac_cv_path_install+:} false; then :
2400 $as_echo_n "(cached) " >&6
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 # Account for people who put trailing slashes in PATH elements.
2408 case $as_dir/ in #((
2409 ./ | .// | /[cC]/* | \
2410 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2411 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2414 # OSF1 and SCO ODT 3.0 have their own names for install.
2415 # Don't use installbsd from OSF since it installs stuff as root
2417 for ac_prog in ginstall scoinst install; do
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2420 if test $ac_prog = install &&
2421 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2422 # AIX install. It has an incompatible calling convention.
2424 elif test $ac_prog = install &&
2425 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2426 # program-specific install script used by HP pwplus--don't use.
2429 rm -rf conftest.one conftest.two conftest.dir
2430 echo one > conftest.one
2431 echo two > conftest.two
2433 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2434 test -s conftest.one && test -s conftest.two &&
2435 test -s conftest.dir/conftest.one &&
2436 test -s conftest.dir/conftest.two
2438 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2451 rm -rf conftest.one conftest.two conftest.dir
2454 if test "${ac_cv_path_install+set}" = set; then
2455 INSTALL=$ac_cv_path_install
2457 # As a last resort, use the slow shell script. Don't cache a
2458 # value for INSTALL within a source directory, because that will
2459 # break other packages using the cache if that directory is
2460 # removed, or if the value is a relative name.
2461 INSTALL=$ac_install_sh
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2465 $as_echo "$INSTALL" >&6; }
2467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2468 # It thinks the first close brace ends the variable substitution.
2469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2473 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2476 $as_echo_n "checking whether build environment is sane... " >&6; }
2479 echo timestamp > conftest.file
2480 # Reject unsafe characters in $srcdir or the absolute working directory
2481 # name. Accept space and tab only in the latter.
2485 *[\\\"\#\$\&\'\`$am_lf]*)
2486 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2489 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2490 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2493 # Do `set' in a subshell so we don't clobber the current shell's
2494 # arguments. Must try -L first in case configure is actually a
2495 # symlink; some systems play weird games with the mod time of symlinks
2496 # (eg FreeBSD returns the mod time of the symlink's containing
2499 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2500 if test "$*" = "X"; then
2502 set X `ls -t "$srcdir/configure" conftest.file`
2505 if test "$*" != "X $srcdir/configure conftest.file" \
2506 && test "$*" != "X conftest.file $srcdir/configure"; then
2508 # If neither matched, then we have a broken ls. This can happen
2509 # if, for instance, CONFIG_SHELL is bash and it inherits a
2510 # broken ls alias from the environment. This has actually
2511 # happened. Such a system could not be considered "sane".
2512 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2513 alias in your environment" "$LINENO" 5
2516 test "$2" = conftest.file
2522 as_fn_error $? "newly created file is older than distributed files!
2523 Check your system clock" "$LINENO" 5
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2526 $as_echo "yes" >&6; }
2527 test "$program_prefix" != NONE &&
2528 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2529 # Use a double $ so make ignores it.
2530 test "$program_suffix" != NONE &&
2531 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2532 # Double any \ or $.
2533 # By default was `s,x,x', remove it if useless.
2534 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2535 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2537 # expand $ac_aux_dir to an absolute path
2538 am_aux_dir=`cd $ac_aux_dir && pwd`
2540 if test x"${MISSING+set}" != xset; then
2543 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2545 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2548 # Use eval to expand $SHELL
2549 if eval "$MISSING --run true"; then
2550 am_missing_run="$MISSING --run "
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2554 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2557 if test x"${install_sh}" != xset; then
2560 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2562 install_sh="\${SHELL} $am_aux_dir/install-sh"
2566 # Installed binaries are usually stripped using `strip' when the user
2567 # run `make install-strip'. However `strip' might not be the right
2568 # tool to use in cross-compilation environments, therefore Automake
2569 # will honor the `STRIP' environment variable to overrule this program.
2570 if test "$cross_compiling" != no; then
2571 if test -n "$ac_tool_prefix"; then
2572 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2573 set dummy ${ac_tool_prefix}strip; ac_word=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_STRIP+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$STRIP"; then
2580 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 STRIP=$ac_cv_prog_STRIP
2600 if test -n "$STRIP"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2602 $as_echo "$STRIP" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2610 if test -z "$ac_cv_prog_STRIP"; then
2612 # Extract the first word of "strip", so it can be a program name with args.
2613 set dummy strip; ac_word=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2617 $as_echo_n "(cached) " >&6
2619 if test -n "$ac_ct_STRIP"; then
2620 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir=.
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2629 ac_cv_prog_ac_ct_STRIP="strip"
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2640 if test -n "$ac_ct_STRIP"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2642 $as_echo "$ac_ct_STRIP" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2648 if test "x$ac_ct_STRIP" = x; then
2651 case $cross_compiling:$ac_tool_warned in
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2655 ac_tool_warned=yes ;;
2660 STRIP="$ac_cv_prog_STRIP"
2664 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2667 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2668 if test -z "$MKDIR_P"; then
2669 if ${ac_cv_path_mkdir+:} false; then :
2670 $as_echo_n "(cached) " >&6
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2676 test -z "$as_dir" && as_dir=.
2677 for ac_prog in mkdir gmkdir; do
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2680 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2681 'mkdir (GNU coreutils) '* | \
2682 'mkdir (coreutils) '* | \
2683 'mkdir (fileutils) '4.1*)
2684 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2694 test -d ./--version && rmdir ./--version
2695 if test "${ac_cv_path_mkdir+set}" = set; then
2696 MKDIR_P="$ac_cv_path_mkdir -p"
2698 # As a last resort, use the slow shell script. Don't cache a
2699 # value for MKDIR_P within a source directory, because that will
2700 # break other packages using the cache if that directory is
2701 # removed, or if the value is a relative name.
2702 MKDIR_P="$ac_install_sh -d"
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2706 $as_echo "$MKDIR_P" >&6; }
2710 [\\/$]* | ?:[\\/]*) ;;
2711 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2714 for ac_prog in gawk mawk nawk awk
2716 # Extract the first word of "$ac_prog", so it can be a program name with args.
2717 set dummy $ac_prog; ac_word=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_AWK+:} false; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$AWK"; then
2724 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 ac_cv_prog_AWK="$ac_prog"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$AWK"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2746 $as_echo "$AWK" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2753 test -n "$AWK" && break
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2757 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2759 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2760 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2761 $as_echo_n "(cached) " >&6
2763 cat >conftest.make <<\_ACEOF
2766 @echo '@@@%%%=$(MAKE)=@@@%%%'
2768 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2771 eval ac_cv_prog_make_${ac_make}_set=yes;;
2773 eval ac_cv_prog_make_${ac_make}_set=no;;
2777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2779 $as_echo "yes" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 SET_MAKE="MAKE=${MAKE-make}"
2787 rm -rf .tst 2>/dev/null
2788 mkdir .tst 2>/dev/null
2789 if test -d .tst; then
2794 rmdir .tst 2>/dev/null
2796 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2797 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2798 # is not polluted with repeated "-I."
2799 am__isrc=' -I$(srcdir)'
2800 # test to see if srcdir already configured
2801 if test -f $srcdir/config.status; then
2802 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2806 # test whether we have cygpath
2807 if test -z "$CYGPATH_W"; then
2808 if (cygpath --version) >/dev/null 2>/dev/null; then
2809 CYGPATH_W='cygpath -w'
2816 # Define the identity of the package.
2821 cat >>confdefs.h <<_ACEOF
2822 #define PACKAGE "$PACKAGE"
2826 cat >>confdefs.h <<_ACEOF
2827 #define VERSION "$VERSION"
2830 # Some tools Automake needs.
2832 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2835 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2838 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2841 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2844 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2846 # We need awk for the "check" target. The system "awk" is bad on
2848 # Always define AMTAR for backward compatibility.
2850 AMTAR=${AMTAR-"${am_missing_run}tar"}
2852 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2861 # Check whether --enable-maintainer-mode was given.
2862 if test "${enable_maintainer_mode+set}" = set; then :
2863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2865 USE_MAINTAINER_MODE=no
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2870 if test $USE_MAINTAINER_MODE = yes; then
2871 MAINTAINER_MODE_TRUE=
2872 MAINTAINER_MODE_FALSE='#'
2874 MAINTAINER_MODE_TRUE='#'
2875 MAINTAINER_MODE_FALSE=
2878 MAINT=$MAINTAINER_MODE_TRUE
2882 ac_config_headers="$ac_config_headers config.h"
2885 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2897 DEPDIR="${am__leading_dot}deps"
2899 ac_config_commands="$ac_config_commands depfiles"
2902 am_make=${MAKE-make}
2903 cat > confinc << 'END'
2905 @echo this is the am__doit target
2908 # If we don't find an include directive, just comment out the code.
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2910 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2914 # First try GNU make style include.
2915 echo "include confinc" > confmf
2916 # Ignore all kinds of additional output from `make'.
2917 case `$am_make -s -f confmf 2> /dev/null` in #(
2918 *the\ am__doit\ target*)
2924 # Now try BSD make style include.
2925 if test "$am__include" = "#"; then
2926 echo '.include "confinc"' > confmf
2927 case `$am_make -s -f confmf 2> /dev/null` in #(
2928 *the\ am__doit\ target*)
2929 am__include=.include
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2938 $as_echo "$_am_result" >&6; }
2939 rm -f confinc confmf
2941 # Check whether --enable-dependency-tracking was given.
2942 if test "${enable_dependency_tracking+set}" = set; then :
2943 enableval=$enable_dependency_tracking;
2946 if test "x$enable_dependency_tracking" != xno; then
2947 am_depcomp="$ac_aux_dir/depcomp"
2950 if test "x$enable_dependency_tracking" != xno; then
2960 ac_cpp='$CPP $CPPFLAGS'
2961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964 if test -n "$ac_tool_prefix"; then
2965 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2966 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if ${ac_cv_prog_CC+:} false; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$CC"; then
2973 ac_cv_prog_CC="$CC" # Let the user override the test.
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir=.
2980 for ac_exec_ext in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 if test -n "$CC"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2995 $as_echo "$CC" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3003 if test -z "$ac_cv_prog_CC"; then
3005 # Extract the first word of "gcc", so it can be a program name with args.
3006 set dummy gcc; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3010 $as_echo_n "(cached) " >&6
3012 if test -n "$ac_ct_CC"; then
3013 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir=.
3020 for ac_exec_ext in '' $ac_executable_extensions; do
3021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3022 ac_cv_prog_ac_ct_CC="gcc"
3023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3033 if test -n "$ac_ct_CC"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3035 $as_echo "$ac_ct_CC" >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3041 if test "x$ac_ct_CC" = x; then
3044 case $cross_compiling:$ac_tool_warned in
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3048 ac_tool_warned=yes ;;
3056 if test -z "$CC"; then
3057 if test -n "$ac_tool_prefix"; then
3058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3059 set dummy ${ac_tool_prefix}cc; ac_word=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if ${ac_cv_prog_CC+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 if test -n "$CC"; then
3066 ac_cv_prog_CC="$CC" # Let the user override the test.
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir=.
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3075 ac_cv_prog_CC="${ac_tool_prefix}cc"
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 if test -n "$CC"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3088 $as_echo "$CC" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3097 if test -z "$CC"; then
3098 # Extract the first word of "cc", so it can be a program name with args.
3099 set dummy cc; ac_word=$2
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 $as_echo_n "checking for $ac_word... " >&6; }
3102 if ${ac_cv_prog_CC+:} false; then :
3103 $as_echo_n "(cached) " >&6
3105 if test -n "$CC"; then
3106 ac_cv_prog_CC="$CC" # Let the user override the test.
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir=.
3114 for ac_exec_ext in '' $ac_executable_extensions; do
3115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3117 ac_prog_rejected=yes
3121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 if test $ac_prog_rejected = yes; then
3129 # We found a bogon in the path, so make sure we never use it.
3130 set dummy $ac_cv_prog_CC
3132 if test $# != 0; then
3133 # We chose a different compiler from the bogus one.
3134 # However, it has the same basename, so the bogon will be chosen
3135 # first if we set CC to just the basename; use the full file name.
3137 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3143 if test -n "$CC"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145 $as_echo "$CC" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3153 if test -z "$CC"; then
3154 if test -n "$ac_tool_prefix"; then
3155 for ac_prog in cl.exe
3157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_CC+:} false; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$CC"; then
3165 ac_cv_prog_CC="$CC" # Let the user override the test.
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 if test -n "$CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3187 $as_echo "$CC" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3194 test -n "$CC" && break
3197 if test -z "$CC"; then
3199 for ac_prog in cl.exe
3201 # Extract the first word of "$ac_prog", so it can be a program name with args.
3202 set dummy $ac_prog; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3206 $as_echo_n "(cached) " >&6
3208 if test -n "$ac_ct_CC"; then
3209 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 test -z "$as_dir" && as_dir=.
3216 for ac_exec_ext in '' $ac_executable_extensions; do
3217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3218 ac_cv_prog_ac_ct_CC="$ac_prog"
3219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3229 if test -n "$ac_ct_CC"; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3231 $as_echo "$ac_ct_CC" >&6; }
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3238 test -n "$ac_ct_CC" && break
3241 if test "x$ac_ct_CC" = x; then
3244 case $cross_compiling:$ac_tool_warned in
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3248 ac_tool_warned=yes ;;
3257 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 as_fn_error $? "no acceptable C compiler found in \$PATH
3260 See \`config.log' for more details" "$LINENO" 5; }
3262 # Provide some information about the compiler.
3263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3266 for ac_option in --version -v -V -qversion; do
3267 { { ac_try="$ac_compiler $ac_option >&5"
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3276 if test -s conftest.err; then
3278 ... rest of stderr output deleted ...
3279 10q' conftest.err >conftest.er1
3280 cat conftest.er1 >&5
3282 rm -f conftest.er1 conftest.err
3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284 test $ac_status = 0; }
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3298 ac_clean_files_save=$ac_clean_files
3299 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3300 # Try to create an executable without -o first, disregard a.out.
3301 # It will help us diagnose broken compilers, and finding out an intuition
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3304 $as_echo_n "checking whether the C compiler works... " >&6; }
3305 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3307 # The possible output files:
3308 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3311 for ac_file in $ac_files
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3315 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3320 if { { ac_try="$ac_link_default"
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_link_default") 2>&5
3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330 test $ac_status = 0; }; then :
3331 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3332 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3333 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3334 # so that the user can short-circuit this test for compilers unknown to
3336 for ac_file in $ac_files ''
3338 test -f "$ac_file" || continue
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3343 # We found the default executable, but exeext='' is most
3347 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3349 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3351 # We set ac_cv_exeext here because the later test for it is not
3352 # safe: cross compilers may not add the suffix if given an `-o'
3353 # argument, so we may need to know it at that point already.
3354 # Even if this section looks crufty: it has the advantage of
3361 test "$ac_cv_exeext" = no && ac_cv_exeext=
3366 if test -z "$ac_file"; then :
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3369 $as_echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374 as_fn_error 77 "C compiler cannot create executables
3375 See \`config.log' for more details" "$LINENO" 5; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3378 $as_echo "yes" >&6; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3381 $as_echo_n "checking for C compiler default output file name... " >&6; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3383 $as_echo "$ac_file" >&6; }
3384 ac_exeext=$ac_cv_exeext
3386 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3387 ac_clean_files=$ac_clean_files_save
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3389 $as_echo_n "checking for suffix of executables... " >&6; }
3390 if { { ac_try="$ac_link"
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396 $as_echo "$ac_try_echo"; } >&5
3397 (eval "$ac_link") 2>&5
3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400 test $ac_status = 0; }; then :
3401 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3402 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3403 # work properly (i.e., refer to `conftest.exe'), while it won't with
3405 for ac_file in conftest.exe conftest conftest.*; do
3406 test -f "$ac_file" || continue
3408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3409 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3417 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3418 See \`config.log' for more details" "$LINENO" 5; }
3420 rm -f conftest conftest$ac_cv_exeext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3422 $as_echo "$ac_cv_exeext" >&6; }
3424 rm -f conftest.$ac_ext
3425 EXEEXT=$ac_cv_exeext
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3433 FILE *f = fopen ("conftest.out", "w");
3434 return ferror (f) || fclose (f) != 0;
3440 ac_clean_files="$ac_clean_files conftest.out"
3441 # Check that the compiler produces executables we can run. If not, either
3442 # the compiler is broken, or we cross compile.
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3444 $as_echo_n "checking whether we are cross compiling... " >&6; }
3445 if test "$cross_compiling" != yes; then
3446 { { ac_try="$ac_link"
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_link") 2>&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }
3457 if { ac_try='./conftest$ac_cv_exeext'
3458 { { case "(($ac_try" in
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_try") 2>&5
3466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467 test $ac_status = 0; }; }; then
3470 if test "$cross_compiling" = maybe; then
3473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475 as_fn_error $? "cannot run C compiled programs.
3476 If you meant to cross compile, use \`--host'.
3477 See \`config.log' for more details" "$LINENO" 5; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3482 $as_echo "$cross_compiling" >&6; }
3484 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3485 ac_clean_files=$ac_clean_files_save
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3487 $as_echo_n "checking for suffix of object files... " >&6; }
3488 if ${ac_cv_objext+:} false; then :
3489 $as_echo_n "(cached) " >&6
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3502 rm -f conftest.o conftest.obj
3503 if { { ac_try="$ac_compile"
3505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510 (eval "$ac_compile") 2>&5
3512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513 test $ac_status = 0; }; then :
3514 for ac_file in conftest.o conftest.obj conftest.*; do
3515 test -f "$ac_file" || continue;
3517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3523 $as_echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528 as_fn_error $? "cannot compute suffix of object files: cannot compile
3529 See \`config.log' for more details" "$LINENO" 5; }
3531 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3534 $as_echo "$ac_cv_objext" >&6; }
3535 OBJEXT=$ac_cv_objext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3538 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3539 if ${ac_cv_c_compiler_gnu+:} false; then :
3540 $as_echo_n "(cached) " >&6
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3556 if ac_fn_c_try_compile "$LINENO"; then :
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3566 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3567 if test $ac_compiler_gnu = yes; then
3572 ac_test_CFLAGS=${CFLAGS+set}
3573 ac_save_CFLAGS=$CFLAGS
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3575 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3576 if ${ac_cv_prog_cc_g+:} false; then :
3577 $as_echo_n "(cached) " >&6
3579 ac_save_c_werror_flag=$ac_c_werror_flag
3580 ac_c_werror_flag=yes
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3594 if ac_fn_c_try_compile "$LINENO"; then :
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3609 if ac_fn_c_try_compile "$LINENO"; then :
3612 ac_c_werror_flag=$ac_save_c_werror_flag
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3625 if ac_fn_c_try_compile "$LINENO"; then :
3628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 ac_c_werror_flag=$ac_save_c_werror_flag
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3636 $as_echo "$ac_cv_prog_cc_g" >&6; }
3637 if test "$ac_test_CFLAGS" = set; then
3638 CFLAGS=$ac_save_CFLAGS
3639 elif test $ac_cv_prog_cc_g = yes; then
3640 if test "$GCC" = yes; then
3646 if test "$GCC" = yes; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3653 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3654 if ${ac_cv_prog_cc_c89+:} false; then :
3655 $as_echo_n "(cached) " >&6
3657 ac_cv_prog_cc_c89=no
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3663 #include <sys/types.h>
3664 #include <sys/stat.h>
3665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3666 struct buf { int x; };
3667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3668 static char *e (p, i)
3674 static char *f (char * (*g) (char **, int), char **p, ...)
3679 s = g (p, va_arg (v,int));
3684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3685 function prototypes and stuff, but not '\xHH' hex character constants.
3686 These don't provoke an error unfortunately, instead are silently treated
3687 as 'x'. The following induces an error, until -std is added to get
3688 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3689 array size at least. It's necessary to write '\x00'==0 to get something
3690 that's true only with -std. */
3691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3693 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3694 inside strings and character constants. */
3696 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3698 int test (int i, double x);
3699 struct s1 {int (*f) (int a);};
3700 struct s2 {int (*f) (double a);};
3701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3707 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3712 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3713 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3715 CC="$ac_save_CC $ac_arg"
3716 if ac_fn_c_try_compile "$LINENO"; then :
3717 ac_cv_prog_cc_c89=$ac_arg
3719 rm -f core conftest.err conftest.$ac_objext
3720 test "x$ac_cv_prog_cc_c89" != "xno" && break
3722 rm -f conftest.$ac_ext
3727 case "x$ac_cv_prog_cc_c89" in
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3730 $as_echo "none needed" >&6; } ;;
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3733 $as_echo "unsupported" >&6; } ;;
3735 CC="$CC $ac_cv_prog_cc_c89"
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3737 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3739 if test "x$ac_cv_prog_cc_c89" != xno; then :
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3749 depcc="$CC" am_compiler_list=
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3752 $as_echo_n "checking dependency style of $depcc... " >&6; }
3753 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3757 # We make a subdir and do the tests there. Otherwise we can end up
3758 # making bogus files that we don't know about and never remove. For
3759 # instance it was reported that on HP-UX the gcc test will end up
3760 # making a dummy file named `D' -- because `-MD' means `put the output
3763 # Copy depcomp to subdir because otherwise we won't find it if we're
3764 # using a relative directory.
3765 cp "$am_depcomp" conftest.dir
3767 # We will build objects and dependencies in a subdirectory because
3768 # it helps to detect inapplicable dependency modes. For instance
3769 # both Tru64's cc and ICC support -MD to output dependencies as a
3770 # side effect of compilation, but ICC will put the dependencies in
3771 # the current directory while Tru64 will put them in the object
3775 am_cv_CC_dependencies_compiler_type=none
3776 if test "$am_compiler_list" = ""; then
3777 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3780 case " $depcc " in #(
3781 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3784 for depmode in $am_compiler_list; do
3785 # Setup a source with many dependencies, because some compilers
3786 # like to wrap large dependency lists on column 80 (with \), and
3787 # we should not choose a depcomp mode which is confused by this.
3789 # We need to recreate these files for each test, as the compiler may
3790 # overwrite some of them when testing with obscure command lines.
3791 # This happens at least with the AIX C compiler.
3793 for i in 1 2 3 4 5 6; do
3794 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3795 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3796 # Solaris 8's {/usr,}/bin/sh.
3797 touch sub/conftst$i.h
3799 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3801 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3802 # mode. It turns out that the SunPro C++ compiler does not properly
3803 # handle `-M -o', and we need to detect this. Also, some Intel
3804 # versions had trouble with output in subdirs
3805 am__obj=sub/conftest.${OBJEXT-o}
3806 am__minus_obj="-o $am__obj"
3809 # This depmode causes a compiler race in universal mode.
3810 test "$am__universal" = false || continue
3813 # after this tag, mechanisms are not by side-effect, so they'll
3814 # only be used when explicitly requested
3815 if test "x$enable_dependency_tracking" = xyes; then
3821 msvisualcpp | msvcmsys)
3822 # This compiler won't grok `-c -o', but also, the minuso test has
3823 # not run yet. These depmodes are late enough in the game, and
3824 # so weak that their functioning should not be impacted.
3825 am__obj=conftest.${OBJEXT-o}
3830 if depmode=$depmode \
3831 source=sub/conftest.c object=$am__obj \
3832 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3833 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3834 >/dev/null 2>conftest.err &&
3835 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3836 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3837 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3838 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3839 # icc doesn't choke on unknown options, it will just issue warnings
3840 # or remarks (even with -Werror). So we grep stderr for any message
3841 # that says an option was ignored or not supported.
3842 # When given -MP, icc 7.0 and 7.1 complain thusly:
3843 # icc: Command line warning: ignoring option '-M'; no argument required
3844 # The diagnosis changed in icc 8.0:
3845 # icc: Command line remark: option '-MP' not supported
3846 if (grep 'ignoring option' conftest.err ||
3847 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3848 am_cv_CC_dependencies_compiler_type=$depmode
3857 am_cv_CC_dependencies_compiler_type=none
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3862 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3863 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3866 test "x$enable_dependency_tracking" != xno \
3867 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3869 am__fastdepCC_FALSE='#'
3871 am__fastdepCC_TRUE='#'
3872 am__fastdepCC_FALSE=
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3877 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3878 if ${ac_cv_prog_cc_c99+:} false; then :
3879 $as_echo_n "(cached) " >&6
3881 ac_cv_prog_cc_c99=no
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3886 #include <stdbool.h>
3891 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3892 #define debug(...) fprintf (stderr, __VA_ARGS__)
3893 #define showlist(...) puts (#__VA_ARGS__)
3894 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3896 test_varargs_macros (void)
3901 debug ("X = %d\n", x);
3902 showlist (The first, second, and third items.);
3903 report (x>y, "x is %d but y is %d", x, y);
3906 // Check long long types.
3907 #define BIG64 18446744073709551615ull
3908 #define BIG32 4294967295ul
3909 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3911 your preprocessor is broken;
3915 your preprocessor is broken;
3917 static long long int bignum = -9223372036854775807LL;
3918 static unsigned long long int ubignum = BIG64;
3920 struct incomplete_array
3928 const wchar_t *name;
3932 typedef const char *ccp;
3935 test_restrict (ccp restrict text)
3937 // See if C++-style comments work.
3938 // Iterate through items via the restricted pointer.
3939 // Also check for declarations in for loops.
3940 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3945 // Check varargs and va_copy.
3947 test_varargs (const char *format, ...)
3950 va_start (args, format);
3952 va_copy (args_copy, args);
3963 str = va_arg (args_copy, const char *);
3966 number = va_arg (args_copy, int);
3969 fnumber = va_arg (args_copy, double);
3984 _Bool success = false;
3987 if (test_restrict ("String literal") == 0)
3989 char *restrict newvar = "Another string";
3992 test_varargs ("s, d' f .", "string", 65, 34.234);
3993 test_varargs_macros ();
3995 // Check flexible array members.
3996 struct incomplete_array *ia =
3997 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3999 for (int i = 0; i < ia->datasize; ++i)
4000 ia->data[i] = i * 1.234;
4002 // Check named initializers.
4003 struct named_init ni = {
4005 .name = L"Test wide string",
4006 .average = 543.34343,
4011 int dynamic_array[ni.number];
4012 dynamic_array[ni.number - 1] = 543;
4014 // work around unused variable warnings
4015 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4016 || dynamic_array[ni.number - 1] != 543);
4022 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4024 CC="$ac_save_CC $ac_arg"
4025 if ac_fn_c_try_compile "$LINENO"; then :
4026 ac_cv_prog_cc_c99=$ac_arg
4028 rm -f core conftest.err conftest.$ac_objext
4029 test "x$ac_cv_prog_cc_c99" != "xno" && break
4031 rm -f conftest.$ac_ext
4036 case "x$ac_cv_prog_cc_c99" in
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4039 $as_echo "none needed" >&6; } ;;
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4042 $as_echo "unsupported" >&6; } ;;
4044 CC="$CC $ac_cv_prog_cc_c99"
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4046 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4048 if test "x$ac_cv_prog_cc_c99" != xno; then :
4055 ac_cpp='$CPP $CPPFLAGS'
4056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4060 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4061 # On Suns, sometimes $CPP names a directory.
4062 if test -n "$CPP" && test -d "$CPP"; then
4065 if test -z "$CPP"; then
4066 if ${ac_cv_prog_CPP+:} false; then :
4067 $as_echo_n "(cached) " >&6
4069 # Double quotes because CPP needs to be expanded
4070 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4073 for ac_c_preproc_warn_flag in '' yes
4075 # Use a header file that comes with gcc, so configuring glibc
4076 # with a fresh cross-compiler works.
4077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4078 # <limits.h> exists even on freestanding compilers.
4079 # On the NeXT, cc -E runs the code through the compiler's parser,
4080 # not just through cpp. "Syntax error" is here to catch this case.
4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4084 # include <limits.h>
4086 # include <assert.h>
4090 if ac_fn_c_try_cpp "$LINENO"; then :
4093 # Broken: fails on valid input.
4096 rm -f conftest.err conftest.i conftest.$ac_ext
4098 # OK, works on sane cases. Now check whether nonexistent headers
4099 # can be detected and how.
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4102 #include <ac_nonexistent.h>
4104 if ac_fn_c_try_cpp "$LINENO"; then :
4105 # Broken: success on invalid input.
4108 # Passes both tests.
4112 rm -f conftest.err conftest.i conftest.$ac_ext
4115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4116 rm -f conftest.i conftest.err conftest.$ac_ext
4117 if $ac_preproc_ok; then :
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4130 $as_echo "$CPP" >&6; }
4132 for ac_c_preproc_warn_flag in '' yes
4134 # Use a header file that comes with gcc, so configuring glibc
4135 # with a fresh cross-compiler works.
4136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4137 # <limits.h> exists even on freestanding compilers.
4138 # On the NeXT, cc -E runs the code through the compiler's parser,
4139 # not just through cpp. "Syntax error" is here to catch this case.
4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4143 # include <limits.h>
4145 # include <assert.h>
4149 if ac_fn_c_try_cpp "$LINENO"; then :
4152 # Broken: fails on valid input.
4155 rm -f conftest.err conftest.i conftest.$ac_ext
4157 # OK, works on sane cases. Now check whether nonexistent headers
4158 # can be detected and how.
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4161 #include <ac_nonexistent.h>
4163 if ac_fn_c_try_cpp "$LINENO"; then :
4164 # Broken: success on invalid input.
4167 # Passes both tests.
4171 rm -f conftest.err conftest.i conftest.$ac_ext
4174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4175 rm -f conftest.i conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then :
4179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4181 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4182 See \`config.log' for more details" "$LINENO" 5; }
4186 ac_cpp='$CPP $CPPFLAGS'
4187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4193 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4194 if ${ac_cv_path_GREP+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 if test -z "$GREP"; then
4198 ac_path_GREP_found=false
4199 # Loop through the user's path and test for each of PROGNAME-LIST
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4204 test -z "$as_dir" && as_dir=.
4205 for ac_prog in grep ggrep; do
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4208 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4209 # Check for GNU ac_path_GREP and select it if it is found.
4210 # Check for GNU $ac_path_GREP
4211 case `"$ac_path_GREP" --version 2>&1` in
4213 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4216 $as_echo_n 0123456789 >"conftest.in"
4219 cat "conftest.in" "conftest.in" >"conftest.tmp"
4220 mv "conftest.tmp" "conftest.in"
4221 cp "conftest.in" "conftest.nl"
4222 $as_echo 'GREP' >> "conftest.nl"
4223 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4225 as_fn_arith $ac_count + 1 && ac_count=$as_val
4226 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4227 # Best one so far, save it but keep looking for a better one
4228 ac_cv_path_GREP="$ac_path_GREP"
4229 ac_path_GREP_max=$ac_count
4231 # 10*(2^10) chars as input seems more than enough
4232 test $ac_count -gt 10 && break
4234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4237 $ac_path_GREP_found && break 3
4242 if test -z "$ac_cv_path_GREP"; then
4243 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4246 ac_cv_path_GREP=$GREP
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4251 $as_echo "$ac_cv_path_GREP" >&6; }
4252 GREP="$ac_cv_path_GREP"
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4256 $as_echo_n "checking for egrep... " >&6; }
4257 if ${ac_cv_path_EGREP+:} false; then :
4258 $as_echo_n "(cached) " >&6
4260 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4261 then ac_cv_path_EGREP="$GREP -E"
4263 if test -z "$EGREP"; then
4264 ac_path_EGREP_found=false
4265 # Loop through the user's path and test for each of PROGNAME-LIST
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4270 test -z "$as_dir" && as_dir=.
4271 for ac_prog in egrep; do
4272 for ac_exec_ext in '' $ac_executable_extensions; do
4273 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4274 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4275 # Check for GNU ac_path_EGREP and select it if it is found.
4276 # Check for GNU $ac_path_EGREP
4277 case `"$ac_path_EGREP" --version 2>&1` in
4279 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4282 $as_echo_n 0123456789 >"conftest.in"
4285 cat "conftest.in" "conftest.in" >"conftest.tmp"
4286 mv "conftest.tmp" "conftest.in"
4287 cp "conftest.in" "conftest.nl"
4288 $as_echo 'EGREP' >> "conftest.nl"
4289 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4290 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4291 as_fn_arith $ac_count + 1 && ac_count=$as_val
4292 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4293 # Best one so far, save it but keep looking for a better one
4294 ac_cv_path_EGREP="$ac_path_EGREP"
4295 ac_path_EGREP_max=$ac_count
4297 # 10*(2^10) chars as input seems more than enough
4298 test $ac_count -gt 10 && break
4300 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4303 $ac_path_EGREP_found && break 3
4308 if test -z "$ac_cv_path_EGREP"; then
4309 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4312 ac_cv_path_EGREP=$EGREP
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4318 $as_echo "$ac_cv_path_EGREP" >&6; }
4319 EGREP="$ac_cv_path_EGREP"
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4323 $as_echo_n "checking for ANSI C header files... " >&6; }
4324 if ${ac_cv_header_stdc+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4342 if ac_fn_c_try_compile "$LINENO"; then :
4343 ac_cv_header_stdc=yes
4345 ac_cv_header_stdc=no
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4349 if test $ac_cv_header_stdc = yes; then
4350 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4357 $EGREP "memchr" >/dev/null 2>&1; then :
4360 ac_cv_header_stdc=no
4366 if test $ac_cv_header_stdc = yes; then
4367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4374 $EGREP "free" >/dev/null 2>&1; then :
4377 ac_cv_header_stdc=no
4383 if test $ac_cv_header_stdc = yes; then
4384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4385 if test "$cross_compiling" = yes; then :
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4392 #if ((' ' & 0x0FF) == 0x020)
4393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4396 # define ISLOWER(c) \
4397 (('a' <= (c) && (c) <= 'i') \
4398 || ('j' <= (c) && (c) <= 'r') \
4399 || ('s' <= (c) && (c) <= 'z'))
4400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4408 for (i = 0; i < 256; i++)
4409 if (XOR (islower (i), ISLOWER (i))
4410 || toupper (i) != TOUPPER (i))
4415 if ac_fn_c_try_run "$LINENO"; then :
4418 ac_cv_header_stdc=no
4420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4421 conftest.$ac_objext conftest.beam conftest.$ac_ext
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4427 $as_echo "$ac_cv_header_stdc" >&6; }
4428 if test $ac_cv_header_stdc = yes; then
4430 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4434 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4436 inttypes.h stdint.h unistd.h
4438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4441 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4442 cat >>confdefs.h <<_ACEOF
4443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4453 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4454 if test -n "$ac_tool_prefix"; then
4455 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4456 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4460 $as_echo_n "(cached) " >&6
4464 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir=.
4472 for ac_exec_ext in '' $ac_executable_extensions; do
4473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4486 if test -n "$PKG_CONFIG"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4488 $as_echo "$PKG_CONFIG" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4496 if test -z "$ac_cv_path_PKG_CONFIG"; then
4497 ac_pt_PKG_CONFIG=$PKG_CONFIG
4498 # Extract the first word of "pkg-config", so it can be a program name with args.
4499 set dummy pkg-config; ac_word=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 case $ac_pt_PKG_CONFIG in
4507 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir=.
4515 for ac_exec_ext in '' $ac_executable_extensions; do
4516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4517 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4529 if test -n "$ac_pt_PKG_CONFIG"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4531 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4537 if test "x$ac_pt_PKG_CONFIG" = x; then
4540 case $cross_compiling:$ac_tool_warned in
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4544 ac_tool_warned=yes ;;
4546 PKG_CONFIG=$ac_pt_PKG_CONFIG
4549 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4553 if test -n "$PKG_CONFIG"; then
4554 _pkg_min_version=0.9.0
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4556 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4557 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4559 $as_echo "yes" >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4567 # Make sure we can run config.sub.
4568 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4569 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4572 $as_echo_n "checking build system type... " >&6; }
4573 if ${ac_cv_build+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 ac_build_alias=$build_alias
4577 test "x$ac_build_alias" = x &&
4578 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4579 test "x$ac_build_alias" = x &&
4580 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4581 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4582 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4586 $as_echo "$ac_cv_build" >&6; }
4587 case $ac_cv_build in
4589 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4592 ac_save_IFS=$IFS; IFS='-'
4598 # Remember, the first character of IFS is used to create $*,
4599 # except with old shells:
4602 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4606 $as_echo_n "checking host system type... " >&6; }
4607 if ${ac_cv_host+:} false; then :
4608 $as_echo_n "(cached) " >&6
4610 if test "x$host_alias" = x; then
4611 ac_cv_host=$ac_cv_build
4613 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4614 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4619 $as_echo "$ac_cv_host" >&6; }
4622 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4625 ac_save_IFS=$IFS; IFS='-'
4631 # Remember, the first character of IFS is used to create $*,
4632 # except with old shells:
4635 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4639 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4640 if ${ac_cv_path_SED+:} false; then :
4641 $as_echo_n "(cached) " >&6
4643 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4644 for ac_i in 1 2 3 4 5 6 7; do
4645 ac_script="$ac_script$as_nl$ac_script"
4647 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4648 { ac_script=; unset ac_script;}
4649 if test -z "$SED"; then
4650 ac_path_SED_found=false
4651 # Loop through the user's path and test for each of PROGNAME-LIST
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir=.
4657 for ac_prog in sed gsed; do
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4660 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4661 # Check for GNU ac_path_SED and select it if it is found.
4662 # Check for GNU $ac_path_SED
4663 case `"$ac_path_SED" --version 2>&1` in
4665 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4668 $as_echo_n 0123456789 >"conftest.in"
4671 cat "conftest.in" "conftest.in" >"conftest.tmp"
4672 mv "conftest.tmp" "conftest.in"
4673 cp "conftest.in" "conftest.nl"
4674 $as_echo '' >> "conftest.nl"
4675 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4676 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4677 as_fn_arith $ac_count + 1 && ac_count=$as_val
4678 if test $ac_count -gt ${ac_path_SED_max-0}; then
4679 # Best one so far, save it but keep looking for a better one
4680 ac_cv_path_SED="$ac_path_SED"
4681 ac_path_SED_max=$ac_count
4683 # 10*(2^10) chars as input seems more than enough
4684 test $ac_count -gt 10 && break
4686 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4689 $ac_path_SED_found && break 3
4694 if test -z "$ac_cv_path_SED"; then
4695 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4703 $as_echo "$ac_cv_path_SED" >&6; }
4704 SED="$ac_cv_path_SED"
4711 if test "x$GCC" = xyes ; then
4712 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4713 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4714 -Wbad-function-cast -Wformat=2"
4715 case `$CC -dumpversion` in
4717 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4721 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4722 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4728 if test "x$SUNCC" = "xyes"; then
4735 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4739 # Check whether --enable-strict-compilation was given.
4740 if test "${enable_strict_compilation+set}" = set; then :
4741 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4746 if test "x$STRICT_COMPILE" = "xyes"; then
4747 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4748 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4754 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4755 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4761 if test "x$GCC" = xyes ; then
4762 STRICT_CFLAGS="-pedantic -Werror"
4763 elif test "x$SUNCC" = "xyes"; then
4764 STRICT_CFLAGS="-errwarn"
4765 elif test "x$INTELCC" = "xyes"; then
4766 STRICT_CFLAGS="-Werror"
4769 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4774 cat >>confdefs.h <<_ACEOF
4775 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4778 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4779 if test "x$PVM" = "x"; then
4783 cat >>confdefs.h <<_ACEOF
4784 #define PACKAGE_VERSION_MINOR $PVM
4787 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4788 if test "x$PVP" = "x"; then
4792 cat >>confdefs.h <<_ACEOF
4793 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4798 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4799 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4800 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4801 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4806 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4807 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4808 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4809 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4810 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4817 if test x$APP_MAN_SUFFIX = x ; then
4820 if test x$APP_MAN_DIR = x ; then
4821 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4824 if test x$LIB_MAN_SUFFIX = x ; then
4827 if test x$LIB_MAN_DIR = x ; then
4828 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4831 if test x$FILE_MAN_SUFFIX = x ; then
4833 solaris*) FILE_MAN_SUFFIX=4 ;;
4834 *) FILE_MAN_SUFFIX=5 ;;
4837 if test x$FILE_MAN_DIR = x ; then
4838 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4841 if test x$MISC_MAN_SUFFIX = x ; then
4843 solaris*) MISC_MAN_SUFFIX=5 ;;
4844 *) MISC_MAN_SUFFIX=7 ;;
4847 if test x$MISC_MAN_DIR = x ; then
4848 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4851 if test x$DRIVER_MAN_SUFFIX = x ; then
4853 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4854 *) DRIVER_MAN_SUFFIX=4 ;;
4857 if test x$DRIVER_MAN_DIR = x ; then
4858 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4861 if test x$ADMIN_MAN_SUFFIX = x ; then
4863 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4864 *) ADMIN_MAN_SUFFIX=8 ;;
4867 if test x$ADMIN_MAN_DIR = x ; then
4868 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4885 XORG_MAN_PAGE="X Version 11"
4888 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4889 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4890 -e 's|__xservername__|Xorg|g' \
4891 -e 's|__xconfigfile__|xorg.conf|g' \
4892 -e 's|__projectroot__|\$(prefix)|g' \
4893 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4894 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4895 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4896 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4897 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4898 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4899 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4903 # Check whether --enable-silent-rules was given.
4904 if test "${enable_silent_rules+set}" = set; then :
4905 enableval=$enable_silent_rules;
4908 case $enable_silent_rules in
4909 yes) AM_DEFAULT_VERBOSITY=0;;
4910 no) AM_DEFAULT_VERBOSITY=1;;
4911 *) AM_DEFAULT_VERBOSITY=0;;
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4918 $as_echo_n "checking return type of signal handlers... " >&6; }
4919 if ${ac_cv_type_signal+:} false; then :
4920 $as_echo_n "(cached) " >&6
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4924 #include <sys/types.h>
4930 return *(signal (0, 0)) (0) == 1;
4935 if ac_fn_c_try_compile "$LINENO"; then :
4936 ac_cv_type_signal=int
4938 ac_cv_type_signal=void
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4943 $as_echo "$ac_cv_type_signal" >&6; }
4945 cat >>confdefs.h <<_ACEOF
4946 #define RETSIGTYPE $ac_cv_type_signal
4951 for ac_header in net/errno.h
4953 ac_fn_c_check_header_mongrel "$LINENO" "net/errno.h" "ac_cv_header_net_errno_h" "$ac_includes_default"
4954 if test "x$ac_cv_header_net_errno_h" = xyes; then :
4955 cat >>confdefs.h <<_ACEOF
4956 #define HAVE_NET_ERRNO_H 1
4964 for ac_func in strlcpy
4966 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
4967 if test "x$ac_cv_func_strlcpy" = xyes; then :
4968 cat >>confdefs.h <<_ACEOF
4969 #define HAVE_STRLCPY 1
4976 # Checks for pkg-config packages
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAUTH" >&5
4980 $as_echo_n "checking for XAUTH... " >&6; }
4982 if test -n "$XAUTH_CFLAGS"; then
4983 pkg_cv_XAUTH_CFLAGS="$XAUTH_CFLAGS"
4984 elif test -n "$PKG_CONFIG"; then
4985 if test -n "$PKG_CONFIG" && \
4986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\""; } >&5
4987 ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5
4989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4990 test $ac_status = 0; }; then
4991 pkg_cv_XAUTH_CFLAGS=`$PKG_CONFIG --cflags "x11 xau xext xmuu" 2>/dev/null`
4998 if test -n "$XAUTH_LIBS"; then
4999 pkg_cv_XAUTH_LIBS="$XAUTH_LIBS"
5000 elif test -n "$PKG_CONFIG"; then
5001 if test -n "$PKG_CONFIG" && \
5002 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\""; } >&5
5003 ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5
5005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5006 test $ac_status = 0; }; then
5007 pkg_cv_XAUTH_LIBS=`$PKG_CONFIG --libs "x11 xau xext xmuu" 2>/dev/null`
5017 if test $pkg_failed = yes; then
5019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5020 _pkg_short_errors_supported=yes
5022 _pkg_short_errors_supported=no
5024 if test $_pkg_short_errors_supported = yes; then
5025 XAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xau xext xmuu" 2>&1`
5027 XAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xau xext xmuu" 2>&1`
5029 # Put the nasty error message in config.log where it belongs
5030 echo "$XAUTH_PKG_ERRORS" >&5
5032 as_fn_error $? "Package requirements (x11 xau xext xmuu) were not met:
5036 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5037 installed software in a non-standard prefix.
5039 Alternatively, you may set the environment variables XAUTH_CFLAGS
5040 and XAUTH_LIBS to avoid the need to call pkg-config.
5041 See the pkg-config man page for more details.
5043 elif test $pkg_failed = untried; then
5044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5046 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5047 is in your PATH or set the PKG_CONFIG environment variable to the full
5050 Alternatively, you may set the environment variables XAUTH_CFLAGS
5051 and XAUTH_LIBS to avoid the need to call pkg-config.
5052 See the pkg-config man page for more details.
5054 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5055 See \`config.log' for more details" "$LINENO" 5; }
5057 XAUTH_CFLAGS=$pkg_cv_XAUTH_CFLAGS
5058 XAUTH_LIBS=$pkg_cv_XAUTH_LIBS
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5060 $as_echo "yes" >&6; }
5064 # Transport selection macro from xtrans.m4
5065 # Needed to set *CONN defines for gethost.c & parsedpy.c
5070 mingw*) unixdef="no" ;;
5073 # Check whether --enable-unix-transport was given.
5074 if test "${enable_unix_transport+set}" = set; then :
5075 enableval=$enable_unix_transport; UNIXCONN=$enableval
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
5081 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
5082 if test "$UNIXCONN" = "yes"; then
5084 $as_echo "#define UNIXCONN 1" >>confdefs.h
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
5088 $as_echo "$UNIXCONN" >&6; }
5089 # Check whether --enable-tcp-transport was given.
5090 if test "${enable_tcp_transport+set}" = set; then :
5091 enableval=$enable_tcp_transport; TCPCONN=$enableval
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
5097 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
5099 $as_echo "$TCPCONN" >&6; }
5100 if test "$TCPCONN" = "yes"; then
5102 $as_echo "#define TCPCONN 1" >>confdefs.h
5105 # SVR4 hides these in libraries other than libc
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
5107 $as_echo_n "checking for library containing socket... " >&6; }
5108 if ${ac_cv_search_socket+:} false; then :
5109 $as_echo_n "(cached) " >&6
5111 ac_func_search_save_LIBS=$LIBS
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5115 /* Override any GCC internal prototype to avoid an error.
5116 Use char because int might match the return type of a GCC
5117 builtin and then its argument prototype would still apply. */
5130 for ac_lib in '' socket; do
5131 if test -z "$ac_lib"; then
5132 ac_res="none required"
5135 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5137 if ac_fn_c_try_link "$LINENO"; then :
5138 ac_cv_search_socket=$ac_res
5140 rm -f core conftest.err conftest.$ac_objext \
5142 if ${ac_cv_search_socket+:} false; then :
5146 if ${ac_cv_search_socket+:} false; then :
5149 ac_cv_search_socket=no
5152 LIBS=$ac_func_search_save_LIBS
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
5155 $as_echo "$ac_cv_search_socket" >&6; }
5156 ac_res=$ac_cv_search_socket
5157 if test "$ac_res" != no; then :
5158 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
5163 $as_echo_n "checking for library containing gethostbyname... " >&6; }
5164 if ${ac_cv_search_gethostbyname+:} false; then :
5165 $as_echo_n "(cached) " >&6
5167 ac_func_search_save_LIBS=$LIBS
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5171 /* Override any GCC internal prototype to avoid an error.
5172 Use char because int might match the return type of a GCC
5173 builtin and then its argument prototype would still apply. */
5177 char gethostbyname ();
5181 return gethostbyname ();
5186 for ac_lib in '' nsl; do
5187 if test -z "$ac_lib"; then
5188 ac_res="none required"
5191 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5193 if ac_fn_c_try_link "$LINENO"; then :
5194 ac_cv_search_gethostbyname=$ac_res
5196 rm -f core conftest.err conftest.$ac_objext \
5198 if ${ac_cv_search_gethostbyname+:} false; then :
5202 if ${ac_cv_search_gethostbyname+:} false; then :
5205 ac_cv_search_gethostbyname=no
5208 LIBS=$ac_func_search_save_LIBS
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
5211 $as_echo "$ac_cv_search_gethostbyname" >&6; }
5212 ac_res=$ac_cv_search_gethostbyname
5213 if test "$ac_res" != no; then :
5214 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5218 if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
5220 $as_echo_n "checking for main in -lws2_32... " >&6; }
5221 if ${ac_cv_lib_ws2_32_main+:} false; then :
5222 $as_echo_n "(cached) " >&6
5224 ac_check_lib_save_LIBS=$LIBS
5225 LIBS="-lws2_32 $LIBS"
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5238 if ac_fn_c_try_link "$LINENO"; then :
5239 ac_cv_lib_ws2_32_main=yes
5241 ac_cv_lib_ws2_32_main=no
5243 rm -f core conftest.err conftest.$ac_objext \
5244 conftest$ac_exeext conftest.$ac_ext
5245 LIBS=$ac_check_lib_save_LIBS
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
5248 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
5249 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
5250 cat >>confdefs.h <<_ACEOF
5251 #define HAVE_LIBWS2_32 1
5254 LIBS="-lws2_32 $LIBS"
5257 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
5261 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
5262 # Check whether --enable-ipv6 was given.
5263 if test "${enable_ipv6+set}" = set; then :
5264 enableval=$enable_ipv6; IPV6CONN=$enableval
5266 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
5267 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
5276 $as_echo_n "checking if IPv6 support should be built... " >&6; }
5277 if test "$IPV6CONN" = "yes"; then
5279 $as_echo "#define IPv6 1" >>confdefs.h
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
5283 $as_echo "$IPV6CONN" >&6; }
5285 # 4.3BSD-Reno added a new member to struct sockaddr_in
5286 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
5287 #include <sys/types.h>
5288 #include <sys/socket.h>
5289 #include <netinet/in.h>
5292 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
5294 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
5299 # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
5300 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
5301 $ac_includes_default
5302 #include <sys/socket.h>
5304 if test "x$ac_cv_type_socklen_t" = xyes; then :
5306 cat >>confdefs.h <<_ACEOF
5307 #define HAVE_SOCKLEN_T 1
5317 solaris*|sco*|sysv4*) localdef="yes" ;;
5320 # Check whether --enable-local-transport was given.
5321 if test "${enable_local_transport+set}" = set; then :
5322 enableval=$enable_local_transport; LOCALCONN=$enableval
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
5328 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
5330 $as_echo "$LOCALCONN" >&6; }
5331 if test "$LOCALCONN" = "yes"; then
5333 $as_echo "#define LOCALCONN 1" >>confdefs.h
5344 # Check whether --with-lint was given.
5345 if test "${with_lint+set}" = set; then :
5346 withval=$with_lint; use_lint=$withval
5352 # Obtain platform specific info like program name and options
5353 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
5355 *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
5357 lint_options="-badflag"
5359 *freebsd* | *netbsd*)
5361 lint_options="-u -b"
5365 lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
5369 # Test for the presence of the program (either guessed by the code or spelled out by the user)
5370 if test "x$use_lint" = x"yes" ; then
5371 # Extract the first word of "$lint_name", so it can be a program name with args.
5372 set dummy $lint_name; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_path_LINT+:} false; then :
5376 $as_echo_n "(cached) " >&6
5380 ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5390 ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 LINT=$ac_cv_path_LINT
5402 if test -n "$LINT"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5404 $as_echo "$LINT" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 if test "x$LINT" = "x"; then
5412 as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
5414 elif test "x$use_lint" = x"no" ; then
5415 if test "x$LINT" != "x"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
5417 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
5420 as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
5423 # User supplied flags override default flags
5424 if test "x$LINT_FLAGS" != "x"; then
5425 lint_options=$LINT_FLAGS
5428 LINT_FLAGS=$lint_options
5430 if test "x$LINT" != x; then
5441 ac_config_files="$ac_config_files Makefile"
5443 cat >confcache <<\_ACEOF
5444 # This file is a shell script that caches the results of configure
5445 # tests run on this system so they can be shared between configure
5446 # scripts and configure runs, see configure's option --config-cache.
5447 # It is not useful on other systems. If it contains results you don't
5448 # want to keep, you may remove or edit it.
5450 # config.status only pays attention to the cache file if you give it
5451 # the --recheck option to rerun configure.
5453 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5454 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5459 # The following way of writing the cache mishandles newlines in values,
5460 # but we know of no workaround that is simple, portable, and efficient.
5461 # So, we kill variables containing newlines.
5462 # Ultrix sh set writes to stderr and can't be redirected directly,
5463 # and sets the high bit in the cache file unless we assign to the vars.
5465 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5466 eval ac_val=\$$ac_var
5470 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5471 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5474 _ | IFS | as_nl) ;; #(
5475 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5476 *) { eval $ac_var=; unset $ac_var;} ;;
5482 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5483 *${as_nl}ac_space=\ *)
5484 # `set' does not quote correctly, so add quotes: double-quote
5485 # substitution turns \\\\ into \\, and sed turns \\ into \.
5488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5491 # `set' quotes correctly as required by POSIX, so do not add quotes.
5492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5501 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5503 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5505 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5506 if test -w "$cache_file"; then
5507 if test "x$cache_file" != "x/dev/null"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5509 $as_echo "$as_me: updating cache $cache_file" >&6;}
5510 if test ! -f "$cache_file" || test -h "$cache_file"; then
5511 cat confcache >"$cache_file"
5513 case $cache_file in #(
5515 mv -f confcache "$cache_file"$$ &&
5516 mv -f "$cache_file"$$ "$cache_file" ;; #(
5518 mv -f confcache "$cache_file" ;;
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5524 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5529 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5530 # Let make expand exec_prefix.
5531 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5533 DEFS=-DHAVE_CONFIG_H
5538 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5539 # 1. Remove the extension, and $U if already installed.
5540 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5541 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5542 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5543 # will be set to the directory where LIBOBJS objects are built.
5544 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5545 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5549 LTLIBOBJS=$ac_ltlibobjs
5552 if test -n "$EXEEXT"; then
5554 am__EXEEXT_FALSE='#'
5560 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5561 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5564 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5565 as_fn_error $? "conditional \"AMDEP\" was never defined.
5566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5568 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5569 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5572 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
5573 as_fn_error $? "conditional \"LINT\" was never defined.
5574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5577 : "${CONFIG_STATUS=./config.status}"
5579 ac_clean_files_save=$ac_clean_files
5580 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5582 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5584 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5586 # Generated by $as_me.
5587 # Run this file to recreate the current configuration.
5588 # Compiler output produced by configure, useful for debugging
5589 # configure, is in config.log if it exists.
5595 SHELL=\${CONFIG_SHELL-$SHELL}
5598 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5599 ## -------------------- ##
5600 ## M4sh Initialization. ##
5601 ## -------------------- ##
5603 # Be more Bourne compatible
5604 DUALCASE=1; export DUALCASE # for MKS sh
5605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5609 # is contrary to our usage. Disable this feature.
5610 alias -g '${1+"$@"}'='"$@"'
5611 setopt NO_GLOB_SUBST
5613 case `(set -o) 2>/dev/null` in #(
5625 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5626 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5629 # Prefer a ksh shell builtin over an external printf program on Solaris,
5630 # but without wasting forks for bash or zsh.
5631 if test -z "$BASH_VERSION$ZSH_VERSION" \
5632 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5633 as_echo='print -r --'
5634 as_echo_n='print -rn --'
5635 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5636 as_echo='printf %s\n'
5637 as_echo_n='printf %s'
5639 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5640 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5641 as_echo_n='/usr/ucb/echo -n'
5643 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5644 as_echo_n_body='eval
5648 expr "X$arg" : "X\\(.*\\)$as_nl";
5649 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5651 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5653 export as_echo_n_body
5654 as_echo_n='sh -c $as_echo_n_body as_echo'
5657 as_echo='sh -c $as_echo_body as_echo'
5660 # The user is always right.
5661 if test "${PATH_SEPARATOR+set}" != set; then
5663 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5664 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5671 # We need space, tab and new line, in precisely that order. Quoting is
5672 # there to prevent editors from complaining about space-tab.
5673 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5674 # splitting by setting IFS to empty value.)
5677 # Find who we are. Look in the path if we contain no directory separator.
5680 *[\\/]* ) as_myself=$0 ;;
5681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir=.
5686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5692 # We did not find ourselves, most probably we were run as `sh COMMAND'
5693 # in which case we are not to be found in the path.
5694 if test "x$as_myself" = x; then
5697 if test ! -f "$as_myself"; then
5698 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5702 # Unset variables that we do not need and which cause bugs (e.g. in
5703 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5704 # suppresses any "Segmentation fault" message there. '((' could
5705 # trigger a bug in pdksh 5.2.14.
5706 for as_var in BASH_ENV ENV MAIL MAILPATH
5707 do eval test x\${$as_var+set} = xset \
5708 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5724 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5725 # ----------------------------------------
5726 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5727 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5728 # script with STATUS, using 1 if that was 0.
5731 as_status=$1; test $as_status -eq 0 && as_status=1
5733 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5734 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5736 $as_echo "$as_me: error: $2" >&2
5737 as_fn_exit $as_status
5741 # as_fn_set_status STATUS
5742 # -----------------------
5743 # Set $? to STATUS, without forking.
5747 } # as_fn_set_status
5751 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5761 # Portably unset VAR.
5764 { eval $1=; unset $1;}
5766 as_unset=as_fn_unset
5767 # as_fn_append VAR VALUE
5768 # ----------------------
5769 # Append the text in VALUE to the end of the definition contained in VAR. Take
5770 # advantage of any shell optimizations that allow amortized linear growth over
5771 # repeated appends, instead of the typical quadratic growth present in naive
5773 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5774 eval 'as_fn_append ()
5785 # as_fn_arith ARG...
5786 # ------------------
5787 # Perform arithmetic evaluation on the ARGs, and store the result in the
5788 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5789 # must be portable across $(()) and expr.
5790 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5791 eval 'as_fn_arith ()
5798 as_val=`expr "$@" || test $? -eq 1`
5803 if expr a : '\(a\)' >/dev/null 2>&1 &&
5804 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5810 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5811 as_basename=basename
5816 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5822 as_me=`$as_basename -- "$0" ||
5823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5824 X"$0" : 'X\(//\)$' \| \
5825 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5827 sed '/^.*\/\([^/][^/]*\)\/*$/{
5841 # Avoid depending upon Character Ranges.
5842 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5843 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5844 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5845 as_cr_digits='0123456789'
5846 as_cr_alnum=$as_cr_Letters$as_cr_digits
5848 ECHO_C= ECHO_N= ECHO_T=
5849 case `echo -n x` in #(((((
5851 case `echo 'xy\c'` in
5852 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5854 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5861 rm -f conf$$ conf$$.exe conf$$.file
5862 if test -d conf$$.dir; then
5863 rm -f conf$$.dir/conf$$.file
5866 mkdir conf$$.dir 2>/dev/null
5868 if (echo >conf$$.file) 2>/dev/null; then
5869 if ln -s conf$$.file conf$$ 2>/dev/null; then
5871 # ... but there are two gotchas:
5872 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5873 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5874 # In both cases, we have to default to `cp -p'.
5875 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5877 elif ln conf$$.file conf$$ 2>/dev/null; then
5885 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5886 rmdir conf$$.dir 2>/dev/null
5891 # Create "$as_dir" as a directory, including parents if necessary.
5896 -*) as_dir=./$as_dir;;
5898 test -d "$as_dir" || eval $as_mkdir_p || {
5902 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5903 *) as_qdir=$as_dir;;
5905 as_dirs="'$as_qdir' $as_dirs"
5906 as_dir=`$as_dirname -- "$as_dir" ||
5907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5908 X"$as_dir" : 'X\(//\)[^/]' \| \
5909 X"$as_dir" : 'X\(//\)$' \| \
5910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5911 $as_echo X"$as_dir" |
5912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5929 test -d "$as_dir" && break
5931 test -z "$as_dirs" || eval "mkdir $as_dirs"
5932 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5936 if mkdir -p . 2>/dev/null; then
5937 as_mkdir_p='mkdir -p "$as_dir"'
5939 test -d ./-p && rmdir ./-p
5943 if test -x / >/dev/null 2>&1; then
5946 if ls -dL / >/dev/null 2>&1; then
5953 if test -d "$1"; then
5959 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5960 ???[sx]*):;;*)false;;esac;fi
5964 as_executable_p=$as_test_x
5966 # Sed expression to map a string onto a valid CPP name.
5967 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5969 # Sed expression to map a string onto a valid variable name.
5970 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5974 ## ----------------------------------- ##
5975 ## Main body of $CONFIG_STATUS script. ##
5976 ## ----------------------------------- ##
5978 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5981 # Save the log message, to keep $0 and so on meaningful, and to
5982 # report actual input values of CONFIG_FILES etc. instead of their
5983 # values after options handling.
5985 This file was extended by xauth $as_me 1.0.5, which was
5986 generated by GNU Autoconf 2.68. Invocation command line was
5988 CONFIG_FILES = $CONFIG_FILES
5989 CONFIG_HEADERS = $CONFIG_HEADERS
5990 CONFIG_LINKS = $CONFIG_LINKS
5991 CONFIG_COMMANDS = $CONFIG_COMMANDS
5994 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5999 case $ac_config_files in *"
6000 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6003 case $ac_config_headers in *"
6004 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6009 # Files that config.status was made for.
6010 config_files="$ac_config_files"
6011 config_headers="$ac_config_headers"
6012 config_commands="$ac_config_commands"
6016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6018 \`$as_me' instantiates files and other configuration actions
6019 from templates according to the current configuration. Unless the files
6020 and actions are specified as TAGs, all are instantiated by default.
6022 Usage: $0 [OPTION]... [TAG]...
6024 -h, --help print this help, then exit
6025 -V, --version print version number and configuration settings, then exit
6026 --config print configuration, then exit
6027 -q, --quiet, --silent
6028 do not print progress messages
6029 -d, --debug don't remove temporary files
6030 --recheck update $as_me by reconfiguring in the same conditions
6031 --file=FILE[:TEMPLATE]
6032 instantiate the configuration file FILE
6033 --header=FILE[:TEMPLATE]
6034 instantiate the configuration header FILE
6036 Configuration files:
6039 Configuration headers:
6042 Configuration commands:
6045 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
6048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6049 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6051 xauth config.status 1.0.5
6052 configured by $0, generated by GNU Autoconf 2.68,
6053 with options \\"\$ac_cs_config\\"
6055 Copyright (C) 2010 Free Software Foundation, Inc.
6056 This config.status script is free software; the Free Software Foundation
6057 gives unlimited permission to copy, distribute and modify it."
6064 test -n "\$AWK" || AWK=awk
6067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6068 # The default lists apply if the user does not specify any file.
6074 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6075 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6079 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6091 # Handling of the options.
6092 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6094 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6095 $as_echo "$ac_cs_version"; exit ;;
6096 --config | --confi | --conf | --con | --co | --c )
6097 $as_echo "$ac_cs_config"; exit ;;
6098 --debug | --debu | --deb | --de | --d | -d )
6100 --file | --fil | --fi | --f )
6103 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6104 '') as_fn_error $? "missing file argument" ;;
6106 as_fn_append CONFIG_FILES " '$ac_optarg'"
6107 ac_need_defaults=false;;
6108 --header | --heade | --head | --hea )
6111 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6113 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6114 ac_need_defaults=false;;
6116 # Conflict between --help and --header
6117 as_fn_error $? "ambiguous option: \`$1'
6118 Try \`$0 --help' for more information.";;
6119 --help | --hel | -h )
6120 $as_echo "$ac_cs_usage"; exit ;;
6121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6122 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6126 -*) as_fn_error $? "unrecognized option: \`$1'
6127 Try \`$0 --help' for more information." ;;
6129 *) as_fn_append ac_config_targets " $1"
6130 ac_need_defaults=false ;;
6136 ac_configure_extra_args=
6138 if $ac_cs_silent; then
6140 ac_configure_extra_args="$ac_configure_extra_args --silent"
6144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6145 if \$ac_cs_recheck; then
6146 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6148 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6149 CONFIG_SHELL='$SHELL'
6155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6159 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6160 ## Running $as_me. ##
6166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6170 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6176 # Handling of arguments.
6177 for ac_config_target in $ac_config_targets
6179 case $ac_config_target in
6180 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6181 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6182 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6184 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6189 # If the user did not use the arguments to specify the items to instantiate,
6190 # then the envvar interface is used. Set only those that are not.
6191 # We use the long form for the default assignment because of an extremely
6192 # bizarre bug on SunOS 4.1.3.
6193 if $ac_need_defaults; then
6194 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6195 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6196 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6199 # Have a temporary directory for convenience. Make it in the build tree
6200 # simply because there is no reason against having it here, and in addition,
6201 # creating and moving files from /tmp can sometimes cause problems.
6202 # Hook for its removal unless debugging.
6203 # Note that there is a small window in which the directory will not be cleaned:
6204 # after its creation but before its name has been assigned to `$tmp'.
6208 trap 'exit_status=$?
6210 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6212 trap 'as_fn_exit 1' 1 2 13 15
6214 # Create a (secure) tmp directory for tmp files.
6217 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6221 tmp=./conf$$-$RANDOM
6222 (umask 077 && mkdir "$tmp")
6223 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6226 # Set up the scripts for CONFIG_FILES section.
6227 # No need to generate them if there are no CONFIG_FILES.
6228 # This happens for instance with `./config.status config.h'.
6229 if test -n "$CONFIG_FILES"; then
6232 ac_cr=`echo X | tr X '\015'`
6233 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6234 # But we know of no other shell where ac_cr would be empty at this
6235 # point, so we can use a bashism as a fallback.
6236 if test "x$ac_cr" = x; then
6237 eval ac_cr=\$\'\\r\'
6239 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6240 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6246 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6251 echo "cat >conf$$subs.awk <<_ACEOF" &&
6252 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6256 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6258 for ac_last_try in false false false false false :; do
6259 . ./conf$$subs.sh ||
6260 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6262 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6263 if test $ac_delim_n = $ac_delim_num; then
6265 elif $ac_last_try; then
6266 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6274 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6278 s/^/S["/; s/!.*/"]=/
6288 s/\(.\{148\}\)..*/\1/
6290 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6295 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6302 s/\(.\{148\}\)..*/\1/
6304 s/["\\]/\\&/g; s/^/"/; s/$/"/
6308 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6313 ' <conf$$subs.awk | sed '
6318 ' >>$CONFIG_STATUS || ac_write_fail=1
6319 rm -f conf$$subs.awk
6320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6322 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6323 for (key in S) S_is_set[key] = 1
6329 nfields = split(line, field, "@")
6331 len = length(field[1])
6332 for (i = 2; i < nfields; i++) {
6334 keylen = length(key)
6335 if (S_is_set[key]) {
6337 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6338 len += length(value) + length(field[++i])
6349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6350 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6351 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6354 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6355 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6358 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6359 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6360 # trailing colons and then remove the whole line if VPATH becomes empty
6361 # (actually we leave an empty line to preserve line numbers).
6362 if test "x$srcdir" = x.; then
6363 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6382 fi # test -n "$CONFIG_FILES"
6384 # Set up the scripts for CONFIG_HEADERS section.
6385 # No need to generate them if there are no CONFIG_HEADERS.
6386 # This happens for instance with `./config.status Makefile'.
6387 if test -n "$CONFIG_HEADERS"; then
6388 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6392 # Transform confdefs.h into an awk script `defines.awk', embedded as
6393 # here-document in config.status, that substitutes the proper values into
6394 # config.h.in to produce config.h.
6396 # Create a delimiter string that does not exist in confdefs.h, to ease
6397 # handling of long lines.
6399 for ac_last_try in false false :; do
6400 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6401 if test -z "$ac_tt"; then
6403 elif $ac_last_try; then
6404 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6406 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6410 # For the awk script, D is an array of macro values keyed by name,
6411 # likewise P contains macro parameters if any. Preserve backslash
6412 # newline sequences.
6414 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6416 s/.\{148\}/&'"$ac_delim"'/g
6419 s/^[ ]*#[ ]*define[ ][ ]*/ /
6426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6428 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6432 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6433 D["\1"]=" \3\\\\\\n"\\/p
6435 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6440 s/.\{148\}/&'"$ac_delim"'/g
6445 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6448 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6450 ' <confdefs.h | sed '
6451 s/'"$ac_delim"'/"\\\
6452 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6455 for (key in D) D_is_set[key] = 1
6458 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6460 split(line, arg, " ")
6461 if (arg[1] == "#") {
6465 defundef = substr(arg[1], 2)
6468 split(mac1, mac2, "(") #)
6470 prefix = substr(line, 1, index(line, defundef) - 1)
6471 if (D_is_set[macro]) {
6472 # Preserve the white space surrounding the "#".
6473 print prefix "define", macro P[macro] D[macro]
6476 # Replace #undef with comments. This is necessary, for example,
6477 # in the case of _POSIX_SOURCE, which is predefined and required
6478 # on some systems where configure will not decide to define it.
6479 if (defundef == "undef") {
6480 print "/*", prefix defundef, macro, "*/"
6488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6489 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6490 fi # test -n "$CONFIG_HEADERS"
6493 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6498 :[FHLC]) ac_mode=$ac_tag; continue;;
6500 case $ac_mode$ac_tag in
6502 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6503 :[FH]-) ac_tag=-:-;;
6504 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6521 -) ac_f="$ac_tmp/stdin";;
6522 *) # Look for the file first in the build tree, then in the source tree
6523 # (if the path is not absolute). The absolute path cannot be DOS-style,
6524 # because $ac_f cannot contain `:'.
6528 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6530 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6532 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6533 as_fn_append ac_file_inputs " '$ac_f'"
6536 # Let's still pretend it is `configure' which instantiates (i.e., don't
6537 # use $as_me), people would be surprised to read:
6538 # /* config.h. Generated by config.status. */
6539 configure_input='Generated from '`
6540 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6542 if test x"$ac_file" != x-; then
6543 configure_input="$ac_file. $configure_input"
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6545 $as_echo "$as_me: creating $ac_file" >&6;}
6547 # Neutralize special characters interpreted by sed in replacement strings.
6548 case $configure_input in #(
6549 *\&* | *\|* | *\\* )
6550 ac_sed_conf_input=`$as_echo "$configure_input" |
6551 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6552 *) ac_sed_conf_input=$configure_input;;
6556 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6562 ac_dir=`$as_dirname -- "$ac_file" ||
6563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6564 X"$ac_file" : 'X\(//\)[^/]' \| \
6565 X"$ac_file" : 'X\(//\)$' \| \
6566 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6567 $as_echo X"$ac_file" |
6568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6585 as_dir="$ac_dir"; as_fn_mkdir_p
6589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6591 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6592 # A ".." for each directory in $ac_dir_suffix.
6593 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6594 case $ac_top_builddir_sub in
6595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6599 ac_abs_top_builddir=$ac_pwd
6600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6601 # for backward compatibility:
6602 ac_top_builddir=$ac_top_build_prefix
6605 .) # We are building in place.
6607 ac_top_srcdir=$ac_top_builddir_sub
6608 ac_abs_top_srcdir=$ac_pwd ;;
6609 [\\/]* | ?:[\\/]* ) # Absolute name.
6610 ac_srcdir=$srcdir$ac_dir_suffix;
6611 ac_top_srcdir=$srcdir
6612 ac_abs_top_srcdir=$srcdir ;;
6614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6615 ac_top_srcdir=$ac_top_build_prefix$srcdir
6616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6628 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6629 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6633 [\\/$]* | ?:[\\/]* ) ;;
6634 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6639 # If the template does not know about datarootdir, expand it.
6640 # FIXME: This hack should be removed a few years after 2.60.
6641 ac_datarootdir_hack=; ac_datarootdir_seen=
6652 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6653 *datarootdir*) ac_datarootdir_seen=yes;;
6654 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6656 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6659 ac_datarootdir_hack='
6660 s&@datadir@&$datadir&g
6661 s&@docdir@&$docdir&g
6662 s&@infodir@&$infodir&g
6663 s&@localedir@&$localedir&g
6664 s&@mandir@&$mandir&g
6665 s&\\\${datarootdir}&$datarootdir&g' ;;
6669 # Neutralize VPATH when `$srcdir' = `.'.
6670 # Shell code in configure.ac might set extrasub.
6671 # FIXME: do we really want to maintain this feature?
6672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6673 ac_sed_extra="$ac_vpsub
6676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6679 s|@configure_input@|$ac_sed_conf_input|;t t
6680 s&@top_builddir@&$ac_top_builddir_sub&;t t
6681 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6682 s&@srcdir@&$ac_srcdir&;t t
6683 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6684 s&@top_srcdir@&$ac_top_srcdir&;t t
6685 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6686 s&@builddir@&$ac_builddir&;t t
6687 s&@abs_builddir@&$ac_abs_builddir&;t t
6688 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6689 s&@INSTALL@&$ac_INSTALL&;t t
6690 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6691 $ac_datarootdir_hack
6693 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6694 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6696 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6697 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6698 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6699 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6701 which seems to be undefined. Please make sure it is defined" >&5
6702 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6703 which seems to be undefined. Please make sure it is defined" >&2;}
6705 rm -f "$ac_tmp/stdin"
6707 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6708 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6710 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6716 if test x"$ac_file" != x-; then
6718 $as_echo "/* $configure_input */" \
6719 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6720 } >"$ac_tmp/config.h" \
6721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6722 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6724 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6727 mv "$ac_tmp/config.h" "$ac_file" \
6728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6731 $as_echo "/* $configure_input */" \
6732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6733 || as_fn_error $? "could not create -" "$LINENO" 5
6735 # Compute "$ac_file"'s index in $config_headers.
6738 for _am_header in $config_headers :; do
6740 $_am_arg | $_am_arg:* )
6743 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6746 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6747 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6748 X"$_am_arg" : 'X\(//\)[^/]' \| \
6749 X"$_am_arg" : 'X\(//\)$' \| \
6750 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6751 $as_echo X"$_am_arg" |
6752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6768 s/.*/./; q'`/stamp-h$_am_stamp_count
6771 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6772 $as_echo "$as_me: executing $ac_file commands" >&6;}
6777 case $ac_file$ac_mode in
6778 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6779 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6780 # are listed without --file. Let's play safe and only enable the eval
6781 # if we detect the quoting.
6782 case $CONFIG_FILES in
6783 *\'*) eval set x "$CONFIG_FILES" ;;
6784 *) set x $CONFIG_FILES ;;
6789 # Strip MF so we end up with the name of the file.
6790 mf=`echo "$mf" | sed -e 's/:.*$//'`
6791 # Check whether this is an Automake generated Makefile or not.
6792 # We used to match only the files named `Makefile.in', but
6793 # some people rename them; so instead we look at the file content.
6794 # Grep'ing the first line is not enough: some people post-process
6795 # each Makefile.in and add a new line on top of each file to say so.
6796 # Grep'ing the whole file is not good either: AIX grep has a line
6797 # limit of 2048, but all sed's we know have understand at least 4000.
6798 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6799 dirpart=`$as_dirname -- "$mf" ||
6800 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6801 X"$mf" : 'X\(//\)[^/]' \| \
6802 X"$mf" : 'X\(//\)$' \| \
6803 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6825 # Extract the definition of DEPDIR, am__include, and am__quote
6826 # from the Makefile without running `make'.
6827 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6828 test -z "$DEPDIR" && continue
6829 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6830 test -z "am__include" && continue
6831 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6832 # When using ansi2knr, U may be empty or an underscore; expand it
6833 U=`sed -n 's/^U = //p' < "$mf"`
6834 # Find all dependency output files, they are included files with
6835 # $(DEPDIR) in their names. We invoke sed twice because it is the
6836 # simplest approach to changing $(DEPDIR) to its actual value in the
6838 for file in `sed -n "
6839 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6840 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6841 # Make sure the directory exists.
6842 test -f "$dirpart/$file" && continue
6843 fdir=`$as_dirname -- "$file" ||
6844 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6845 X"$file" : 'X\(//\)[^/]' \| \
6846 X"$file" : 'X\(//\)$' \| \
6847 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6866 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6867 # echo "creating $dirpart/$file"
6868 echo '# dummy' > "$dirpart/$file"
6880 ac_clean_files=$ac_clean_files_save
6882 test $ac_write_fail = 0 ||
6883 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6886 # configure is writing to config.log, and then calls config.status.
6887 # config.status does its own redirection, appending to config.log.
6888 # Unfortunately, on DOS this fails, as config.log is still kept open
6889 # by configure, so config.status won't be able to write to it; its
6890 # output is simply discarded. So we exec the FD to /dev/null,
6891 # effectively closing config.log, so it can be properly (re)opened and
6892 # appended to by config.status. When coming back to configure, we
6893 # need to make the FD available again.
6894 if test "$no_create" != yes; then
6896 ac_config_status_args=
6897 test "$silent" = yes &&
6898 ac_config_status_args="$ac_config_status_args --quiet"
6900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6903 # would make configure fail if this is the last instruction.
6904 $ac_cs_success || as_fn_exit 1
6906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}