2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for util-macros 1.11.0.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
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 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 # Preserve -v and -x to the replacement shell.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225 *v*x* | *x*v* ) as_opts=-vx ;;
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 $as_echo "$0: Please tell bug-autoconf@gnu.org and
241 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='util-macros'
562 PACKAGE_TARNAME='util-macros'
563 PACKAGE_VERSION='1.11.0'
564 PACKAGE_STRING='util-macros 1.11.0'
565 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
568 ac_unique_file="Makefile.am"
569 ac_subst_vars='LTLIBOBJS
573 MAINTAINER_MODE_FALSE
583 INSTALL_STRIP_PROGRAM
625 program_transform_name
638 enable_option_checking
639 enable_maintainer_mode
641 ac_precious_vars='build_alias
646 # Initialize some variables set by options.
648 ac_init_version=false
649 ac_unrecognized_opts=
651 # The variables have the same names as the options, with
652 # dashes changed to underlines.
660 program_transform_name=s,x,x,
668 # Installation directory options.
669 # These are left unexpanded so users can "make install exec_prefix=/foo"
670 # and all the variables that are supposed to be based on exec_prefix
671 # by default will actually change.
672 # Use braces instead of parens because sh, perl, etc. also accept them.
673 # (The list follows the same order as the GNU Coding Standards.)
674 bindir='${exec_prefix}/bin'
675 sbindir='${exec_prefix}/sbin'
676 libexecdir='${exec_prefix}/libexec'
677 datarootdir='${prefix}/share'
678 datadir='${datarootdir}'
679 sysconfdir='${prefix}/etc'
680 sharedstatedir='${prefix}/com'
681 localstatedir='${prefix}/var'
682 includedir='${prefix}/include'
683 oldincludedir='/usr/include'
684 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
685 infodir='${datarootdir}/info'
690 libdir='${exec_prefix}/lib'
691 localedir='${datarootdir}/locale'
692 mandir='${datarootdir}/man'
698 # If the previous option needs an argument, assign it.
699 if test -n "$ac_prev"; then
700 eval $ac_prev=\$ac_option
706 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
711 # Accept the important Cygnus configure options, so we can diagnose typos.
713 case $ac_dashdash$ac_option in
717 -bindir | --bindir | --bindi | --bind | --bin | --bi)
719 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
722 -build | --build | --buil | --bui | --bu)
723 ac_prev=build_alias ;;
724 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
725 build_alias=$ac_optarg ;;
727 -cache-file | --cache-file | --cache-fil | --cache-fi \
728 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
729 ac_prev=cache_file ;;
730 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
731 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
732 cache_file=$ac_optarg ;;
735 cache_file=config.cache ;;
737 -datadir | --datadir | --datadi | --datad)
739 -datadir=* | --datadir=* | --datadi=* | --datad=*)
740 datadir=$ac_optarg ;;
742 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
743 | --dataroo | --dataro | --datar)
744 ac_prev=datarootdir ;;
745 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
746 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
747 datarootdir=$ac_optarg ;;
749 -disable-* | --disable-*)
750 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
753 as_fn_error $? "invalid feature name: $ac_useropt"
754 ac_useropt_orig=$ac_useropt
755 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
756 case $ac_user_opts in
760 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
761 ac_unrecognized_sep=', ';;
763 eval enable_$ac_useropt=no ;;
765 -docdir | --docdir | --docdi | --doc | --do)
767 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
770 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
772 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
775 -enable-* | --enable-*)
776 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
777 # Reject names that are not valid shell variable names.
778 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
779 as_fn_error $? "invalid feature name: $ac_useropt"
780 ac_useropt_orig=$ac_useropt
781 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
782 case $ac_user_opts in
786 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
787 ac_unrecognized_sep=', ';;
789 eval enable_$ac_useropt=\$ac_optarg ;;
791 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
792 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
793 | --exec | --exe | --ex)
794 ac_prev=exec_prefix ;;
795 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
796 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
797 | --exec=* | --exe=* | --ex=*)
798 exec_prefix=$ac_optarg ;;
800 -gas | --gas | --ga | --g)
801 # Obsolete; use --with-gas.
804 -help | --help | --hel | --he | -h)
806 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
807 ac_init_help=recursive ;;
808 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
809 ac_init_help=short ;;
811 -host | --host | --hos | --ho)
812 ac_prev=host_alias ;;
813 -host=* | --host=* | --hos=* | --ho=*)
814 host_alias=$ac_optarg ;;
816 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
818 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
820 htmldir=$ac_optarg ;;
822 -includedir | --includedir | --includedi | --included | --include \
823 | --includ | --inclu | --incl | --inc)
824 ac_prev=includedir ;;
825 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
826 | --includ=* | --inclu=* | --incl=* | --inc=*)
827 includedir=$ac_optarg ;;
829 -infodir | --infodir | --infodi | --infod | --info | --inf)
831 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
832 infodir=$ac_optarg ;;
834 -libdir | --libdir | --libdi | --libd)
836 -libdir=* | --libdir=* | --libdi=* | --libd=*)
839 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
840 | --libexe | --libex | --libe)
841 ac_prev=libexecdir ;;
842 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
843 | --libexe=* | --libex=* | --libe=*)
844 libexecdir=$ac_optarg ;;
846 -localedir | --localedir | --localedi | --localed | --locale)
848 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
849 localedir=$ac_optarg ;;
851 -localstatedir | --localstatedir | --localstatedi | --localstated \
852 | --localstate | --localstat | --localsta | --localst | --locals)
853 ac_prev=localstatedir ;;
854 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
855 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
856 localstatedir=$ac_optarg ;;
858 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
860 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
864 # Obsolete; use --without-fp.
867 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
868 | --no-cr | --no-c | -n)
871 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
872 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
875 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
876 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
877 | --oldin | --oldi | --old | --ol | --o)
878 ac_prev=oldincludedir ;;
879 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
880 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
881 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
882 oldincludedir=$ac_optarg ;;
884 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
886 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
889 -program-prefix | --program-prefix | --program-prefi | --program-pref \
890 | --program-pre | --program-pr | --program-p)
891 ac_prev=program_prefix ;;
892 -program-prefix=* | --program-prefix=* | --program-prefi=* \
893 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
894 program_prefix=$ac_optarg ;;
896 -program-suffix | --program-suffix | --program-suffi | --program-suff \
897 | --program-suf | --program-su | --program-s)
898 ac_prev=program_suffix ;;
899 -program-suffix=* | --program-suffix=* | --program-suffi=* \
900 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
901 program_suffix=$ac_optarg ;;
903 -program-transform-name | --program-transform-name \
904 | --program-transform-nam | --program-transform-na \
905 | --program-transform-n | --program-transform- \
906 | --program-transform | --program-transfor \
907 | --program-transfo | --program-transf \
908 | --program-trans | --program-tran \
909 | --progr-tra | --program-tr | --program-t)
910 ac_prev=program_transform_name ;;
911 -program-transform-name=* | --program-transform-name=* \
912 | --program-transform-nam=* | --program-transform-na=* \
913 | --program-transform-n=* | --program-transform-=* \
914 | --program-transform=* | --program-transfor=* \
915 | --program-transfo=* | --program-transf=* \
916 | --program-trans=* | --program-tran=* \
917 | --progr-tra=* | --program-tr=* | --program-t=*)
918 program_transform_name=$ac_optarg ;;
920 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
922 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
925 -psdir | --psdir | --psdi | --psd | --ps)
927 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
930 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
931 | -silent | --silent | --silen | --sile | --sil)
934 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
936 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
938 sbindir=$ac_optarg ;;
940 -sharedstatedir | --sharedstatedir | --sharedstatedi \
941 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
942 | --sharedst | --shareds | --shared | --share | --shar \
944 ac_prev=sharedstatedir ;;
945 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
946 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
947 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
949 sharedstatedir=$ac_optarg ;;
951 -site | --site | --sit)
953 -site=* | --site=* | --sit=*)
956 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
958 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
961 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
962 | --syscon | --sysco | --sysc | --sys | --sy)
963 ac_prev=sysconfdir ;;
964 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
965 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
966 sysconfdir=$ac_optarg ;;
968 -target | --target | --targe | --targ | --tar | --ta | --t)
969 ac_prev=target_alias ;;
970 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
971 target_alias=$ac_optarg ;;
973 -v | -verbose | --verbose | --verbos | --verbo | --verb)
976 -version | --version | --versio | --versi | --vers | -V)
980 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
983 as_fn_error $? "invalid package name: $ac_useropt"
984 ac_useropt_orig=$ac_useropt
985 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
991 ac_unrecognized_sep=', ';;
993 eval with_$ac_useropt=\$ac_optarg ;;
995 -without-* | --without-*)
996 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999 as_fn_error $? "invalid package name: $ac_useropt"
1000 ac_useropt_orig=$ac_useropt
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1007 ac_unrecognized_sep=', ';;
1009 eval with_$ac_useropt=no ;;
1012 # Obsolete; use --with-x.
1015 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1016 | --x-incl | --x-inc | --x-in | --x-i)
1017 ac_prev=x_includes ;;
1018 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1019 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1020 x_includes=$ac_optarg ;;
1022 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1023 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1024 ac_prev=x_libraries ;;
1025 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1026 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1027 x_libraries=$ac_optarg ;;
1029 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1030 Try \`$0 --help' for more information"
1034 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1035 # Reject names that are not valid shell variable names.
1036 case $ac_envvar in #(
1037 '' | [0-9]* | *[!_$as_cr_alnum]* )
1038 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1040 eval $ac_envvar=\$ac_optarg
1041 export $ac_envvar ;;
1044 # FIXME: should be removed in autoconf 3.0.
1045 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1046 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1048 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1054 if test -n "$ac_prev"; then
1055 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1056 as_fn_error $? "missing argument to $ac_option"
1059 if test -n "$ac_unrecognized_opts"; then
1060 case $enable_option_checking in
1062 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1063 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1067 # Check all directory arguments for consistency.
1068 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1069 datadir sysconfdir sharedstatedir localstatedir includedir \
1070 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1071 libdir localedir mandir
1073 eval ac_val=\$$ac_var
1074 # Remove trailing slashes.
1077 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1078 eval $ac_var=\$ac_val;;
1080 # Be sure to have absolute directory names.
1082 [\\/$]* | ?:[\\/]* ) continue;;
1083 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1085 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1088 # There might be people who depend on the old broken behavior: `$host'
1089 # used to hold the argument of --host etc.
1090 # FIXME: To remove some day.
1093 target=$target_alias
1095 # FIXME: To remove some day.
1096 if test "x$host_alias" != x; then
1097 if test "x$build_alias" = x; then
1098 cross_compiling=maybe
1099 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1100 If a cross compiler is detected then cross compile mode will be used" >&2
1101 elif test "x$build_alias" != "x$host_alias"; then
1107 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1109 test "$silent" = yes && exec 6>/dev/null
1112 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1113 ac_ls_di=`ls -di .` &&
1114 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1115 as_fn_error $? "working directory cannot be determined"
1116 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1117 as_fn_error $? "pwd does not report name of working directory"
1120 # Find the source files, if location was not specified.
1121 if test -z "$srcdir"; then
1122 ac_srcdir_defaulted=yes
1123 # Try the directory containing this script, then the parent directory.
1124 ac_confdir=`$as_dirname -- "$as_myself" ||
1125 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1126 X"$as_myself" : 'X\(//\)[^/]' \| \
1127 X"$as_myself" : 'X\(//\)$' \| \
1128 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1129 $as_echo X"$as_myself" |
1130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1152 ac_srcdir_defaulted=no
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1155 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1156 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1158 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1160 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1162 # When building in place, set srcdir=.
1163 if test "$ac_abs_confdir" = "$ac_pwd"; then
1166 # Remove unnecessary trailing slashes from srcdir.
1167 # Double slashes in file names in object file debugging info
1168 # mess up M-x gdb in Emacs.
1170 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1172 for ac_var in $ac_precious_vars; do
1173 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1174 eval ac_env_${ac_var}_value=\$${ac_var}
1175 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1176 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1180 # Report the --help message.
1182 if test "$ac_init_help" = "long"; then
1183 # Omit some internal or obsolete options to make the list less imposing.
1184 # This message is too long to be a string in the A/UX 3.1 sh.
1186 \`configure' configures util-macros 1.11.0 to adapt to many kinds of systems.
1188 Usage: $0 [OPTION]... [VAR=VALUE]...
1190 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1191 VAR=VALUE. See below for descriptions of some of the useful variables.
1193 Defaults for the options are specified in brackets.
1196 -h, --help display this help and exit
1197 --help=short display options specific to this package
1198 --help=recursive display the short help of all the included packages
1199 -V, --version display version information and exit
1200 -q, --quiet, --silent do not print \`checking ...' messages
1201 --cache-file=FILE cache test results in FILE [disabled]
1202 -C, --config-cache alias for \`--cache-file=config.cache'
1203 -n, --no-create do not create output files
1204 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1206 Installation directories:
1207 --prefix=PREFIX install architecture-independent files in PREFIX
1208 [$ac_default_prefix]
1209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1212 By default, \`make install' will install all the files in
1213 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1214 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1215 for instance \`--prefix=\$HOME'.
1217 For better control, use the options below.
1219 Fine tuning of the installation directories:
1220 --bindir=DIR user executables [EPREFIX/bin]
1221 --sbindir=DIR system admin executables [EPREFIX/sbin]
1222 --libexecdir=DIR program executables [EPREFIX/libexec]
1223 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1224 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1225 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1226 --libdir=DIR object code libraries [EPREFIX/lib]
1227 --includedir=DIR C header files [PREFIX/include]
1228 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1229 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1230 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1231 --infodir=DIR info documentation [DATAROOTDIR/info]
1232 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1233 --mandir=DIR man documentation [DATAROOTDIR/man]
1234 --docdir=DIR documentation root [DATAROOTDIR/doc/util-macros]
1235 --htmldir=DIR html documentation [DOCDIR]
1236 --dvidir=DIR dvi documentation [DOCDIR]
1237 --pdfdir=DIR pdf documentation [DOCDIR]
1238 --psdir=DIR ps documentation [DOCDIR]
1244 --program-prefix=PREFIX prepend PREFIX to installed program names
1245 --program-suffix=SUFFIX append SUFFIX to installed program names
1246 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1250 if test -n "$ac_init_help"; then
1251 case $ac_init_help in
1252 short | recursive ) echo "Configuration of util-macros 1.11.0:";;
1257 --disable-option-checking ignore unrecognized --enable/--with options
1258 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1259 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1260 --enable-maintainer-mode enable make rules and dependencies not useful
1261 (and sometimes confusing) to the casual installer
1263 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1268 if test "$ac_init_help" = "recursive"; then
1269 # If there are subdirs, report their specific --help.
1270 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1271 test -d "$ac_dir" ||
1272 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1280 # A ".." for each directory in $ac_dir_suffix.
1281 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1282 case $ac_top_builddir_sub in
1283 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1284 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1287 ac_abs_top_builddir=$ac_pwd
1288 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1289 # for backward compatibility:
1290 ac_top_builddir=$ac_top_build_prefix
1293 .) # We are building in place.
1295 ac_top_srcdir=$ac_top_builddir_sub
1296 ac_abs_top_srcdir=$ac_pwd ;;
1297 [\\/]* | ?:[\\/]* ) # Absolute name.
1298 ac_srcdir=$srcdir$ac_dir_suffix;
1299 ac_top_srcdir=$srcdir
1300 ac_abs_top_srcdir=$srcdir ;;
1302 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1303 ac_top_srcdir=$ac_top_build_prefix$srcdir
1304 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1306 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1308 cd "$ac_dir" || { ac_status=$?; continue; }
1309 # Check for guested configure.
1310 if test -f "$ac_srcdir/configure.gnu"; then
1312 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1313 elif test -f "$ac_srcdir/configure"; then
1315 $SHELL "$ac_srcdir/configure" --help=recursive
1317 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1319 cd "$ac_pwd" || { ac_status=$?; break; }
1323 test -n "$ac_init_help" && exit $ac_status
1324 if $ac_init_version; then
1326 util-macros configure 1.11.0
1327 generated by GNU Autoconf 2.68
1329 Copyright (C) 2010 Free Software Foundation, Inc.
1330 This configure script is free software; the Free Software Foundation
1331 gives unlimited permission to copy, distribute and modify it.
1336 ## ------------------------ ##
1337 ## Autoconf initialization. ##
1338 ## ------------------------ ##
1339 cat >config.log <<_ACEOF
1340 This file contains any messages produced by compilers while
1341 running configure, to aid debugging if configure makes a mistake.
1343 It was created by util-macros $as_me 1.11.0, which was
1344 generated by GNU Autoconf 2.68. Invocation command line was
1356 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1357 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1358 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1359 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1360 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1362 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1363 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1365 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1366 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1367 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1368 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1369 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1370 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1371 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379 test -z "$as_dir" && as_dir=.
1380 $as_echo "PATH: $as_dir"
1396 # Keep a trace of the command line.
1397 # Strip out --no-create and --no-recursion so they do not pile up.
1398 # Strip out --silent because we don't want to record it for future runs.
1399 # Also quote any args containing shell meta-characters.
1400 # Make two passes to allow for proper duplicate-argument suppression.
1404 ac_must_keep_next=false
1410 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1412 | -silent | --silent | --silen | --sile | --sil)
1415 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1418 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1420 as_fn_append ac_configure_args1 " '$ac_arg'"
1421 if test $ac_must_keep_next = true; then
1422 ac_must_keep_next=false # Got value, back to normal.
1425 *=* | --config-cache | -C | -disable-* | --disable-* \
1426 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1427 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1428 | -with-* | --with-* | -without-* | --without-* | --x)
1429 case "$ac_configure_args0 " in
1430 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1433 -* ) ac_must_keep_next=true ;;
1436 as_fn_append ac_configure_args " '$ac_arg'"
1441 { ac_configure_args0=; unset ac_configure_args0;}
1442 { ac_configure_args1=; unset ac_configure_args1;}
1444 # When interrupted or exit'd, cleanup temporary files, and complete
1445 # config.log. We remove comments because anyway the quotes in there
1446 # would cause problems or look ugly.
1447 # WARNING: Use '\'' to represent an apostrophe within the trap.
1448 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1449 trap 'exit_status=$?
1450 # Save into config.log some information that might help in debugging.
1454 $as_echo "## ---------------- ##
1455 ## Cache variables. ##
1456 ## ---------------- ##"
1458 # The following way of writing the cache mishandles newlines in values,
1460 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1461 eval ac_val=\$$ac_var
1465 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1469 _ | IFS | as_nl) ;; #(
1470 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1471 *) { eval $ac_var=; unset $ac_var;} ;;
1476 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1477 *${as_nl}ac_space=\ *)
1479 "s/'\''/'\''\\\\'\'''\''/g;
1480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1490 $as_echo "## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##"
1494 for ac_var in $ac_subst_vars
1496 eval ac_val=\$$ac_var
1498 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1500 $as_echo "$ac_var='\''$ac_val'\''"
1504 if test -n "$ac_subst_files"; then
1505 $as_echo "## ------------------- ##
1506 ## File substitutions. ##
1507 ## ------------------- ##"
1509 for ac_var in $ac_subst_files
1511 eval ac_val=\$$ac_var
1513 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1515 $as_echo "$ac_var='\''$ac_val'\''"
1520 if test -s confdefs.h; then
1521 $as_echo "## ----------- ##
1528 test "$ac_signal" != 0 &&
1529 $as_echo "$as_me: caught signal $ac_signal"
1530 $as_echo "$as_me: exit $exit_status"
1532 rm -f core *.core core.conftest.* &&
1533 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1536 for ac_signal in 1 2 13 15; do
1537 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1542 rm -f -r conftest* confdefs.h
1544 $as_echo "/* confdefs.h */" > confdefs.h
1546 # Predefined preprocessor variables.
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_URL "$PACKAGE_URL"
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer an explicitly selected file to automatically selected ones.
1577 if test -n "$CONFIG_SITE"; then
1578 # We do not want a PATH search for config.site.
1579 case $CONFIG_SITE in #((
1580 -*) ac_site_file1=./$CONFIG_SITE;;
1581 */*) ac_site_file1=$CONFIG_SITE;;
1582 *) ac_site_file1=./$CONFIG_SITE;;
1584 elif test "x$prefix" != xNONE; then
1585 ac_site_file1=$prefix/share/config.site
1586 ac_site_file2=$prefix/etc/config.site
1588 ac_site_file1=$ac_default_prefix/share/config.site
1589 ac_site_file2=$ac_default_prefix/etc/config.site
1591 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1593 test "x$ac_site_file" = xNONE && continue
1594 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1596 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1597 sed 's/^/| /' "$ac_site_file" >&5
1599 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1601 as_fn_error $? "failed to load site script $ac_site_file
1602 See \`config.log' for more details" "$LINENO" 5; }
1606 if test -r "$cache_file"; then
1607 # Some versions of bash will fail to source /dev/null (special files
1608 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1609 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1611 $as_echo "$as_me: loading cache $cache_file" >&6;}
1613 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1614 *) . "./$cache_file";;
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1619 $as_echo "$as_me: creating cache $cache_file" >&6;}
1623 # Check that the precious variables saved in the cache have kept the same
1625 ac_cache_corrupted=false
1626 for ac_var in $ac_precious_vars; do
1627 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1628 eval ac_new_set=\$ac_env_${ac_var}_set
1629 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1630 eval ac_new_val=\$ac_env_${ac_var}_value
1631 case $ac_old_set,$ac_new_set in
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1634 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1635 ac_cache_corrupted=: ;;
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1638 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1639 ac_cache_corrupted=: ;;
1642 if test "x$ac_old_val" != "x$ac_new_val"; then
1643 # differences in whitespace do not lead to failure.
1644 ac_old_val_w=`echo x $ac_old_val`
1645 ac_new_val_w=`echo x $ac_new_val`
1646 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1648 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1649 ac_cache_corrupted=:
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1652 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1653 eval $ac_var=\$ac_old_val
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1656 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1658 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1661 # Pass precious variables to config.status.
1662 if test "$ac_new_set" = set; then
1664 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1665 *) ac_arg=$ac_var=$ac_new_val ;;
1667 case " $ac_configure_args " in
1668 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1669 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1673 if $ac_cache_corrupted; then
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1677 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1678 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1680 ## -------------------- ##
1681 ## Main body of script. ##
1682 ## -------------------- ##
1685 ac_cpp='$CPP $CPPFLAGS'
1686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1692 am__api_version='1.11'
1695 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1696 if test -f "$ac_dir/install-sh"; then
1698 ac_install_sh="$ac_aux_dir/install-sh -c"
1700 elif test -f "$ac_dir/install.sh"; then
1702 ac_install_sh="$ac_aux_dir/install.sh -c"
1704 elif test -f "$ac_dir/shtool"; then
1706 ac_install_sh="$ac_aux_dir/shtool install -c"
1710 if test -z "$ac_aux_dir"; then
1711 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1714 # These three variables are undocumented and unsupported,
1715 # and are intended to be withdrawn in a future Autoconf release.
1716 # They can cause serious problems if a builder's source tree is in a directory
1717 # whose full name contains unusual characters.
1718 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1719 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1720 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1723 # Find a good install program. We prefer a C program (faster),
1724 # so one script is as good as another. But avoid the broken or
1725 # incompatible versions:
1726 # SysV /etc/install, /usr/sbin/install
1727 # SunOS /usr/etc/install
1728 # IRIX /sbin/install
1730 # AmigaOS /C/install, which installs bootblocks on floppy discs
1731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1734 # OS/2's system install, which has a completely different semantic
1735 # ./install, which can be erroneously created by make from ./install.sh.
1736 # Reject install programs that cannot install multiple files.
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1738 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1739 if test -z "$INSTALL"; then
1740 if ${ac_cv_path_install+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 # Account for people who put trailing slashes in PATH elements.
1749 case $as_dir/ in #((
1750 ./ | .// | /[cC]/* | \
1751 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1752 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1755 # OSF1 and SCO ODT 3.0 have their own names for install.
1756 # Don't use installbsd from OSF since it installs stuff as root
1758 for ac_prog in ginstall scoinst install; do
1759 for ac_exec_ext in '' $ac_executable_extensions; do
1760 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1761 if test $ac_prog = install &&
1762 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763 # AIX install. It has an incompatible calling convention.
1765 elif test $ac_prog = install &&
1766 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1767 # program-specific install script used by HP pwplus--don't use.
1770 rm -rf conftest.one conftest.two conftest.dir
1771 echo one > conftest.one
1772 echo two > conftest.two
1774 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1775 test -s conftest.one && test -s conftest.two &&
1776 test -s conftest.dir/conftest.one &&
1777 test -s conftest.dir/conftest.two
1779 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1792 rm -rf conftest.one conftest.two conftest.dir
1795 if test "${ac_cv_path_install+set}" = set; then
1796 INSTALL=$ac_cv_path_install
1798 # As a last resort, use the slow shell script. Don't cache a
1799 # value for INSTALL within a source directory, because that will
1800 # break other packages using the cache if that directory is
1801 # removed, or if the value is a relative name.
1802 INSTALL=$ac_install_sh
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1806 $as_echo "$INSTALL" >&6; }
1808 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1809 # It thinks the first close brace ends the variable substitution.
1810 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1812 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1814 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1817 $as_echo_n "checking whether build environment is sane... " >&6; }
1820 echo timestamp > conftest.file
1821 # Reject unsafe characters in $srcdir or the absolute working directory
1822 # name. Accept space and tab only in the latter.
1826 *[\\\"\#\$\&\'\`$am_lf]*)
1827 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1830 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1831 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1834 # Do `set' in a subshell so we don't clobber the current shell's
1835 # arguments. Must try -L first in case configure is actually a
1836 # symlink; some systems play weird games with the mod time of symlinks
1837 # (eg FreeBSD returns the mod time of the symlink's containing
1840 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1841 if test "$*" = "X"; then
1843 set X `ls -t "$srcdir/configure" conftest.file`
1846 if test "$*" != "X $srcdir/configure conftest.file" \
1847 && test "$*" != "X conftest.file $srcdir/configure"; then
1849 # If neither matched, then we have a broken ls. This can happen
1850 # if, for instance, CONFIG_SHELL is bash and it inherits a
1851 # broken ls alias from the environment. This has actually
1852 # happened. Such a system could not be considered "sane".
1853 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1854 alias in your environment" "$LINENO" 5
1857 test "$2" = conftest.file
1863 as_fn_error $? "newly created file is older than distributed files!
1864 Check your system clock" "$LINENO" 5
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1867 $as_echo "yes" >&6; }
1868 test "$program_prefix" != NONE &&
1869 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1870 # Use a double $ so make ignores it.
1871 test "$program_suffix" != NONE &&
1872 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1873 # Double any \ or $.
1874 # By default was `s,x,x', remove it if useless.
1875 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1876 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1878 # expand $ac_aux_dir to an absolute path
1879 am_aux_dir=`cd $ac_aux_dir && pwd`
1881 if test x"${MISSING+set}" != xset; then
1884 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1886 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1889 # Use eval to expand $SHELL
1890 if eval "$MISSING --run true"; then
1891 am_missing_run="$MISSING --run "
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1895 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1898 if test x"${install_sh}" != xset; then
1901 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1903 install_sh="\${SHELL} $am_aux_dir/install-sh"
1907 # Installed binaries are usually stripped using `strip' when the user
1908 # run `make install-strip'. However `strip' might not be the right
1909 # tool to use in cross-compilation environments, therefore Automake
1910 # will honor the `STRIP' environment variable to overrule this program.
1911 if test "$cross_compiling" != no; then
1912 if test -n "$ac_tool_prefix"; then
1913 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1914 set dummy ${ac_tool_prefix}strip; ac_word=$2
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1916 $as_echo_n "checking for $ac_word... " >&6; }
1917 if ${ac_cv_prog_STRIP+:} false; then :
1918 $as_echo_n "(cached) " >&6
1920 if test -n "$STRIP"; then
1921 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1930 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 STRIP=$ac_cv_prog_STRIP
1941 if test -n "$STRIP"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1943 $as_echo "$STRIP" >&6; }
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1946 $as_echo "no" >&6; }
1951 if test -z "$ac_cv_prog_STRIP"; then
1953 # Extract the first word of "strip", so it can be a program name with args.
1954 set dummy strip; ac_word=$2
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1956 $as_echo_n "checking for $ac_word... " >&6; }
1957 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1958 $as_echo_n "(cached) " >&6
1960 if test -n "$ac_ct_STRIP"; then
1961 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 for ac_exec_ext in '' $ac_executable_extensions; do
1969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1970 ac_cv_prog_ac_ct_STRIP="strip"
1971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1981 if test -n "$ac_ct_STRIP"; then
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1983 $as_echo "$ac_ct_STRIP" >&6; }
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1986 $as_echo "no" >&6; }
1989 if test "x$ac_ct_STRIP" = x; then
1992 case $cross_compiling:$ac_tool_warned in
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1996 ac_tool_warned=yes ;;
2001 STRIP="$ac_cv_prog_STRIP"
2005 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2008 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2009 if test -z "$MKDIR_P"; then
2010 if ${ac_cv_path_mkdir+:} false; then :
2011 $as_echo_n "(cached) " >&6
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2017 test -z "$as_dir" && as_dir=.
2018 for ac_prog in mkdir gmkdir; do
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2021 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2022 'mkdir (GNU coreutils) '* | \
2023 'mkdir (coreutils) '* | \
2024 'mkdir (fileutils) '4.1*)
2025 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2035 test -d ./--version && rmdir ./--version
2036 if test "${ac_cv_path_mkdir+set}" = set; then
2037 MKDIR_P="$ac_cv_path_mkdir -p"
2039 # As a last resort, use the slow shell script. Don't cache a
2040 # value for MKDIR_P within a source directory, because that will
2041 # break other packages using the cache if that directory is
2042 # removed, or if the value is a relative name.
2043 MKDIR_P="$ac_install_sh -d"
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2047 $as_echo "$MKDIR_P" >&6; }
2051 [\\/$]* | ?:[\\/]*) ;;
2052 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2055 for ac_prog in gawk mawk nawk awk
2057 # Extract the first word of "$ac_prog", so it can be a program name with args.
2058 set dummy $ac_prog; ac_word=$2
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2060 $as_echo_n "checking for $ac_word... " >&6; }
2061 if ${ac_cv_prog_AWK+:} false; then :
2062 $as_echo_n "(cached) " >&6
2064 if test -n "$AWK"; then
2065 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2074 ac_cv_prog_AWK="$ac_prog"
2075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 if test -n "$AWK"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2087 $as_echo "$AWK" >&6; }
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2090 $as_echo "no" >&6; }
2094 test -n "$AWK" && break
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2098 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2100 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2101 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2102 $as_echo_n "(cached) " >&6
2104 cat >conftest.make <<\_ACEOF
2107 @echo '@@@%%%=$(MAKE)=@@@%%%'
2109 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2110 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2112 eval ac_cv_prog_make_${ac_make}_set=yes;;
2114 eval ac_cv_prog_make_${ac_make}_set=no;;
2118 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2120 $as_echo "yes" >&6; }
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2124 $as_echo "no" >&6; }
2125 SET_MAKE="MAKE=${MAKE-make}"
2128 rm -rf .tst 2>/dev/null
2129 mkdir .tst 2>/dev/null
2130 if test -d .tst; then
2135 rmdir .tst 2>/dev/null
2137 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2138 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2139 # is not polluted with repeated "-I."
2140 am__isrc=' -I$(srcdir)'
2141 # test to see if srcdir already configured
2142 if test -f $srcdir/config.status; then
2143 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2147 # test whether we have cygpath
2148 if test -z "$CYGPATH_W"; then
2149 if (cygpath --version) >/dev/null 2>/dev/null; then
2150 CYGPATH_W='cygpath -w'
2157 # Define the identity of the package.
2158 PACKAGE='util-macros'
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE "$PACKAGE"
2167 cat >>confdefs.h <<_ACEOF
2168 #define VERSION "$VERSION"
2171 # Some tools Automake needs.
2173 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2176 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2179 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2182 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2185 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2187 # We need awk for the "check" target. The system "awk" is bad on
2189 # Always define AMTAR for backward compatibility.
2191 AMTAR=${AMTAR-"${am_missing_run}tar"}
2193 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2201 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2202 # Check whether --enable-maintainer-mode was given.
2203 if test "${enable_maintainer_mode+set}" = set; then :
2204 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2206 USE_MAINTAINER_MODE=no
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2210 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2211 if test $USE_MAINTAINER_MODE = yes; then
2212 MAINTAINER_MODE_TRUE=
2213 MAINTAINER_MODE_FALSE='#'
2215 MAINTAINER_MODE_TRUE='#'
2216 MAINTAINER_MODE_FALSE=
2219 MAINT=$MAINTAINER_MODE_TRUE
2223 # Checks for programs.
2226 # This is the package that installs xorgversion.m4 as part of xorg-macros.m4.
2227 # In order to use xorgversion.m4 here, we include it explicitly.
2229 # XORG_RELEASE_VERSION
2230 # --------------------
2231 # Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
2237 # Minimum version: 1.2.0
2239 # Defines the variable CHANGELOG_CMD as the command to generate
2240 # ChangeLog from git.
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2252 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2253 if test "x$PVM" = "x"; then
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_VERSION_MINOR $PVM
2261 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2262 if test "x$PVP" = "x"; then
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_VERSION_PATCHLEVEL $PVP
2272 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
2273 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2274 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
2275 echo 'git directory not found: installing possibly empty changelog.' >&2)"
2279 ac_config_files="$ac_config_files xorg-macros.pc Makefile xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4"
2281 cat >confcache <<\_ACEOF
2282 # This file is a shell script that caches the results of configure
2283 # tests run on this system so they can be shared between configure
2284 # scripts and configure runs, see configure's option --config-cache.
2285 # It is not useful on other systems. If it contains results you don't
2286 # want to keep, you may remove or edit it.
2288 # config.status only pays attention to the cache file if you give it
2289 # the --recheck option to rerun configure.
2291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2297 # The following way of writing the cache mishandles newlines in values,
2298 # but we know of no workaround that is simple, portable, and efficient.
2299 # So, we kill variables containing newlines.
2300 # Ultrix sh set writes to stderr and can't be redirected directly,
2301 # and sets the high bit in the cache file unless we assign to the vars.
2303 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2304 eval ac_val=\$$ac_var
2308 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2312 _ | IFS | as_nl) ;; #(
2313 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2314 *) { eval $ac_var=; unset $ac_var;} ;;
2320 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2321 *${as_nl}ac_space=\ *)
2322 # `set' does not quote correctly, so add quotes: double-quote
2323 # substitution turns \\\\ into \\, and sed turns \\ into \.
2326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2329 # `set' quotes correctly as required by POSIX, so do not add quotes.
2330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2339 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2341 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2343 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2344 if test -w "$cache_file"; then
2345 if test "x$cache_file" != "x/dev/null"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2347 $as_echo "$as_me: updating cache $cache_file" >&6;}
2348 if test ! -f "$cache_file" || test -h "$cache_file"; then
2349 cat confcache >"$cache_file"
2351 case $cache_file in #(
2353 mv -f confcache "$cache_file"$$ &&
2354 mv -f "$cache_file"$$ "$cache_file" ;; #(
2356 mv -f confcache "$cache_file" ;;
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2362 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2367 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2368 # Let make expand exec_prefix.
2369 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2371 # Transform confdefs.h into DEFS.
2372 # Protect against shell expansion while executing Makefile rules.
2373 # Protect against Makefile macro expansion.
2375 # If the first sed substitution is executed (which looks for macros that
2376 # take arguments), then branch to the quote section. Otherwise,
2377 # look for a macro that doesn't take arguments.
2387 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2389 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2393 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2406 DEFS=`sed -n "$ac_script" confdefs.h`
2412 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2413 # 1. Remove the extension, and $U if already installed.
2414 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2415 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2416 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2417 # will be set to the directory where LIBOBJS objects are built.
2418 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2419 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2423 LTLIBOBJS=$ac_ltlibobjs
2427 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2428 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2432 : "${CONFIG_STATUS=./config.status}"
2434 ac_clean_files_save=$ac_clean_files
2435 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2437 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2439 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2441 # Generated by $as_me.
2442 # Run this file to recreate the current configuration.
2443 # Compiler output produced by configure, useful for debugging
2444 # configure, is in config.log if it exists.
2450 SHELL=\${CONFIG_SHELL-$SHELL}
2453 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2454 ## -------------------- ##
2455 ## M4sh Initialization. ##
2456 ## -------------------- ##
2458 # Be more Bourne compatible
2459 DUALCASE=1; export DUALCASE # for MKS sh
2460 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2463 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2464 # is contrary to our usage. Disable this feature.
2465 alias -g '${1+"$@"}'='"$@"'
2466 setopt NO_GLOB_SUBST
2468 case `(set -o) 2>/dev/null` in #(
2480 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2481 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2484 # Prefer a ksh shell builtin over an external printf program on Solaris,
2485 # but without wasting forks for bash or zsh.
2486 if test -z "$BASH_VERSION$ZSH_VERSION" \
2487 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2488 as_echo='print -r --'
2489 as_echo_n='print -rn --'
2490 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2491 as_echo='printf %s\n'
2492 as_echo_n='printf %s'
2494 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2495 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2496 as_echo_n='/usr/ucb/echo -n'
2498 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2499 as_echo_n_body='eval
2503 expr "X$arg" : "X\\(.*\\)$as_nl";
2504 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2506 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2508 export as_echo_n_body
2509 as_echo_n='sh -c $as_echo_n_body as_echo'
2512 as_echo='sh -c $as_echo_body as_echo'
2515 # The user is always right.
2516 if test "${PATH_SEPARATOR+set}" != set; then
2518 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2519 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2526 # We need space, tab and new line, in precisely that order. Quoting is
2527 # there to prevent editors from complaining about space-tab.
2528 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2529 # splitting by setting IFS to empty value.)
2532 # Find who we are. Look in the path if we contain no directory separator.
2535 *[\\/]* ) as_myself=$0 ;;
2536 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir=.
2541 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2547 # We did not find ourselves, most probably we were run as `sh COMMAND'
2548 # in which case we are not to be found in the path.
2549 if test "x$as_myself" = x; then
2552 if test ! -f "$as_myself"; then
2553 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2557 # Unset variables that we do not need and which cause bugs (e.g. in
2558 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2559 # suppresses any "Segmentation fault" message there. '((' could
2560 # trigger a bug in pdksh 5.2.14.
2561 for as_var in BASH_ENV ENV MAIL MAILPATH
2562 do eval test x\${$as_var+set} = xset \
2563 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2580 # ----------------------------------------
2581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2583 # script with STATUS, using 1 if that was 0.
2586 as_status=$1; test $as_status -eq 0 && as_status=1
2588 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2589 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2591 $as_echo "$as_me: error: $2" >&2
2592 as_fn_exit $as_status
2596 # as_fn_set_status STATUS
2597 # -----------------------
2598 # Set $? to STATUS, without forking.
2602 } # as_fn_set_status
2606 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2616 # Portably unset VAR.
2619 { eval $1=; unset $1;}
2621 as_unset=as_fn_unset
2622 # as_fn_append VAR VALUE
2623 # ----------------------
2624 # Append the text in VALUE to the end of the definition contained in VAR. Take
2625 # advantage of any shell optimizations that allow amortized linear growth over
2626 # repeated appends, instead of the typical quadratic growth present in naive
2628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2629 eval 'as_fn_append ()
2640 # as_fn_arith ARG...
2641 # ------------------
2642 # Perform arithmetic evaluation on the ARGs, and store the result in the
2643 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2644 # must be portable across $(()) and expr.
2645 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2646 eval 'as_fn_arith ()
2653 as_val=`expr "$@" || test $? -eq 1`
2658 if expr a : '\(a\)' >/dev/null 2>&1 &&
2659 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2665 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2666 as_basename=basename
2671 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2677 as_me=`$as_basename -- "$0" ||
2678 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2679 X"$0" : 'X\(//\)$' \| \
2680 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2682 sed '/^.*\/\([^/][^/]*\)\/*$/{
2696 # Avoid depending upon Character Ranges.
2697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2700 as_cr_digits='0123456789'
2701 as_cr_alnum=$as_cr_Letters$as_cr_digits
2703 ECHO_C= ECHO_N= ECHO_T=
2704 case `echo -n x` in #(((((
2706 case `echo 'xy\c'` in
2707 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2709 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2716 rm -f conf$$ conf$$.exe conf$$.file
2717 if test -d conf$$.dir; then
2718 rm -f conf$$.dir/conf$$.file
2721 mkdir conf$$.dir 2>/dev/null
2723 if (echo >conf$$.file) 2>/dev/null; then
2724 if ln -s conf$$.file conf$$ 2>/dev/null; then
2726 # ... but there are two gotchas:
2727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2729 # In both cases, we have to default to `cp -p'.
2730 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2732 elif ln conf$$.file conf$$ 2>/dev/null; then
2740 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2741 rmdir conf$$.dir 2>/dev/null
2746 # Create "$as_dir" as a directory, including parents if necessary.
2751 -*) as_dir=./$as_dir;;
2753 test -d "$as_dir" || eval $as_mkdir_p || {
2757 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2758 *) as_qdir=$as_dir;;
2760 as_dirs="'$as_qdir' $as_dirs"
2761 as_dir=`$as_dirname -- "$as_dir" ||
2762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2763 X"$as_dir" : 'X\(//\)[^/]' \| \
2764 X"$as_dir" : 'X\(//\)$' \| \
2765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2766 $as_echo X"$as_dir" |
2767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2784 test -d "$as_dir" && break
2786 test -z "$as_dirs" || eval "mkdir $as_dirs"
2787 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2791 if mkdir -p . 2>/dev/null; then
2792 as_mkdir_p='mkdir -p "$as_dir"'
2794 test -d ./-p && rmdir ./-p
2798 if test -x / >/dev/null 2>&1; then
2801 if ls -dL / >/dev/null 2>&1; then
2808 if test -d "$1"; then
2814 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2815 ???[sx]*):;;*)false;;esac;fi
2819 as_executable_p=$as_test_x
2821 # Sed expression to map a string onto a valid CPP name.
2822 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2824 # Sed expression to map a string onto a valid variable name.
2825 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2829 ## ----------------------------------- ##
2830 ## Main body of $CONFIG_STATUS script. ##
2831 ## ----------------------------------- ##
2833 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2836 # Save the log message, to keep $0 and so on meaningful, and to
2837 # report actual input values of CONFIG_FILES etc. instead of their
2838 # values after options handling.
2840 This file was extended by util-macros $as_me 1.11.0, which was
2841 generated by GNU Autoconf 2.68. Invocation command line was
2843 CONFIG_FILES = $CONFIG_FILES
2844 CONFIG_HEADERS = $CONFIG_HEADERS
2845 CONFIG_LINKS = $CONFIG_LINKS
2846 CONFIG_COMMANDS = $CONFIG_COMMANDS
2849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2854 case $ac_config_files in *"
2855 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2861 # Files that config.status was made for.
2862 config_files="$ac_config_files"
2866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2868 \`$as_me' instantiates files and other configuration actions
2869 from templates according to the current configuration. Unless the files
2870 and actions are specified as TAGs, all are instantiated by default.
2872 Usage: $0 [OPTION]... [TAG]...
2874 -h, --help print this help, then exit
2875 -V, --version print version number and configuration settings, then exit
2876 --config print configuration, then exit
2877 -q, --quiet, --silent
2878 do not print progress messages
2879 -d, --debug don't remove temporary files
2880 --recheck update $as_me by reconfiguring in the same conditions
2881 --file=FILE[:TEMPLATE]
2882 instantiate the configuration file FILE
2884 Configuration files:
2887 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
2890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2891 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2893 util-macros config.status 1.11.0
2894 configured by $0, generated by GNU Autoconf 2.68,
2895 with options \\"\$ac_cs_config\\"
2897 Copyright (C) 2010 Free Software Foundation, Inc.
2898 This config.status script is free software; the Free Software Foundation
2899 gives unlimited permission to copy, distribute and modify it."
2906 test -n "\$AWK" || AWK=awk
2909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2910 # The default lists apply if the user does not specify any file.
2916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2917 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2921 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2933 # Handling of the options.
2934 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2936 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2937 $as_echo "$ac_cs_version"; exit ;;
2938 --config | --confi | --conf | --con | --co | --c )
2939 $as_echo "$ac_cs_config"; exit ;;
2940 --debug | --debu | --deb | --de | --d | -d )
2942 --file | --fil | --fi | --f )
2945 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2946 '') as_fn_error $? "missing file argument" ;;
2948 as_fn_append CONFIG_FILES " '$ac_optarg'"
2949 ac_need_defaults=false;;
2950 --he | --h | --help | --hel | -h )
2951 $as_echo "$ac_cs_usage"; exit ;;
2952 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2953 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2957 -*) as_fn_error $? "unrecognized option: \`$1'
2958 Try \`$0 --help' for more information." ;;
2960 *) as_fn_append ac_config_targets " $1"
2961 ac_need_defaults=false ;;
2967 ac_configure_extra_args=
2969 if $ac_cs_silent; then
2971 ac_configure_extra_args="$ac_configure_extra_args --silent"
2975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2976 if \$ac_cs_recheck; then
2977 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2979 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2980 CONFIG_SHELL='$SHELL'
2986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2990 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2991 ## Running $as_me. ##
2997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3002 # Handling of arguments.
3003 for ac_config_target in $ac_config_targets
3005 case $ac_config_target in
3006 "xorg-macros.pc") CONFIG_FILES="$CONFIG_FILES xorg-macros.pc" ;;
3007 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3008 "xorg-macros.m4") CONFIG_FILES="$CONFIG_FILES xorg-macros.m4:xorg-macros.m4.in:xorgversion.m4" ;;
3010 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3015 # If the user did not use the arguments to specify the items to instantiate,
3016 # then the envvar interface is used. Set only those that are not.
3017 # We use the long form for the default assignment because of an extremely
3018 # bizarre bug on SunOS 4.1.3.
3019 if $ac_need_defaults; then
3020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3023 # Have a temporary directory for convenience. Make it in the build tree
3024 # simply because there is no reason against having it here, and in addition,
3025 # creating and moving files from /tmp can sometimes cause problems.
3026 # Hook for its removal unless debugging.
3027 # Note that there is a small window in which the directory will not be cleaned:
3028 # after its creation but before its name has been assigned to `$tmp'.
3032 trap 'exit_status=$?
3034 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3036 trap 'as_fn_exit 1' 1 2 13 15
3038 # Create a (secure) tmp directory for tmp files.
3041 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3045 tmp=./conf$$-$RANDOM
3046 (umask 077 && mkdir "$tmp")
3047 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3050 # Set up the scripts for CONFIG_FILES section.
3051 # No need to generate them if there are no CONFIG_FILES.
3052 # This happens for instance with `./config.status config.h'.
3053 if test -n "$CONFIG_FILES"; then
3056 ac_cr=`echo X | tr X '\015'`
3057 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3058 # But we know of no other shell where ac_cr would be empty at this
3059 # point, so we can use a bashism as a fallback.
3060 if test "x$ac_cr" = x; then
3061 eval ac_cr=\$\'\\r\'
3063 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3064 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3070 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3075 echo "cat >conf$$subs.awk <<_ACEOF" &&
3076 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3079 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3080 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3082 for ac_last_try in false false false false false :; do
3083 . ./conf$$subs.sh ||
3084 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3086 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3087 if test $ac_delim_n = $ac_delim_num; then
3089 elif $ac_last_try; then
3090 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3092 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3098 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3102 s/^/S["/; s/!.*/"]=/
3112 s/\(.\{148\}\)..*/\1/
3114 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3126 s/\(.\{148\}\)..*/\1/
3128 s/["\\]/\\&/g; s/^/"/; s/$/"/
3132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3137 ' <conf$$subs.awk | sed '
3142 ' >>$CONFIG_STATUS || ac_write_fail=1
3143 rm -f conf$$subs.awk
3144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3146 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3147 for (key in S) S_is_set[key] = 1
3153 nfields = split(line, field, "@")
3155 len = length(field[1])
3156 for (i = 2; i < nfields; i++) {
3158 keylen = length(key)
3159 if (S_is_set[key]) {
3161 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3162 len += length(value) + length(field[++i])
3173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3174 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3175 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3178 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3179 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3182 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3183 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3184 # trailing colons and then remove the whole line if VPATH becomes empty
3185 # (actually we leave an empty line to preserve line numbers).
3186 if test "x$srcdir" = x.; then
3187 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3206 fi # test -n "$CONFIG_FILES"
3209 eval set X " :F $CONFIG_FILES "
3214 :[FHLC]) ac_mode=$ac_tag; continue;;
3216 case $ac_mode$ac_tag in
3218 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3219 :[FH]-) ac_tag=-:-;;
3220 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3237 -) ac_f="$ac_tmp/stdin";;
3238 *) # Look for the file first in the build tree, then in the source tree
3239 # (if the path is not absolute). The absolute path cannot be DOS-style,
3240 # because $ac_f cannot contain `:'.
3244 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3246 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3248 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3249 as_fn_append ac_file_inputs " '$ac_f'"
3252 # Let's still pretend it is `configure' which instantiates (i.e., don't
3253 # use $as_me), people would be surprised to read:
3254 # /* config.h. Generated by config.status. */
3255 configure_input='Generated from '`
3256 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3258 if test x"$ac_file" != x-; then
3259 configure_input="$ac_file. $configure_input"
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3261 $as_echo "$as_me: creating $ac_file" >&6;}
3263 # Neutralize special characters interpreted by sed in replacement strings.
3264 case $configure_input in #(
3265 *\&* | *\|* | *\\* )
3266 ac_sed_conf_input=`$as_echo "$configure_input" |
3267 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3268 *) ac_sed_conf_input=$configure_input;;
3272 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3273 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3278 ac_dir=`$as_dirname -- "$ac_file" ||
3279 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3280 X"$ac_file" : 'X\(//\)[^/]' \| \
3281 X"$ac_file" : 'X\(//\)$' \| \
3282 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3283 $as_echo X"$ac_file" |
3284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3301 as_dir="$ac_dir"; as_fn_mkdir_p
3305 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3307 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3308 # A ".." for each directory in $ac_dir_suffix.
3309 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3310 case $ac_top_builddir_sub in
3311 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3312 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3315 ac_abs_top_builddir=$ac_pwd
3316 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3317 # for backward compatibility:
3318 ac_top_builddir=$ac_top_build_prefix
3321 .) # We are building in place.
3323 ac_top_srcdir=$ac_top_builddir_sub
3324 ac_abs_top_srcdir=$ac_pwd ;;
3325 [\\/]* | ?:[\\/]* ) # Absolute name.
3326 ac_srcdir=$srcdir$ac_dir_suffix;
3327 ac_top_srcdir=$srcdir
3328 ac_abs_top_srcdir=$srcdir ;;
3330 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3331 ac_top_srcdir=$ac_top_build_prefix$srcdir
3332 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3334 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3344 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3345 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3349 [\\/$]* | ?:[\\/]* ) ;;
3350 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3355 # If the template does not know about datarootdir, expand it.
3356 # FIXME: This hack should be removed a few years after 2.60.
3357 ac_datarootdir_hack=; ac_datarootdir_seen=
3368 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3369 *datarootdir*) ac_datarootdir_seen=yes;;
3370 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3372 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3375 ac_datarootdir_hack='
3376 s&@datadir@&$datadir&g
3377 s&@docdir@&$docdir&g
3378 s&@infodir@&$infodir&g
3379 s&@localedir@&$localedir&g
3380 s&@mandir@&$mandir&g
3381 s&\\\${datarootdir}&$datarootdir&g' ;;
3385 # Neutralize VPATH when `$srcdir' = `.'.
3386 # Shell code in configure.ac might set extrasub.
3387 # FIXME: do we really want to maintain this feature?
3388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3389 ac_sed_extra="$ac_vpsub
3392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3395 s|@configure_input@|$ac_sed_conf_input|;t t
3396 s&@top_builddir@&$ac_top_builddir_sub&;t t
3397 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3398 s&@srcdir@&$ac_srcdir&;t t
3399 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3400 s&@top_srcdir@&$ac_top_srcdir&;t t
3401 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3402 s&@builddir@&$ac_builddir&;t t
3403 s&@abs_builddir@&$ac_abs_builddir&;t t
3404 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3405 s&@INSTALL@&$ac_INSTALL&;t t
3406 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3407 $ac_datarootdir_hack
3409 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3410 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3412 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3413 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3414 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3415 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3417 which seems to be undefined. Please make sure it is defined" >&5
3418 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3419 which seems to be undefined. Please make sure it is defined" >&2;}
3421 rm -f "$ac_tmp/stdin"
3423 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3424 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3438 ac_clean_files=$ac_clean_files_save
3440 test $ac_write_fail = 0 ||
3441 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3444 # configure is writing to config.log, and then calls config.status.
3445 # config.status does its own redirection, appending to config.log.
3446 # Unfortunately, on DOS this fails, as config.log is still kept open
3447 # by configure, so config.status won't be able to write to it; its
3448 # output is simply discarded. So we exec the FD to /dev/null,
3449 # effectively closing config.log, so it can be properly (re)opened and
3450 # appended to by config.status. When coming back to configure, we
3451 # need to make the FD available again.
3452 if test "$no_create" != yes; then
3454 ac_config_status_args=
3455 test "$silent" = yes &&
3456 ac_config_status_args="$ac_config_status_args --quiet"
3458 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3460 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3461 # would make configure fail if this is the last instruction.
3462 $ac_cs_success || as_fn_exit 1
3464 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3466 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}