2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for xfd 1.0.1.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 test -n "$DJDIR" || exec 7<&0 </dev/null
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix=/usr/local
546 ac_config_libobj_dir=.
553 # Identity of this package.
555 PACKAGE_TARNAME='xfd'
556 PACKAGE_VERSION='1.0.1'
557 PACKAGE_STRING='xfd 1.0.1'
558 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
561 ac_subst_vars='am__EXEEXT_FALSE
617 MAINTAINER_MODE_FALSE
627 INSTALL_STRIP_PROGRAM
669 program_transform_name
682 enable_option_checking
683 enable_maintainer_mode
684 enable_dependency_tracking
686 ac_precious_vars='build_alias
705 # Initialize some variables set by options.
707 ac_init_version=false
708 ac_unrecognized_opts=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
719 program_transform_name=s,x,x,
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
765 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error $? "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=\$ac_optarg ;;
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
863 -help | --help | --hel | --he | -h)
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 htmldir=$ac_optarg ;;
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
893 -libdir | --libdir | --libdi | --libd)
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
905 -localedir | --localedir | --localedi | --localed | --locale)
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
923 # Obsolete; use --without-fp.
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 -psdir | --psdir | --psdi | --psd | --ps)
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
993 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997 sbindir=$ac_optarg ;;
999 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1000 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1001 | --sharedst | --shareds | --shared | --share | --shar \
1003 ac_prev=sharedstatedir ;;
1004 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1005 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1006 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008 sharedstatedir=$ac_optarg ;;
1010 -site | --site | --sit)
1012 -site=* | --site=* | --sit=*)
1015 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1018 srcdir=$ac_optarg ;;
1020 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1021 | --syscon | --sysco | --sysc | --sys | --sy)
1022 ac_prev=sysconfdir ;;
1023 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1024 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1025 sysconfdir=$ac_optarg ;;
1027 -target | --target | --targe | --targ | --tar | --ta | --t)
1028 ac_prev=target_alias ;;
1029 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1030 target_alias=$ac_optarg ;;
1032 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035 -version | --version | --versio | --versi | --vers | -V)
1036 ac_init_version=: ;;
1039 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1052 eval with_$ac_useropt=\$ac_optarg ;;
1054 -without-* | --without-*)
1055 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058 as_fn_error $? "invalid package name: $ac_useropt"
1059 ac_useropt_orig=$ac_useropt
1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1066 ac_unrecognized_sep=', ';;
1068 eval with_$ac_useropt=no ;;
1071 # Obsolete; use --with-x.
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1088 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1089 Try \`$0 --help' for more information"
1093 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1094 # Reject names that are not valid shell variable names.
1095 case $ac_envvar in #(
1096 '' | [0-9]* | *[!_$as_cr_alnum]* )
1097 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1113 if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 as_fn_error $? "missing argument to $ac_option"
1118 if test -n "$ac_unrecognized_opts"; then
1119 case $enable_option_checking in
1121 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1122 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1126 # Check all directory arguments for consistency.
1127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val=\$$ac_var
1133 # Remove trailing slashes.
1136 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1137 eval $ac_var=\$ac_val;;
1139 # Be sure to have absolute directory names.
1141 [\\/$]* | ?:[\\/]* ) continue;;
1142 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1144 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1147 # There might be people who depend on the old broken behavior: `$host'
1148 # used to hold the argument of --host etc.
1149 # FIXME: To remove some day.
1152 target=$target_alias
1154 # FIXME: To remove some day.
1155 if test "x$host_alias" != x; then
1156 if test "x$build_alias" = x; then
1157 cross_compiling=maybe
1158 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1159 If a cross compiler is detected then cross compile mode will be used" >&2
1160 elif test "x$build_alias" != "x$host_alias"; then
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1168 test "$silent" = yes && exec 6>/dev/null
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $? "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $? "pwd does not report name of working directory"
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 $as_echo X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1211 ac_srcdir_defaulted=no
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 for ac_var in $ac_precious_vars; do
1232 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_${ac_var}_value=\$${ac_var}
1234 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1245 \`configure' configures xfd 1.0.1 to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/xfd]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1303 --program-prefix=PREFIX prepend PREFIX to installed program names
1304 --program-suffix=SUFFIX append SUFFIX to installed program names
1305 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1308 --build=BUILD configure for building on BUILD [guessed]
1309 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1313 if test -n "$ac_init_help"; then
1314 case $ac_init_help in
1315 short | recursive ) echo "Configuration of xfd 1.0.1:";;
1320 --disable-option-checking ignore unrecognized --enable/--with options
1321 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1322 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1323 --enable-maintainer-mode enable make rules and dependencies not useful
1324 (and sometimes confusing) to the casual installer
1325 --disable-dependency-tracking speeds up one-time build
1326 --enable-dependency-tracking do not reject slow dependency extractors
1328 Some influential environment variables:
1329 CC C compiler command
1330 CFLAGS C compiler flags
1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1332 nonstandard directory <lib dir>
1333 LIBS libraries to pass to the linker, e.g. -l<library>
1334 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1335 you have headers in a nonstandard directory <include dir>
1336 PKG_CONFIG path to pkg-config utility
1338 directories to add to pkg-config's search path
1340 path overriding pkg-config's built-in search path
1341 XAW_CFLAGS C compiler flags for XAW, overriding pkg-config
1342 XAW_LIBS linker flags for XAW, overriding pkg-config
1344 C compiler flags for ADDITIONAL, overriding pkg-config
1346 linker flags for ADDITIONAL, overriding pkg-config
1348 C compiler flags for APPDEFS, overriding pkg-config
1350 linker flags for APPDEFS, overriding pkg-config
1352 Use these variables to override the choices made by `configure' or to help
1353 it to find libraries and programs with nonstandard names/locations.
1355 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1360 if test "$ac_init_help" = "recursive"; then
1361 # If there are subdirs, report their specific --help.
1362 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1363 test -d "$ac_dir" ||
1364 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1372 # A ".." for each directory in $ac_dir_suffix.
1373 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1374 case $ac_top_builddir_sub in
1375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1379 ac_abs_top_builddir=$ac_pwd
1380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1381 # for backward compatibility:
1382 ac_top_builddir=$ac_top_build_prefix
1385 .) # We are building in place.
1387 ac_top_srcdir=$ac_top_builddir_sub
1388 ac_abs_top_srcdir=$ac_pwd ;;
1389 [\\/]* | ?:[\\/]* ) # Absolute name.
1390 ac_srcdir=$srcdir$ac_dir_suffix;
1391 ac_top_srcdir=$srcdir
1392 ac_abs_top_srcdir=$srcdir ;;
1394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1395 ac_top_srcdir=$ac_top_build_prefix$srcdir
1396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1400 cd "$ac_dir" || { ac_status=$?; continue; }
1401 # Check for guested configure.
1402 if test -f "$ac_srcdir/configure.gnu"; then
1404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1405 elif test -f "$ac_srcdir/configure"; then
1407 $SHELL "$ac_srcdir/configure" --help=recursive
1409 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411 cd "$ac_pwd" || { ac_status=$?; break; }
1415 test -n "$ac_init_help" && exit $ac_status
1416 if $ac_init_version; then
1419 generated by GNU Autoconf 2.67
1421 Copyright (C) 2010 Free Software Foundation, Inc.
1422 This configure script is free software; the Free Software Foundation
1423 gives unlimited permission to copy, distribute and modify it.
1428 ## ------------------------ ##
1429 ## Autoconf initialization. ##
1430 ## ------------------------ ##
1432 # ac_fn_c_try_compile LINENO
1433 # --------------------------
1434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1435 ac_fn_c_try_compile ()
1437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1438 rm -f conftest.$ac_objext
1439 if { { ac_try="$ac_compile"
1441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1442 *) ac_try_echo=$ac_try;;
1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446 (eval "$ac_compile") 2>conftest.err
1448 if test -s conftest.err; then
1449 grep -v '^ *+' conftest.err >conftest.er1
1450 cat conftest.er1 >&5
1451 mv -f conftest.er1 conftest.err
1453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454 test $ac_status = 0; } && {
1455 test -z "$ac_c_werror_flag" ||
1456 test ! -s conftest.err
1457 } && test -s conftest.$ac_objext; then :
1460 $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1465 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1466 as_fn_set_status $ac_retval
1468 } # ac_fn_c_try_compile
1469 cat >config.log <<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by xfd $as_me 1.0.1, which was
1474 generated by GNU Autoconf 2.67. Invocation command line was
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1509 test -z "$as_dir" && as_dir=.
1510 $as_echo "PATH: $as_dir"
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_must_keep_next=false
1540 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1542 | -silent | --silent | --silen | --sile | --sil)
1545 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1548 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1550 as_fn_append ac_configure_args1 " '$ac_arg'"
1551 if test $ac_must_keep_next = true; then
1552 ac_must_keep_next=false # Got value, back to normal.
1555 *=* | --config-cache | -C | -disable-* | --disable-* \
1556 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1557 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1558 | -with-* | --with-* | -without-* | --without-* | --x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1563 -* ) ac_must_keep_next=true ;;
1566 as_fn_append ac_configure_args " '$ac_arg'"
1571 { ac_configure_args0=; unset ac_configure_args0;}
1572 { ac_configure_args1=; unset ac_configure_args1;}
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1584 $as_echo "## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##"
1588 # The following way of writing the cache mishandles newlines in values,
1590 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591 eval ac_val=\$$ac_var
1595 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1596 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1599 _ | IFS | as_nl) ;; #(
1600 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1601 *) { eval $ac_var=; unset $ac_var;} ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1620 $as_echo "## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##"
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 $as_echo "$ac_var='\''$ac_val'\''"
1634 if test -n "$ac_subst_files"; then
1635 $as_echo "## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##"
1639 for ac_var in $ac_subst_files
1641 eval ac_val=\$$ac_var
1643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 $as_echo "$ac_var='\''$ac_val'\''"
1650 if test -s confdefs.h; then
1651 $as_echo "## ----------- ##
1658 test "$ac_signal" != 0 &&
1659 $as_echo "$as_me: caught signal $ac_signal"
1660 $as_echo "$as_me: exit $exit_status"
1662 rm -f core *.core core.conftest.* &&
1663 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1666 for ac_signal in 1 2 13 15; do
1667 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1671 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1672 rm -f -r conftest* confdefs.h
1674 $as_echo "/* confdefs.h */" > confdefs.h
1676 # Predefined preprocessor variables.
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_STRING "$PACKAGE_STRING"
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_URL "$PACKAGE_URL"
1703 # Let the site file select an alternate cache file if it wants to.
1704 # Prefer an explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 # We do not want a PATH search for config.site.
1709 case $CONFIG_SITE in #((
1710 -*) ac_site_file1=./$CONFIG_SITE;;
1711 */*) ac_site_file1=$CONFIG_SITE;;
1712 *) ac_site_file1=./$CONFIG_SITE;;
1714 elif test "x$prefix" != xNONE; then
1715 ac_site_file1=$prefix/share/config.site
1716 ac_site_file2=$prefix/etc/config.site
1718 ac_site_file1=$ac_default_prefix/share/config.site
1719 ac_site_file2=$ac_default_prefix/etc/config.site
1721 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1723 test "x$ac_site_file" = xNONE && continue
1724 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1726 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1727 sed 's/^/| /' "$ac_site_file" >&5
1729 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1731 as_fn_error $? "failed to load site script $ac_site_file
1732 See \`config.log' for more details" "$LINENO" 5 ; }
1736 if test -r "$cache_file"; then
1737 # Some versions of bash will fail to source /dev/null (special files
1738 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1739 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1741 $as_echo "$as_me: loading cache $cache_file" >&6;}
1743 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1744 *) . "./$cache_file";;
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1749 $as_echo "$as_me: creating cache $cache_file" >&6;}
1753 # Check that the precious variables saved in the cache have kept the same
1755 ac_cache_corrupted=false
1756 for ac_var in $ac_precious_vars; do
1757 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1758 eval ac_new_set=\$ac_env_${ac_var}_set
1759 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1760 eval ac_new_val=\$ac_env_${ac_var}_value
1761 case $ac_old_set,$ac_new_set in
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1764 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1765 ac_cache_corrupted=: ;;
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1768 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1769 ac_cache_corrupted=: ;;
1772 if test "x$ac_old_val" != "x$ac_new_val"; then
1773 # differences in whitespace do not lead to failure.
1774 ac_old_val_w=`echo x $ac_old_val`
1775 ac_new_val_w=`echo x $ac_new_val`
1776 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1778 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1779 ac_cache_corrupted=:
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1782 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1783 eval $ac_var=\$ac_old_val
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1786 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1788 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1791 # Pass precious variables to config.status.
1792 if test "$ac_new_set" = set; then
1794 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1795 *) ac_arg=$ac_var=$ac_new_val ;;
1797 case " $ac_configure_args " in
1798 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1799 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1803 if $ac_cache_corrupted; then
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1807 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1808 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1810 ## -------------------- ##
1811 ## Main body of script. ##
1812 ## -------------------- ##
1815 ac_cpp='$CPP $CPPFLAGS'
1816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1821 am__api_version='1.11'
1824 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1825 if test -f "$ac_dir/install-sh"; then
1827 ac_install_sh="$ac_aux_dir/install-sh -c"
1829 elif test -f "$ac_dir/install.sh"; then
1831 ac_install_sh="$ac_aux_dir/install.sh -c"
1833 elif test -f "$ac_dir/shtool"; then
1835 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 if test -z "$ac_aux_dir"; then
1840 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1843 # These three variables are undocumented and unsupported,
1844 # and are intended to be withdrawn in a future Autoconf release.
1845 # They can cause serious problems if a builder's source tree is in a directory
1846 # whose full name contains unusual characters.
1847 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1848 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1849 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1852 # Find a good install program. We prefer a C program (faster),
1853 # so one script is as good as another. But avoid the broken or
1854 # incompatible versions:
1855 # SysV /etc/install, /usr/sbin/install
1856 # SunOS /usr/etc/install
1857 # IRIX /sbin/install
1859 # AmigaOS /C/install, which installs bootblocks on floppy discs
1860 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1861 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1862 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1863 # OS/2's system install, which has a completely different semantic
1864 # ./install, which can be erroneously created by make from ./install.sh.
1865 # Reject install programs that cannot install multiple files.
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1867 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1868 if test -z "$INSTALL"; then
1869 if test "${ac_cv_path_install+set}" = set; then :
1870 $as_echo_n "(cached) " >&6
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 test -z "$as_dir" && as_dir=.
1877 # Account for people who put trailing slashes in PATH elements.
1878 case $as_dir/ in #((
1879 ./ | .// | /[cC]/* | \
1880 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1881 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1884 # OSF1 and SCO ODT 3.0 have their own names for install.
1885 # Don't use installbsd from OSF since it installs stuff as root
1887 for ac_prog in ginstall scoinst install; do
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1890 if test $ac_prog = install &&
1891 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1892 # AIX install. It has an incompatible calling convention.
1894 elif test $ac_prog = install &&
1895 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896 # program-specific install script used by HP pwplus--don't use.
1899 rm -rf conftest.one conftest.two conftest.dir
1900 echo one > conftest.one
1901 echo two > conftest.two
1903 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1904 test -s conftest.one && test -s conftest.two &&
1905 test -s conftest.dir/conftest.one &&
1906 test -s conftest.dir/conftest.two
1908 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1921 rm -rf conftest.one conftest.two conftest.dir
1924 if test "${ac_cv_path_install+set}" = set; then
1925 INSTALL=$ac_cv_path_install
1927 # As a last resort, use the slow shell script. Don't cache a
1928 # value for INSTALL within a source directory, because that will
1929 # break other packages using the cache if that directory is
1930 # removed, or if the value is a relative name.
1931 INSTALL=$ac_install_sh
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1935 $as_echo "$INSTALL" >&6; }
1937 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1938 # It thinks the first close brace ends the variable substitution.
1939 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1941 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1943 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1946 $as_echo_n "checking whether build environment is sane... " >&6; }
1949 echo timestamp > conftest.file
1950 # Reject unsafe characters in $srcdir or the absolute working directory
1951 # name. Accept space and tab only in the latter.
1955 *[\\\"\#\$\&\'\`$am_lf]*)
1956 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
1959 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1960 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
1963 # Do `set' in a subshell so we don't clobber the current shell's
1964 # arguments. Must try -L first in case configure is actually a
1965 # symlink; some systems play weird games with the mod time of symlinks
1966 # (eg FreeBSD returns the mod time of the symlink's containing
1969 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1970 if test "$*" = "X"; then
1972 set X `ls -t "$srcdir/configure" conftest.file`
1975 if test "$*" != "X $srcdir/configure conftest.file" \
1976 && test "$*" != "X conftest.file $srcdir/configure"; then
1978 # If neither matched, then we have a broken ls. This can happen
1979 # if, for instance, CONFIG_SHELL is bash and it inherits a
1980 # broken ls alias from the environment. This has actually
1981 # happened. Such a system could not be considered "sane".
1982 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1983 alias in your environment" "$LINENO" 5
1986 test "$2" = conftest.file
1992 as_fn_error $? "newly created file is older than distributed files!
1993 Check your system clock" "$LINENO" 5
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1996 $as_echo "yes" >&6; }
1997 test "$program_prefix" != NONE &&
1998 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1999 # Use a double $ so make ignores it.
2000 test "$program_suffix" != NONE &&
2001 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2002 # Double any \ or $.
2003 # By default was `s,x,x', remove it if useless.
2004 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2005 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2007 # expand $ac_aux_dir to an absolute path
2008 am_aux_dir=`cd $ac_aux_dir && pwd`
2010 if test x"${MISSING+set}" != xset; then
2013 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2015 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2018 # Use eval to expand $SHELL
2019 if eval "$MISSING --run true"; then
2020 am_missing_run="$MISSING --run "
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2024 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2027 if test x"${install_sh}" != xset; then
2030 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2032 install_sh="\${SHELL} $am_aux_dir/install-sh"
2036 # Installed binaries are usually stripped using `strip' when the user
2037 # run `make install-strip'. However `strip' might not be the right
2038 # tool to use in cross-compilation environments, therefore Automake
2039 # will honor the `STRIP' environment variable to overrule this program.
2040 if test "$cross_compiling" != no; then
2041 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}strip; ac_word=$2
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2045 $as_echo_n "checking for $ac_word... " >&6; }
2046 if test "${ac_cv_prog_STRIP+set}" = set; then :
2047 $as_echo_n "(cached) " >&6
2049 if test -n "$STRIP"; then
2050 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 STRIP=$ac_cv_prog_STRIP
2070 if test -n "$STRIP"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2072 $as_echo "$STRIP" >&6; }
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2075 $as_echo "no" >&6; }
2080 if test -z "$ac_cv_prog_STRIP"; then
2082 # Extract the first word of "strip", so it can be a program name with args.
2083 set dummy strip; ac_word=$2
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2085 $as_echo_n "checking for $ac_word... " >&6; }
2086 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2087 $as_echo_n "(cached) " >&6
2089 if test -n "$ac_ct_STRIP"; then
2090 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir=.
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2099 ac_cv_prog_ac_ct_STRIP="strip"
2100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2110 if test -n "$ac_ct_STRIP"; then
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2112 $as_echo "$ac_ct_STRIP" >&6; }
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2115 $as_echo "no" >&6; }
2118 if test "x$ac_ct_STRIP" = x; then
2121 case $cross_compiling:$ac_tool_warned in
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2125 ac_tool_warned=yes ;;
2130 STRIP="$ac_cv_prog_STRIP"
2134 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2137 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2138 if test -z "$MKDIR_P"; then
2139 if test "${ac_cv_path_mkdir+set}" = set; then :
2140 $as_echo_n "(cached) " >&6
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2146 test -z "$as_dir" && as_dir=.
2147 for ac_prog in mkdir gmkdir; do
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2150 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2151 'mkdir (GNU coreutils) '* | \
2152 'mkdir (coreutils) '* | \
2153 'mkdir (fileutils) '4.1*)
2154 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2164 test -d ./--version && rmdir ./--version
2165 if test "${ac_cv_path_mkdir+set}" = set; then
2166 MKDIR_P="$ac_cv_path_mkdir -p"
2168 # As a last resort, use the slow shell script. Don't cache a
2169 # value for MKDIR_P within a source directory, because that will
2170 # break other packages using the cache if that directory is
2171 # removed, or if the value is a relative name.
2172 MKDIR_P="$ac_install_sh -d"
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2176 $as_echo "$MKDIR_P" >&6; }
2180 [\\/$]* | ?:[\\/]*) ;;
2181 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2184 for ac_prog in gawk mawk nawk awk
2186 # Extract the first word of "$ac_prog", so it can be a program name with args.
2187 set dummy $ac_prog; ac_word=$2
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if test "${ac_cv_prog_AWK+set}" = set; then :
2191 $as_echo_n "(cached) " >&6
2193 if test -n "$AWK"; then
2194 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 ac_cv_prog_AWK="$ac_prog"
2204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 if test -n "$AWK"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2216 $as_echo "$AWK" >&6; }
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2223 test -n "$AWK" && break
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2227 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2229 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2230 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2231 $as_echo_n "(cached) " >&6
2233 cat >conftest.make <<\_ACEOF
2236 @echo '@@@%%%=$(MAKE)=@@@%%%'
2238 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2241 eval ac_cv_prog_make_${ac_make}_set=yes;;
2243 eval ac_cv_prog_make_${ac_make}_set=no;;
2247 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2249 $as_echo "yes" >&6; }
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2253 $as_echo "no" >&6; }
2254 SET_MAKE="MAKE=${MAKE-make}"
2257 rm -rf .tst 2>/dev/null
2258 mkdir .tst 2>/dev/null
2259 if test -d .tst; then
2264 rmdir .tst 2>/dev/null
2266 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2267 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2268 # is not polluted with repeated "-I."
2269 am__isrc=' -I$(srcdir)'
2270 # test to see if srcdir already configured
2271 if test -f $srcdir/config.status; then
2272 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2276 # test whether we have cygpath
2277 if test -z "$CYGPATH_W"; then
2278 if (cygpath --version) >/dev/null 2>/dev/null; then
2279 CYGPATH_W='cygpath -w'
2286 # Define the identity of the package.
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE "$PACKAGE"
2296 cat >>confdefs.h <<_ACEOF
2297 #define VERSION "$VERSION"
2300 # Some tools Automake needs.
2302 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2305 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2308 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2311 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2314 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2316 # We need awk for the "check" target. The system "awk" is bad on
2318 # Always define AMTAR for backward compatibility.
2320 AMTAR=${AMTAR-"${am_missing_run}tar"}
2322 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2330 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2331 # Check whether --enable-maintainer-mode was given.
2332 if test "${enable_maintainer_mode+set}" = set; then :
2333 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2335 USE_MAINTAINER_MODE=no
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2339 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2340 if test $USE_MAINTAINER_MODE = yes; then
2341 MAINTAINER_MODE_TRUE=
2342 MAINTAINER_MODE_FALSE='#'
2344 MAINTAINER_MODE_TRUE='#'
2345 MAINTAINER_MODE_FALSE=
2348 MAINT=$MAINTAINER_MODE_TRUE
2352 ac_config_headers="$ac_config_headers config.h"
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2360 if test -n "$ac_tool_prefix"; then
2361 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2362 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2364 $as_echo_n "checking for $ac_word... " >&6; }
2365 if test "${ac_cv_prog_CC+set}" = set; then :
2366 $as_echo_n "(cached) " >&6
2368 if test -n "$CC"; then
2369 ac_cv_prog_CC="$CC" # Let the user override the test.
2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir=.
2376 for ac_exec_ext in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 if test -n "$CC"; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2391 $as_echo "$CC" >&6; }
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394 $as_echo "no" >&6; }
2399 if test -z "$ac_cv_prog_CC"; then
2401 # Extract the first word of "gcc", so it can be a program name with args.
2402 set dummy gcc; ac_word=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2408 if test -n "$ac_ct_CC"; then
2409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_ac_ct_CC="gcc"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2429 if test -n "$ac_ct_CC"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2431 $as_echo "$ac_ct_CC" >&6; }
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2437 if test "x$ac_ct_CC" = x; then
2440 case $cross_compiling:$ac_tool_warned in
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2444 ac_tool_warned=yes ;;
2452 if test -z "$CC"; then
2453 if test -n "$ac_tool_prefix"; then
2454 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2455 set dummy ${ac_tool_prefix}cc; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if test "${ac_cv_prog_CC+set}" = set; then :
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$CC"; then
2462 ac_cv_prog_CC="$CC" # Let the user override the test.
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_CC="${ac_tool_prefix}cc"
2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CC"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2484 $as_echo "$CC" >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2493 if test -z "$CC"; then
2494 # Extract the first word of "cc", so it can be a program name with args.
2495 set dummy cc; ac_word=$2
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497 $as_echo_n "checking for $ac_word... " >&6; }
2498 if test "${ac_cv_prog_CC+set}" = set; then :
2499 $as_echo_n "(cached) " >&6
2501 if test -n "$CC"; then
2502 ac_cv_prog_CC="$CC" # Let the user override the test.
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir=.
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2513 ac_prog_rejected=yes
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 if test $ac_prog_rejected = yes; then
2525 # We found a bogon in the path, so make sure we never use it.
2526 set dummy $ac_cv_prog_CC
2528 if test $# != 0; then
2529 # We chose a different compiler from the bogus one.
2530 # However, it has the same basename, so the bogon will be chosen
2531 # first if we set CC to just the basename; use the full file name.
2533 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2539 if test -n "$CC"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2541 $as_echo "$CC" >&6; }
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2544 $as_echo "no" >&6; }
2549 if test -z "$CC"; then
2550 if test -n "$ac_tool_prefix"; then
2551 for ac_prog in cl.exe
2553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if test "${ac_cv_prog_CC+set}" = set; then :
2558 $as_echo_n "(cached) " >&6
2560 if test -n "$CC"; then
2561 ac_cv_prog_CC="$CC" # Let the user override the test.
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir=.
2568 for ac_exec_ext in '' $ac_executable_extensions; do
2569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 if test -n "$CC"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2583 $as_echo "$CC" >&6; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586 $as_echo "no" >&6; }
2590 test -n "$CC" && break
2593 if test -z "$CC"; then
2595 for ac_prog in cl.exe
2597 # Extract the first word of "$ac_prog", so it can be a program name with args.
2598 set dummy $ac_prog; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$ac_ct_CC"; then
2605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_ac_ct_CC="$ac_prog"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2625 if test -n "$ac_ct_CC"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2627 $as_echo "$ac_ct_CC" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2634 test -n "$ac_ct_CC" && break
2637 if test "x$ac_ct_CC" = x; then
2640 case $cross_compiling:$ac_tool_warned in
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2644 ac_tool_warned=yes ;;
2653 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 as_fn_error $? "no acceptable C compiler found in \$PATH
2656 See \`config.log' for more details" "$LINENO" 5 ; }
2658 # Provide some information about the compiler.
2659 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2662 for ac_option in --version -v -V -qversion; do
2663 { { ac_try="$ac_compiler $ac_option >&5"
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666 *) ac_try_echo=$ac_try;;
2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2669 $as_echo "$ac_try_echo"; } >&5
2670 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2672 if test -s conftest.err; then
2674 ... rest of stderr output deleted ...
2675 10q' conftest.err >conftest.er1
2676 cat conftest.er1 >&5
2678 rm -f conftest.er1 conftest.err
2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2680 test $ac_status = 0; }
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2694 ac_clean_files_save=$ac_clean_files
2695 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2696 # Try to create an executable without -o first, disregard a.out.
2697 # It will help us diagnose broken compilers, and finding out an intuition
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2700 $as_echo_n "checking whether the C compiler works... " >&6; }
2701 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2703 # The possible output files:
2704 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2707 for ac_file in $ac_files
2710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2711 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2716 if { { ac_try="$ac_link_default"
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_link_default") 2>&5
2725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; }; then :
2727 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2728 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2729 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2730 # so that the user can short-circuit this test for compilers unknown to
2732 for ac_file in $ac_files ''
2734 test -f "$ac_file" || continue
2736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2739 # We found the default executable, but exeext='' is most
2743 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2745 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747 # We set ac_cv_exeext here because the later test for it is not
2748 # safe: cross compilers may not add the suffix if given an `-o'
2749 # argument, so we may need to know it at that point already.
2750 # Even if this section looks crufty: it has the advantage of
2757 test "$ac_cv_exeext" = no && ac_cv_exeext=
2762 if test -z "$ac_file"; then :
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2770 as_fn_error 77 "C compiler cannot create executables
2771 See \`config.log' for more details" "$LINENO" 5 ; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2774 $as_echo "yes" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2777 $as_echo_n "checking for C compiler default output file name... " >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2779 $as_echo "$ac_file" >&6; }
2780 ac_exeext=$ac_cv_exeext
2782 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2783 ac_clean_files=$ac_clean_files_save
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2785 $as_echo_n "checking for suffix of executables... " >&6; }
2786 if { { ac_try="$ac_link"
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793 (eval "$ac_link") 2>&5
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; }; then :
2797 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2798 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2799 # work properly (i.e., refer to `conftest.exe'), while it won't with
2801 for ac_file in conftest.exe conftest conftest.*; do
2802 test -f "$ac_file" || continue
2804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2805 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2813 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2814 See \`config.log' for more details" "$LINENO" 5 ; }
2816 rm -f conftest conftest$ac_cv_exeext
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2818 $as_echo "$ac_cv_exeext" >&6; }
2820 rm -f conftest.$ac_ext
2821 EXEEXT=$ac_cv_exeext
2823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h. */
2829 FILE *f = fopen ("conftest.out", "w");
2830 return ferror (f) || fclose (f) != 0;
2836 ac_clean_files="$ac_clean_files conftest.out"
2837 # Check that the compiler produces executables we can run. If not, either
2838 # the compiler is broken, or we cross compile.
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2840 $as_echo_n "checking whether we are cross compiling... " >&6; }
2841 if test "$cross_compiling" != yes; then
2842 { { ac_try="$ac_link"
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_link") 2>&5
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; }
2853 if { ac_try='./conftest$ac_cv_exeext'
2854 { { case "(($ac_try" in
2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2856 *) ac_try_echo=$ac_try;;
2858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2859 $as_echo "$ac_try_echo"; } >&5
2860 (eval "$ac_try") 2>&5
2862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2863 test $ac_status = 0; }; }; then
2866 if test "$cross_compiling" = maybe; then
2869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 as_fn_error $? "cannot run C compiled programs.
2872 If you meant to cross compile, use \`--host'.
2873 See \`config.log' for more details" "$LINENO" 5 ; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2878 $as_echo "$cross_compiling" >&6; }
2880 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2881 ac_clean_files=$ac_clean_files_save
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2883 $as_echo_n "checking for suffix of object files... " >&6; }
2884 if test "${ac_cv_objext+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2898 rm -f conftest.o conftest.obj
2899 if { { ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
2906 (eval "$ac_compile") 2>&5
2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2909 test $ac_status = 0; }; then :
2910 for ac_file in conftest.o conftest.obj conftest.*; do
2911 test -f "$ac_file" || continue;
2913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2914 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2919 $as_echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 as_fn_error $? "cannot compute suffix of object files: cannot compile
2925 See \`config.log' for more details" "$LINENO" 5 ; }
2927 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2930 $as_echo "$ac_cv_objext" >&6; }
2931 OBJEXT=$ac_cv_objext
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2934 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2935 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2952 if ac_fn_c_try_compile "$LINENO"; then :
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2962 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2963 if test $ac_compiler_gnu = yes; then
2968 ac_test_CFLAGS=${CFLAGS+set}
2969 ac_save_CFLAGS=$CFLAGS
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2971 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2972 if test "${ac_cv_prog_cc_g+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 ac_save_c_werror_flag=$ac_c_werror_flag
2976 ac_c_werror_flag=yes
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2990 if ac_fn_c_try_compile "$LINENO"; then :
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
3005 if ac_fn_c_try_compile "$LINENO"; then :
3008 ac_c_werror_flag=$ac_save_c_werror_flag
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3021 if ac_fn_c_try_compile "$LINENO"; then :
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 ac_c_werror_flag=$ac_save_c_werror_flag
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3032 $as_echo "$ac_cv_prog_cc_g" >&6; }
3033 if test "$ac_test_CFLAGS" = set; then
3034 CFLAGS=$ac_save_CFLAGS
3035 elif test $ac_cv_prog_cc_g = yes; then
3036 if test "$GCC" = yes; then
3042 if test "$GCC" = yes; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3049 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3050 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3053 ac_cv_prog_cc_c89=no
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3059 #include <sys/types.h>
3060 #include <sys/stat.h>
3061 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3062 struct buf { int x; };
3063 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3064 static char *e (p, i)
3070 static char *f (char * (*g) (char **, int), char **p, ...)
3075 s = g (p, va_arg (v,int));
3080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3081 function prototypes and stuff, but not '\xHH' hex character constants.
3082 These don't provoke an error unfortunately, instead are silently treated
3083 as 'x'. The following induces an error, until -std is added to get
3084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3085 array size at least. It's necessary to write '\x00'==0 to get something
3086 that's true only with -std. */
3087 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3090 inside strings and character constants. */
3092 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3094 int test (int i, double x);
3095 struct s1 {int (*f) (int a);};
3096 struct s2 {int (*f) (double a);};
3097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3111 CC="$ac_save_CC $ac_arg"
3112 if ac_fn_c_try_compile "$LINENO"; then :
3113 ac_cv_prog_cc_c89=$ac_arg
3115 rm -f core conftest.err conftest.$ac_objext
3116 test "x$ac_cv_prog_cc_c89" != "xno" && break
3118 rm -f conftest.$ac_ext
3123 case "x$ac_cv_prog_cc_c89" in
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3126 $as_echo "none needed" >&6; } ;;
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3129 $as_echo "unsupported" >&6; } ;;
3131 CC="$CC $ac_cv_prog_cc_c89"
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3133 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3135 if test "x$ac_cv_prog_cc_c89" != xno; then :
3140 ac_cpp='$CPP $CPPFLAGS'
3141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3144 DEPDIR="${am__leading_dot}deps"
3146 ac_config_commands="$ac_config_commands depfiles"
3149 am_make=${MAKE-make}
3150 cat > confinc << 'END'
3152 @echo this is the am__doit target
3155 # If we don't find an include directive, just comment out the code.
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3157 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3161 # First try GNU make style include.
3162 echo "include confinc" > confmf
3163 # Ignore all kinds of additional output from `make'.
3164 case `$am_make -s -f confmf 2> /dev/null` in #(
3165 *the\ am__doit\ target*)
3171 # Now try BSD make style include.
3172 if test "$am__include" = "#"; then
3173 echo '.include "confinc"' > confmf
3174 case `$am_make -s -f confmf 2> /dev/null` in #(
3175 *the\ am__doit\ target*)
3176 am__include=.include
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3185 $as_echo "$_am_result" >&6; }
3186 rm -f confinc confmf
3188 # Check whether --enable-dependency-tracking was given.
3189 if test "${enable_dependency_tracking+set}" = set; then :
3190 enableval=$enable_dependency_tracking;
3193 if test "x$enable_dependency_tracking" != xno; then
3194 am_depcomp="$ac_aux_dir/depcomp"
3197 if test "x$enable_dependency_tracking" != xno; then
3207 depcc="$CC" am_compiler_list=
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3210 $as_echo_n "checking dependency style of $depcc... " >&6; }
3211 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3212 $as_echo_n "(cached) " >&6
3214 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3215 # We make a subdir and do the tests there. Otherwise we can end up
3216 # making bogus files that we don't know about and never remove. For
3217 # instance it was reported that on HP-UX the gcc test will end up
3218 # making a dummy file named `D' -- because `-MD' means `put the output
3221 # Copy depcomp to subdir because otherwise we won't find it if we're
3222 # using a relative directory.
3223 cp "$am_depcomp" conftest.dir
3225 # We will build objects and dependencies in a subdirectory because
3226 # it helps to detect inapplicable dependency modes. For instance
3227 # both Tru64's cc and ICC support -MD to output dependencies as a
3228 # side effect of compilation, but ICC will put the dependencies in
3229 # the current directory while Tru64 will put them in the object
3233 am_cv_CC_dependencies_compiler_type=none
3234 if test "$am_compiler_list" = ""; then
3235 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3238 case " $depcc " in #(
3239 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3242 for depmode in $am_compiler_list; do
3243 # Setup a source with many dependencies, because some compilers
3244 # like to wrap large dependency lists on column 80 (with \), and
3245 # we should not choose a depcomp mode which is confused by this.
3247 # We need to recreate these files for each test, as the compiler may
3248 # overwrite some of them when testing with obscure command lines.
3249 # This happens at least with the AIX C compiler.
3251 for i in 1 2 3 4 5 6; do
3252 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3253 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3254 # Solaris 8's {/usr,}/bin/sh.
3255 touch sub/conftst$i.h
3257 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3259 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3260 # mode. It turns out that the SunPro C++ compiler does not properly
3261 # handle `-M -o', and we need to detect this. Also, some Intel
3262 # versions had trouble with output in subdirs
3263 am__obj=sub/conftest.${OBJEXT-o}
3264 am__minus_obj="-o $am__obj"
3267 # This depmode causes a compiler race in universal mode.
3268 test "$am__universal" = false || continue
3271 # after this tag, mechanisms are not by side-effect, so they'll
3272 # only be used when explicitly requested
3273 if test "x$enable_dependency_tracking" = xyes; then
3279 msvisualcpp | msvcmsys)
3280 # This compiler won't grok `-c -o', but also, the minuso test has
3281 # not run yet. These depmodes are late enough in the game, and
3282 # so weak that their functioning should not be impacted.
3283 am__obj=conftest.${OBJEXT-o}
3288 if depmode=$depmode \
3289 source=sub/conftest.c object=$am__obj \
3290 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3291 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3292 >/dev/null 2>conftest.err &&
3293 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3294 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3295 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3296 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3297 # icc doesn't choke on unknown options, it will just issue warnings
3298 # or remarks (even with -Werror). So we grep stderr for any message
3299 # that says an option was ignored or not supported.
3300 # When given -MP, icc 7.0 and 7.1 complain thusly:
3301 # icc: Command line warning: ignoring option '-M'; no argument required
3302 # The diagnosis changed in icc 8.0:
3303 # icc: Command line remark: option '-MP' not supported
3304 if (grep 'ignoring option' conftest.err ||
3305 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3306 am_cv_CC_dependencies_compiler_type=$depmode
3315 am_cv_CC_dependencies_compiler_type=none
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3320 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3321 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3324 test "x$enable_dependency_tracking" != xno \
3325 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3327 am__fastdepCC_FALSE='#'
3329 am__fastdepCC_TRUE='#'
3330 am__fastdepCC_FALSE=
3336 # Checks for pkg-config packages
3337 #XAW_CHECK_XPRINT_SUPPORT(XAW)
3344 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3345 if test -n "$ac_tool_prefix"; then
3346 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3347 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3349 $as_echo_n "checking for $ac_word... " >&6; }
3350 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3355 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 test -z "$as_dir" && as_dir=.
3363 for ac_exec_ext in '' $ac_executable_extensions; do
3364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3377 if test -n "$PKG_CONFIG"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3379 $as_echo "$PKG_CONFIG" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3387 if test -z "$ac_cv_path_PKG_CONFIG"; then
3388 ac_pt_PKG_CONFIG=$PKG_CONFIG
3389 # Extract the first word of "pkg-config", so it can be a program name with args.
3390 set dummy pkg-config; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3394 $as_echo_n "(cached) " >&6
3396 case $ac_pt_PKG_CONFIG in
3398 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir=.
3406 for ac_exec_ext in '' $ac_executable_extensions; do
3407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3408 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3420 if test -n "$ac_pt_PKG_CONFIG"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3422 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3428 if test "x$ac_pt_PKG_CONFIG" = x; then
3431 case $cross_compiling:$ac_tool_warned in
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3437 PKG_CONFIG=$ac_pt_PKG_CONFIG
3440 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3444 if test -n "$PKG_CONFIG"; then
3445 _pkg_min_version=0.9.0
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3447 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3448 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3450 $as_echo "yes" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAW" >&5
3460 $as_echo_n "checking for XAW... " >&6; }
3462 if test -n "$XAW_CFLAGS"; then
3463 pkg_cv_XAW_CFLAGS="$XAW_CFLAGS"
3464 elif test -n "$PKG_CONFIG"; then
3465 if test -n "$PKG_CONFIG" && \
3466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
3467 ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
3469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470 test $ac_status = 0; }; then
3471 pkg_cv_XAW_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
3478 if test -n "$XAW_LIBS"; then
3479 pkg_cv_XAW_LIBS="$XAW_LIBS"
3480 elif test -n "$PKG_CONFIG"; then
3481 if test -n "$PKG_CONFIG" && \
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
3483 ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }; then
3487 pkg_cv_XAW_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
3497 if test $pkg_failed = yes; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 $as_echo "no" >&6; }
3501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3502 _pkg_short_errors_supported=yes
3504 _pkg_short_errors_supported=no
3506 if test $_pkg_short_errors_supported = yes; then
3507 XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7" 2>&1`
3509 XAW_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7" 2>&1`
3511 # Put the nasty error message in config.log where it belongs
3512 echo "$XAW_PKG_ERRORS" >&5
3514 as_fn_error $? "Package requirements (xaw7) were not met:
3518 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3519 installed software in a non-standard prefix.
3521 Alternatively, you may set the environment variables XAW_CFLAGS
3522 and XAW_LIBS to avoid the need to call pkg-config.
3523 See the pkg-config man page for more details." "$LINENO" 5
3524 elif test $pkg_failed = untried; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526 $as_echo "no" >&6; }
3527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3530 is in your PATH or set the PKG_CONFIG environment variable to the full
3533 Alternatively, you may set the environment variables XAW_CFLAGS
3534 and XAW_LIBS to avoid the need to call pkg-config.
3535 See the pkg-config man page for more details.
3537 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3538 See \`config.log' for more details" "$LINENO" 5 ; }
3540 XAW_CFLAGS=$pkg_cv_XAW_CFLAGS
3541 XAW_LIBS=$pkg_cv_XAW_LIBS
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3543 $as_echo "yes" >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADDITIONAL" >&5
3549 $as_echo_n "checking for ADDITIONAL... " >&6; }
3551 if test -n "$ADDITIONAL_CFLAGS"; then
3552 pkg_cv_ADDITIONAL_CFLAGS="$ADDITIONAL_CFLAGS"
3553 elif test -n "$PKG_CONFIG"; then
3554 if test -n "$PKG_CONFIG" && \
3555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 fontconfig xft xmu\""; } >&5
3556 ($PKG_CONFIG --exists --print-errors "freetype2 fontconfig xft xmu") 2>&5
3558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 test $ac_status = 0; }; then
3560 pkg_cv_ADDITIONAL_CFLAGS=`$PKG_CONFIG --cflags "freetype2 fontconfig xft xmu" 2>/dev/null`
3567 if test -n "$ADDITIONAL_LIBS"; then
3568 pkg_cv_ADDITIONAL_LIBS="$ADDITIONAL_LIBS"
3569 elif test -n "$PKG_CONFIG"; then
3570 if test -n "$PKG_CONFIG" && \
3571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 fontconfig xft xmu\""; } >&5
3572 ($PKG_CONFIG --exists --print-errors "freetype2 fontconfig xft xmu") 2>&5
3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575 test $ac_status = 0; }; then
3576 pkg_cv_ADDITIONAL_LIBS=`$PKG_CONFIG --libs "freetype2 fontconfig xft xmu" 2>/dev/null`
3586 if test $pkg_failed = yes; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3590 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3591 _pkg_short_errors_supported=yes
3593 _pkg_short_errors_supported=no
3595 if test $_pkg_short_errors_supported = yes; then
3596 ADDITIONAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 fontconfig xft xmu" 2>&1`
3598 ADDITIONAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 fontconfig xft xmu" 2>&1`
3600 # Put the nasty error message in config.log where it belongs
3601 echo "$ADDITIONAL_PKG_ERRORS" >&5
3603 as_fn_error $? "Package requirements (freetype2 fontconfig xft xmu) were not met:
3605 $ADDITIONAL_PKG_ERRORS
3607 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3608 installed software in a non-standard prefix.
3610 Alternatively, you may set the environment variables ADDITIONAL_CFLAGS
3611 and ADDITIONAL_LIBS to avoid the need to call pkg-config.
3612 See the pkg-config man page for more details." "$LINENO" 5
3613 elif test $pkg_failed = untried; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3618 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3619 is in your PATH or set the PKG_CONFIG environment variable to the full
3622 Alternatively, you may set the environment variables ADDITIONAL_CFLAGS
3623 and ADDITIONAL_LIBS to avoid the need to call pkg-config.
3624 See the pkg-config man page for more details.
3626 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3627 See \`config.log' for more details" "$LINENO" 5 ; }
3629 ADDITIONAL_CFLAGS=$pkg_cv_ADDITIONAL_CFLAGS
3630 ADDITIONAL_LIBS=$pkg_cv_ADDITIONAL_LIBS
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3632 $as_echo "yes" >&6; }
3636 XFD_CFLAGS="$XAW_CFLAGS $ADDITIONAL_CFLAGS"
3637 XFD_LIBS="$XAW_LIBS $ADDITIONAL_LIBS"
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
3646 $as_echo_n "checking for APPDEFS... " >&6; }
3648 if test -n "$APPDEFS_CFLAGS"; then
3649 pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
3650 elif test -n "$PKG_CONFIG"; then
3651 if test -n "$PKG_CONFIG" && \
3652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
3653 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }; then
3657 pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
3664 if test -n "$APPDEFS_LIBS"; then
3665 pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
3666 elif test -n "$PKG_CONFIG"; then
3667 if test -n "$PKG_CONFIG" && \
3668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
3669 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
3671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672 test $ac_status = 0; }; then
3673 pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
3683 if test $pkg_failed = yes; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3687 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3688 _pkg_short_errors_supported=yes
3690 _pkg_short_errors_supported=no
3692 if test $_pkg_short_errors_supported = yes; then
3693 APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
3695 APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
3697 # Put the nasty error message in config.log where it belongs
3698 echo "$APPDEFS_PKG_ERRORS" >&5
3700 as_fn_error $? "Package requirements (xt) were not met:
3704 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3705 installed software in a non-standard prefix.
3707 Alternatively, you may set the environment variables APPDEFS_CFLAGS
3708 and APPDEFS_LIBS to avoid the need to call pkg-config.
3709 See the pkg-config man page for more details." "$LINENO" 5
3710 elif test $pkg_failed = untried; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3715 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
3716 is in your PATH or set the PKG_CONFIG environment variable to the full
3719 Alternatively, you may set the environment variables APPDEFS_CFLAGS
3720 and APPDEFS_LIBS to avoid the need to call pkg-config.
3721 See the pkg-config man page for more details.
3723 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3724 See \`config.log' for more details" "$LINENO" 5 ; }
3726 APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
3727 APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3729 $as_echo "yes" >&6; }
3732 appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
3735 # Make sure we can run config.sub.
3736 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3737 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3740 $as_echo_n "checking build system type... " >&6; }
3741 if test "${ac_cv_build+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3744 ac_build_alias=$build_alias
3745 test "x$ac_build_alias" = x &&
3746 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3747 test "x$ac_build_alias" = x &&
3748 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3749 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3750 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3754 $as_echo "$ac_cv_build" >&6; }
3755 case $ac_cv_build in
3757 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3760 ac_save_IFS=$IFS; IFS='-'
3766 # Remember, the first character of IFS is used to create $*,
3767 # except with old shells:
3770 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3774 $as_echo_n "checking host system type... " >&6; }
3775 if test "${ac_cv_host+set}" = set; then :
3776 $as_echo_n "(cached) " >&6
3778 if test "x$host_alias" = x; then
3779 ac_cv_host=$ac_cv_build
3781 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3782 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3787 $as_echo "$ac_cv_host" >&6; }
3790 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3793 ac_save_IFS=$IFS; IFS='-'
3799 # Remember, the first character of IFS is used to create $*,
3800 # except with old shells:
3803 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3807 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3808 if test "${ac_cv_path_SED+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3811 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3812 for ac_i in 1 2 3 4 5 6 7; do
3813 ac_script="$ac_script$as_nl$ac_script"
3815 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3816 { ac_script=; unset ac_script;}
3817 if test -z "$SED"; then
3818 ac_path_SED_found=false
3819 # Loop through the user's path and test for each of PROGNAME-LIST
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir=.
3825 for ac_prog in sed gsed; do
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3828 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3829 # Check for GNU ac_path_SED and select it if it is found.
3830 # Check for GNU $ac_path_SED
3831 case `"$ac_path_SED" --version 2>&1` in
3833 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3836 $as_echo_n 0123456789 >"conftest.in"
3839 cat "conftest.in" "conftest.in" >"conftest.tmp"
3840 mv "conftest.tmp" "conftest.in"
3841 cp "conftest.in" "conftest.nl"
3842 $as_echo '' >> "conftest.nl"
3843 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3844 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3845 as_fn_arith $ac_count + 1 && ac_count=$as_val
3846 if test $ac_count -gt ${ac_path_SED_max-0}; then
3847 # Best one so far, save it but keep looking for a better one
3848 ac_cv_path_SED="$ac_path_SED"
3849 ac_path_SED_max=$ac_count
3851 # 10*(2^10) chars as input seems more than enough
3852 test $ac_count -gt 10 && break
3854 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3857 $ac_path_SED_found && break 3
3862 if test -z "$ac_cv_path_SED"; then
3863 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3871 $as_echo "$ac_cv_path_SED" >&6; }
3872 SED="$ac_cv_path_SED"
3879 if test x$APP_MAN_SUFFIX = x ; then
3882 if test x$APP_MAN_DIR = x ; then
3883 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3886 if test x$LIB_MAN_SUFFIX = x ; then
3889 if test x$LIB_MAN_DIR = x ; then
3890 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3893 if test x$FILE_MAN_SUFFIX = x ; then
3895 solaris*) FILE_MAN_SUFFIX=4 ;;
3896 *) FILE_MAN_SUFFIX=5 ;;
3899 if test x$FILE_MAN_DIR = x ; then
3900 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3903 if test x$MISC_MAN_SUFFIX = x ; then
3905 solaris*) MISC_MAN_SUFFIX=5 ;;
3906 *) MISC_MAN_SUFFIX=7 ;;
3909 if test x$MISC_MAN_DIR = x ; then
3910 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3913 if test x$DRIVER_MAN_SUFFIX = x ; then
3915 solaris*) DRIVER_MAN_SUFFIX=7 ;;
3916 *) DRIVER_MAN_SUFFIX=4 ;;
3919 if test x$DRIVER_MAN_DIR = x ; then
3920 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3923 if test x$ADMIN_MAN_SUFFIX = x ; then
3925 solaris*) ADMIN_MAN_SUFFIX=1m ;;
3926 *) ADMIN_MAN_SUFFIX=8 ;;
3929 if test x$ADMIN_MAN_DIR = x ; then
3930 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3947 XORG_MAN_PAGE="X Version 11"
3950 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3951 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
3952 -e 's|__xservername__|Xorg|g' \
3953 -e 's|__xconfigfile__|xorg.conf|g' \
3954 -e 's|__projectroot__|\$(prefix)|g' \
3955 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
3956 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
3957 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
3958 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
3959 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
3960 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
3961 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
3967 cat >>confdefs.h <<_ACEOF
3968 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3971 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
3972 if test "x$PVM" = "x"; then
3976 cat >>confdefs.h <<_ACEOF
3977 #define PACKAGE_VERSION_MINOR $PVM
3980 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
3981 if test "x$PVP" = "x"; then
3985 cat >>confdefs.h <<_ACEOF
3986 #define PACKAGE_VERSION_PATCHLEVEL $PVP
3991 ac_config_files="$ac_config_files Makefile"
3993 cat >confcache <<\_ACEOF
3994 # This file is a shell script that caches the results of configure
3995 # tests run on this system so they can be shared between configure
3996 # scripts and configure runs, see configure's option --config-cache.
3997 # It is not useful on other systems. If it contains results you don't
3998 # want to keep, you may remove or edit it.
4000 # config.status only pays attention to the cache file if you give it
4001 # the --recheck option to rerun configure.
4003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4009 # The following way of writing the cache mishandles newlines in values,
4010 # but we know of no workaround that is simple, portable, and efficient.
4011 # So, we kill variables containing newlines.
4012 # Ultrix sh set writes to stderr and can't be redirected directly,
4013 # and sets the high bit in the cache file unless we assign to the vars.
4015 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4016 eval ac_val=\$$ac_var
4020 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4021 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4024 _ | IFS | as_nl) ;; #(
4025 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4026 *) { eval $ac_var=; unset $ac_var;} ;;
4032 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4033 *${as_nl}ac_space=\ *)
4034 # `set' does not quote correctly, so add quotes: double-quote
4035 # substitution turns \\\\ into \\, and sed turns \\ into \.
4038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4041 # `set' quotes correctly as required by POSIX, so do not add quotes.
4042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4055 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4056 if test -w "$cache_file"; then
4057 test "x$cache_file" != "x/dev/null" &&
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4059 $as_echo "$as_me: updating cache $cache_file" >&6;}
4060 cat confcache >$cache_file
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4063 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4068 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4069 # Let make expand exec_prefix.
4070 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4072 DEFS=-DHAVE_CONFIG_H
4077 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4078 # 1. Remove the extension, and $U if already installed.
4079 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4080 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4081 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4082 # will be set to the directory where LIBOBJS objects are built.
4083 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4084 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4088 LTLIBOBJS=$ac_ltlibobjs
4091 if test -n "$EXEEXT"; then
4093 am__EXEEXT_FALSE='#'
4099 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4100 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4103 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4104 as_fn_error $? "conditional \"AMDEP\" was never defined.
4105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4107 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4108 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4112 : ${CONFIG_STATUS=./config.status}
4114 ac_clean_files_save=$ac_clean_files
4115 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4117 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4119 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4121 # Generated by $as_me.
4122 # Run this file to recreate the current configuration.
4123 # Compiler output produced by configure, useful for debugging
4124 # configure, is in config.log if it exists.
4130 SHELL=\${CONFIG_SHELL-$SHELL}
4133 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4134 ## -------------------- ##
4135 ## M4sh Initialization. ##
4136 ## -------------------- ##
4138 # Be more Bourne compatible
4139 DUALCASE=1; export DUALCASE # for MKS sh
4140 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4143 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4144 # is contrary to our usage. Disable this feature.
4145 alias -g '${1+"$@"}'='"$@"'
4146 setopt NO_GLOB_SUBST
4148 case `(set -o) 2>/dev/null` in #(
4160 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4161 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4164 # Prefer a ksh shell builtin over an external printf program on Solaris,
4165 # but without wasting forks for bash or zsh.
4166 if test -z "$BASH_VERSION$ZSH_VERSION" \
4167 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4168 as_echo='print -r --'
4169 as_echo_n='print -rn --'
4170 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4171 as_echo='printf %s\n'
4172 as_echo_n='printf %s'
4174 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4175 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4176 as_echo_n='/usr/ucb/echo -n'
4178 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4179 as_echo_n_body='eval
4183 expr "X$arg" : "X\\(.*\\)$as_nl";
4184 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4186 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4188 export as_echo_n_body
4189 as_echo_n='sh -c $as_echo_n_body as_echo'
4192 as_echo='sh -c $as_echo_body as_echo'
4195 # The user is always right.
4196 if test "${PATH_SEPARATOR+set}" != set; then
4198 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4199 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4206 # We need space, tab and new line, in precisely that order. Quoting is
4207 # there to prevent editors from complaining about space-tab.
4208 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4209 # splitting by setting IFS to empty value.)
4212 # Find who we are. Look in the path if we contain no directory separator.
4214 *[\\/]* ) as_myself=$0 ;;
4215 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir=.
4220 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4226 # We did not find ourselves, most probably we were run as `sh COMMAND'
4227 # in which case we are not to be found in the path.
4228 if test "x$as_myself" = x; then
4231 if test ! -f "$as_myself"; then
4232 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4236 # Unset variables that we do not need and which cause bugs (e.g. in
4237 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4238 # suppresses any "Segmentation fault" message there. '((' could
4239 # trigger a bug in pdksh 5.2.14.
4240 for as_var in BASH_ENV ENV MAIL MAILPATH
4241 do eval test x\${$as_var+set} = xset \
4242 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4258 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4259 # ----------------------------------------
4260 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4261 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4262 # script with STATUS, using 1 if that was 0.
4265 as_status=$1; test $as_status -eq 0 && as_status=1
4267 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4268 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4270 $as_echo "$as_me: error: $2" >&2
4271 as_fn_exit $as_status
4275 # as_fn_set_status STATUS
4276 # -----------------------
4277 # Set $? to STATUS, without forking.
4281 } # as_fn_set_status
4285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4295 # Portably unset VAR.
4298 { eval $1=; unset $1;}
4300 as_unset=as_fn_unset
4301 # as_fn_append VAR VALUE
4302 # ----------------------
4303 # Append the text in VALUE to the end of the definition contained in VAR. Take
4304 # advantage of any shell optimizations that allow amortized linear growth over
4305 # repeated appends, instead of the typical quadratic growth present in naive
4307 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4308 eval 'as_fn_append ()
4319 # as_fn_arith ARG...
4320 # ------------------
4321 # Perform arithmetic evaluation on the ARGs, and store the result in the
4322 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4323 # must be portable across $(()) and expr.
4324 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4325 eval 'as_fn_arith ()
4332 as_val=`expr "$@" || test $? -eq 1`
4337 if expr a : '\(a\)' >/dev/null 2>&1 &&
4338 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4344 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4345 as_basename=basename
4350 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4356 as_me=`$as_basename -- "$0" ||
4357 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4358 X"$0" : 'X\(//\)$' \| \
4359 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4361 sed '/^.*\/\([^/][^/]*\)\/*$/{
4375 # Avoid depending upon Character Ranges.
4376 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4377 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4378 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4379 as_cr_digits='0123456789'
4380 as_cr_alnum=$as_cr_Letters$as_cr_digits
4382 ECHO_C= ECHO_N= ECHO_T=
4383 case `echo -n x` in #(((((
4385 case `echo 'xy\c'` in
4386 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4388 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4395 rm -f conf$$ conf$$.exe conf$$.file
4396 if test -d conf$$.dir; then
4397 rm -f conf$$.dir/conf$$.file
4400 mkdir conf$$.dir 2>/dev/null
4402 if (echo >conf$$.file) 2>/dev/null; then
4403 if ln -s conf$$.file conf$$ 2>/dev/null; then
4405 # ... but there are two gotchas:
4406 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4407 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4408 # In both cases, we have to default to `cp -p'.
4409 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4411 elif ln conf$$.file conf$$ 2>/dev/null; then
4419 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4420 rmdir conf$$.dir 2>/dev/null
4425 # Create "$as_dir" as a directory, including parents if necessary.
4430 -*) as_dir=./$as_dir;;
4432 test -d "$as_dir" || eval $as_mkdir_p || {
4436 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4437 *) as_qdir=$as_dir;;
4439 as_dirs="'$as_qdir' $as_dirs"
4440 as_dir=`$as_dirname -- "$as_dir" ||
4441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4442 X"$as_dir" : 'X\(//\)[^/]' \| \
4443 X"$as_dir" : 'X\(//\)$' \| \
4444 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4445 $as_echo X"$as_dir" |
4446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4463 test -d "$as_dir" && break
4465 test -z "$as_dirs" || eval "mkdir $as_dirs"
4466 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4470 if mkdir -p . 2>/dev/null; then
4471 as_mkdir_p='mkdir -p "$as_dir"'
4473 test -d ./-p && rmdir ./-p
4477 if test -x / >/dev/null 2>&1; then
4480 if ls -dL / >/dev/null 2>&1; then
4487 if test -d "$1"; then
4493 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4494 ???[sx]*):;;*)false;;esac;fi
4498 as_executable_p=$as_test_x
4500 # Sed expression to map a string onto a valid CPP name.
4501 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4503 # Sed expression to map a string onto a valid variable name.
4504 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4508 ## ----------------------------------- ##
4509 ## Main body of $CONFIG_STATUS script. ##
4510 ## ----------------------------------- ##
4512 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4515 # Save the log message, to keep $0 and so on meaningful, and to
4516 # report actual input values of CONFIG_FILES etc. instead of their
4517 # values after options handling.
4519 This file was extended by xfd $as_me 1.0.1, which was
4520 generated by GNU Autoconf 2.67. Invocation command line was
4522 CONFIG_FILES = $CONFIG_FILES
4523 CONFIG_HEADERS = $CONFIG_HEADERS
4524 CONFIG_LINKS = $CONFIG_LINKS
4525 CONFIG_COMMANDS = $CONFIG_COMMANDS
4528 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4533 case $ac_config_files in *"
4534 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4537 case $ac_config_headers in *"
4538 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4543 # Files that config.status was made for.
4544 config_files="$ac_config_files"
4545 config_headers="$ac_config_headers"
4546 config_commands="$ac_config_commands"
4550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4552 \`$as_me' instantiates files and other configuration actions
4553 from templates according to the current configuration. Unless the files
4554 and actions are specified as TAGs, all are instantiated by default.
4556 Usage: $0 [OPTION]... [TAG]...
4558 -h, --help print this help, then exit
4559 -V, --version print version number and configuration settings, then exit
4560 --config print configuration, then exit
4561 -q, --quiet, --silent
4562 do not print progress messages
4563 -d, --debug don't remove temporary files
4564 --recheck update $as_me by reconfiguring in the same conditions
4565 --file=FILE[:TEMPLATE]
4566 instantiate the configuration file FILE
4567 --header=FILE[:TEMPLATE]
4568 instantiate the configuration header FILE
4570 Configuration files:
4573 Configuration headers:
4576 Configuration commands:
4579 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
4582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4585 xfd config.status 1.0.1
4586 configured by $0, generated by GNU Autoconf 2.67,
4587 with options \\"\$ac_cs_config\\"
4589 Copyright (C) 2010 Free Software Foundation, Inc.
4590 This config.status script is free software; the Free Software Foundation
4591 gives unlimited permission to copy, distribute and modify it."
4598 test -n "\$AWK" || AWK=awk
4601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4602 # The default lists apply if the user does not specify any file.
4608 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4609 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4613 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4625 # Handling of the options.
4626 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4628 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4629 $as_echo "$ac_cs_version"; exit ;;
4630 --config | --confi | --conf | --con | --co | --c )
4631 $as_echo "$ac_cs_config"; exit ;;
4632 --debug | --debu | --deb | --de | --d | -d )
4634 --file | --fil | --fi | --f )
4637 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4638 '') as_fn_error $? "missing file argument" ;;
4640 as_fn_append CONFIG_FILES " '$ac_optarg'"
4641 ac_need_defaults=false;;
4642 --header | --heade | --head | --hea )
4645 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4647 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4648 ac_need_defaults=false;;
4650 # Conflict between --help and --header
4651 as_fn_error $? "ambiguous option: \`$1'
4652 Try \`$0 --help' for more information.";;
4653 --help | --hel | -h )
4654 $as_echo "$ac_cs_usage"; exit ;;
4655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4656 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4660 -*) as_fn_error $? "unrecognized option: \`$1'
4661 Try \`$0 --help' for more information." ;;
4663 *) as_fn_append ac_config_targets " $1"
4664 ac_need_defaults=false ;;
4670 ac_configure_extra_args=
4672 if $ac_cs_silent; then
4674 ac_configure_extra_args="$ac_configure_extra_args --silent"
4678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4679 if \$ac_cs_recheck; then
4680 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4682 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4683 CONFIG_SHELL='$SHELL'
4689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4694 ## Running $as_me. ##
4700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4704 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4710 # Handling of arguments.
4711 for ac_config_target in $ac_config_targets
4713 case $ac_config_target in
4714 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4715 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4716 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4718 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4723 # If the user did not use the arguments to specify the items to instantiate,
4724 # then the envvar interface is used. Set only those that are not.
4725 # We use the long form for the default assignment because of an extremely
4726 # bizarre bug on SunOS 4.1.3.
4727 if $ac_need_defaults; then
4728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4729 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4730 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4733 # Have a temporary directory for convenience. Make it in the build tree
4734 # simply because there is no reason against having it here, and in addition,
4735 # creating and moving files from /tmp can sometimes cause problems.
4736 # Hook for its removal unless debugging.
4737 # Note that there is a small window in which the directory will not be cleaned:
4738 # after its creation but before its name has been assigned to `$tmp'.
4742 trap 'exit_status=$?
4743 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4745 trap 'as_fn_exit 1' 1 2 13 15
4747 # Create a (secure) tmp directory for tmp files.
4750 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4751 test -n "$tmp" && test -d "$tmp"
4754 tmp=./conf$$-$RANDOM
4755 (umask 077 && mkdir "$tmp")
4756 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4758 # Set up the scripts for CONFIG_FILES section.
4759 # No need to generate them if there are no CONFIG_FILES.
4760 # This happens for instance with `./config.status config.h'.
4761 if test -n "$CONFIG_FILES"; then
4764 ac_cr=`echo X | tr X '\015'`
4765 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4766 # But we know of no other shell where ac_cr would be empty at this
4767 # point, so we can use a bashism as a fallback.
4768 if test "x$ac_cr" = x; then
4769 eval ac_cr=\$\'\\r\'
4771 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4778 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4783 echo "cat >conf$$subs.awk <<_ACEOF" &&
4784 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4787 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4790 for ac_last_try in false false false false false :; do
4791 . ./conf$$subs.sh ||
4792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4794 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4795 if test $ac_delim_n = $ac_delim_num; then
4797 elif $ac_last_try; then
4798 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4800 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4806 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4810 s/^/S["/; s/!.*/"]=/
4820 s/\(.\{148\}\)..*/\1/
4822 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4834 s/\(.\{148\}\)..*/\1/
4836 s/["\\]/\\&/g; s/^/"/; s/$/"/
4840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4845 ' <conf$$subs.awk | sed '
4850 ' >>$CONFIG_STATUS || ac_write_fail=1
4851 rm -f conf$$subs.awk
4852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4854 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4855 for (key in S) S_is_set[key] = 1
4861 nfields = split(line, field, "@")
4863 len = length(field[1])
4864 for (i = 2; i < nfields; i++) {
4866 keylen = length(key)
4867 if (S_is_set[key]) {
4869 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4870 len += length(value) + length(field[++i])
4881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4882 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4883 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4886 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4887 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4890 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4891 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4892 # trailing colons and then remove the whole line if VPATH becomes empty
4893 # (actually we leave an empty line to preserve line numbers).
4894 if test "x$srcdir" = x.; then
4895 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4914 fi # test -n "$CONFIG_FILES"
4916 # Set up the scripts for CONFIG_HEADERS section.
4917 # No need to generate them if there are no CONFIG_HEADERS.
4918 # This happens for instance with `./config.status Makefile'.
4919 if test -n "$CONFIG_HEADERS"; then
4920 cat >"$tmp/defines.awk" <<\_ACAWK ||
4924 # Transform confdefs.h into an awk script `defines.awk', embedded as
4925 # here-document in config.status, that substitutes the proper values into
4926 # config.h.in to produce config.h.
4928 # Create a delimiter string that does not exist in confdefs.h, to ease
4929 # handling of long lines.
4931 for ac_last_try in false false :; do
4932 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4933 if test -z "$ac_t"; then
4935 elif $ac_last_try; then
4936 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4938 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4942 # For the awk script, D is an array of macro values keyed by name,
4943 # likewise P contains macro parameters if any. Preserve backslash
4944 # newline sequences.
4946 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4948 s/.\{148\}/&'"$ac_delim"'/g
4951 s/^[ ]*#[ ]*define[ ][ ]*/ /
4958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4960 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4964 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4965 D["\1"]=" \3\\\\\\n"\\/p
4967 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4972 s/.\{148\}/&'"$ac_delim"'/g
4977 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4980 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4982 ' <confdefs.h | sed '
4983 s/'"$ac_delim"'/"\\\
4984 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4987 for (key in D) D_is_set[key] = 1
4990 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4992 split(line, arg, " ")
4993 if (arg[1] == "#") {
4997 defundef = substr(arg[1], 2)
5000 split(mac1, mac2, "(") #)
5002 prefix = substr(line, 1, index(line, defundef) - 1)
5003 if (D_is_set[macro]) {
5004 # Preserve the white space surrounding the "#".
5005 print prefix "define", macro P[macro] D[macro]
5008 # Replace #undef with comments. This is necessary, for example,
5009 # in the case of _POSIX_SOURCE, which is predefined and required
5010 # on some systems where configure will not decide to define it.
5011 if (defundef == "undef") {
5012 print "/*", prefix defundef, macro, "*/"
5020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5021 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5022 fi # test -n "$CONFIG_HEADERS"
5025 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5030 :[FHLC]) ac_mode=$ac_tag; continue;;
5032 case $ac_mode$ac_tag in
5034 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5035 :[FH]-) ac_tag=-:-;;
5036 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5053 -) ac_f="$tmp/stdin";;
5054 *) # Look for the file first in the build tree, then in the source tree
5055 # (if the path is not absolute). The absolute path cannot be DOS-style,
5056 # because $ac_f cannot contain `:'.
5060 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5062 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5064 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5065 as_fn_append ac_file_inputs " '$ac_f'"
5068 # Let's still pretend it is `configure' which instantiates (i.e., don't
5069 # use $as_me), people would be surprised to read:
5070 # /* config.h. Generated by config.status. */
5071 configure_input='Generated from '`
5072 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5074 if test x"$ac_file" != x-; then
5075 configure_input="$ac_file. $configure_input"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5077 $as_echo "$as_me: creating $ac_file" >&6;}
5079 # Neutralize special characters interpreted by sed in replacement strings.
5080 case $configure_input in #(
5081 *\&* | *\|* | *\\* )
5082 ac_sed_conf_input=`$as_echo "$configure_input" |
5083 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5084 *) ac_sed_conf_input=$configure_input;;
5088 *:-:* | *:-) cat >"$tmp/stdin" \
5089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5094 ac_dir=`$as_dirname -- "$ac_file" ||
5095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5096 X"$ac_file" : 'X\(//\)[^/]' \| \
5097 X"$ac_file" : 'X\(//\)$' \| \
5098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5099 $as_echo X"$ac_file" |
5100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5117 as_dir="$ac_dir"; as_fn_mkdir_p
5121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5123 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5124 # A ".." for each directory in $ac_dir_suffix.
5125 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5126 case $ac_top_builddir_sub in
5127 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5128 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5131 ac_abs_top_builddir=$ac_pwd
5132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5133 # for backward compatibility:
5134 ac_top_builddir=$ac_top_build_prefix
5137 .) # We are building in place.
5139 ac_top_srcdir=$ac_top_builddir_sub
5140 ac_abs_top_srcdir=$ac_pwd ;;
5141 [\\/]* | ?:[\\/]* ) # Absolute name.
5142 ac_srcdir=$srcdir$ac_dir_suffix;
5143 ac_top_srcdir=$srcdir
5144 ac_abs_top_srcdir=$srcdir ;;
5146 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5147 ac_top_srcdir=$ac_top_build_prefix$srcdir
5148 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5160 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5161 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5165 [\\/$]* | ?:[\\/]* ) ;;
5166 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5171 # If the template does not know about datarootdir, expand it.
5172 # FIXME: This hack should be removed a few years after 2.60.
5173 ac_datarootdir_hack=; ac_datarootdir_seen=
5184 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5185 *datarootdir*) ac_datarootdir_seen=yes;;
5186 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5188 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5191 ac_datarootdir_hack='
5192 s&@datadir@&$datadir&g
5193 s&@docdir@&$docdir&g
5194 s&@infodir@&$infodir&g
5195 s&@localedir@&$localedir&g
5196 s&@mandir@&$mandir&g
5197 s&\\\${datarootdir}&$datarootdir&g' ;;
5201 # Neutralize VPATH when `$srcdir' = `.'.
5202 # Shell code in configure.ac might set extrasub.
5203 # FIXME: do we really want to maintain this feature?
5204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5205 ac_sed_extra="$ac_vpsub
5208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5211 s|@configure_input@|$ac_sed_conf_input|;t t
5212 s&@top_builddir@&$ac_top_builddir_sub&;t t
5213 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5214 s&@srcdir@&$ac_srcdir&;t t
5215 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5216 s&@top_srcdir@&$ac_top_srcdir&;t t
5217 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5218 s&@builddir@&$ac_builddir&;t t
5219 s&@abs_builddir@&$ac_abs_builddir&;t t
5220 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5221 s&@INSTALL@&$ac_INSTALL&;t t
5222 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5223 $ac_datarootdir_hack
5225 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5228 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5229 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5230 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5232 which seems to be undefined. Please make sure it is defined" >&5
5233 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5234 which seems to be undefined. Please make sure it is defined" >&2;}
5238 -) cat "$tmp/out" && rm -f "$tmp/out";;
5239 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5247 if test x"$ac_file" != x-; then
5249 $as_echo "/* $configure_input */" \
5250 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5251 } >"$tmp/config.h" \
5252 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5253 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5255 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5258 mv "$tmp/config.h" "$ac_file" \
5259 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5262 $as_echo "/* $configure_input */" \
5263 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5264 || as_fn_error $? "could not create -" "$LINENO" 5
5266 # Compute "$ac_file"'s index in $config_headers.
5269 for _am_header in $config_headers :; do
5271 $_am_arg | $_am_arg:* )
5274 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5277 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5278 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5279 X"$_am_arg" : 'X\(//\)[^/]' \| \
5280 X"$_am_arg" : 'X\(//\)$' \| \
5281 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5282 $as_echo X"$_am_arg" |
5283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5299 s/.*/./; q'`/stamp-h$_am_stamp_count
5302 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5303 $as_echo "$as_me: executing $ac_file commands" >&6;}
5308 case $ac_file$ac_mode in
5309 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5310 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5311 # are listed without --file. Let's play safe and only enable the eval
5312 # if we detect the quoting.
5313 case $CONFIG_FILES in
5314 *\'*) eval set x "$CONFIG_FILES" ;;
5315 *) set x $CONFIG_FILES ;;
5320 # Strip MF so we end up with the name of the file.
5321 mf=`echo "$mf" | sed -e 's/:.*$//'`
5322 # Check whether this is an Automake generated Makefile or not.
5323 # We used to match only the files named `Makefile.in', but
5324 # some people rename them; so instead we look at the file content.
5325 # Grep'ing the first line is not enough: some people post-process
5326 # each Makefile.in and add a new line on top of each file to say so.
5327 # Grep'ing the whole file is not good either: AIX grep has a line
5328 # limit of 2048, but all sed's we know have understand at least 4000.
5329 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5330 dirpart=`$as_dirname -- "$mf" ||
5331 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5332 X"$mf" : 'X\(//\)[^/]' \| \
5333 X"$mf" : 'X\(//\)$' \| \
5334 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5356 # Extract the definition of DEPDIR, am__include, and am__quote
5357 # from the Makefile without running `make'.
5358 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5359 test -z "$DEPDIR" && continue
5360 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5361 test -z "am__include" && continue
5362 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5363 # When using ansi2knr, U may be empty or an underscore; expand it
5364 U=`sed -n 's/^U = //p' < "$mf"`
5365 # Find all dependency output files, they are included files with
5366 # $(DEPDIR) in their names. We invoke sed twice because it is the
5367 # simplest approach to changing $(DEPDIR) to its actual value in the
5369 for file in `sed -n "
5370 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5371 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5372 # Make sure the directory exists.
5373 test -f "$dirpart/$file" && continue
5374 fdir=`$as_dirname -- "$file" ||
5375 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5376 X"$file" : 'X\(//\)[^/]' \| \
5377 X"$file" : 'X\(//\)$' \| \
5378 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5397 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5398 # echo "creating $dirpart/$file"
5399 echo '# dummy' > "$dirpart/$file"
5411 ac_clean_files=$ac_clean_files_save
5413 test $ac_write_fail = 0 ||
5414 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5417 # configure is writing to config.log, and then calls config.status.
5418 # config.status does its own redirection, appending to config.log.
5419 # Unfortunately, on DOS this fails, as config.log is still kept open
5420 # by configure, so config.status won't be able to write to it; its
5421 # output is simply discarded. So we exec the FD to /dev/null,
5422 # effectively closing config.log, so it can be properly (re)opened and
5423 # appended to by config.status. When coming back to configure, we
5424 # need to make the FD available again.
5425 if test "$no_create" != yes; then
5427 ac_config_status_args=
5428 test "$silent" = yes &&
5429 ac_config_status_args="$ac_config_status_args --quiet"
5431 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5434 # would make configure fail if this is the last instruction.
5435 $ac_cs_success || as_fn_exit 1
5437 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5439 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}