2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for xlsfonts 1.0.3.
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 Free Software Foundation,
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 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=$?; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375 $as_echo "$as_me: error: $1" >&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, Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix=/usr/local
546 ac_config_libobj_dir=.
553 # Identity of this package.
554 PACKAGE_NAME='xlsfonts'
555 PACKAGE_TARNAME='xlsfonts'
556 PACKAGE_VERSION='1.0.3'
557 PACKAGE_STRING='xlsfonts 1.0.3'
558 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars='am__EXEEXT_FALSE
651 MAINTAINER_MODE_FALSE
661 INSTALL_STRIP_PROGRAM
703 program_transform_name
716 enable_option_checking
717 enable_maintainer_mode
718 enable_dependency_tracking
719 enable_strict_compilation
723 ac_precious_vars='build_alias
739 # Initialize some variables set by options.
741 ac_init_version=false
742 ac_unrecognized_opts=
744 # The variables have the same names as the options, with
745 # dashes changed to underlines.
753 program_transform_name=s,x,x,
761 # Installation directory options.
762 # These are left unexpanded so users can "make install exec_prefix=/foo"
763 # and all the variables that are supposed to be based on exec_prefix
764 # by default will actually change.
765 # Use braces instead of parens because sh, perl, etc. also accept them.
766 # (The list follows the same order as the GNU Coding Standards.)
767 bindir='${exec_prefix}/bin'
768 sbindir='${exec_prefix}/sbin'
769 libexecdir='${exec_prefix}/libexec'
770 datarootdir='${prefix}/share'
771 datadir='${datarootdir}'
772 sysconfdir='${prefix}/etc'
773 sharedstatedir='${prefix}/com'
774 localstatedir='${prefix}/var'
775 includedir='${prefix}/include'
776 oldincludedir='/usr/include'
777 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
778 infodir='${datarootdir}/info'
783 libdir='${exec_prefix}/lib'
784 localedir='${datarootdir}/locale'
785 mandir='${datarootdir}/man'
791 # If the previous option needs an argument, assign it.
792 if test -n "$ac_prev"; then
793 eval $ac_prev=\$ac_option
799 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
803 # Accept the important Cygnus configure options, so we can diagnose typos.
805 case $ac_dashdash$ac_option in
809 -bindir | --bindir | --bindi | --bind | --bin | --bi)
811 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
814 -build | --build | --buil | --bui | --bu)
815 ac_prev=build_alias ;;
816 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
817 build_alias=$ac_optarg ;;
819 -cache-file | --cache-file | --cache-fil | --cache-fi \
820 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
821 ac_prev=cache_file ;;
822 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
823 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
824 cache_file=$ac_optarg ;;
827 cache_file=config.cache ;;
829 -datadir | --datadir | --datadi | --datad)
831 -datadir=* | --datadir=* | --datadi=* | --datad=*)
832 datadir=$ac_optarg ;;
834 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
835 | --dataroo | --dataro | --datar)
836 ac_prev=datarootdir ;;
837 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
838 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
839 datarootdir=$ac_optarg ;;
841 -disable-* | --disable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
855 eval enable_$ac_useropt=no ;;
857 -docdir | --docdir | --docdi | --doc | --do)
859 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
862 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
864 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
867 -enable-* | --enable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
881 eval enable_$ac_useropt=\$ac_optarg ;;
883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
885 | --exec | --exe | --ex)
886 ac_prev=exec_prefix ;;
887 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
888 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
889 | --exec=* | --exe=* | --ex=*)
890 exec_prefix=$ac_optarg ;;
892 -gas | --gas | --ga | --g)
893 # Obsolete; use --with-gas.
896 -help | --help | --hel | --he | -h)
898 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
899 ac_init_help=recursive ;;
900 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
901 ac_init_help=short ;;
903 -host | --host | --hos | --ho)
904 ac_prev=host_alias ;;
905 -host=* | --host=* | --hos=* | --ho=*)
906 host_alias=$ac_optarg ;;
908 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
910 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
912 htmldir=$ac_optarg ;;
914 -includedir | --includedir | --includedi | --included | --include \
915 | --includ | --inclu | --incl | --inc)
916 ac_prev=includedir ;;
917 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
918 | --includ=* | --inclu=* | --incl=* | --inc=*)
919 includedir=$ac_optarg ;;
921 -infodir | --infodir | --infodi | --infod | --info | --inf)
923 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
924 infodir=$ac_optarg ;;
926 -libdir | --libdir | --libdi | --libd)
928 -libdir=* | --libdir=* | --libdi=* | --libd=*)
931 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
932 | --libexe | --libex | --libe)
933 ac_prev=libexecdir ;;
934 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
935 | --libexe=* | --libex=* | --libe=*)
936 libexecdir=$ac_optarg ;;
938 -localedir | --localedir | --localedi | --localed | --locale)
940 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
941 localedir=$ac_optarg ;;
943 -localstatedir | --localstatedir | --localstatedi | --localstated \
944 | --localstate | --localstat | --localsta | --localst | --locals)
945 ac_prev=localstatedir ;;
946 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
947 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
948 localstatedir=$ac_optarg ;;
950 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
952 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
956 # Obsolete; use --without-fp.
959 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
960 | --no-cr | --no-c | -n)
963 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
964 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
967 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
968 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
969 | --oldin | --oldi | --old | --ol | --o)
970 ac_prev=oldincludedir ;;
971 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
972 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
973 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
974 oldincludedir=$ac_optarg ;;
976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
981 -program-prefix | --program-prefix | --program-prefi | --program-pref \
982 | --program-pre | --program-pr | --program-p)
983 ac_prev=program_prefix ;;
984 -program-prefix=* | --program-prefix=* | --program-prefi=* \
985 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
986 program_prefix=$ac_optarg ;;
988 -program-suffix | --program-suffix | --program-suffi | --program-suff \
989 | --program-suf | --program-su | --program-s)
990 ac_prev=program_suffix ;;
991 -program-suffix=* | --program-suffix=* | --program-suffi=* \
992 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
993 program_suffix=$ac_optarg ;;
995 -program-transform-name | --program-transform-name \
996 | --program-transform-nam | --program-transform-na \
997 | --program-transform-n | --program-transform- \
998 | --program-transform | --program-transfor \
999 | --program-transfo | --program-transf \
1000 | --program-trans | --program-tran \
1001 | --progr-tra | --program-tr | --program-t)
1002 ac_prev=program_transform_name ;;
1003 -program-transform-name=* | --program-transform-name=* \
1004 | --program-transform-nam=* | --program-transform-na=* \
1005 | --program-transform-n=* | --program-transform-=* \
1006 | --program-transform=* | --program-transfor=* \
1007 | --program-transfo=* | --program-transf=* \
1008 | --program-trans=* | --program-tran=* \
1009 | --progr-tra=* | --program-tr=* | --program-t=*)
1010 program_transform_name=$ac_optarg ;;
1012 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1014 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1015 pdfdir=$ac_optarg ;;
1017 -psdir | --psdir | --psdi | --psd | --ps)
1019 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1023 | -silent | --silent | --silen | --sile | --sil)
1026 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1028 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1030 sbindir=$ac_optarg ;;
1032 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1033 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1034 | --sharedst | --shareds | --shared | --share | --shar \
1036 ac_prev=sharedstatedir ;;
1037 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1038 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1039 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1041 sharedstatedir=$ac_optarg ;;
1043 -site | --site | --sit)
1045 -site=* | --site=* | --sit=*)
1048 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1050 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1051 srcdir=$ac_optarg ;;
1053 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1054 | --syscon | --sysco | --sysc | --sys | --sy)
1055 ac_prev=sysconfdir ;;
1056 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1057 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1058 sysconfdir=$ac_optarg ;;
1060 -target | --target | --targe | --targ | --tar | --ta | --t)
1061 ac_prev=target_alias ;;
1062 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1063 target_alias=$ac_optarg ;;
1065 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1068 -version | --version | --versio | --versi | --vers | -V)
1069 ac_init_version=: ;;
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 as_fn_error "invalid package name: $ac_useropt"
1076 ac_useropt_orig=$ac_useropt
1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083 ac_unrecognized_sep=', ';;
1085 eval with_$ac_useropt=\$ac_optarg ;;
1087 -without-* | --without-*)
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091 as_fn_error "invalid package name: $ac_useropt"
1092 ac_useropt_orig=$ac_useropt
1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1101 eval with_$ac_useropt=no ;;
1104 # Obsolete; use --with-x.
1107 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1108 | --x-incl | --x-inc | --x-in | --x-i)
1109 ac_prev=x_includes ;;
1110 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1111 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1112 x_includes=$ac_optarg ;;
1114 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1115 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1116 ac_prev=x_libraries ;;
1117 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1118 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1119 x_libraries=$ac_optarg ;;
1121 -*) as_fn_error "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information."
1126 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1127 # Reject names that are not valid shell variable names.
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1132 eval $ac_envvar=\$ac_optarg
1133 export $ac_envvar ;;
1136 # FIXME: should be removed in autoconf 3.0.
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1138 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1146 if test -n "$ac_prev"; then
1147 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148 as_fn_error "missing argument to $ac_option"
1151 if test -n "$ac_unrecognized_opts"; then
1152 case $enable_option_checking in
1154 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159 # Check all directory arguments for consistency.
1160 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1161 datadir sysconfdir sharedstatedir localstatedir includedir \
1162 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1163 libdir localedir mandir
1165 eval ac_val=\$$ac_var
1166 # Remove trailing slashes.
1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1170 eval $ac_var=\$ac_val;;
1172 # Be sure to have absolute directory names.
1174 [\\/$]* | ?:[\\/]* ) continue;;
1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1177 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1180 # There might be people who depend on the old broken behavior: `$host'
1181 # used to hold the argument of --host etc.
1182 # FIXME: To remove some day.
1185 target=$target_alias
1187 # FIXME: To remove some day.
1188 if test "x$host_alias" != x; then
1189 if test "x$build_alias" = x; then
1190 cross_compiling=maybe
1191 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used." >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1199 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201 test "$silent" = yes && exec 6>/dev/null
1204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di=`ls -di .` &&
1206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1207 as_fn_error "working directory cannot be determined"
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 as_fn_error "pwd does not report name of working directory"
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$as_myself" ||
1217 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$as_myself" : 'X\(//\)[^/]' \| \
1219 X"$as_myself" : 'X\(//\)$' \| \
1220 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1221 $as_echo X"$as_myself" |
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1254 # When building in place, set srcdir=.
1255 if test "$ac_abs_confdir" = "$ac_pwd"; then
1258 # Remove unnecessary trailing slashes from srcdir.
1259 # Double slashes in file names in object file debugging info
1260 # mess up M-x gdb in Emacs.
1262 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1264 for ac_var in $ac_precious_vars; do
1265 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1266 eval ac_env_${ac_var}_value=\$${ac_var}
1267 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1272 # Report the --help message.
1274 if test "$ac_init_help" = "long"; then
1275 # Omit some internal or obsolete options to make the list less imposing.
1276 # This message is too long to be a string in the A/UX 3.1 sh.
1278 \`configure' configures xlsfonts 1.0.3 to adapt to many kinds of systems.
1280 Usage: $0 [OPTION]... [VAR=VALUE]...
1282 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1283 VAR=VALUE. See below for descriptions of some of the useful variables.
1285 Defaults for the options are specified in brackets.
1288 -h, --help display this help and exit
1289 --help=short display options specific to this package
1290 --help=recursive display the short help of all the included packages
1291 -V, --version display version information and exit
1292 -q, --quiet, --silent do not print \`checking...' messages
1293 --cache-file=FILE cache test results in FILE [disabled]
1294 -C, --config-cache alias for \`--cache-file=config.cache'
1295 -n, --no-create do not create output files
1296 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1298 Installation directories:
1299 --prefix=PREFIX install architecture-independent files in PREFIX
1300 [$ac_default_prefix]
1301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1304 By default, \`make install' will install all the files in
1305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1306 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1307 for instance \`--prefix=\$HOME'.
1309 For better control, use the options below.
1311 Fine tuning of the installation directories:
1312 --bindir=DIR user executables [EPREFIX/bin]
1313 --sbindir=DIR system admin executables [EPREFIX/sbin]
1314 --libexecdir=DIR program executables [EPREFIX/libexec]
1315 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1316 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1317 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1318 --libdir=DIR object code libraries [EPREFIX/lib]
1319 --includedir=DIR C header files [PREFIX/include]
1320 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1321 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1322 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1323 --infodir=DIR info documentation [DATAROOTDIR/info]
1324 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1325 --mandir=DIR man documentation [DATAROOTDIR/man]
1326 --docdir=DIR documentation root [DATAROOTDIR/doc/xlsfonts]
1327 --htmldir=DIR html documentation [DOCDIR]
1328 --dvidir=DIR dvi documentation [DOCDIR]
1329 --pdfdir=DIR pdf documentation [DOCDIR]
1330 --psdir=DIR ps documentation [DOCDIR]
1336 --program-prefix=PREFIX prepend PREFIX to installed program names
1337 --program-suffix=SUFFIX append SUFFIX to installed program names
1338 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1341 --build=BUILD configure for building on BUILD [guessed]
1342 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1346 if test -n "$ac_init_help"; then
1347 case $ac_init_help in
1348 short | recursive ) echo "Configuration of xlsfonts 1.0.3:";;
1353 --disable-option-checking ignore unrecognized --enable/--with options
1354 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1355 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1356 --enable-maintainer-mode enable make rules and dependencies not useful
1357 (and sometimes confusing) to the casual installer
1358 --disable-dependency-tracking speeds up one-time build
1359 --enable-dependency-tracking do not reject slow dependency extractors
1360 --enable-strict-compilation
1361 Enable all warnings from compiler and make them
1362 errors (default: disabled)
1363 --enable-silent-rules less verbose build output (undo: `make V=1')
1364 --disable-silent-rules verbose build output (undo: `make V=0')
1367 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1368 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1369 --with-release-version=STRING
1370 Use release version string in package name
1372 Some influential environment variables:
1373 CC C compiler command
1374 CFLAGS C compiler flags
1375 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1376 nonstandard directory <lib dir>
1377 LIBS libraries to pass to the linker, e.g. -l<library>
1378 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1379 you have headers in a nonstandard directory <include dir>
1381 PKG_CONFIG path to pkg-config utility
1383 directories to add to pkg-config's search path
1385 path overriding pkg-config's built-in search path
1387 C compiler flags for XLSFONTS, overriding pkg-config
1389 linker flags for XLSFONTS, overriding pkg-config
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" ||
1403 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 ac_abs_top_builddir=$ac_pwd
1419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir=$ac_top_build_prefix
1424 .) # We are building in place.
1426 ac_top_srcdir=$ac_top_builddir_sub
1427 ac_abs_top_srcdir=$ac_pwd ;;
1428 [\\/]* | ?:[\\/]* ) # Absolute name.
1429 ac_srcdir=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir=$srcdir
1431 ac_abs_top_srcdir=$srcdir ;;
1433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1439 cd "$ac_dir" || { ac_status=$?; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 cd "$ac_pwd" || { ac_status=$?; break; }
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1457 xlsfonts configure 1.0.3
1458 generated by GNU Autoconf 2.65
1460 Copyright (C) 2009 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1467 ## ------------------------ ##
1468 ## Autoconf initialization. ##
1469 ## ------------------------ ##
1471 # ac_fn_c_try_compile LINENO
1472 # --------------------------
1473 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1474 ac_fn_c_try_compile ()
1476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1477 rm -f conftest.$ac_objext
1478 if { { ac_try="$ac_compile"
1480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481 *) ac_try_echo=$ac_try;;
1483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484 $as_echo "$ac_try_echo"; } >&5
1485 (eval "$ac_compile") 2>conftest.err
1487 if test -s conftest.err; then
1488 grep -v '^ *+' conftest.err >conftest.er1
1489 cat conftest.er1 >&5
1490 mv -f conftest.er1 conftest.err
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493 test $ac_status = 0; } && {
1494 test -z "$ac_c_werror_flag" ||
1495 test ! -s conftest.err
1496 } && test -s conftest.$ac_objext; then :
1499 $as_echo "$as_me: failed program was:" >&5
1500 sed 's/^/| /' conftest.$ac_ext >&5
1504 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1505 as_fn_set_status $ac_retval
1507 } # ac_fn_c_try_compile
1509 # ac_fn_c_check_decl LINENO SYMBOL VAR
1510 # ------------------------------------
1511 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1512 ac_fn_c_check_decl ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1516 $as_echo_n "checking whether $2 is declared... " >&6; }
1517 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1518 $as_echo_n "(cached) " >&6
1520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1521 /* end confdefs.h. */
1534 if ac_fn_c_try_compile "$LINENO"; then :
1539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1543 $as_echo "$ac_res" >&6; }
1544 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1546 } # ac_fn_c_check_decl
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } >/dev/null && {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1581 as_fn_set_status $ac_retval
1585 # ac_fn_c_try_run LINENO
1586 # ----------------------
1587 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1588 # that executables *can* be run.
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 if { { ac_try="$ac_link"
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_link") 2>&5
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1603 { { case "(($ac_try" in
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_try") 2>&5
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; }; }; then :
1615 $as_echo "$as_me: program exited with status $ac_status" >&5
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1619 ac_retval=$ac_status
1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1623 as_fn_set_status $ac_retval
1627 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1628 # -------------------------------------------------------
1629 # Tests whether HEADER exists and can be compiled using the include files in
1630 # INCLUDES, setting the cache variable VAR accordingly.
1631 ac_fn_c_check_header_compile ()
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1635 $as_echo_n "checking for $2... " >&6; }
1636 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1637 $as_echo_n "(cached) " >&6
1639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1640 /* end confdefs.h. */
1644 if ac_fn_c_try_compile "$LINENO"; then :
1649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656 } # ac_fn_c_check_header_compile
1657 cat >config.log <<_ACEOF
1658 This file contains any messages produced by compilers while
1659 running configure, to aid debugging if configure makes a mistake.
1661 It was created by xlsfonts $as_me 1.0.3, which was
1662 generated by GNU Autoconf 2.65. Invocation command line was
1674 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1675 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1676 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1677 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1678 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1680 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1681 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1683 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1684 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1685 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1686 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1687 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1688 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1689 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1697 test -z "$as_dir" && as_dir=.
1698 $as_echo "PATH: $as_dir"
1714 # Keep a trace of the command line.
1715 # Strip out --no-create and --no-recursion so they do not pile up.
1716 # Strip out --silent because we don't want to record it for future runs.
1717 # Also quote any args containing shell meta-characters.
1718 # Make two passes to allow for proper duplicate-argument suppression.
1722 ac_must_keep_next=false
1728 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1730 | -silent | --silent | --silen | --sile | --sil)
1733 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1736 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1738 as_fn_append ac_configure_args1 " '$ac_arg'"
1739 if test $ac_must_keep_next = true; then
1740 ac_must_keep_next=false # Got value, back to normal.
1743 *=* | --config-cache | -C | -disable-* | --disable-* \
1744 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1745 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1746 | -with-* | --with-* | -without-* | --without-* | --x)
1747 case "$ac_configure_args0 " in
1748 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1751 -* ) ac_must_keep_next=true ;;
1754 as_fn_append ac_configure_args " '$ac_arg'"
1759 { ac_configure_args0=; unset ac_configure_args0;}
1760 { ac_configure_args1=; unset ac_configure_args1;}
1762 # When interrupted or exit'd, cleanup temporary files, and complete
1763 # config.log. We remove comments because anyway the quotes in there
1764 # would cause problems or look ugly.
1765 # WARNING: Use '\'' to represent an apostrophe within the trap.
1766 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1767 trap 'exit_status=$?
1768 # Save into config.log some information that might help in debugging.
1773 ## ---------------- ##
1774 ## Cache variables. ##
1775 ## ---------------- ##
1778 # The following way of writing the cache mishandles newlines in values,
1780 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1781 eval ac_val=\$$ac_var
1785 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1786 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1789 _ | IFS | as_nl) ;; #(
1790 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1791 *) { eval $ac_var=; unset $ac_var;} ;;
1796 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1797 *${as_nl}ac_space=\ *)
1799 "s/'\''/'\''\\\\'\'''\''/g;
1800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1811 ## ----------------- ##
1812 ## Output variables. ##
1813 ## ----------------- ##
1816 for ac_var in $ac_subst_vars
1818 eval ac_val=\$$ac_var
1820 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1822 $as_echo "$ac_var='\''$ac_val'\''"
1826 if test -n "$ac_subst_files"; then
1828 ## ------------------- ##
1829 ## File substitutions. ##
1830 ## ------------------- ##
1833 for ac_var in $ac_subst_files
1835 eval ac_val=\$$ac_var
1837 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1839 $as_echo "$ac_var='\''$ac_val'\''"
1844 if test -s confdefs.h; then
1854 test "$ac_signal" != 0 &&
1855 $as_echo "$as_me: caught signal $ac_signal"
1856 $as_echo "$as_me: exit $exit_status"
1858 rm -f core *.core core.conftest.* &&
1859 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1862 for ac_signal in 1 2 13 15; do
1863 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1867 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1868 rm -f -r conftest* confdefs.h
1870 $as_echo "/* confdefs.h */" > confdefs.h
1872 # Predefined preprocessor variables.
1874 cat >>confdefs.h <<_ACEOF
1875 #define PACKAGE_NAME "$PACKAGE_NAME"
1878 cat >>confdefs.h <<_ACEOF
1879 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1882 cat >>confdefs.h <<_ACEOF
1883 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1886 cat >>confdefs.h <<_ACEOF
1887 #define PACKAGE_STRING "$PACKAGE_STRING"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_URL "$PACKAGE_URL"
1899 # Let the site file select an alternate cache file if it wants to.
1900 # Prefer an explicitly selected file to automatically selected ones.
1903 if test -n "$CONFIG_SITE"; then
1904 ac_site_file1=$CONFIG_SITE
1905 elif test "x$prefix" != xNONE; then
1906 ac_site_file1=$prefix/share/config.site
1907 ac_site_file2=$prefix/etc/config.site
1909 ac_site_file1=$ac_default_prefix/share/config.site
1910 ac_site_file2=$ac_default_prefix/etc/config.site
1912 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1914 test "x$ac_site_file" = xNONE && continue
1915 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1917 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1918 sed 's/^/| /' "$ac_site_file" >&5
1923 if test -r "$cache_file"; then
1924 # Some versions of bash will fail to source /dev/null (special files
1925 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1926 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1928 $as_echo "$as_me: loading cache $cache_file" >&6;}
1930 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1931 *) . "./$cache_file";;
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1936 $as_echo "$as_me: creating cache $cache_file" >&6;}
1940 # Check that the precious variables saved in the cache have kept the same
1942 ac_cache_corrupted=false
1943 for ac_var in $ac_precious_vars; do
1944 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1945 eval ac_new_set=\$ac_env_${ac_var}_set
1946 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1947 eval ac_new_val=\$ac_env_${ac_var}_value
1948 case $ac_old_set,$ac_new_set in
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1951 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1952 ac_cache_corrupted=: ;;
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1955 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1956 ac_cache_corrupted=: ;;
1959 if test "x$ac_old_val" != "x$ac_new_val"; then
1960 # differences in whitespace do not lead to failure.
1961 ac_old_val_w=`echo x $ac_old_val`
1962 ac_new_val_w=`echo x $ac_new_val`
1963 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1965 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1966 ac_cache_corrupted=:
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1969 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1970 eval $ac_var=\$ac_old_val
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1973 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1975 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1978 # Pass precious variables to config.status.
1979 if test "$ac_new_set" = set; then
1981 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1982 *) ac_arg=$ac_var=$ac_new_val ;;
1984 case " $ac_configure_args " in
1985 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1986 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1990 if $ac_cache_corrupted; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1994 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1995 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1997 ## -------------------- ##
1998 ## Main body of script. ##
1999 ## -------------------- ##
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 am__api_version='1.11'
2011 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2012 for ac_t in install-sh install.sh shtool; do
2013 if test -f "$ac_dir/$ac_t"; then
2015 ac_install_sh="$ac_aux_dir/$ac_t -c"
2020 if test -z "$ac_aux_dir"; then
2021 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2024 # These three variables are undocumented and unsupported,
2025 # and are intended to be withdrawn in a future Autoconf release.
2026 # They can cause serious problems if a builder's source tree is in a directory
2027 # whose full name contains unusual characters.
2028 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2029 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2030 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2033 # Find a good install program. We prefer a C program (faster),
2034 # so one script is as good as another. But avoid the broken or
2035 # incompatible versions:
2036 # SysV /etc/install, /usr/sbin/install
2037 # SunOS /usr/etc/install
2038 # IRIX /sbin/install
2040 # AmigaOS /C/install, which installs bootblocks on floppy discs
2041 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2042 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2043 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2044 # OS/2's system install, which has a completely different semantic
2045 # ./install, which can be erroneously created by make from ./install.sh.
2046 # Reject install programs that cannot install multiple files.
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2048 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2049 if test -z "$INSTALL"; then
2050 if test "${ac_cv_path_install+set}" = set; then :
2051 $as_echo_n "(cached) " >&6
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 test -z "$as_dir" && as_dir=.
2058 # Account for people who put trailing slashes in PATH elements.
2059 case $as_dir/ in #((
2060 ./ | .// | /[cC]/* | \
2061 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2062 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2065 # OSF1 and SCO ODT 3.0 have their own names for install.
2066 # Don't use installbsd from OSF since it installs stuff as root
2068 for ac_prog in ginstall scoinst install; do
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2071 if test $ac_prog = install &&
2072 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2073 # AIX install. It has an incompatible calling convention.
2075 elif test $ac_prog = install &&
2076 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2077 # program-specific install script used by HP pwplus--don't use.
2080 rm -rf conftest.one conftest.two conftest.dir
2081 echo one > conftest.one
2082 echo two > conftest.two
2084 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2085 test -s conftest.one && test -s conftest.two &&
2086 test -s conftest.dir/conftest.one &&
2087 test -s conftest.dir/conftest.two
2089 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2102 rm -rf conftest.one conftest.two conftest.dir
2105 if test "${ac_cv_path_install+set}" = set; then
2106 INSTALL=$ac_cv_path_install
2108 # As a last resort, use the slow shell script. Don't cache a
2109 # value for INSTALL within a source directory, because that will
2110 # break other packages using the cache if that directory is
2111 # removed, or if the value is a relative name.
2112 INSTALL=$ac_install_sh
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2116 $as_echo "$INSTALL" >&6; }
2118 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2119 # It thinks the first close brace ends the variable substitution.
2120 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2122 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2124 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2127 $as_echo_n "checking whether build environment is sane... " >&6; }
2130 echo timestamp > conftest.file
2131 # Reject unsafe characters in $srcdir or the absolute working directory
2132 # name. Accept space and tab only in the latter.
2136 *[\\\"\#\$\&\'\`$am_lf]*)
2137 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2140 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2141 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2144 # Do `set' in a subshell so we don't clobber the current shell's
2145 # arguments. Must try -L first in case configure is actually a
2146 # symlink; some systems play weird games with the mod time of symlinks
2147 # (eg FreeBSD returns the mod time of the symlink's containing
2150 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2151 if test "$*" = "X"; then
2153 set X `ls -t "$srcdir/configure" conftest.file`
2156 if test "$*" != "X $srcdir/configure conftest.file" \
2157 && test "$*" != "X conftest.file $srcdir/configure"; then
2159 # If neither matched, then we have a broken ls. This can happen
2160 # if, for instance, CONFIG_SHELL is bash and it inherits a
2161 # broken ls alias from the environment. This has actually
2162 # happened. Such a system could not be considered "sane".
2163 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2164 alias in your environment" "$LINENO" 5
2167 test "$2" = conftest.file
2173 as_fn_error "newly created file is older than distributed files!
2174 Check your system clock" "$LINENO" 5
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2177 $as_echo "yes" >&6; }
2178 test "$program_prefix" != NONE &&
2179 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2180 # Use a double $ so make ignores it.
2181 test "$program_suffix" != NONE &&
2182 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2183 # Double any \ or $.
2184 # By default was `s,x,x', remove it if useless.
2185 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2186 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2188 # expand $ac_aux_dir to an absolute path
2189 am_aux_dir=`cd $ac_aux_dir && pwd`
2191 if test x"${MISSING+set}" != xset; then
2194 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2196 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2199 # Use eval to expand $SHELL
2200 if eval "$MISSING --run true"; then
2201 am_missing_run="$MISSING --run "
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2205 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2208 if test x"${install_sh}" != xset; then
2211 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2213 install_sh="\${SHELL} $am_aux_dir/install-sh"
2217 # Installed binaries are usually stripped using `strip' when the user
2218 # run `make install-strip'. However `strip' might not be the right
2219 # tool to use in cross-compilation environments, therefore Automake
2220 # will honor the `STRIP' environment variable to overrule this program.
2221 if test "$cross_compiling" != no; then
2222 if test -n "$ac_tool_prefix"; then
2223 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2224 set dummy ${ac_tool_prefix}strip; ac_word=$2
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2226 $as_echo_n "checking for $ac_word... " >&6; }
2227 if test "${ac_cv_prog_STRIP+set}" = set; then :
2228 $as_echo_n "(cached) " >&6
2230 if test -n "$STRIP"; then
2231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 STRIP=$ac_cv_prog_STRIP
2251 if test -n "$STRIP"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2253 $as_echo "$STRIP" >&6; }
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2256 $as_echo "no" >&6; }
2261 if test -z "$ac_cv_prog_STRIP"; then
2263 # Extract the first word of "strip", so it can be a program name with args.
2264 set dummy strip; ac_word=$2
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2266 $as_echo_n "checking for $ac_word... " >&6; }
2267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2268 $as_echo_n "(cached) " >&6
2270 if test -n "$ac_ct_STRIP"; then
2271 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_ac_ct_STRIP="strip"
2281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2291 if test -n "$ac_ct_STRIP"; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2293 $as_echo "$ac_ct_STRIP" >&6; }
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2296 $as_echo "no" >&6; }
2299 if test "x$ac_ct_STRIP" = x; then
2302 case $cross_compiling:$ac_tool_warned in
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2306 ac_tool_warned=yes ;;
2311 STRIP="$ac_cv_prog_STRIP"
2315 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2318 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2319 if test -z "$MKDIR_P"; then
2320 if test "${ac_cv_path_mkdir+set}" = set; then :
2321 $as_echo_n "(cached) " >&6
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2327 test -z "$as_dir" && as_dir=.
2328 for ac_prog in mkdir gmkdir; do
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2331 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2332 'mkdir (GNU coreutils) '* | \
2333 'mkdir (coreutils) '* | \
2334 'mkdir (fileutils) '4.1*)
2335 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2345 test -d ./--version && rmdir ./--version
2346 if test "${ac_cv_path_mkdir+set}" = set; then
2347 MKDIR_P="$ac_cv_path_mkdir -p"
2349 # As a last resort, use the slow shell script. Don't cache a
2350 # value for MKDIR_P within a source directory, because that will
2351 # break other packages using the cache if that directory is
2352 # removed, or if the value is a relative name.
2353 MKDIR_P="$ac_install_sh -d"
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2357 $as_echo "$MKDIR_P" >&6; }
2361 [\\/$]* | ?:[\\/]*) ;;
2362 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2365 for ac_prog in gawk mawk nawk awk
2367 # Extract the first word of "$ac_prog", so it can be a program name with args.
2368 set dummy $ac_prog; ac_word=$2
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2370 $as_echo_n "checking for $ac_word... " >&6; }
2371 if test "${ac_cv_prog_AWK+set}" = set; then :
2372 $as_echo_n "(cached) " >&6
2374 if test -n "$AWK"; then
2375 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 test -z "$as_dir" && as_dir=.
2382 for ac_exec_ext in '' $ac_executable_extensions; do
2383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2384 ac_cv_prog_AWK="$ac_prog"
2385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 if test -n "$AWK"; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2397 $as_echo "$AWK" >&6; }
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2400 $as_echo "no" >&6; }
2404 test -n "$AWK" && break
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2408 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2410 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2411 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2412 $as_echo_n "(cached) " >&6
2414 cat >conftest.make <<\_ACEOF
2417 @echo '@@@%%%=$(MAKE)=@@@%%%'
2419 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2420 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2422 eval ac_cv_prog_make_${ac_make}_set=yes;;
2424 eval ac_cv_prog_make_${ac_make}_set=no;;
2428 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2430 $as_echo "yes" >&6; }
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2435 SET_MAKE="MAKE=${MAKE-make}"
2438 rm -rf .tst 2>/dev/null
2439 mkdir .tst 2>/dev/null
2440 if test -d .tst; then
2445 rmdir .tst 2>/dev/null
2447 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2448 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2449 # is not polluted with repeated "-I."
2450 am__isrc=' -I$(srcdir)'
2451 # test to see if srcdir already configured
2452 if test -f $srcdir/config.status; then
2453 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2457 # test whether we have cygpath
2458 if test -z "$CYGPATH_W"; then
2459 if (cygpath --version) >/dev/null 2>/dev/null; then
2460 CYGPATH_W='cygpath -w'
2467 # Define the identity of the package.
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE "$PACKAGE"
2477 cat >>confdefs.h <<_ACEOF
2478 #define VERSION "$VERSION"
2481 # Some tools Automake needs.
2483 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2486 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2489 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2492 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2495 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2497 # We need awk for the "check" target. The system "awk" is bad on
2499 # Always define AMTAR for backward compatibility.
2501 AMTAR=${AMTAR-"${am_missing_run}tar"}
2503 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2511 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2512 # Check whether --enable-maintainer-mode was given.
2513 if test "${enable_maintainer_mode+set}" = set; then :
2514 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2516 USE_MAINTAINER_MODE=no
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2520 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2521 if test $USE_MAINTAINER_MODE = yes; then
2522 MAINTAINER_MODE_TRUE=
2523 MAINTAINER_MODE_FALSE='#'
2525 MAINTAINER_MODE_TRUE='#'
2526 MAINTAINER_MODE_FALSE=
2529 MAINT=$MAINTAINER_MODE_TRUE
2533 # Require xorg-macros: XORG_DEFAULT_OPTIONS
2545 DEPDIR="${am__leading_dot}deps"
2547 ac_config_commands="$ac_config_commands depfiles"
2550 am_make=${MAKE-make}
2551 cat > confinc << 'END'
2553 @echo this is the am__doit target
2556 # If we don't find an include directive, just comment out the code.
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2558 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2562 # First try GNU make style include.
2563 echo "include confinc" > confmf
2564 # Ignore all kinds of additional output from `make'.
2565 case `$am_make -s -f confmf 2> /dev/null` in #(
2566 *the\ am__doit\ target*)
2572 # Now try BSD make style include.
2573 if test "$am__include" = "#"; then
2574 echo '.include "confinc"' > confmf
2575 case `$am_make -s -f confmf 2> /dev/null` in #(
2576 *the\ am__doit\ target*)
2577 am__include=.include
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2586 $as_echo "$_am_result" >&6; }
2587 rm -f confinc confmf
2589 # Check whether --enable-dependency-tracking was given.
2590 if test "${enable_dependency_tracking+set}" = set; then :
2591 enableval=$enable_dependency_tracking;
2594 if test "x$enable_dependency_tracking" != xno; then
2595 am_depcomp="$ac_aux_dir/depcomp"
2598 if test "x$enable_dependency_tracking" != xno; then
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if test "${ac_cv_prog_CC+set}" = set; then :
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$CC"; then
2621 ac_cv_prog_CC="$CC" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 if test -n "$CC"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2643 $as_echo "$CC" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2651 if test -z "$ac_cv_prog_CC"; then
2653 # Extract the first word of "gcc", so it can be a program name with args.
2654 set dummy gcc; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$ac_ct_CC"; then
2661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_ac_ct_CC="gcc"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2681 if test -n "$ac_ct_CC"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2683 $as_echo "$ac_ct_CC" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2689 if test "x$ac_ct_CC" = x; then
2692 case $cross_compiling:$ac_tool_warned in
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned=yes ;;
2704 if test -z "$CC"; then
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2707 set dummy ${ac_tool_prefix}cc; ac_word=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if test "${ac_cv_prog_CC+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 if test -n "$CC"; then
2714 ac_cv_prog_CC="$CC" # Let the user override the test.
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir=.
2721 for ac_exec_ext in '' $ac_executable_extensions; do
2722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723 ac_cv_prog_CC="${ac_tool_prefix}cc"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 if test -n "$CC"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2736 $as_echo "$CC" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2745 if test -z "$CC"; then
2746 # Extract the first word of "cc", so it can be a program name with args.
2747 set dummy cc; ac_word=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_CC+set}" = set; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$CC"; then
2754 ac_cv_prog_CC="$CC" # Let the user override the test.
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2765 ac_prog_rejected=yes
2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test $ac_prog_rejected = yes; then
2777 # We found a bogon in the path, so make sure we never use it.
2778 set dummy $ac_cv_prog_CC
2780 if test $# != 0; then
2781 # We chose a different compiler from the bogus one.
2782 # However, it has the same basename, so the bogon will be chosen
2783 # first if we set CC to just the basename; use the full file name.
2785 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$CC"; then
2802 if test -n "$ac_tool_prefix"; then
2803 for ac_prog in cl.exe
2805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_CC+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$CC"; then
2813 ac_cv_prog_CC="$CC" # Let the user override the test.
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test -n "$CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2835 $as_echo "$CC" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$CC" && break
2845 if test -z "$CC"; then
2847 for ac_prog in cl.exe
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy $ac_prog; ac_word=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2854 $as_echo_n "(cached) " >&6
2856 if test -n "$ac_ct_CC"; then
2857 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir=.
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2866 ac_cv_prog_ac_ct_CC="$ac_prog"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2877 if test -n "$ac_ct_CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2879 $as_echo "$ac_ct_CC" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2886 test -n "$ac_ct_CC" && break
2889 if test "x$ac_ct_CC" = x; then
2892 case $cross_compiling:$ac_tool_warned in
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2896 ac_tool_warned=yes ;;
2905 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2907 as_fn_error "no acceptable C compiler found in \$PATH
2908 See \`config.log' for more details." "$LINENO" 5; }
2910 # Provide some information about the compiler.
2911 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2914 for ac_option in --version -v -V -qversion; do
2915 { { ac_try="$ac_compiler $ac_option >&5"
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2924 if test -s conftest.err; then
2926 ... rest of stderr output deleted ...
2927 10q' conftest.err >conftest.er1
2928 cat conftest.er1 >&5
2930 rm -f conftest.er1 conftest.err
2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932 test $ac_status = 0; }
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2946 ac_clean_files_save=$ac_clean_files
2947 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2948 # Try to create an executable without -o first, disregard a.out.
2949 # It will help us diagnose broken compilers, and finding out an intuition
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2952 $as_echo_n "checking whether the C compiler works... " >&6; }
2953 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2955 # The possible output files:
2956 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2959 for ac_file in $ac_files
2962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2963 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2968 if { { ac_try="$ac_link_default"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2974 $as_echo "$ac_try_echo"; } >&5
2975 (eval "$ac_link_default") 2>&5
2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; }; then :
2979 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2980 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2981 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2982 # so that the user can short-circuit this test for compilers unknown to
2984 for ac_file in $ac_files ''
2986 test -f "$ac_file" || continue
2988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2991 # We found the default executable, but exeext='' is most
2995 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2997 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2999 # We set ac_cv_exeext here because the later test for it is not
3000 # safe: cross compilers may not add the suffix if given an `-o'
3001 # argument, so we may need to know it at that point already.
3002 # Even if this section looks crufty: it has the advantage of
3009 test "$ac_cv_exeext" = no && ac_cv_exeext=
3014 if test -z "$ac_file"; then :
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 { as_fn_set_status 77
3023 as_fn_error "C compiler cannot create executables
3024 See \`config.log' for more details." "$LINENO" 5; }; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3027 $as_echo "yes" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3030 $as_echo_n "checking for C compiler default output file name... " >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3032 $as_echo "$ac_file" >&6; }
3033 ac_exeext=$ac_cv_exeext
3035 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3036 ac_clean_files=$ac_clean_files_save
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3038 $as_echo_n "checking for suffix of executables... " >&6; }
3039 if { { ac_try="$ac_link"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_link") 2>&5
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; }; then :
3050 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3051 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3052 # work properly (i.e., refer to `conftest.exe'), while it won't with
3054 for ac_file in conftest.exe conftest conftest.*; do
3055 test -f "$ac_file" || continue
3057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3058 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 as_fn_error "cannot compute suffix of executables: cannot compile and link
3067 See \`config.log' for more details." "$LINENO" 5; }
3069 rm -f conftest conftest$ac_cv_exeext
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3071 $as_echo "$ac_cv_exeext" >&6; }
3073 rm -f conftest.$ac_ext
3074 EXEEXT=$ac_cv_exeext
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3082 FILE *f = fopen ("conftest.out", "w");
3083 return ferror (f) || fclose (f) != 0;
3089 ac_clean_files="$ac_clean_files conftest.out"
3090 # Check that the compiler produces executables we can run. If not, either
3091 # the compiler is broken, or we cross compile.
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3093 $as_echo_n "checking whether we are cross compiling... " >&6; }
3094 if test "$cross_compiling" != yes; then
3095 { { ac_try="$ac_link"
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_link") 2>&5
3104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105 test $ac_status = 0; }
3106 if { ac_try='./conftest$ac_cv_exeext'
3107 { { case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_try") 2>&5
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; }; }; then
3119 if test "$cross_compiling" = maybe; then
3122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 as_fn_error "cannot run C compiled programs.
3125 If you meant to cross compile, use \`--host'.
3126 See \`config.log' for more details." "$LINENO" 5; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3131 $as_echo "$cross_compiling" >&6; }
3133 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3134 ac_clean_files=$ac_clean_files_save
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3136 $as_echo_n "checking for suffix of object files... " >&6; }
3137 if test "${ac_cv_objext+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3151 rm -f conftest.o conftest.obj
3152 if { { ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159 (eval "$ac_compile") 2>&5
3161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162 test $ac_status = 0; }; then :
3163 for ac_file in conftest.o conftest.obj conftest.*; do
3164 test -f "$ac_file" || continue;
3166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3167 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3177 as_fn_error "cannot compute suffix of object files: cannot compile
3178 See \`config.log' for more details." "$LINENO" 5; }
3180 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3183 $as_echo "$ac_cv_objext" >&6; }
3184 OBJEXT=$ac_cv_objext
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3187 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3188 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3189 $as_echo_n "(cached) " >&6
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3205 if ac_fn_c_try_compile "$LINENO"; then :
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3215 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3216 if test $ac_compiler_gnu = yes; then
3221 ac_test_CFLAGS=${CFLAGS+set}
3222 ac_save_CFLAGS=$CFLAGS
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3224 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3225 if test "${ac_cv_prog_cc_g+set}" = set; then :
3226 $as_echo_n "(cached) " >&6
3228 ac_save_c_werror_flag=$ac_c_werror_flag
3229 ac_c_werror_flag=yes
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3243 if ac_fn_c_try_compile "$LINENO"; then :
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3258 if ac_fn_c_try_compile "$LINENO"; then :
3261 ac_c_werror_flag=$ac_save_c_werror_flag
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 if ac_fn_c_try_compile "$LINENO"; then :
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 ac_c_werror_flag=$ac_save_c_werror_flag
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3285 $as_echo "$ac_cv_prog_cc_g" >&6; }
3286 if test "$ac_test_CFLAGS" = set; then
3287 CFLAGS=$ac_save_CFLAGS
3288 elif test $ac_cv_prog_cc_g = yes; then
3289 if test "$GCC" = yes; then
3295 if test "$GCC" = yes; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3302 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3303 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3306 ac_cv_prog_cc_c89=no
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3312 #include <sys/types.h>
3313 #include <sys/stat.h>
3314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3315 struct buf { int x; };
3316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3317 static char *e (p, i)
3323 static char *f (char * (*g) (char **, int), char **p, ...)
3328 s = g (p, va_arg (v,int));
3333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3334 function prototypes and stuff, but not '\xHH' hex character constants.
3335 These don't provoke an error unfortunately, instead are silently treated
3336 as 'x'. The following induces an error, until -std is added to get
3337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3338 array size at least. It's necessary to write '\x00'==0 to get something
3339 that's true only with -std. */
3340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3343 inside strings and character constants. */
3345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3347 int test (int i, double x);
3348 struct s1 {int (*f) (int a);};
3349 struct s2 {int (*f) (double a);};
3350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3356 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3362 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3364 CC="$ac_save_CC $ac_arg"
3365 if ac_fn_c_try_compile "$LINENO"; then :
3366 ac_cv_prog_cc_c89=$ac_arg
3368 rm -f core conftest.err conftest.$ac_objext
3369 test "x$ac_cv_prog_cc_c89" != "xno" && break
3371 rm -f conftest.$ac_ext
3376 case "x$ac_cv_prog_cc_c89" in
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3379 $as_echo "none needed" >&6; } ;;
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3382 $as_echo "unsupported" >&6; } ;;
3384 CC="$CC $ac_cv_prog_cc_c89"
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3386 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3388 if test "x$ac_cv_prog_cc_c89" != xno; then :
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3398 depcc="$CC" am_compiler_list=
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3401 $as_echo_n "checking dependency style of $depcc... " >&6; }
3402 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3403 $as_echo_n "(cached) " >&6
3405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3406 # We make a subdir and do the tests there. Otherwise we can end up
3407 # making bogus files that we don't know about and never remove. For
3408 # instance it was reported that on HP-UX the gcc test will end up
3409 # making a dummy file named `D' -- because `-MD' means `put the output
3412 # Copy depcomp to subdir because otherwise we won't find it if we're
3413 # using a relative directory.
3414 cp "$am_depcomp" conftest.dir
3416 # We will build objects and dependencies in a subdirectory because
3417 # it helps to detect inapplicable dependency modes. For instance
3418 # both Tru64's cc and ICC support -MD to output dependencies as a
3419 # side effect of compilation, but ICC will put the dependencies in
3420 # the current directory while Tru64 will put them in the object
3424 am_cv_CC_dependencies_compiler_type=none
3425 if test "$am_compiler_list" = ""; then
3426 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3429 case " $depcc " in #(
3430 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3433 for depmode in $am_compiler_list; do
3434 # Setup a source with many dependencies, because some compilers
3435 # like to wrap large dependency lists on column 80 (with \), and
3436 # we should not choose a depcomp mode which is confused by this.
3438 # We need to recreate these files for each test, as the compiler may
3439 # overwrite some of them when testing with obscure command lines.
3440 # This happens at least with the AIX C compiler.
3442 for i in 1 2 3 4 5 6; do
3443 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3444 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3445 # Solaris 8's {/usr,}/bin/sh.
3446 touch sub/conftst$i.h
3448 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3450 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3451 # mode. It turns out that the SunPro C++ compiler does not properly
3452 # handle `-M -o', and we need to detect this. Also, some Intel
3453 # versions had trouble with output in subdirs
3454 am__obj=sub/conftest.${OBJEXT-o}
3455 am__minus_obj="-o $am__obj"
3458 # This depmode causes a compiler race in universal mode.
3459 test "$am__universal" = false || continue
3462 # after this tag, mechanisms are not by side-effect, so they'll
3463 # only be used when explicitly requested
3464 if test "x$enable_dependency_tracking" = xyes; then
3470 msvisualcpp | msvcmsys)
3471 # This compiler won't grok `-c -o', but also, the minuso test has
3472 # not run yet. These depmodes are late enough in the game, and
3473 # so weak that their functioning should not be impacted.
3474 am__obj=conftest.${OBJEXT-o}
3479 if depmode=$depmode \
3480 source=sub/conftest.c object=$am__obj \
3481 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3482 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3483 >/dev/null 2>conftest.err &&
3484 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3485 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3486 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3487 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3488 # icc doesn't choke on unknown options, it will just issue warnings
3489 # or remarks (even with -Werror). So we grep stderr for any message
3490 # that says an option was ignored or not supported.
3491 # When given -MP, icc 7.0 and 7.1 complain thusly:
3492 # icc: Command line warning: ignoring option '-M'; no argument required
3493 # The diagnosis changed in icc 8.0:
3494 # icc: Command line remark: option '-MP' not supported
3495 if (grep 'ignoring option' conftest.err ||
3496 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3497 am_cv_CC_dependencies_compiler_type=$depmode
3506 am_cv_CC_dependencies_compiler_type=none
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3511 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3512 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3515 test "x$enable_dependency_tracking" != xno \
3516 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3518 am__fastdepCC_FALSE='#'
3520 am__fastdepCC_TRUE='#'
3521 am__fastdepCC_FALSE=
3527 ac_cpp='$CPP $CPPFLAGS'
3528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3532 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3533 # On Suns, sometimes $CPP names a directory.
3534 if test -n "$CPP" && test -d "$CPP"; then
3537 if test -z "$CPP"; then
3538 if test "${ac_cv_prog_CPP+set}" = set; then :
3539 $as_echo_n "(cached) " >&6
3541 # Double quotes because CPP needs to be expanded
3542 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3545 for ac_c_preproc_warn_flag in '' yes
3547 # Use a header file that comes with gcc, so configuring glibc
3548 # with a fresh cross-compiler works.
3549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3550 # <limits.h> exists even on freestanding compilers.
3551 # On the NeXT, cc -E runs the code through the compiler's parser,
3552 # not just through cpp. "Syntax error" is here to catch this case.
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3556 # include <limits.h>
3558 # include <assert.h>
3562 if ac_fn_c_try_cpp "$LINENO"; then :
3565 # Broken: fails on valid input.
3568 rm -f conftest.err conftest.$ac_ext
3570 # OK, works on sane cases. Now check whether nonexistent headers
3571 # can be detected and how.
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574 #include <ac_nonexistent.h>
3576 if ac_fn_c_try_cpp "$LINENO"; then :
3577 # Broken: success on invalid input.
3580 # Passes both tests.
3584 rm -f conftest.err conftest.$ac_ext
3587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3588 rm -f conftest.err conftest.$ac_ext
3589 if $ac_preproc_ok; then :
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3602 $as_echo "$CPP" >&6; }
3604 for ac_c_preproc_warn_flag in '' yes
3606 # Use a header file that comes with gcc, so configuring glibc
3607 # with a fresh cross-compiler works.
3608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3609 # <limits.h> exists even on freestanding compilers.
3610 # On the NeXT, cc -E runs the code through the compiler's parser,
3611 # not just through cpp. "Syntax error" is here to catch this case.
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3615 # include <limits.h>
3617 # include <assert.h>
3621 if ac_fn_c_try_cpp "$LINENO"; then :
3624 # Broken: fails on valid input.
3627 rm -f conftest.err conftest.$ac_ext
3629 # OK, works on sane cases. Now check whether nonexistent headers
3630 # can be detected and how.
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3633 #include <ac_nonexistent.h>
3635 if ac_fn_c_try_cpp "$LINENO"; then :
3636 # Broken: success on invalid input.
3639 # Passes both tests.
3643 rm -f conftest.err conftest.$ac_ext
3646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3647 rm -f conftest.err conftest.$ac_ext
3648 if $ac_preproc_ok; then :
3651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3653 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3654 See \`config.log' for more details." "$LINENO" 5; }
3658 ac_cpp='$CPP $CPPFLAGS'
3659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3665 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3666 if test "${ac_cv_path_GREP+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3669 if test -z "$GREP"; then
3670 ac_path_GREP_found=false
3671 # Loop through the user's path and test for each of PROGNAME-LIST
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3676 test -z "$as_dir" && as_dir=.
3677 for ac_prog in grep ggrep; do
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3680 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3681 # Check for GNU ac_path_GREP and select it if it is found.
3682 # Check for GNU $ac_path_GREP
3683 case `"$ac_path_GREP" --version 2>&1` in
3685 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3688 $as_echo_n 0123456789 >"conftest.in"
3691 cat "conftest.in" "conftest.in" >"conftest.tmp"
3692 mv "conftest.tmp" "conftest.in"
3693 cp "conftest.in" "conftest.nl"
3694 $as_echo 'GREP' >> "conftest.nl"
3695 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3696 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3697 as_fn_arith $ac_count + 1 && ac_count=$as_val
3698 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3699 # Best one so far, save it but keep looking for a better one
3700 ac_cv_path_GREP="$ac_path_GREP"
3701 ac_path_GREP_max=$ac_count
3703 # 10*(2^10) chars as input seems more than enough
3704 test $ac_count -gt 10 && break
3706 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3709 $ac_path_GREP_found && break 3
3714 if test -z "$ac_cv_path_GREP"; then
3715 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3718 ac_cv_path_GREP=$GREP
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3723 $as_echo "$ac_cv_path_GREP" >&6; }
3724 GREP="$ac_cv_path_GREP"
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3728 $as_echo_n "checking for egrep... " >&6; }
3729 if test "${ac_cv_path_EGREP+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3732 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3733 then ac_cv_path_EGREP="$GREP -E"
3735 if test -z "$EGREP"; then
3736 ac_path_EGREP_found=false
3737 # Loop through the user's path and test for each of PROGNAME-LIST
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3742 test -z "$as_dir" && as_dir=.
3743 for ac_prog in egrep; do
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3746 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3747 # Check for GNU ac_path_EGREP and select it if it is found.
3748 # Check for GNU $ac_path_EGREP
3749 case `"$ac_path_EGREP" --version 2>&1` in
3751 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3754 $as_echo_n 0123456789 >"conftest.in"
3757 cat "conftest.in" "conftest.in" >"conftest.tmp"
3758 mv "conftest.tmp" "conftest.in"
3759 cp "conftest.in" "conftest.nl"
3760 $as_echo 'EGREP' >> "conftest.nl"
3761 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3762 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3763 as_fn_arith $ac_count + 1 && ac_count=$as_val
3764 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3765 # Best one so far, save it but keep looking for a better one
3766 ac_cv_path_EGREP="$ac_path_EGREP"
3767 ac_path_EGREP_max=$ac_count
3769 # 10*(2^10) chars as input seems more than enough
3770 test $ac_count -gt 10 && break
3772 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3775 $ac_path_EGREP_found && break 3
3780 if test -z "$ac_cv_path_EGREP"; then
3781 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3784 ac_cv_path_EGREP=$EGREP
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3790 $as_echo "$ac_cv_path_EGREP" >&6; }
3791 EGREP="$ac_cv_path_EGREP"
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3795 $as_echo_n "checking for ANSI C header files... " >&6; }
3796 if test "${ac_cv_header_stdc+set}" = set; then :
3797 $as_echo_n "(cached) " >&6
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3814 if ac_fn_c_try_compile "$LINENO"; then :
3815 ac_cv_header_stdc=yes
3817 ac_cv_header_stdc=no
3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 if test $ac_cv_header_stdc = yes; then
3822 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3829 $EGREP "memchr" >/dev/null 2>&1; then :
3832 ac_cv_header_stdc=no
3838 if test $ac_cv_header_stdc = yes; then
3839 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3846 $EGREP "free" >/dev/null 2>&1; then :
3849 ac_cv_header_stdc=no
3855 if test $ac_cv_header_stdc = yes; then
3856 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3857 if test "$cross_compiling" = yes; then :
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3864 #if ((' ' & 0x0FF) == 0x020)
3865 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3866 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3868 # define ISLOWER(c) \
3869 (('a' <= (c) && (c) <= 'i') \
3870 || ('j' <= (c) && (c) <= 'r') \
3871 || ('s' <= (c) && (c) <= 'z'))
3872 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3875 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3880 for (i = 0; i < 256; i++)
3881 if (XOR (islower (i), ISLOWER (i))
3882 || toupper (i) != TOUPPER (i))
3887 if ac_fn_c_try_run "$LINENO"; then :
3890 ac_cv_header_stdc=no
3892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3893 conftest.$ac_objext conftest.beam conftest.$ac_ext
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3899 $as_echo "$ac_cv_header_stdc" >&6; }
3900 if test $ac_cv_header_stdc = yes; then
3902 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3906 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3907 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3908 inttypes.h stdint.h unistd.h
3910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3911 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3913 eval as_val=\$$as_ac_Header
3914 if test "x$as_val" = x""yes; then :
3915 cat >>confdefs.h <<_ACEOF
3916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3925 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3926 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3927 $as_echo_n "(cached) " >&6
3929 ac_cv_prog_cc_c99=no
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3934 #include <stdbool.h>
3939 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3940 #define debug(...) fprintf (stderr, __VA_ARGS__)
3941 #define showlist(...) puts (#__VA_ARGS__)
3942 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3944 test_varargs_macros (void)
3949 debug ("X = %d\n", x);
3950 showlist (The first, second, and third items.);
3951 report (x>y, "x is %d but y is %d", x, y);
3954 // Check long long types.
3955 #define BIG64 18446744073709551615ull
3956 #define BIG32 4294967295ul
3957 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3959 your preprocessor is broken;
3963 your preprocessor is broken;
3965 static long long int bignum = -9223372036854775807LL;
3966 static unsigned long long int ubignum = BIG64;
3968 struct incomplete_array
3976 const wchar_t *name;
3980 typedef const char *ccp;
3983 test_restrict (ccp restrict text)
3985 // See if C++-style comments work.
3986 // Iterate through items via the restricted pointer.
3987 // Also check for declarations in for loops.
3988 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3993 // Check varargs and va_copy.
3995 test_varargs (const char *format, ...)
3998 va_start (args, format);
4000 va_copy (args_copy, args);
4011 str = va_arg (args_copy, const char *);
4014 number = va_arg (args_copy, int);
4017 fnumber = va_arg (args_copy, double);
4032 _Bool success = false;
4035 if (test_restrict ("String literal") == 0)
4037 char *restrict newvar = "Another string";
4040 test_varargs ("s, d' f .", "string", 65, 34.234);
4041 test_varargs_macros ();
4043 // Check flexible array members.
4044 struct incomplete_array *ia =
4045 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4047 for (int i = 0; i < ia->datasize; ++i)
4048 ia->data[i] = i * 1.234;
4050 // Check named initializers.
4051 struct named_init ni = {
4053 .name = L"Test wide string",
4054 .average = 543.34343,
4059 int dynamic_array[ni.number];
4060 dynamic_array[ni.number - 1] = 543;
4062 // work around unused variable warnings
4063 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4064 || dynamic_array[ni.number - 1] != 543);
4070 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4072 CC="$ac_save_CC $ac_arg"
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074 ac_cv_prog_cc_c99=$ac_arg
4076 rm -f core conftest.err conftest.$ac_objext
4077 test "x$ac_cv_prog_cc_c99" != "xno" && break
4079 rm -f conftest.$ac_ext
4084 case "x$ac_cv_prog_cc_c99" in
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4087 $as_echo "none needed" >&6; } ;;
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4090 $as_echo "unsupported" >&6; } ;;
4092 CC="$CC $ac_cv_prog_cc_c99"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4094 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4096 if test "x$ac_cv_prog_cc_c99" != xno; then :
4107 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4108 if test -n "$ac_tool_prefix"; then
4109 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4110 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4118 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4128 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4140 if test -n "$PKG_CONFIG"; then
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4142 $as_echo "$PKG_CONFIG" >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4150 if test -z "$ac_cv_path_PKG_CONFIG"; then
4151 ac_pt_PKG_CONFIG=$PKG_CONFIG
4152 # Extract the first word of "pkg-config", so it can be a program name with args.
4153 set dummy pkg-config; ac_word=$2
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 $as_echo_n "checking for $ac_word... " >&6; }
4156 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4159 case $ac_pt_PKG_CONFIG in
4161 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4183 if test -n "$ac_pt_PKG_CONFIG"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4185 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4191 if test "x$ac_pt_PKG_CONFIG" = x; then
4194 case $cross_compiling:$ac_tool_warned in
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4198 ac_tool_warned=yes ;;
4200 PKG_CONFIG=$ac_pt_PKG_CONFIG
4203 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4207 if test -n "$PKG_CONFIG"; then
4208 _pkg_min_version=0.9.0
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4210 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4211 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4213 $as_echo "yes" >&6; }
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4220 # Make sure we can run config.sub.
4221 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4222 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4225 $as_echo_n "checking build system type... " >&6; }
4226 if test "${ac_cv_build+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 ac_build_alias=$build_alias
4230 test "x$ac_build_alias" = x &&
4231 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4232 test "x$ac_build_alias" = x &&
4233 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4234 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4235 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4239 $as_echo "$ac_cv_build" >&6; }
4240 case $ac_cv_build in
4242 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4245 ac_save_IFS=$IFS; IFS='-'
4251 # Remember, the first character of IFS is used to create $*,
4252 # except with old shells:
4255 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4259 $as_echo_n "checking host system type... " >&6; }
4260 if test "${ac_cv_host+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4263 if test "x$host_alias" = x; then
4264 ac_cv_host=$ac_cv_build
4266 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4267 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4272 $as_echo "$ac_cv_host" >&6; }
4275 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4278 ac_save_IFS=$IFS; IFS='-'
4284 # Remember, the first character of IFS is used to create $*,
4285 # except with old shells:
4288 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4294 if test "x$GCC" = xyes ; then
4295 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4296 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4297 -Wbad-function-cast -Wformat=2"
4298 case `$CC -dumpversion` in
4300 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4304 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4305 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4311 if test "x$SUNCC" = "xyes"; then
4322 # Check whether --enable-strict-compilation was given.
4323 if test "${enable_strict_compilation+set}" = set; then :
4324 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4329 if test "x$STRICT_COMPILE" = "xyes"; then
4330 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4331 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4337 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4338 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
4344 if test "x$GCC" = xyes ; then
4345 STRICT_CFLAGS="-pedantic -Werror"
4346 elif test "x$SUNCC" = "xyes"; then
4347 STRICT_CFLAGS="-errwarn"
4348 elif test "x$INTELCC" = "xyes"; then
4349 STRICT_CFLAGS="-Werror"
4352 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4357 # Check whether --with-release-version was given.
4358 if test "${with_release_version+set}" = set; then :
4359 withval=$with_release_version; RELEASE_VERSION="$withval"
4364 if test "x$RELEASE_VERSION" != "x"; then
4365 PACKAGE="$PACKAGE-$RELEASE_VERSION"
4366 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
4368 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4371 cat >>confdefs.h <<_ACEOF
4372 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4375 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4376 if test "x$PVM" = "x"; then
4380 cat >>confdefs.h <<_ACEOF
4381 #define PACKAGE_VERSION_MINOR $PVM
4384 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4385 if test "x$PVP" = "x"; then
4389 cat >>confdefs.h <<_ACEOF
4390 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4395 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4396 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4397 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4398 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4403 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4404 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4405 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4406 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4407 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4413 if test x$APP_MAN_SUFFIX = x ; then
4416 if test x$APP_MAN_DIR = x ; then
4417 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4420 if test x$LIB_MAN_SUFFIX = x ; then
4423 if test x$LIB_MAN_DIR = x ; then
4424 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4427 if test x$FILE_MAN_SUFFIX = x ; then
4429 solaris*) FILE_MAN_SUFFIX=4 ;;
4430 *) FILE_MAN_SUFFIX=5 ;;
4433 if test x$FILE_MAN_DIR = x ; then
4434 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4437 if test x$MISC_MAN_SUFFIX = x ; then
4439 solaris*) MISC_MAN_SUFFIX=5 ;;
4440 *) MISC_MAN_SUFFIX=7 ;;
4443 if test x$MISC_MAN_DIR = x ; then
4444 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4447 if test x$DRIVER_MAN_SUFFIX = x ; then
4449 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4450 *) DRIVER_MAN_SUFFIX=4 ;;
4453 if test x$DRIVER_MAN_DIR = x ; then
4454 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4457 if test x$ADMIN_MAN_SUFFIX = x ; then
4459 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4460 *) ADMIN_MAN_SUFFIX=8 ;;
4463 if test x$ADMIN_MAN_DIR = x ; then
4464 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4481 # Check whether --enable-silent-rules was given.
4482 if test "${enable_silent_rules+set}" = set; then :
4483 enableval=$enable_silent_rules;
4486 case $enable_silent_rules in
4487 yes) AM_DEFAULT_VERBOSITY=0;;
4488 no) AM_DEFAULT_VERBOSITY=1;;
4489 *) AM_DEFAULT_VERBOSITY=0;;
4495 ac_config_headers="$ac_config_headers config.h"
4499 ac_cpp='$CPP $CPPFLAGS'
4500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4503 if test -n "$ac_tool_prefix"; then
4504 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if test "${ac_cv_prog_CC+set}" = set; then :
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$CC"; then
4512 ac_cv_prog_CC="$CC" # Let the user override the test.
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$CC"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4534 $as_echo "$CC" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4542 if test -z "$ac_cv_prog_CC"; then
4544 # Extract the first word of "gcc", so it can be a program name with args.
4545 set dummy gcc; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$ac_ct_CC"; then
4552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_ac_ct_CC="gcc"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4572 if test -n "$ac_ct_CC"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4574 $as_echo "$ac_ct_CC" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4580 if test "x$ac_ct_CC" = x; then
4583 case $cross_compiling:$ac_tool_warned in
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4587 ac_tool_warned=yes ;;
4595 if test -z "$CC"; then
4596 if test -n "$ac_tool_prefix"; then
4597 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4598 set dummy ${ac_tool_prefix}cc; ac_word=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if test "${ac_cv_prog_CC+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$CC"; then
4605 ac_cv_prog_CC="$CC" # Let the user override the test.
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir=.
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_CC="${ac_tool_prefix}cc"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 if test -n "$CC"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4627 $as_echo "$CC" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4636 if test -z "$CC"; then
4637 # Extract the first word of "cc", so it can be a program name with args.
4638 set dummy cc; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if test "${ac_cv_prog_CC+set}" = set; then :
4642 $as_echo_n "(cached) " >&6
4644 if test -n "$CC"; then
4645 ac_cv_prog_CC="$CC" # Let the user override the test.
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4656 ac_prog_rejected=yes
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 if test $ac_prog_rejected = yes; then
4668 # We found a bogon in the path, so make sure we never use it.
4669 set dummy $ac_cv_prog_CC
4671 if test $# != 0; then
4672 # We chose a different compiler from the bogus one.
4673 # However, it has the same basename, so the bogon will be chosen
4674 # first if we set CC to just the basename; use the full file name.
4676 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4682 if test -n "$CC"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4684 $as_echo "$CC" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4692 if test -z "$CC"; then
4693 if test -n "$ac_tool_prefix"; then
4694 for ac_prog in cl.exe
4696 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_CC+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$CC"; then
4704 ac_cv_prog_CC="$CC" # Let the user override the test.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724 if test -n "$CC"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4726 $as_echo "$CC" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4733 test -n "$CC" && break
4736 if test -z "$CC"; then
4738 for ac_prog in cl.exe
4740 # Extract the first word of "$ac_prog", so it can be a program name with args.
4741 set dummy $ac_prog; ac_word=$2
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743 $as_echo_n "checking for $ac_word... " >&6; }
4744 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4745 $as_echo_n "(cached) " >&6
4747 if test -n "$ac_ct_CC"; then
4748 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 test -z "$as_dir" && as_dir=.
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757 ac_cv_prog_ac_ct_CC="$ac_prog"
4758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4768 if test -n "$ac_ct_CC"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4770 $as_echo "$ac_ct_CC" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4777 test -n "$ac_ct_CC" && break
4780 if test "x$ac_ct_CC" = x; then
4783 case $cross_compiling:$ac_tool_warned in
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4787 ac_tool_warned=yes ;;
4796 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4798 as_fn_error "no acceptable C compiler found in \$PATH
4799 See \`config.log' for more details." "$LINENO" 5; }
4801 # Provide some information about the compiler.
4802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4805 for ac_option in --version -v -V -qversion; do
4806 { { ac_try="$ac_compiler $ac_option >&5"
4808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809 *) ac_try_echo=$ac_try;;
4811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4812 $as_echo "$ac_try_echo"; } >&5
4813 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4815 if test -s conftest.err; then
4817 ... rest of stderr output deleted ...
4818 10q' conftest.err >conftest.er1
4819 cat conftest.er1 >&5
4821 rm -f conftest.er1 conftest.err
4822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4823 test $ac_status = 0; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4827 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4828 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4829 $as_echo_n "(cached) " >&6
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4845 if ac_fn_c_try_compile "$LINENO"; then :
4850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4851 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4855 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4856 if test $ac_compiler_gnu = yes; then
4861 ac_test_CFLAGS=${CFLAGS+set}
4862 ac_save_CFLAGS=$CFLAGS
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4864 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4865 if test "${ac_cv_prog_cc_g+set}" = set; then :
4866 $as_echo_n "(cached) " >&6
4868 ac_save_c_werror_flag=$ac_c_werror_flag
4869 ac_c_werror_flag=yes
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4883 if ac_fn_c_try_compile "$LINENO"; then :
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4898 if ac_fn_c_try_compile "$LINENO"; then :
4901 ac_c_werror_flag=$ac_save_c_werror_flag
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4914 if ac_fn_c_try_compile "$LINENO"; then :
4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4922 ac_c_werror_flag=$ac_save_c_werror_flag
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4925 $as_echo "$ac_cv_prog_cc_g" >&6; }
4926 if test "$ac_test_CFLAGS" = set; then
4927 CFLAGS=$ac_save_CFLAGS
4928 elif test $ac_cv_prog_cc_g = yes; then
4929 if test "$GCC" = yes; then
4935 if test "$GCC" = yes; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4942 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4943 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4944 $as_echo_n "(cached) " >&6
4946 ac_cv_prog_cc_c89=no
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 #include <sys/types.h>
4953 #include <sys/stat.h>
4954 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4955 struct buf { int x; };
4956 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4957 static char *e (p, i)
4963 static char *f (char * (*g) (char **, int), char **p, ...)
4968 s = g (p, va_arg (v,int));
4973 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4974 function prototypes and stuff, but not '\xHH' hex character constants.
4975 These don't provoke an error unfortunately, instead are silently treated
4976 as 'x'. The following induces an error, until -std is added to get
4977 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4978 array size at least. It's necessary to write '\x00'==0 to get something
4979 that's true only with -std. */
4980 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4982 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4983 inside strings and character constants. */
4985 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4987 int test (int i, double x);
4988 struct s1 {int (*f) (int a);};
4989 struct s2 {int (*f) (double a);};
4990 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4996 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5001 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5002 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5004 CC="$ac_save_CC $ac_arg"
5005 if ac_fn_c_try_compile "$LINENO"; then :
5006 ac_cv_prog_cc_c89=$ac_arg
5008 rm -f core conftest.err conftest.$ac_objext
5009 test "x$ac_cv_prog_cc_c89" != "xno" && break
5011 rm -f conftest.$ac_ext
5016 case "x$ac_cv_prog_cc_c89" in
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5019 $as_echo "none needed" >&6; } ;;
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5022 $as_echo "unsupported" >&6; } ;;
5024 CC="$CC $ac_cv_prog_cc_c89"
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5026 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5028 if test "x$ac_cv_prog_cc_c89" != xno; then :
5033 ac_cpp='$CPP $CPPFLAGS'
5034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5038 depcc="$CC" am_compiler_list=
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5041 $as_echo_n "checking dependency style of $depcc... " >&6; }
5042 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5046 # We make a subdir and do the tests there. Otherwise we can end up
5047 # making bogus files that we don't know about and never remove. For
5048 # instance it was reported that on HP-UX the gcc test will end up
5049 # making a dummy file named `D' -- because `-MD' means `put the output
5052 # Copy depcomp to subdir because otherwise we won't find it if we're
5053 # using a relative directory.
5054 cp "$am_depcomp" conftest.dir
5056 # We will build objects and dependencies in a subdirectory because
5057 # it helps to detect inapplicable dependency modes. For instance
5058 # both Tru64's cc and ICC support -MD to output dependencies as a
5059 # side effect of compilation, but ICC will put the dependencies in
5060 # the current directory while Tru64 will put them in the object
5064 am_cv_CC_dependencies_compiler_type=none
5065 if test "$am_compiler_list" = ""; then
5066 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5069 case " $depcc " in #(
5070 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5073 for depmode in $am_compiler_list; do
5074 # Setup a source with many dependencies, because some compilers
5075 # like to wrap large dependency lists on column 80 (with \), and
5076 # we should not choose a depcomp mode which is confused by this.
5078 # We need to recreate these files for each test, as the compiler may
5079 # overwrite some of them when testing with obscure command lines.
5080 # This happens at least with the AIX C compiler.
5082 for i in 1 2 3 4 5 6; do
5083 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5084 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5085 # Solaris 8's {/usr,}/bin/sh.
5086 touch sub/conftst$i.h
5088 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5090 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5091 # mode. It turns out that the SunPro C++ compiler does not properly
5092 # handle `-M -o', and we need to detect this. Also, some Intel
5093 # versions had trouble with output in subdirs
5094 am__obj=sub/conftest.${OBJEXT-o}
5095 am__minus_obj="-o $am__obj"
5098 # This depmode causes a compiler race in universal mode.
5099 test "$am__universal" = false || continue
5102 # after this tag, mechanisms are not by side-effect, so they'll
5103 # only be used when explicitly requested
5104 if test "x$enable_dependency_tracking" = xyes; then
5110 msvisualcpp | msvcmsys)
5111 # This compiler won't grok `-c -o', but also, the minuso test has
5112 # not run yet. These depmodes are late enough in the game, and
5113 # so weak that their functioning should not be impacted.
5114 am__obj=conftest.${OBJEXT-o}
5119 if depmode=$depmode \
5120 source=sub/conftest.c object=$am__obj \
5121 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5122 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5123 >/dev/null 2>conftest.err &&
5124 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5125 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5126 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5127 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5128 # icc doesn't choke on unknown options, it will just issue warnings
5129 # or remarks (even with -Werror). So we grep stderr for any message
5130 # that says an option was ignored or not supported.
5131 # When given -MP, icc 7.0 and 7.1 complain thusly:
5132 # icc: Command line warning: ignoring option '-M'; no argument required
5133 # The diagnosis changed in icc 8.0:
5134 # icc: Command line remark: option '-MP' not supported
5135 if (grep 'ignoring option' conftest.err ||
5136 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5137 am_cv_CC_dependencies_compiler_type=$depmode
5146 am_cv_CC_dependencies_compiler_type=none
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5151 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5152 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5155 test "x$enable_dependency_tracking" != xno \
5156 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5158 am__fastdepCC_FALSE='#'
5160 am__fastdepCC_TRUE='#'
5161 am__fastdepCC_FALSE=
5168 # Checks for pkg-config packages
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLSFONTS" >&5
5172 $as_echo_n "checking for XLSFONTS... " >&6; }
5174 if test -n "$XLSFONTS_CFLAGS"; then
5175 pkg_cv_XLSFONTS_CFLAGS="$XLSFONTS_CFLAGS"
5176 elif test -n "$PKG_CONFIG"; then
5177 if test -n "$PKG_CONFIG" && \
5178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
5179 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
5181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5182 test $ac_status = 0; }; then
5183 pkg_cv_XLSFONTS_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
5190 if test -n "$XLSFONTS_LIBS"; then
5191 pkg_cv_XLSFONTS_LIBS="$XLSFONTS_LIBS"
5192 elif test -n "$PKG_CONFIG"; then
5193 if test -n "$PKG_CONFIG" && \
5194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
5195 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
5197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5198 test $ac_status = 0; }; then
5199 pkg_cv_XLSFONTS_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
5209 if test $pkg_failed = yes; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5213 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5214 _pkg_short_errors_supported=yes
5216 _pkg_short_errors_supported=no
5218 if test $_pkg_short_errors_supported = yes; then
5219 XLSFONTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
5221 XLSFONTS_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
5223 # Put the nasty error message in config.log where it belongs
5224 echo "$XLSFONTS_PKG_ERRORS" >&5
5226 as_fn_error "Package requirements (x11) were not met:
5228 $XLSFONTS_PKG_ERRORS
5230 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5231 installed software in a non-standard prefix.
5233 Alternatively, you may set the environment variables XLSFONTS_CFLAGS
5234 and XLSFONTS_LIBS to avoid the need to call pkg-config.
5235 See the pkg-config man page for more details." "$LINENO" 5
5236 elif test $pkg_failed = untried; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5241 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
5242 is in your PATH or set the PKG_CONFIG environment variable to the full
5245 Alternatively, you may set the environment variables XLSFONTS_CFLAGS
5246 and XLSFONTS_LIBS to avoid the need to call pkg-config.
5247 See the pkg-config man page for more details.
5249 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5250 See \`config.log' for more details." "$LINENO" 5; }
5252 XLSFONTS_CFLAGS=$pkg_cv_XLSFONTS_CFLAGS
5253 XLSFONTS_LIBS=$pkg_cv_XLSFONTS_LIBS
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5255 $as_echo "yes" >&6; }
5262 ac_config_files="$ac_config_files Makefile"
5264 cat >confcache <<\_ACEOF
5265 # This file is a shell script that caches the results of configure
5266 # tests run on this system so they can be shared between configure
5267 # scripts and configure runs, see configure's option --config-cache.
5268 # It is not useful on other systems. If it contains results you don't
5269 # want to keep, you may remove or edit it.
5271 # config.status only pays attention to the cache file if you give it
5272 # the --recheck option to rerun configure.
5274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5280 # The following way of writing the cache mishandles newlines in values,
5281 # but we know of no workaround that is simple, portable, and efficient.
5282 # So, we kill variables containing newlines.
5283 # Ultrix sh set writes to stderr and can't be redirected directly,
5284 # and sets the high bit in the cache file unless we assign to the vars.
5286 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5287 eval ac_val=\$$ac_var
5291 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5292 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5295 _ | IFS | as_nl) ;; #(
5296 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5297 *) { eval $ac_var=; unset $ac_var;} ;;
5303 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5304 *${as_nl}ac_space=\ *)
5305 # `set' does not quote correctly, so add quotes: double-quote
5306 # substitution turns \\\\ into \\, and sed turns \\ into \.
5309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5312 # `set' quotes correctly as required by POSIX, so do not add quotes.
5313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5324 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5326 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5327 if test -w "$cache_file"; then
5328 test "x$cache_file" != "x/dev/null" &&
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5330 $as_echo "$as_me: updating cache $cache_file" >&6;}
5331 cat confcache >$cache_file
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5340 # Let make expand exec_prefix.
5341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5343 DEFS=-DHAVE_CONFIG_H
5347 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5348 # 1. Remove the extension, and $U if already installed.
5349 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5350 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5352 # will be set to the directory where LIBOBJS objects are built.
5353 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5354 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5358 LTLIBOBJS=$ac_ltlibobjs
5361 if test -n "$EXEEXT"; then
5363 am__EXEEXT_FALSE='#'
5369 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5370 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
5371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5373 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5374 as_fn_error "conditional \"AMDEP\" was never defined.
5375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5377 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5378 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5381 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5382 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5386 : ${CONFIG_STATUS=./config.status}
5388 ac_clean_files_save=$ac_clean_files
5389 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5391 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5393 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5395 # Generated by $as_me.
5396 # Run this file to recreate the current configuration.
5397 # Compiler output produced by configure, useful for debugging
5398 # configure, is in config.log if it exists.
5404 SHELL=\${CONFIG_SHELL-$SHELL}
5407 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5408 ## -------------------- ##
5409 ## M4sh Initialization. ##
5410 ## -------------------- ##
5412 # Be more Bourne compatible
5413 DUALCASE=1; export DUALCASE # for MKS sh
5414 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5417 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5418 # is contrary to our usage. Disable this feature.
5419 alias -g '${1+"$@"}'='"$@"'
5420 setopt NO_GLOB_SUBST
5422 case `(set -o) 2>/dev/null` in #(
5434 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5435 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5436 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5437 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5438 # Prefer a ksh shell builtin over an external printf program on Solaris,
5439 # but without wasting forks for bash or zsh.
5440 if test -z "$BASH_VERSION$ZSH_VERSION" \
5441 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5442 as_echo='print -r --'
5443 as_echo_n='print -rn --'
5444 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5445 as_echo='printf %s\n'
5446 as_echo_n='printf %s'
5448 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5449 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5450 as_echo_n='/usr/ucb/echo -n'
5452 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5453 as_echo_n_body='eval
5457 expr "X$arg" : "X\\(.*\\)$as_nl";
5458 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5460 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5462 export as_echo_n_body
5463 as_echo_n='sh -c $as_echo_n_body as_echo'
5466 as_echo='sh -c $as_echo_body as_echo'
5469 # The user is always right.
5470 if test "${PATH_SEPARATOR+set}" != set; then
5472 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5473 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5480 # We need space, tab and new line, in precisely that order. Quoting is
5481 # there to prevent editors from complaining about space-tab.
5482 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5483 # splitting by setting IFS to empty value.)
5486 # Find who we are. Look in the path if we contain no directory separator.
5488 *[\\/]* ) as_myself=$0 ;;
5489 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir=.
5494 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5500 # We did not find ourselves, most probably we were run as `sh COMMAND'
5501 # in which case we are not to be found in the path.
5502 if test "x$as_myself" = x; then
5505 if test ! -f "$as_myself"; then
5506 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5510 # Unset variables that we do not need and which cause bugs (e.g. in
5511 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5512 # suppresses any "Segmentation fault" message there. '((' could
5513 # trigger a bug in pdksh 5.2.14.
5514 for as_var in BASH_ENV ENV MAIL MAILPATH
5515 do eval test x\${$as_var+set} = xset \
5516 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5529 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5532 # as_fn_error ERROR [LINENO LOG_FD]
5533 # ---------------------------------
5534 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5535 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5536 # script with status $?, using 1 if that was 0.
5539 as_status=$?; test $as_status -eq 0 && as_status=1
5541 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5542 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5544 $as_echo "$as_me: error: $1" >&2
5545 as_fn_exit $as_status
5549 # as_fn_set_status STATUS
5550 # -----------------------
5551 # Set $? to STATUS, without forking.
5555 } # as_fn_set_status
5559 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5569 # Portably unset VAR.
5572 { eval $1=; unset $1;}
5574 as_unset=as_fn_unset
5575 # as_fn_append VAR VALUE
5576 # ----------------------
5577 # Append the text in VALUE to the end of the definition contained in VAR. Take
5578 # advantage of any shell optimizations that allow amortized linear growth over
5579 # repeated appends, instead of the typical quadratic growth present in naive
5581 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5582 eval 'as_fn_append ()
5593 # as_fn_arith ARG...
5594 # ------------------
5595 # Perform arithmetic evaluation on the ARGs, and store the result in the
5596 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5597 # must be portable across $(()) and expr.
5598 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5599 eval 'as_fn_arith ()
5606 as_val=`expr "$@" || test $? -eq 1`
5611 if expr a : '\(a\)' >/dev/null 2>&1 &&
5612 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5618 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5619 as_basename=basename
5624 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5630 as_me=`$as_basename -- "$0" ||
5631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5632 X"$0" : 'X\(//\)$' \| \
5633 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5635 sed '/^.*\/\([^/][^/]*\)\/*$/{
5649 # Avoid depending upon Character Ranges.
5650 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5651 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5652 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5653 as_cr_digits='0123456789'
5654 as_cr_alnum=$as_cr_Letters$as_cr_digits
5656 ECHO_C= ECHO_N= ECHO_T=
5657 case `echo -n x` in #(((((
5659 case `echo 'xy\c'` in
5660 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5662 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5669 rm -f conf$$ conf$$.exe conf$$.file
5670 if test -d conf$$.dir; then
5671 rm -f conf$$.dir/conf$$.file
5674 mkdir conf$$.dir 2>/dev/null
5676 if (echo >conf$$.file) 2>/dev/null; then
5677 if ln -s conf$$.file conf$$ 2>/dev/null; then
5679 # ... but there are two gotchas:
5680 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5681 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5682 # In both cases, we have to default to `cp -p'.
5683 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5685 elif ln conf$$.file conf$$ 2>/dev/null; then
5693 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5694 rmdir conf$$.dir 2>/dev/null
5699 # Create "$as_dir" as a directory, including parents if necessary.
5704 -*) as_dir=./$as_dir;;
5706 test -d "$as_dir" || eval $as_mkdir_p || {
5710 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5711 *) as_qdir=$as_dir;;
5713 as_dirs="'$as_qdir' $as_dirs"
5714 as_dir=`$as_dirname -- "$as_dir" ||
5715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5716 X"$as_dir" : 'X\(//\)[^/]' \| \
5717 X"$as_dir" : 'X\(//\)$' \| \
5718 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5719 $as_echo X"$as_dir" |
5720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5737 test -d "$as_dir" && break
5739 test -z "$as_dirs" || eval "mkdir $as_dirs"
5740 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5744 if mkdir -p . 2>/dev/null; then
5745 as_mkdir_p='mkdir -p "$as_dir"'
5747 test -d ./-p && rmdir ./-p
5751 if test -x / >/dev/null 2>&1; then
5754 if ls -dL / >/dev/null 2>&1; then
5761 if test -d "$1"; then
5767 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5768 ???[sx]*):;;*)false;;esac;fi
5772 as_executable_p=$as_test_x
5774 # Sed expression to map a string onto a valid CPP name.
5775 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5777 # Sed expression to map a string onto a valid variable name.
5778 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5782 ## ----------------------------------- ##
5783 ## Main body of $CONFIG_STATUS script. ##
5784 ## ----------------------------------- ##
5786 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5789 # Save the log message, to keep $0 and so on meaningful, and to
5790 # report actual input values of CONFIG_FILES etc. instead of their
5791 # values after options handling.
5793 This file was extended by xlsfonts $as_me 1.0.3, which was
5794 generated by GNU Autoconf 2.65. Invocation command line was
5796 CONFIG_FILES = $CONFIG_FILES
5797 CONFIG_HEADERS = $CONFIG_HEADERS
5798 CONFIG_LINKS = $CONFIG_LINKS
5799 CONFIG_COMMANDS = $CONFIG_COMMANDS
5802 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5807 case $ac_config_files in *"
5808 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5811 case $ac_config_headers in *"
5812 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5817 # Files that config.status was made for.
5818 config_files="$ac_config_files"
5819 config_headers="$ac_config_headers"
5820 config_commands="$ac_config_commands"
5824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5826 \`$as_me' instantiates files and other configuration actions
5827 from templates according to the current configuration. Unless the files
5828 and actions are specified as TAGs, all are instantiated by default.
5830 Usage: $0 [OPTION]... [TAG]...
5832 -h, --help print this help, then exit
5833 -V, --version print version number and configuration settings, then exit
5834 --config print configuration, then exit
5835 -q, --quiet, --silent
5836 do not print progress messages
5837 -d, --debug don't remove temporary files
5838 --recheck update $as_me by reconfiguring in the same conditions
5839 --file=FILE[:TEMPLATE]
5840 instantiate the configuration file FILE
5841 --header=FILE[:TEMPLATE]
5842 instantiate the configuration header FILE
5844 Configuration files:
5847 Configuration headers:
5850 Configuration commands:
5853 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5857 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5859 xlsfonts config.status 1.0.3
5860 configured by $0, generated by GNU Autoconf 2.65,
5861 with options \\"\$ac_cs_config\\"
5863 Copyright (C) 2009 Free Software Foundation, Inc.
5864 This config.status script is free software; the Free Software Foundation
5865 gives unlimited permission to copy, distribute and modify it."
5872 test -n "\$AWK" || AWK=awk
5875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5876 # The default lists apply if the user does not specify any file.
5882 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5883 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5894 # Handling of the options.
5895 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5897 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5898 $as_echo "$ac_cs_version"; exit ;;
5899 --config | --confi | --conf | --con | --co | --c )
5900 $as_echo "$ac_cs_config"; exit ;;
5901 --debug | --debu | --deb | --de | --d | -d )
5903 --file | --fil | --fi | --f )
5906 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5908 as_fn_append CONFIG_FILES " '$ac_optarg'"
5909 ac_need_defaults=false;;
5910 --header | --heade | --head | --hea )
5913 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5915 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5916 ac_need_defaults=false;;
5918 # Conflict between --help and --header
5919 as_fn_error "ambiguous option: \`$1'
5920 Try \`$0 --help' for more information.";;
5921 --help | --hel | -h )
5922 $as_echo "$ac_cs_usage"; exit ;;
5923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5924 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5928 -*) as_fn_error "unrecognized option: \`$1'
5929 Try \`$0 --help' for more information." ;;
5931 *) as_fn_append ac_config_targets " $1"
5932 ac_need_defaults=false ;;
5938 ac_configure_extra_args=
5940 if $ac_cs_silent; then
5942 ac_configure_extra_args="$ac_configure_extra_args --silent"
5946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5947 if \$ac_cs_recheck; then
5948 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5950 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5951 CONFIG_SHELL='$SHELL'
5957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5961 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5962 ## Running $as_me. ##
5968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5972 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5978 # Handling of arguments.
5979 for ac_config_target in $ac_config_targets
5981 case $ac_config_target in
5982 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5983 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5984 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5986 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5991 # If the user did not use the arguments to specify the items to instantiate,
5992 # then the envvar interface is used. Set only those that are not.
5993 # We use the long form for the default assignment because of an extremely
5994 # bizarre bug on SunOS 4.1.3.
5995 if $ac_need_defaults; then
5996 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5997 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5998 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6001 # Have a temporary directory for convenience. Make it in the build tree
6002 # simply because there is no reason against having it here, and in addition,
6003 # creating and moving files from /tmp can sometimes cause problems.
6004 # Hook for its removal unless debugging.
6005 # Note that there is a small window in which the directory will not be cleaned:
6006 # after its creation but before its name has been assigned to `$tmp'.
6010 trap 'exit_status=$?
6011 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6013 trap 'as_fn_exit 1' 1 2 13 15
6015 # Create a (secure) tmp directory for tmp files.
6018 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6019 test -n "$tmp" && test -d "$tmp"
6022 tmp=./conf$$-$RANDOM
6023 (umask 077 && mkdir "$tmp")
6024 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6026 # Set up the scripts for CONFIG_FILES section.
6027 # No need to generate them if there are no CONFIG_FILES.
6028 # This happens for instance with `./config.status config.h'.
6029 if test -n "$CONFIG_FILES"; then
6032 ac_cr=`echo X | tr X '\015'`
6033 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6034 # But we know of no other shell where ac_cr would be empty at this
6035 # point, so we can use a bashism as a fallback.
6036 if test "x$ac_cr" = x; then
6037 eval ac_cr=\$\'\\r\'
6039 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6040 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6046 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6051 echo "cat >conf$$subs.awk <<_ACEOF" &&
6052 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6055 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6056 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6058 for ac_last_try in false false false false false :; do
6059 . ./conf$$subs.sh ||
6060 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6062 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6063 if test $ac_delim_n = $ac_delim_num; then
6065 elif $ac_last_try; then
6066 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6068 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6074 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6078 s/^/S["/; s/!.*/"]=/
6088 s/\(.\{148\}\)..*/\1/
6090 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6095 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6102 s/\(.\{148\}\)..*/\1/
6104 s/["\\]/\\&/g; s/^/"/; s/$/"/
6108 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6113 ' <conf$$subs.awk | sed '
6118 ' >>$CONFIG_STATUS || ac_write_fail=1
6119 rm -f conf$$subs.awk
6120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6122 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6123 for (key in S) S_is_set[key] = 1
6129 nfields = split(line, field, "@")
6131 len = length(field[1])
6132 for (i = 2; i < nfields; i++) {
6134 keylen = length(key)
6135 if (S_is_set[key]) {
6137 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6138 len += length(value) + length(field[++i])
6149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6150 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6151 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6154 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6155 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6158 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6159 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6160 # trailing colons and then remove the whole line if VPATH becomes empty
6161 # (actually we leave an empty line to preserve line numbers).
6162 if test "x$srcdir" = x.; then
6163 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6167 s/^\([^=]*=[ ]*\):*/\1/
6173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6174 fi # test -n "$CONFIG_FILES"
6176 # Set up the scripts for CONFIG_HEADERS section.
6177 # No need to generate them if there are no CONFIG_HEADERS.
6178 # This happens for instance with `./config.status Makefile'.
6179 if test -n "$CONFIG_HEADERS"; then
6180 cat >"$tmp/defines.awk" <<\_ACAWK ||
6184 # Transform confdefs.h into an awk script `defines.awk', embedded as
6185 # here-document in config.status, that substitutes the proper values into
6186 # config.h.in to produce config.h.
6188 # Create a delimiter string that does not exist in confdefs.h, to ease
6189 # handling of long lines.
6191 for ac_last_try in false false :; do
6192 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6193 if test -z "$ac_t"; then
6195 elif $ac_last_try; then
6196 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6198 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6202 # For the awk script, D is an array of macro values keyed by name,
6203 # likewise P contains macro parameters if any. Preserve backslash
6204 # newline sequences.
6206 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6208 s/.\{148\}/&'"$ac_delim"'/g
6211 s/^[ ]*#[ ]*define[ ][ ]*/ /
6218 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6220 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6224 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6225 D["\1"]=" \3\\\\\\n"\\/p
6227 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6232 s/.\{148\}/&'"$ac_delim"'/g
6237 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6240 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6242 ' <confdefs.h | sed '
6243 s/'"$ac_delim"'/"\\\
6244 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6247 for (key in D) D_is_set[key] = 1
6250 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6252 split(line, arg, " ")
6253 if (arg[1] == "#") {
6257 defundef = substr(arg[1], 2)
6260 split(mac1, mac2, "(") #)
6262 prefix = substr(line, 1, index(line, defundef) - 1)
6263 if (D_is_set[macro]) {
6264 # Preserve the white space surrounding the "#".
6265 print prefix "define", macro P[macro] D[macro]
6268 # Replace #undef with comments. This is necessary, for example,
6269 # in the case of _POSIX_SOURCE, which is predefined and required
6270 # on some systems where configure will not decide to define it.
6271 if (defundef == "undef") {
6272 print "/*", prefix defundef, macro, "*/"
6280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6281 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6282 fi # test -n "$CONFIG_HEADERS"
6285 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6290 :[FHLC]) ac_mode=$ac_tag; continue;;
6292 case $ac_mode$ac_tag in
6294 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6295 :[FH]-) ac_tag=-:-;;
6296 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6313 -) ac_f="$tmp/stdin";;
6314 *) # Look for the file first in the build tree, then in the source tree
6315 # (if the path is not absolute). The absolute path cannot be DOS-style,
6316 # because $ac_f cannot contain `:'.
6320 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6322 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6324 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6325 as_fn_append ac_file_inputs " '$ac_f'"
6328 # Let's still pretend it is `configure' which instantiates (i.e., don't
6329 # use $as_me), people would be surprised to read:
6330 # /* config.h. Generated by config.status. */
6331 configure_input='Generated from '`
6332 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6334 if test x"$ac_file" != x-; then
6335 configure_input="$ac_file. $configure_input"
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6337 $as_echo "$as_me: creating $ac_file" >&6;}
6339 # Neutralize special characters interpreted by sed in replacement strings.
6340 case $configure_input in #(
6341 *\&* | *\|* | *\\* )
6342 ac_sed_conf_input=`$as_echo "$configure_input" |
6343 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6344 *) ac_sed_conf_input=$configure_input;;
6348 *:-:* | *:-) cat >"$tmp/stdin" \
6349 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6354 ac_dir=`$as_dirname -- "$ac_file" ||
6355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6356 X"$ac_file" : 'X\(//\)[^/]' \| \
6357 X"$ac_file" : 'X\(//\)$' \| \
6358 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6359 $as_echo X"$ac_file" |
6360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6377 as_dir="$ac_dir"; as_fn_mkdir_p
6381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6384 # A ".." for each directory in $ac_dir_suffix.
6385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6386 case $ac_top_builddir_sub in
6387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6391 ac_abs_top_builddir=$ac_pwd
6392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6393 # for backward compatibility:
6394 ac_top_builddir=$ac_top_build_prefix
6397 .) # We are building in place.
6399 ac_top_srcdir=$ac_top_builddir_sub
6400 ac_abs_top_srcdir=$ac_pwd ;;
6401 [\\/]* | ?:[\\/]* ) # Absolute name.
6402 ac_srcdir=$srcdir$ac_dir_suffix;
6403 ac_top_srcdir=$srcdir
6404 ac_abs_top_srcdir=$srcdir ;;
6406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6407 ac_top_srcdir=$ac_top_build_prefix$srcdir
6408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6420 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6421 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6425 [\\/$]* | ?:[\\/]* ) ;;
6426 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6431 # If the template does not know about datarootdir, expand it.
6432 # FIXME: This hack should be removed a few years after 2.60.
6433 ac_datarootdir_hack=; ac_datarootdir_seen=
6444 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6445 *datarootdir*) ac_datarootdir_seen=yes;;
6446 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6448 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6451 ac_datarootdir_hack='
6452 s&@datadir@&$datadir&g
6453 s&@docdir@&$docdir&g
6454 s&@infodir@&$infodir&g
6455 s&@localedir@&$localedir&g
6456 s&@mandir@&$mandir&g
6457 s&\\\${datarootdir}&$datarootdir&g' ;;
6461 # Neutralize VPATH when `$srcdir' = `.'.
6462 # Shell code in configure.ac might set extrasub.
6463 # FIXME: do we really want to maintain this feature?
6464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6465 ac_sed_extra="$ac_vpsub
6468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6471 s|@configure_input@|$ac_sed_conf_input|;t t
6472 s&@top_builddir@&$ac_top_builddir_sub&;t t
6473 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6474 s&@srcdir@&$ac_srcdir&;t t
6475 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6476 s&@top_srcdir@&$ac_top_srcdir&;t t
6477 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6478 s&@builddir@&$ac_builddir&;t t
6479 s&@abs_builddir@&$ac_abs_builddir&;t t
6480 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6481 s&@INSTALL@&$ac_INSTALL&;t t
6482 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6483 $ac_datarootdir_hack
6485 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6486 || as_fn_error "could not create $ac_file" "$LINENO" 5
6488 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6489 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6490 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6492 which seems to be undefined. Please make sure it is defined." >&5
6493 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6494 which seems to be undefined. Please make sure it is defined." >&2;}
6498 -) cat "$tmp/out" && rm -f "$tmp/out";;
6499 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6501 || as_fn_error "could not create $ac_file" "$LINENO" 5
6507 if test x"$ac_file" != x-; then
6509 $as_echo "/* $configure_input */" \
6510 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6511 } >"$tmp/config.h" \
6512 || as_fn_error "could not create $ac_file" "$LINENO" 5
6513 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6515 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6518 mv "$tmp/config.h" "$ac_file" \
6519 || as_fn_error "could not create $ac_file" "$LINENO" 5
6522 $as_echo "/* $configure_input */" \
6523 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6524 || as_fn_error "could not create -" "$LINENO" 5
6526 # Compute "$ac_file"'s index in $config_headers.
6529 for _am_header in $config_headers :; do
6531 $_am_arg | $_am_arg:* )
6534 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6537 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6538 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6539 X"$_am_arg" : 'X\(//\)[^/]' \| \
6540 X"$_am_arg" : 'X\(//\)$' \| \
6541 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6542 $as_echo X"$_am_arg" |
6543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6559 s/.*/./; q'`/stamp-h$_am_stamp_count
6562 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6563 $as_echo "$as_me: executing $ac_file commands" >&6;}
6568 case $ac_file$ac_mode in
6569 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6570 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6571 # are listed without --file. Let's play safe and only enable the eval
6572 # if we detect the quoting.
6573 case $CONFIG_FILES in
6574 *\'*) eval set x "$CONFIG_FILES" ;;
6575 *) set x $CONFIG_FILES ;;
6580 # Strip MF so we end up with the name of the file.
6581 mf=`echo "$mf" | sed -e 's/:.*$//'`
6582 # Check whether this is an Automake generated Makefile or not.
6583 # We used to match only the files named `Makefile.in', but
6584 # some people rename them; so instead we look at the file content.
6585 # Grep'ing the first line is not enough: some people post-process
6586 # each Makefile.in and add a new line on top of each file to say so.
6587 # Grep'ing the whole file is not good either: AIX grep has a line
6588 # limit of 2048, but all sed's we know have understand at least 4000.
6589 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6590 dirpart=`$as_dirname -- "$mf" ||
6591 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6592 X"$mf" : 'X\(//\)[^/]' \| \
6593 X"$mf" : 'X\(//\)$' \| \
6594 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6616 # Extract the definition of DEPDIR, am__include, and am__quote
6617 # from the Makefile without running `make'.
6618 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6619 test -z "$DEPDIR" && continue
6620 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6621 test -z "am__include" && continue
6622 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6623 # When using ansi2knr, U may be empty or an underscore; expand it
6624 U=`sed -n 's/^U = //p' < "$mf"`
6625 # Find all dependency output files, they are included files with
6626 # $(DEPDIR) in their names. We invoke sed twice because it is the
6627 # simplest approach to changing $(DEPDIR) to its actual value in the
6629 for file in `sed -n "
6630 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6631 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6632 # Make sure the directory exists.
6633 test -f "$dirpart/$file" && continue
6634 fdir=`$as_dirname -- "$file" ||
6635 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6636 X"$file" : 'X\(//\)[^/]' \| \
6637 X"$file" : 'X\(//\)$' \| \
6638 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6657 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6658 # echo "creating $dirpart/$file"
6659 echo '# dummy' > "$dirpart/$file"
6671 ac_clean_files=$ac_clean_files_save
6673 test $ac_write_fail = 0 ||
6674 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6677 # configure is writing to config.log, and then calls config.status.
6678 # config.status does its own redirection, appending to config.log.
6679 # Unfortunately, on DOS this fails, as config.log is still kept open
6680 # by configure, so config.status won't be able to write to it; its
6681 # output is simply discarded. So we exec the FD to /dev/null,
6682 # effectively closing config.log, so it can be properly (re)opened and
6683 # appended to by config.status. When coming back to configure, we
6684 # need to make the FD available again.
6685 if test "$no_create" != yes; then
6687 ac_config_status_args=
6688 test "$silent" = yes &&
6689 ac_config_status_args="$ac_config_status_args --quiet"
6691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6694 # would make configure fail if this is the last instruction.
6695 $ac_cs_success || as_fn_exit $?
6697 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6699 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}