2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for xtoys 1.5.0.
5 # Report bugs to <mdw@distorted.org.uk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
269 $0: mdw@distorted.org.uk about your system, including any
270 $0: error possibly output before this message. Then install
271 $0: a modern shell, or manually run the script under such a
272 $0: shell if you do have one."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
581 PACKAGE_TARNAME='xtoys'
582 PACKAGE_VERSION='1.5.0'
583 PACKAGE_STRING='xtoys 1.5.0'
584 PACKAGE_BUGREPORT='mdw@distorted.org.uk'
587 ac_unique_file="xscsize.c"
588 ac_subst_vars='am__EXEEXT_FALSE
645 INSTALL_STRIP_PROGRAM
687 program_transform_name
700 enable_option_checking
702 enable_dependency_tracking
705 ac_precious_vars='build_alias
723 # Initialize some variables set by options.
725 ac_init_version=false
726 ac_unrecognized_opts=
728 # The variables have the same names as the options, with
729 # dashes changed to underlines.
737 program_transform_name=s,x,x,
745 # Installation directory options.
746 # These are left unexpanded so users can "make install exec_prefix=/foo"
747 # and all the variables that are supposed to be based on exec_prefix
748 # by default will actually change.
749 # Use braces instead of parens because sh, perl, etc. also accept them.
750 # (The list follows the same order as the GNU Coding Standards.)
751 bindir='${exec_prefix}/bin'
752 sbindir='${exec_prefix}/sbin'
753 libexecdir='${exec_prefix}/libexec'
754 datarootdir='${prefix}/share'
755 datadir='${datarootdir}'
756 sysconfdir='${prefix}/etc'
757 sharedstatedir='${prefix}/com'
758 localstatedir='${prefix}/var'
759 includedir='${prefix}/include'
760 oldincludedir='/usr/include'
761 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
762 infodir='${datarootdir}/info'
767 libdir='${exec_prefix}/lib'
768 localedir='${datarootdir}/locale'
769 mandir='${datarootdir}/man'
775 # If the previous option needs an argument, assign it.
776 if test -n "$ac_prev"; then
777 eval $ac_prev=\$ac_option
783 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788 # Accept the important Cygnus configure options, so we can diagnose typos.
790 case $ac_dashdash$ac_option in
794 -bindir | --bindir | --bindi | --bind | --bin | --bi)
796 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799 -build | --build | --buil | --bui | --bu)
800 ac_prev=build_alias ;;
801 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
802 build_alias=$ac_optarg ;;
804 -cache-file | --cache-file | --cache-fil | --cache-fi \
805 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806 ac_prev=cache_file ;;
807 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809 cache_file=$ac_optarg ;;
812 cache_file=config.cache ;;
814 -datadir | --datadir | --datadi | --datad)
816 -datadir=* | --datadir=* | --datadi=* | --datad=*)
817 datadir=$ac_optarg ;;
819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820 | --dataroo | --dataro | --datar)
821 ac_prev=datarootdir ;;
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824 datarootdir=$ac_optarg ;;
826 -disable-* | --disable-*)
827 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830 as_fn_error $? "invalid feature name: $ac_useropt"
831 ac_useropt_orig=$ac_useropt
832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833 case $ac_user_opts in
837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
838 ac_unrecognized_sep=', ';;
840 eval enable_$ac_useropt=no ;;
842 -docdir | --docdir | --docdi | --doc | --do)
844 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
849 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852 -enable-* | --enable-*)
853 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856 as_fn_error $? "invalid feature name: $ac_useropt"
857 ac_useropt_orig=$ac_useropt
858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
864 ac_unrecognized_sep=', ';;
866 eval enable_$ac_useropt=\$ac_optarg ;;
868 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
869 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
870 | --exec | --exe | --ex)
871 ac_prev=exec_prefix ;;
872 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
873 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
874 | --exec=* | --exe=* | --ex=*)
875 exec_prefix=$ac_optarg ;;
877 -gas | --gas | --ga | --g)
878 # Obsolete; use --with-gas.
881 -help | --help | --hel | --he | -h)
883 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
884 ac_init_help=recursive ;;
885 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
886 ac_init_help=short ;;
888 -host | --host | --hos | --ho)
889 ac_prev=host_alias ;;
890 -host=* | --host=* | --hos=* | --ho=*)
891 host_alias=$ac_optarg ;;
893 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
895 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
897 htmldir=$ac_optarg ;;
899 -includedir | --includedir | --includedi | --included | --include \
900 | --includ | --inclu | --incl | --inc)
901 ac_prev=includedir ;;
902 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
903 | --includ=* | --inclu=* | --incl=* | --inc=*)
904 includedir=$ac_optarg ;;
906 -infodir | --infodir | --infodi | --infod | --info | --inf)
908 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
909 infodir=$ac_optarg ;;
911 -libdir | --libdir | --libdi | --libd)
913 -libdir=* | --libdir=* | --libdi=* | --libd=*)
916 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
917 | --libexe | --libex | --libe)
918 ac_prev=libexecdir ;;
919 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
920 | --libexe=* | --libex=* | --libe=*)
921 libexecdir=$ac_optarg ;;
923 -localedir | --localedir | --localedi | --localed | --locale)
925 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
926 localedir=$ac_optarg ;;
928 -localstatedir | --localstatedir | --localstatedi | --localstated \
929 | --localstate | --localstat | --localsta | --localst | --locals)
930 ac_prev=localstatedir ;;
931 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
932 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
933 localstatedir=$ac_optarg ;;
935 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
937 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
941 # Obsolete; use --without-fp.
944 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
945 | --no-cr | --no-c | -n)
948 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
949 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
953 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
954 | --oldin | --oldi | --old | --ol | --o)
955 ac_prev=oldincludedir ;;
956 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
957 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
958 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
959 oldincludedir=$ac_optarg ;;
961 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
963 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966 -program-prefix | --program-prefix | --program-prefi | --program-pref \
967 | --program-pre | --program-pr | --program-p)
968 ac_prev=program_prefix ;;
969 -program-prefix=* | --program-prefix=* | --program-prefi=* \
970 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
971 program_prefix=$ac_optarg ;;
973 -program-suffix | --program-suffix | --program-suffi | --program-suff \
974 | --program-suf | --program-su | --program-s)
975 ac_prev=program_suffix ;;
976 -program-suffix=* | --program-suffix=* | --program-suffi=* \
977 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
978 program_suffix=$ac_optarg ;;
980 -program-transform-name | --program-transform-name \
981 | --program-transform-nam | --program-transform-na \
982 | --program-transform-n | --program-transform- \
983 | --program-transform | --program-transfor \
984 | --program-transfo | --program-transf \
985 | --program-trans | --program-tran \
986 | --progr-tra | --program-tr | --program-t)
987 ac_prev=program_transform_name ;;
988 -program-transform-name=* | --program-transform-name=* \
989 | --program-transform-nam=* | --program-transform-na=* \
990 | --program-transform-n=* | --program-transform-=* \
991 | --program-transform=* | --program-transfor=* \
992 | --program-transfo=* | --program-transf=* \
993 | --program-trans=* | --program-tran=* \
994 | --progr-tra=* | --program-tr=* | --program-t=*)
995 program_transform_name=$ac_optarg ;;
997 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
999 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000 pdfdir=$ac_optarg ;;
1002 -psdir | --psdir | --psdi | --psd | --ps)
1004 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008 | -silent | --silent | --silen | --sile | --sil)
1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1013 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1015 sbindir=$ac_optarg ;;
1017 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1018 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019 | --sharedst | --shareds | --shared | --share | --shar \
1021 ac_prev=sharedstatedir ;;
1022 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1026 sharedstatedir=$ac_optarg ;;
1028 -site | --site | --sit)
1030 -site=* | --site=* | --sit=*)
1033 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1035 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036 srcdir=$ac_optarg ;;
1038 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039 | --syscon | --sysco | --sysc | --sys | --sy)
1040 ac_prev=sysconfdir ;;
1041 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043 sysconfdir=$ac_optarg ;;
1045 -target | --target | --targe | --targ | --tar | --ta | --t)
1046 ac_prev=target_alias ;;
1047 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048 target_alias=$ac_optarg ;;
1050 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1053 -version | --version | --versio | --versi | --vers | -V)
1054 ac_init_version=: ;;
1057 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid package name: $ac_useropt"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1070 eval with_$ac_useropt=\$ac_optarg ;;
1072 -without-* | --without-*)
1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 as_fn_error $? "invalid package name: $ac_useropt"
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1086 eval with_$ac_useropt=no ;;
1089 # Obsolete; use --with-x.
1092 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093 | --x-incl | --x-inc | --x-in | --x-i)
1094 ac_prev=x_includes ;;
1095 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097 x_includes=$ac_optarg ;;
1099 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1100 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101 ac_prev=x_libraries ;;
1102 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104 x_libraries=$ac_optarg ;;
1106 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1107 Try \`$0 --help' for more information"
1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112 # Reject names that are not valid shell variable names.
1113 case $ac_envvar in #(
1114 '' | [0-9]* | *[!_$as_cr_alnum]* )
1115 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1117 eval $ac_envvar=\$ac_optarg
1118 export $ac_envvar ;;
1121 # FIXME: should be removed in autoconf 3.0.
1122 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1131 if test -n "$ac_prev"; then
1132 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133 as_fn_error $? "missing argument to $ac_option"
1136 if test -n "$ac_unrecognized_opts"; then
1137 case $enable_option_checking in
1139 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1140 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1144 # Check all directory arguments for consistency.
1145 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1146 datadir sysconfdir sharedstatedir localstatedir includedir \
1147 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1148 libdir localedir mandir
1150 eval ac_val=\$$ac_var
1151 # Remove trailing slashes.
1154 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1155 eval $ac_var=\$ac_val;;
1157 # Be sure to have absolute directory names.
1159 [\\/$]* | ?:[\\/]* ) continue;;
1160 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1162 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1165 # There might be people who depend on the old broken behavior: `$host'
1166 # used to hold the argument of --host etc.
1167 # FIXME: To remove some day.
1170 target=$target_alias
1172 # FIXME: To remove some day.
1173 if test "x$host_alias" != x; then
1174 if test "x$build_alias" = x; then
1175 cross_compiling=maybe
1176 elif test "x$build_alias" != "x$host_alias"; then
1182 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1184 test "$silent" = yes && exec 6>/dev/null
1187 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1188 ac_ls_di=`ls -di .` &&
1189 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1190 as_fn_error $? "working directory cannot be determined"
1191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192 as_fn_error $? "pwd does not report name of working directory"
1195 # Find the source files, if location was not specified.
1196 if test -z "$srcdir"; then
1197 ac_srcdir_defaulted=yes
1198 # Try the directory containing this script, then the parent directory.
1199 ac_confdir=`$as_dirname -- "$as_myself" ||
1200 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1201 X"$as_myself" : 'X\(//\)[^/]' \| \
1202 X"$as_myself" : 'X\(//\)$' \| \
1203 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1204 $as_echo X"$as_myself" |
1205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 if test ! -r "$srcdir/$ac_unique_file"; then
1227 ac_srcdir_defaulted=no
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1231 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1233 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1235 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1237 # When building in place, set srcdir=.
1238 if test "$ac_abs_confdir" = "$ac_pwd"; then
1241 # Remove unnecessary trailing slashes from srcdir.
1242 # Double slashes in file names in object file debugging info
1243 # mess up M-x gdb in Emacs.
1245 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1247 for ac_var in $ac_precious_vars; do
1248 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1249 eval ac_env_${ac_var}_value=\$${ac_var}
1250 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1251 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1255 # Report the --help message.
1257 if test "$ac_init_help" = "long"; then
1258 # Omit some internal or obsolete options to make the list less imposing.
1259 # This message is too long to be a string in the A/UX 3.1 sh.
1261 \`configure' configures xtoys 1.5.0 to adapt to many kinds of systems.
1263 Usage: $0 [OPTION]... [VAR=VALUE]...
1265 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1266 VAR=VALUE. See below for descriptions of some of the useful variables.
1268 Defaults for the options are specified in brackets.
1271 -h, --help display this help and exit
1272 --help=short display options specific to this package
1273 --help=recursive display the short help of all the included packages
1274 -V, --version display version information and exit
1275 -q, --quiet, --silent do not print \`checking ...' messages
1276 --cache-file=FILE cache test results in FILE [disabled]
1277 -C, --config-cache alias for \`--cache-file=config.cache'
1278 -n, --no-create do not create output files
1279 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1281 Installation directories:
1282 --prefix=PREFIX install architecture-independent files in PREFIX
1283 [$ac_default_prefix]
1284 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1287 By default, \`make install' will install all the files in
1288 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1289 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1290 for instance \`--prefix=\$HOME'.
1292 For better control, use the options below.
1294 Fine tuning of the installation directories:
1295 --bindir=DIR user executables [EPREFIX/bin]
1296 --sbindir=DIR system admin executables [EPREFIX/sbin]
1297 --libexecdir=DIR program executables [EPREFIX/libexec]
1298 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1299 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1300 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1301 --libdir=DIR object code libraries [EPREFIX/lib]
1302 --includedir=DIR C header files [PREFIX/include]
1303 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1304 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1305 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1306 --infodir=DIR info documentation [DATAROOTDIR/info]
1307 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1308 --mandir=DIR man documentation [DATAROOTDIR/man]
1309 --docdir=DIR documentation root [DATAROOTDIR/doc/xtoys]
1310 --htmldir=DIR html documentation [DOCDIR]
1311 --dvidir=DIR dvi documentation [DOCDIR]
1312 --pdfdir=DIR pdf documentation [DOCDIR]
1313 --psdir=DIR ps documentation [DOCDIR]
1319 --program-prefix=PREFIX prepend PREFIX to installed program names
1320 --program-suffix=SUFFIX append SUFFIX to installed program names
1321 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1324 --x-includes=DIR X include files are in DIR
1325 --x-libraries=DIR X library files are in DIR
1329 if test -n "$ac_init_help"; then
1330 case $ac_init_help in
1331 short | recursive ) echo "Configuration of xtoys 1.5.0:";;
1336 --disable-option-checking ignore unrecognized --enable/--with options
1337 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1338 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1339 --enable-silent-rules less verbose build output (undo: `make V=1')
1340 --disable-silent-rules verbose build output (undo: `make V=0')
1341 --disable-dependency-tracking speeds up one-time build
1342 --enable-dependency-tracking do not reject slow dependency extractors
1345 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1346 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1347 --with-x use the X Window System
1349 Some influential environment variables:
1350 CC C compiler command
1351 CFLAGS C compiler flags
1352 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1353 nonstandard directory <lib dir>
1354 LIBS libraries to pass to the linker, e.g. -l<library>
1355 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1356 you have headers in a nonstandard directory <include dir>
1357 XMKMF Path to xmkmf, Makefile generator for X Window System
1359 PKG_CONFIG path to pkg-config utility
1361 directories to add to pkg-config's search path
1363 path overriding pkg-config's built-in search path
1364 mLib_CFLAGS C compiler flags for mLib, overriding pkg-config
1365 mLib_LIBS linker flags for mLib, overriding pkg-config
1366 PYTHON the Python interpreter
1368 Use these variables to override the choices made by `configure' or to help
1369 it to find libraries and programs with nonstandard names/locations.
1371 Report bugs to <mdw@distorted.org.uk>.
1376 if test "$ac_init_help" = "recursive"; then
1377 # If there are subdirs, report their specific --help.
1378 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1379 test -d "$ac_dir" ||
1380 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1385 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1388 # A ".." for each directory in $ac_dir_suffix.
1389 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1390 case $ac_top_builddir_sub in
1391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1395 ac_abs_top_builddir=$ac_pwd
1396 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397 # for backward compatibility:
1398 ac_top_builddir=$ac_top_build_prefix
1401 .) # We are building in place.
1403 ac_top_srcdir=$ac_top_builddir_sub
1404 ac_abs_top_srcdir=$ac_pwd ;;
1405 [\\/]* | ?:[\\/]* ) # Absolute name.
1406 ac_srcdir=$srcdir$ac_dir_suffix;
1407 ac_top_srcdir=$srcdir
1408 ac_abs_top_srcdir=$srcdir ;;
1410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411 ac_top_srcdir=$ac_top_build_prefix$srcdir
1412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1414 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1416 cd "$ac_dir" || { ac_status=$?; continue; }
1417 # Check for guested configure.
1418 if test -f "$ac_srcdir/configure.gnu"; then
1420 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1421 elif test -f "$ac_srcdir/configure"; then
1423 $SHELL "$ac_srcdir/configure" --help=recursive
1425 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1427 cd "$ac_pwd" || { ac_status=$?; break; }
1431 test -n "$ac_init_help" && exit $ac_status
1432 if $ac_init_version; then
1434 xtoys configure 1.5.0
1435 generated by GNU Autoconf 2.69
1437 Copyright (C) 2012 Free Software Foundation, Inc.
1438 This configure script is free software; the Free Software Foundation
1439 gives unlimited permission to copy, distribute and modify it.
1444 ## ------------------------ ##
1445 ## Autoconf initialization. ##
1446 ## ------------------------ ##
1448 # ac_fn_c_try_compile LINENO
1449 # --------------------------
1450 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1451 ac_fn_c_try_compile ()
1453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454 rm -f conftest.$ac_objext
1455 if { { ac_try="$ac_compile"
1457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1458 *) ac_try_echo=$ac_try;;
1460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1461 $as_echo "$ac_try_echo"; } >&5
1462 (eval "$ac_compile") 2>conftest.err
1464 if test -s conftest.err; then
1465 grep -v '^ *+' conftest.err >conftest.er1
1466 cat conftest.er1 >&5
1467 mv -f conftest.er1 conftest.err
1469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1470 test $ac_status = 0; } && {
1471 test -z "$ac_c_werror_flag" ||
1472 test ! -s conftest.err
1473 } && test -s conftest.$ac_objext; then :
1476 $as_echo "$as_me: failed program was:" >&5
1477 sed 's/^/| /' conftest.$ac_ext >&5
1481 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1482 as_fn_set_status $ac_retval
1484 } # ac_fn_c_try_compile
1486 # ac_fn_c_try_cpp LINENO
1487 # ----------------------
1488 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492 if { { ac_try="$ac_cpp conftest.$ac_ext"
1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495 *) ac_try_echo=$ac_try;;
1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498 $as_echo "$ac_try_echo"; } >&5
1499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1501 if test -s conftest.err; then
1502 grep -v '^ *+' conftest.err >conftest.er1
1503 cat conftest.er1 >&5
1504 mv -f conftest.er1 conftest.err
1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507 test $ac_status = 0; } > conftest.i && {
1508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1509 test ! -s conftest.err
1513 $as_echo "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1518 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1519 as_fn_set_status $ac_retval
1523 # ac_fn_c_try_link LINENO
1524 # -----------------------
1525 # Try to link conftest.$ac_ext, and return whether this succeeded.
1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529 rm -f conftest.$ac_objext conftest$ac_exeext
1530 if { { ac_try="$ac_link"
1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533 *) ac_try_echo=$ac_try;;
1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_link") 2>conftest.err
1539 if test -s conftest.err; then
1540 grep -v '^ *+' conftest.err >conftest.er1
1541 cat conftest.er1 >&5
1542 mv -f conftest.er1 conftest.err
1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545 test $ac_status = 0; } && {
1546 test -z "$ac_c_werror_flag" ||
1547 test ! -s conftest.err
1548 } && test -s conftest$ac_exeext && {
1549 test "$cross_compiling" = yes ||
1550 test -x conftest$ac_exeext
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1559 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1560 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1561 # interfere with the next link command; also delete a directory that is
1562 # left behind by Apple's compiler. We do this before executing the actions.
1563 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1567 } # ac_fn_c_try_link
1569 # ac_fn_c_check_func LINENO FUNC VAR
1570 # ----------------------------------
1571 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1572 ac_fn_c_check_func ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1576 $as_echo_n "checking for $2... " >&6; }
1577 if eval \${$3+:} false; then :
1578 $as_echo_n "(cached) " >&6
1580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1581 /* end confdefs.h. */
1582 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1584 #define $2 innocuous_$2
1586 /* System header to define __stub macros and hopefully few prototypes,
1587 which can conflict with char $2 (); below.
1588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1589 <limits.h> exists even on freestanding compilers. */
1592 # include <limits.h>
1594 # include <assert.h>
1599 /* Override any GCC internal prototype to avoid an error.
1600 Use char because int might match the return type of a GCC
1601 builtin and then its argument prototype would still apply. */
1606 /* The GNU C library defines this for functions which it implements
1607 to always fail with ENOSYS. Some functions are actually named
1608 something starting with __ and the normal name is an alias. */
1609 #if defined __stub_$2 || defined __stub___$2
1621 if ac_fn_c_try_link "$LINENO"; then :
1626 rm -f core conftest.err conftest.$ac_objext \
1627 conftest$ac_exeext conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634 } # ac_fn_c_check_func
1635 cat >config.log <<_ACEOF
1636 This file contains any messages produced by compilers while
1637 running configure, to aid debugging if configure makes a mistake.
1639 It was created by xtoys $as_me 1.5.0, which was
1640 generated by GNU Autoconf 2.69. Invocation command line was
1652 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1653 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1654 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1655 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1656 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1658 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1659 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1661 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1662 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1663 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1664 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1665 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1666 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1667 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 test -z "$as_dir" && as_dir=.
1676 $as_echo "PATH: $as_dir"
1692 # Keep a trace of the command line.
1693 # Strip out --no-create and --no-recursion so they do not pile up.
1694 # Strip out --silent because we don't want to record it for future runs.
1695 # Also quote any args containing shell meta-characters.
1696 # Make two passes to allow for proper duplicate-argument suppression.
1700 ac_must_keep_next=false
1706 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1707 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1708 | -silent | --silent | --silen | --sile | --sil)
1711 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1714 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1716 as_fn_append ac_configure_args1 " '$ac_arg'"
1717 if test $ac_must_keep_next = true; then
1718 ac_must_keep_next=false # Got value, back to normal.
1721 *=* | --config-cache | -C | -disable-* | --disable-* \
1722 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1723 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1724 | -with-* | --with-* | -without-* | --without-* | --x)
1725 case "$ac_configure_args0 " in
1726 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1729 -* ) ac_must_keep_next=true ;;
1732 as_fn_append ac_configure_args " '$ac_arg'"
1737 { ac_configure_args0=; unset ac_configure_args0;}
1738 { ac_configure_args1=; unset ac_configure_args1;}
1740 # When interrupted or exit'd, cleanup temporary files, and complete
1741 # config.log. We remove comments because anyway the quotes in there
1742 # would cause problems or look ugly.
1743 # WARNING: Use '\'' to represent an apostrophe within the trap.
1744 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1745 trap 'exit_status=$?
1746 # Save into config.log some information that might help in debugging.
1750 $as_echo "## ---------------- ##
1751 ## Cache variables. ##
1752 ## ---------------- ##"
1754 # The following way of writing the cache mishandles newlines in values,
1756 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1757 eval ac_val=\$$ac_var
1761 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1762 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1765 _ | IFS | as_nl) ;; #(
1766 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1767 *) { eval $ac_var=; unset $ac_var;} ;;
1772 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1773 *${as_nl}ac_space=\ *)
1775 "s/'\''/'\''\\\\'\'''\''/g;
1776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1786 $as_echo "## ----------------- ##
1787 ## Output variables. ##
1788 ## ----------------- ##"
1790 for ac_var in $ac_subst_vars
1792 eval ac_val=\$$ac_var
1794 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1796 $as_echo "$ac_var='\''$ac_val'\''"
1800 if test -n "$ac_subst_files"; then
1801 $as_echo "## ------------------- ##
1802 ## File substitutions. ##
1803 ## ------------------- ##"
1805 for ac_var in $ac_subst_files
1807 eval ac_val=\$$ac_var
1809 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1811 $as_echo "$ac_var='\''$ac_val'\''"
1816 if test -s confdefs.h; then
1817 $as_echo "## ----------- ##
1824 test "$ac_signal" != 0 &&
1825 $as_echo "$as_me: caught signal $ac_signal"
1826 $as_echo "$as_me: exit $exit_status"
1828 rm -f core *.core core.conftest.* &&
1829 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1832 for ac_signal in 1 2 13 15; do
1833 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1837 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1838 rm -f -r conftest* confdefs.h
1840 $as_echo "/* confdefs.h */" > confdefs.h
1842 # Predefined preprocessor variables.
1844 cat >>confdefs.h <<_ACEOF
1845 #define PACKAGE_NAME "$PACKAGE_NAME"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1856 cat >>confdefs.h <<_ACEOF
1857 #define PACKAGE_STRING "$PACKAGE_STRING"
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1864 cat >>confdefs.h <<_ACEOF
1865 #define PACKAGE_URL "$PACKAGE_URL"
1869 # Let the site file select an alternate cache file if it wants to.
1870 # Prefer an explicitly selected file to automatically selected ones.
1873 if test -n "$CONFIG_SITE"; then
1874 # We do not want a PATH search for config.site.
1875 case $CONFIG_SITE in #((
1876 -*) ac_site_file1=./$CONFIG_SITE;;
1877 */*) ac_site_file1=$CONFIG_SITE;;
1878 *) ac_site_file1=./$CONFIG_SITE;;
1880 elif test "x$prefix" != xNONE; then
1881 ac_site_file1=$prefix/share/config.site
1882 ac_site_file2=$prefix/etc/config.site
1884 ac_site_file1=$ac_default_prefix/share/config.site
1885 ac_site_file2=$ac_default_prefix/etc/config.site
1887 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1889 test "x$ac_site_file" = xNONE && continue
1890 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1892 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1893 sed 's/^/| /' "$ac_site_file" >&5
1895 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1897 as_fn_error $? "failed to load site script $ac_site_file
1898 See \`config.log' for more details" "$LINENO" 5; }
1902 if test -r "$cache_file"; then
1903 # Some versions of bash will fail to source /dev/null (special files
1904 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1905 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1907 $as_echo "$as_me: loading cache $cache_file" >&6;}
1909 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1910 *) . "./$cache_file";;
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1915 $as_echo "$as_me: creating cache $cache_file" >&6;}
1919 # Check that the precious variables saved in the cache have kept the same
1921 ac_cache_corrupted=false
1922 for ac_var in $ac_precious_vars; do
1923 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1924 eval ac_new_set=\$ac_env_${ac_var}_set
1925 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1926 eval ac_new_val=\$ac_env_${ac_var}_value
1927 case $ac_old_set,$ac_new_set in
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931 ac_cache_corrupted=: ;;
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1934 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935 ac_cache_corrupted=: ;;
1938 if test "x$ac_old_val" != "x$ac_new_val"; then
1939 # differences in whitespace do not lead to failure.
1940 ac_old_val_w=`echo x $ac_old_val`
1941 ac_new_val_w=`echo x $ac_new_val`
1942 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1944 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1945 ac_cache_corrupted=:
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1948 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1949 eval $ac_var=\$ac_old_val
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1952 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1954 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1957 # Pass precious variables to config.status.
1958 if test "$ac_new_set" = set; then
1960 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1961 *) ac_arg=$ac_var=$ac_new_val ;;
1963 case " $ac_configure_args " in
1964 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1965 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1969 if $ac_cache_corrupted; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1973 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1974 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1976 ## -------------------- ##
1977 ## Main body of script. ##
1978 ## -------------------- ##
1981 ac_cpp='$CPP $CPPFLAGS'
1982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1989 for ac_dir in config "$srcdir"/config; do
1990 if test -f "$ac_dir/install-sh"; then
1992 ac_install_sh="$ac_aux_dir/install-sh -c"
1994 elif test -f "$ac_dir/install.sh"; then
1996 ac_install_sh="$ac_aux_dir/install.sh -c"
1998 elif test -f "$ac_dir/shtool"; then
2000 ac_install_sh="$ac_aux_dir/shtool install -c"
2004 if test -z "$ac_aux_dir"; then
2005 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2008 # These three variables are undocumented and unsupported,
2009 # and are intended to be withdrawn in a future Autoconf release.
2010 # They can cause serious problems if a builder's source tree is in a directory
2011 # whose full name contains unusual characters.
2012 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2013 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2014 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2017 am__api_version='1.11'
2019 # Find a good install program. We prefer a C program (faster),
2020 # so one script is as good as another. But avoid the broken or
2021 # incompatible versions:
2022 # SysV /etc/install, /usr/sbin/install
2023 # SunOS /usr/etc/install
2024 # IRIX /sbin/install
2026 # AmigaOS /C/install, which installs bootblocks on floppy discs
2027 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2028 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2029 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2030 # OS/2's system install, which has a completely different semantic
2031 # ./install, which can be erroneously created by make from ./install.sh.
2032 # Reject install programs that cannot install multiple files.
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2034 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2035 if test -z "$INSTALL"; then
2036 if ${ac_cv_path_install+:} false; then :
2037 $as_echo_n "(cached) " >&6
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 # Account for people who put trailing slashes in PATH elements.
2045 case $as_dir/ in #((
2046 ./ | .// | /[cC]/* | \
2047 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2048 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2051 # OSF1 and SCO ODT 3.0 have their own names for install.
2052 # Don't use installbsd from OSF since it installs stuff as root
2054 for ac_prog in ginstall scoinst install; do
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2057 if test $ac_prog = install &&
2058 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2059 # AIX install. It has an incompatible calling convention.
2061 elif test $ac_prog = install &&
2062 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2063 # program-specific install script used by HP pwplus--don't use.
2066 rm -rf conftest.one conftest.two conftest.dir
2067 echo one > conftest.one
2068 echo two > conftest.two
2070 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2071 test -s conftest.one && test -s conftest.two &&
2072 test -s conftest.dir/conftest.one &&
2073 test -s conftest.dir/conftest.two
2075 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2088 rm -rf conftest.one conftest.two conftest.dir
2091 if test "${ac_cv_path_install+set}" = set; then
2092 INSTALL=$ac_cv_path_install
2094 # As a last resort, use the slow shell script. Don't cache a
2095 # value for INSTALL within a source directory, because that will
2096 # break other packages using the cache if that directory is
2097 # removed, or if the value is a relative name.
2098 INSTALL=$ac_install_sh
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2102 $as_echo "$INSTALL" >&6; }
2104 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2105 # It thinks the first close brace ends the variable substitution.
2106 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2108 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2110 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2113 $as_echo_n "checking whether build environment is sane... " >&6; }
2116 echo timestamp > conftest.file
2117 # Reject unsafe characters in $srcdir or the absolute working directory
2118 # name. Accept space and tab only in the latter.
2122 *[\\\"\#\$\&\'\`$am_lf]*)
2123 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2126 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2127 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2130 # Do `set' in a subshell so we don't clobber the current shell's
2131 # arguments. Must try -L first in case configure is actually a
2132 # symlink; some systems play weird games with the mod time of symlinks
2133 # (eg FreeBSD returns the mod time of the symlink's containing
2136 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2137 if test "$*" = "X"; then
2139 set X `ls -t "$srcdir/configure" conftest.file`
2142 if test "$*" != "X $srcdir/configure conftest.file" \
2143 && test "$*" != "X conftest.file $srcdir/configure"; then
2145 # If neither matched, then we have a broken ls. This can happen
2146 # if, for instance, CONFIG_SHELL is bash and it inherits a
2147 # broken ls alias from the environment. This has actually
2148 # happened. Such a system could not be considered "sane".
2149 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2150 alias in your environment" "$LINENO" 5
2153 test "$2" = conftest.file
2159 as_fn_error $? "newly created file is older than distributed files!
2160 Check your system clock" "$LINENO" 5
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2163 $as_echo "yes" >&6; }
2164 test "$program_prefix" != NONE &&
2165 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2166 # Use a double $ so make ignores it.
2167 test "$program_suffix" != NONE &&
2168 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2169 # Double any \ or $.
2170 # By default was `s,x,x', remove it if useless.
2171 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2172 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2174 # expand $ac_aux_dir to an absolute path
2175 am_aux_dir=`cd $ac_aux_dir && pwd`
2177 if test x"${MISSING+set}" != xset; then
2180 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2182 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2185 # Use eval to expand $SHELL
2186 if eval "$MISSING --run true"; then
2187 am_missing_run="$MISSING --run "
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2191 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2194 if test x"${install_sh}" != xset; then
2197 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2199 install_sh="\${SHELL} $am_aux_dir/install-sh"
2203 # Installed binaries are usually stripped using `strip' when the user
2204 # run `make install-strip'. However `strip' might not be the right
2205 # tool to use in cross-compilation environments, therefore Automake
2206 # will honor the `STRIP' environment variable to overrule this program.
2207 if test "$cross_compiling" != no; then
2208 if test -n "$ac_tool_prefix"; then
2209 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2210 set dummy ${ac_tool_prefix}strip; ac_word=$2
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2212 $as_echo_n "checking for $ac_word... " >&6; }
2213 if ${ac_cv_prog_STRIP+:} false; then :
2214 $as_echo_n "(cached) " >&6
2216 if test -n "$STRIP"; then
2217 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2226 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 STRIP=$ac_cv_prog_STRIP
2237 if test -n "$STRIP"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2239 $as_echo "$STRIP" >&6; }
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2247 if test -z "$ac_cv_prog_STRIP"; then
2249 # Extract the first word of "strip", so it can be a program name with args.
2250 set dummy strip; ac_word=$2
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2252 $as_echo_n "checking for $ac_word... " >&6; }
2253 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2254 $as_echo_n "(cached) " >&6
2256 if test -n "$ac_ct_STRIP"; then
2257 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2266 ac_cv_prog_ac_ct_STRIP="strip"
2267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2277 if test -n "$ac_ct_STRIP"; then
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2279 $as_echo "$ac_ct_STRIP" >&6; }
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2282 $as_echo "no" >&6; }
2285 if test "x$ac_ct_STRIP" = x; then
2288 case $cross_compiling:$ac_tool_warned in
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2292 ac_tool_warned=yes ;;
2297 STRIP="$ac_cv_prog_STRIP"
2301 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2304 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2305 if test -z "$MKDIR_P"; then
2306 if ${ac_cv_path_mkdir+:} false; then :
2307 $as_echo_n "(cached) " >&6
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2313 test -z "$as_dir" && as_dir=.
2314 for ac_prog in mkdir gmkdir; do
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2317 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2318 'mkdir (GNU coreutils) '* | \
2319 'mkdir (coreutils) '* | \
2320 'mkdir (fileutils) '4.1*)
2321 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2331 test -d ./--version && rmdir ./--version
2332 if test "${ac_cv_path_mkdir+set}" = set; then
2333 MKDIR_P="$ac_cv_path_mkdir -p"
2335 # As a last resort, use the slow shell script. Don't cache a
2336 # value for MKDIR_P within a source directory, because that will
2337 # break other packages using the cache if that directory is
2338 # removed, or if the value is a relative name.
2339 MKDIR_P="$ac_install_sh -d"
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2343 $as_echo "$MKDIR_P" >&6; }
2347 [\\/$]* | ?:[\\/]*) ;;
2348 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2351 for ac_prog in gawk mawk nawk awk
2353 # Extract the first word of "$ac_prog", so it can be a program name with args.
2354 set dummy $ac_prog; ac_word=$2
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356 $as_echo_n "checking for $ac_word... " >&6; }
2357 if ${ac_cv_prog_AWK+:} false; then :
2358 $as_echo_n "(cached) " >&6
2360 if test -n "$AWK"; then
2361 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2370 ac_cv_prog_AWK="$ac_prog"
2371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 if test -n "$AWK"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2383 $as_echo "$AWK" >&6; }
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2386 $as_echo "no" >&6; }
2390 test -n "$AWK" && break
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2394 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2396 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2397 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2398 $as_echo_n "(cached) " >&6
2400 cat >conftest.make <<\_ACEOF
2403 @echo '@@@%%%=$(MAKE)=@@@%%%'
2405 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2406 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2408 eval ac_cv_prog_make_${ac_make}_set=yes;;
2410 eval ac_cv_prog_make_${ac_make}_set=no;;
2414 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2416 $as_echo "yes" >&6; }
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420 $as_echo "no" >&6; }
2421 SET_MAKE="MAKE=${MAKE-make}"
2424 rm -rf .tst 2>/dev/null
2425 mkdir .tst 2>/dev/null
2426 if test -d .tst; then
2431 rmdir .tst 2>/dev/null
2433 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2434 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2435 # is not polluted with repeated "-I."
2436 am__isrc=' -I$(srcdir)'
2437 # test to see if srcdir already configured
2438 if test -f $srcdir/config.status; then
2439 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2443 # test whether we have cygpath
2444 if test -z "$CYGPATH_W"; then
2445 if (cygpath --version) >/dev/null 2>/dev/null; then
2446 CYGPATH_W='cygpath -w'
2453 # Define the identity of the package.
2458 cat >>confdefs.h <<_ACEOF
2459 #define PACKAGE "$PACKAGE"
2463 cat >>confdefs.h <<_ACEOF
2464 #define VERSION "$VERSION"
2467 # Some tools Automake needs.
2469 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2472 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2475 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2478 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2481 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2483 # We need awk for the "check" target. The system "awk" is bad on
2485 # Always define AMTAR for backward compatibility. Yes, it's still used
2486 # in the wild :-( We should find a proper way to deprecate it ...
2489 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2497 # Check whether --enable-silent-rules was given.
2498 if test "${enable_silent_rules+set}" = set; then :
2499 enableval=$enable_silent_rules;
2502 case $enable_silent_rules in
2503 yes) AM_DEFAULT_VERBOSITY=0;;
2504 no) AM_DEFAULT_VERBOSITY=1;;
2505 *) AM_DEFAULT_VERBOSITY=0;;
2507 am_make=${MAKE-make}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2509 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2510 if ${am_cv_make_support_nested_variables+:} false; then :
2511 $as_echo_n "(cached) " >&6
2513 if $as_echo 'TRUE=$(BAR$(V))
2519 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2520 am_cv_make_support_nested_variables=yes
2522 am_cv_make_support_nested_variables=no
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2526 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2527 if test $am_cv_make_support_nested_variables = yes; then
2529 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2531 AM_V=$AM_DEFAULT_VERBOSITY
2532 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2541 ac_cpp='$CPP $CPPFLAGS'
2542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2545 if test -n "$ac_tool_prefix"; then
2546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2547 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if ${ac_cv_prog_CC+:} false; then :
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$CC"; then
2554 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 if test -n "$CC"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2576 $as_echo "$CC" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2584 if test -z "$ac_cv_prog_CC"; then
2586 # Extract the first word of "gcc", so it can be a program name with args.
2587 set dummy gcc; ac_word=$2
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2591 $as_echo_n "(cached) " >&6
2593 if test -n "$ac_ct_CC"; then
2594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir=.
2601 for ac_exec_ext in '' $ac_executable_extensions; do
2602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2603 ac_cv_prog_ac_ct_CC="gcc"
2604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2614 if test -n "$ac_ct_CC"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2616 $as_echo "$ac_ct_CC" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619 $as_echo "no" >&6; }
2622 if test "x$ac_ct_CC" = x; then
2625 case $cross_compiling:$ac_tool_warned in
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2629 ac_tool_warned=yes ;;
2637 if test -z "$CC"; then
2638 if test -n "$ac_tool_prefix"; then
2639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2640 set dummy ${ac_tool_prefix}cc; ac_word=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if ${ac_cv_prog_CC+:} false; then :
2644 $as_echo_n "(cached) " >&6
2646 if test -n "$CC"; then
2647 ac_cv_prog_CC="$CC" # Let the user override the test.
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2656 ac_cv_prog_CC="${ac_tool_prefix}cc"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 if test -n "$CC"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2669 $as_echo "$CC" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2678 if test -z "$CC"; then
2679 # Extract the first word of "cc", so it can be a program name with args.
2680 set dummy cc; ac_word=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if ${ac_cv_prog_CC+:} false; then :
2684 $as_echo_n "(cached) " >&6
2686 if test -n "$CC"; then
2687 ac_cv_prog_CC="$CC" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2698 ac_prog_rejected=yes
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test $ac_prog_rejected = yes; then
2710 # We found a bogon in the path, so make sure we never use it.
2711 set dummy $ac_cv_prog_CC
2713 if test $# != 0; then
2714 # We chose a different compiler from the bogus one.
2715 # However, it has the same basename, so the bogon will be chosen
2716 # first if we set CC to just the basename; use the full file name.
2718 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2724 if test -n "$CC"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2726 $as_echo "$CC" >&6; }
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729 $as_echo "no" >&6; }
2734 if test -z "$CC"; then
2735 if test -n "$ac_tool_prefix"; then
2736 for ac_prog in cl.exe
2738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if ${ac_cv_prog_CC+:} false; then :
2743 $as_echo_n "(cached) " >&6
2745 if test -n "$CC"; then
2746 ac_cv_prog_CC="$CC" # Let the user override the test.
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir=.
2753 for ac_exec_ext in '' $ac_executable_extensions; do
2754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test -n "$CC"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2775 test -n "$CC" && break
2778 if test -z "$CC"; then
2780 for ac_prog in cl.exe
2782 # Extract the first word of "$ac_prog", so it can be a program name with args.
2783 set dummy $ac_prog; ac_word=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$ac_ct_CC"; then
2790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_prog_ac_ct_CC="$ac_prog"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2810 if test -n "$ac_ct_CC"; then
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2812 $as_echo "$ac_ct_CC" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2819 test -n "$ac_ct_CC" && break
2822 if test "x$ac_ct_CC" = x; then
2825 case $cross_compiling:$ac_tool_warned in
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 ac_tool_warned=yes ;;
2838 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 as_fn_error $? "no acceptable C compiler found in \$PATH
2841 See \`config.log' for more details" "$LINENO" 5; }
2843 # Provide some information about the compiler.
2844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2847 for ac_option in --version -v -V -qversion; do
2848 { { ac_try="$ac_compiler $ac_option >&5"
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 $as_echo "$ac_try_echo"; } >&5
2855 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2857 if test -s conftest.err; then
2859 ... rest of stderr output deleted ...
2860 10q' conftest.err >conftest.er1
2861 cat conftest.er1 >&5
2863 rm -f conftest.er1 conftest.err
2864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2865 test $ac_status = 0; }
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2879 ac_clean_files_save=$ac_clean_files
2880 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2881 # Try to create an executable without -o first, disregard a.out.
2882 # It will help us diagnose broken compilers, and finding out an intuition
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2885 $as_echo_n "checking whether the C compiler works... " >&6; }
2886 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2888 # The possible output files:
2889 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2892 for ac_file in $ac_files
2895 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2896 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2901 if { { ac_try="$ac_link_default"
2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2907 $as_echo "$ac_try_echo"; } >&5
2908 (eval "$ac_link_default") 2>&5
2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2911 test $ac_status = 0; }; then :
2912 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2913 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2914 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2915 # so that the user can short-circuit this test for compilers unknown to
2917 for ac_file in $ac_files ''
2919 test -f "$ac_file" || continue
2921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2924 # We found the default executable, but exeext='' is most
2928 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2930 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2932 # We set ac_cv_exeext here because the later test for it is not
2933 # safe: cross compilers may not add the suffix if given an `-o'
2934 # argument, so we may need to know it at that point already.
2935 # Even if this section looks crufty: it has the advantage of
2942 test "$ac_cv_exeext" = no && ac_cv_exeext=
2947 if test -z "$ac_file"; then :
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2950 $as_echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2955 as_fn_error 77 "C compiler cannot create executables
2956 See \`config.log' for more details" "$LINENO" 5; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2959 $as_echo "yes" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2962 $as_echo_n "checking for C compiler default output file name... " >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2964 $as_echo "$ac_file" >&6; }
2965 ac_exeext=$ac_cv_exeext
2967 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2968 ac_clean_files=$ac_clean_files_save
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2970 $as_echo_n "checking for suffix of executables... " >&6; }
2971 if { { ac_try="$ac_link"
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 $as_echo "$ac_try_echo"; } >&5
2978 (eval "$ac_link") 2>&5
2980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2981 test $ac_status = 0; }; then :
2982 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2983 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2984 # work properly (i.e., refer to `conftest.exe'), while it won't with
2986 for ac_file in conftest.exe conftest conftest.*; do
2987 test -f "$ac_file" || continue
2989 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2990 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2998 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2999 See \`config.log' for more details" "$LINENO" 5; }
3001 rm -f conftest conftest$ac_cv_exeext
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3003 $as_echo "$ac_cv_exeext" >&6; }
3005 rm -f conftest.$ac_ext
3006 EXEEXT=$ac_cv_exeext
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3014 FILE *f = fopen ("conftest.out", "w");
3015 return ferror (f) || fclose (f) != 0;
3021 ac_clean_files="$ac_clean_files conftest.out"
3022 # Check that the compiler produces executables we can run. If not, either
3023 # the compiler is broken, or we cross compile.
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3025 $as_echo_n "checking whether we are cross compiling... " >&6; }
3026 if test "$cross_compiling" != yes; then
3027 { { ac_try="$ac_link"
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3033 $as_echo "$ac_try_echo"; } >&5
3034 (eval "$ac_link") 2>&5
3036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3037 test $ac_status = 0; }
3038 if { ac_try='./conftest$ac_cv_exeext'
3039 { { case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_try") 2>&5
3047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3048 test $ac_status = 0; }; }; then
3051 if test "$cross_compiling" = maybe; then
3054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3056 as_fn_error $? "cannot run C compiled programs.
3057 If you meant to cross compile, use \`--host'.
3058 See \`config.log' for more details" "$LINENO" 5; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3063 $as_echo "$cross_compiling" >&6; }
3065 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3066 ac_clean_files=$ac_clean_files_save
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3068 $as_echo_n "checking for suffix of object files... " >&6; }
3069 if ${ac_cv_objext+:} false; then :
3070 $as_echo_n "(cached) " >&6
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3083 rm -f conftest.o conftest.obj
3084 if { { ac_try="$ac_compile"
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3090 $as_echo "$ac_try_echo"; } >&5
3091 (eval "$ac_compile") 2>&5
3093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3094 test $ac_status = 0; }; then :
3095 for ac_file in conftest.o conftest.obj conftest.*; do
3096 test -f "$ac_file" || continue;
3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3099 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3109 as_fn_error $? "cannot compute suffix of object files: cannot compile
3110 See \`config.log' for more details" "$LINENO" 5; }
3112 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3115 $as_echo "$ac_cv_objext" >&6; }
3116 OBJEXT=$ac_cv_objext
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3119 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3120 if ${ac_cv_c_compiler_gnu+:} false; then :
3121 $as_echo_n "(cached) " >&6
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3137 if ac_fn_c_try_compile "$LINENO"; then :
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3143 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3147 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3148 if test $ac_compiler_gnu = yes; then
3153 ac_test_CFLAGS=${CFLAGS+set}
3154 ac_save_CFLAGS=$CFLAGS
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3156 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3157 if ${ac_cv_prog_cc_g+:} false; then :
3158 $as_echo_n "(cached) " >&6
3160 ac_save_c_werror_flag=$ac_c_werror_flag
3161 ac_c_werror_flag=yes
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3175 if ac_fn_c_try_compile "$LINENO"; then :
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3190 if ac_fn_c_try_compile "$LINENO"; then :
3193 ac_c_werror_flag=$ac_save_c_werror_flag
3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3206 if ac_fn_c_try_compile "$LINENO"; then :
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3214 ac_c_werror_flag=$ac_save_c_werror_flag
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3217 $as_echo "$ac_cv_prog_cc_g" >&6; }
3218 if test "$ac_test_CFLAGS" = set; then
3219 CFLAGS=$ac_save_CFLAGS
3220 elif test $ac_cv_prog_cc_g = yes; then
3221 if test "$GCC" = yes; then
3227 if test "$GCC" = yes; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3234 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3235 if ${ac_cv_prog_cc_c89+:} false; then :
3236 $as_echo_n "(cached) " >&6
3238 ac_cv_prog_cc_c89=no
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3245 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3246 struct buf { int x; };
3247 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3248 static char *e (p, i)
3254 static char *f (char * (*g) (char **, int), char **p, ...)
3259 s = g (p, va_arg (v,int));
3264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3265 function prototypes and stuff, but not '\xHH' hex character constants.
3266 These don't provoke an error unfortunately, instead are silently treated
3267 as 'x'. The following induces an error, until -std is added to get
3268 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3269 array size at least. It's necessary to write '\x00'==0 to get something
3270 that's true only with -std. */
3271 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3274 inside strings and character constants. */
3276 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3278 int test (int i, double x);
3279 struct s1 {int (*f) (int a);};
3280 struct s2 {int (*f) (double a);};
3281 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3287 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3292 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3293 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3295 CC="$ac_save_CC $ac_arg"
3296 if ac_fn_c_try_compile "$LINENO"; then :
3297 ac_cv_prog_cc_c89=$ac_arg
3299 rm -f core conftest.err conftest.$ac_objext
3300 test "x$ac_cv_prog_cc_c89" != "xno" && break
3302 rm -f conftest.$ac_ext
3307 case "x$ac_cv_prog_cc_c89" in
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3310 $as_echo "none needed" >&6; } ;;
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3313 $as_echo "unsupported" >&6; } ;;
3315 CC="$CC $ac_cv_prog_cc_c89"
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3317 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3319 if test "x$ac_cv_prog_cc_c89" != xno; then :
3324 ac_cpp='$CPP $CPPFLAGS'
3325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 DEPDIR="${am__leading_dot}deps"
3330 ac_config_commands="$ac_config_commands depfiles"
3333 am_make=${MAKE-make}
3334 cat > confinc << 'END'
3336 @echo this is the am__doit target
3339 # If we don't find an include directive, just comment out the code.
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3341 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3345 # First try GNU make style include.
3346 echo "include confinc" > confmf
3347 # Ignore all kinds of additional output from `make'.
3348 case `$am_make -s -f confmf 2> /dev/null` in #(
3349 *the\ am__doit\ target*)
3355 # Now try BSD make style include.
3356 if test "$am__include" = "#"; then
3357 echo '.include "confinc"' > confmf
3358 case `$am_make -s -f confmf 2> /dev/null` in #(
3359 *the\ am__doit\ target*)
3360 am__include=.include
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3369 $as_echo "$_am_result" >&6; }
3370 rm -f confinc confmf
3372 # Check whether --enable-dependency-tracking was given.
3373 if test "${enable_dependency_tracking+set}" = set; then :
3374 enableval=$enable_dependency_tracking;
3377 if test "x$enable_dependency_tracking" != xno; then
3378 am_depcomp="$ac_aux_dir/depcomp"
3382 if test "x$enable_dependency_tracking" != xno; then
3392 depcc="$CC" am_compiler_list=
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3395 $as_echo_n "checking dependency style of $depcc... " >&6; }
3396 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3400 # We make a subdir and do the tests there. Otherwise we can end up
3401 # making bogus files that we don't know about and never remove. For
3402 # instance it was reported that on HP-UX the gcc test will end up
3403 # making a dummy file named `D' -- because `-MD' means `put the output
3407 # Copy depcomp to subdir because otherwise we won't find it if we're
3408 # using a relative directory.
3409 cp "$am_depcomp" conftest.dir
3411 # We will build objects and dependencies in a subdirectory because
3412 # it helps to detect inapplicable dependency modes. For instance
3413 # both Tru64's cc and ICC support -MD to output dependencies as a
3414 # side effect of compilation, but ICC will put the dependencies in
3415 # the current directory while Tru64 will put them in the object
3419 am_cv_CC_dependencies_compiler_type=none
3420 if test "$am_compiler_list" = ""; then
3421 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3424 case " $depcc " in #(
3425 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3428 for depmode in $am_compiler_list; do
3429 # Setup a source with many dependencies, because some compilers
3430 # like to wrap large dependency lists on column 80 (with \), and
3431 # we should not choose a depcomp mode which is confused by this.
3433 # We need to recreate these files for each test, as the compiler may
3434 # overwrite some of them when testing with obscure command lines.
3435 # This happens at least with the AIX C compiler.
3437 for i in 1 2 3 4 5 6; do
3438 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3439 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3440 # Solaris 8's {/usr,}/bin/sh.
3441 touch sub/conftst$i.h
3443 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3445 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3446 # mode. It turns out that the SunPro C++ compiler does not properly
3447 # handle `-M -o', and we need to detect this. Also, some Intel
3448 # versions had trouble with output in subdirs
3449 am__obj=sub/conftest.${OBJEXT-o}
3450 am__minus_obj="-o $am__obj"
3453 # This depmode causes a compiler race in universal mode.
3454 test "$am__universal" = false || continue
3457 # after this tag, mechanisms are not by side-effect, so they'll
3458 # only be used when explicitly requested
3459 if test "x$enable_dependency_tracking" = xyes; then
3465 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3466 # This compiler won't grok `-c -o', but also, the minuso test has
3467 # not run yet. These depmodes are late enough in the game, and
3468 # so weak that their functioning should not be impacted.
3469 am__obj=conftest.${OBJEXT-o}
3474 if depmode=$depmode \
3475 source=sub/conftest.c object=$am__obj \
3476 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3477 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3478 >/dev/null 2>conftest.err &&
3479 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3480 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3481 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3482 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3483 # icc doesn't choke on unknown options, it will just issue warnings
3484 # or remarks (even with -Werror). So we grep stderr for any message
3485 # that says an option was ignored or not supported.
3486 # When given -MP, icc 7.0 and 7.1 complain thusly:
3487 # icc: Command line warning: ignoring option '-M'; no argument required
3488 # The diagnosis changed in icc 8.0:
3489 # icc: Command line remark: option '-MP' not supported
3490 if (grep 'ignoring option' conftest.err ||
3491 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3492 am_cv_CC_dependencies_compiler_type=$depmode
3501 am_cv_CC_dependencies_compiler_type=none
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3506 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3507 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3510 test "x$enable_dependency_tracking" != xno \
3511 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3513 am__fastdepCC_FALSE='#'
3515 am__fastdepCC_TRUE='#'
3516 am__fastdepCC_FALSE=
3522 ac_cpp='$CPP $CPPFLAGS'
3523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
3528 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
3529 if ${ac_cv_cflags_warn_all+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 ac_cv_cflags_warn_all="no, unknown"
3533 ac_save_CFLAGS="$CFLAGS"
3534 for ac_arg in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
3535 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_c_try_compile "$LINENO"; then :
3548 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3552 CFLAGS="$ac_save_CFLAGS"
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
3556 $as_echo "$ac_cv_cflags_warn_all" >&6; }
3557 case ".$ac_cv_cflags_warn_all" in
3560 *) if ${CFLAGS+:} false; then :
3562 *" $ac_cv_cflags_warn_all "*)
3563 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
3564 (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5
3566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3567 test $ac_status = 0; }
3570 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
3571 (: CFLAGS="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
3573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3574 test $ac_status = 0; }
3575 CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
3579 CFLAGS="$ac_cv_cflags_warn_all"
3585 ac_cpp='$CPP $CPPFLAGS'
3586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 ac_cpp='$CPP $CPPFLAGS'
3593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3597 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3598 # On Suns, sometimes $CPP names a directory.
3599 if test -n "$CPP" && test -d "$CPP"; then
3602 if test -z "$CPP"; then
3603 if ${ac_cv_prog_CPP+:} false; then :
3604 $as_echo_n "(cached) " >&6
3606 # Double quotes because CPP needs to be expanded
3607 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3610 for ac_c_preproc_warn_flag in '' yes
3612 # Use a header file that comes with gcc, so configuring glibc
3613 # with a fresh cross-compiler works.
3614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3615 # <limits.h> exists even on freestanding compilers.
3616 # On the NeXT, cc -E runs the code through the compiler's parser,
3617 # not just through cpp. "Syntax error" is here to catch this case.
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3621 # include <limits.h>
3623 # include <assert.h>
3627 if ac_fn_c_try_cpp "$LINENO"; then :
3630 # Broken: fails on valid input.
3633 rm -f conftest.err conftest.i conftest.$ac_ext
3635 # OK, works on sane cases. Now check whether nonexistent headers
3636 # can be detected and how.
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3639 #include <ac_nonexistent.h>
3641 if ac_fn_c_try_cpp "$LINENO"; then :
3642 # Broken: success on invalid input.
3645 # Passes both tests.
3649 rm -f conftest.err conftest.i conftest.$ac_ext
3652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3653 rm -f conftest.i conftest.err conftest.$ac_ext
3654 if $ac_preproc_ok; then :
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3667 $as_echo "$CPP" >&6; }
3669 for ac_c_preproc_warn_flag in '' yes
3671 # Use a header file that comes with gcc, so configuring glibc
3672 # with a fresh cross-compiler works.
3673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3674 # <limits.h> exists even on freestanding compilers.
3675 # On the NeXT, cc -E runs the code through the compiler's parser,
3676 # not just through cpp. "Syntax error" is here to catch this case.
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3680 # include <limits.h>
3682 # include <assert.h>
3686 if ac_fn_c_try_cpp "$LINENO"; then :
3689 # Broken: fails on valid input.
3692 rm -f conftest.err conftest.i conftest.$ac_ext
3694 # OK, works on sane cases. Now check whether nonexistent headers
3695 # can be detected and how.
3696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h. */
3698 #include <ac_nonexistent.h>
3700 if ac_fn_c_try_cpp "$LINENO"; then :
3701 # Broken: success on invalid input.
3704 # Passes both tests.
3708 rm -f conftest.err conftest.i conftest.$ac_ext
3711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3712 rm -f conftest.i conftest.err conftest.$ac_ext
3713 if $ac_preproc_ok; then :
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3719 See \`config.log' for more details" "$LINENO" 5; }
3723 ac_cpp='$CPP $CPPFLAGS'
3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3730 $as_echo_n "checking for X... " >&6; }
3733 # Check whether --with-x was given.
3734 if test "${with_x+set}" = set; then :
3738 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3739 if test "x$with_x" = xno; then
3740 # The user explicitly disabled X.
3743 case $x_includes,$x_libraries in #(
3744 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3745 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 # One or both of the vars are not set, and there is no cached value.
3749 ac_x_includes=no ac_x_libraries=no
3750 rm -f -r conftest.dir
3751 if mkdir conftest.dir; then
3753 cat >Imakefile <<'_ACEOF'
3755 @echo incroot='${INCROOT}'
3757 @echo usrlibdir='${USRLIBDIR}'
3759 @echo libdir='${LIBDIR}'
3761 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3763 for ac_var in incroot usrlibdir libdir; do
3764 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3766 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3767 for ac_extension in a so sl dylib la dll; do
3768 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3769 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3770 ac_im_usrlibdir=$ac_im_libdir; break
3773 # Screen out bogus values from the imake configuration. They are
3774 # bogus both because they are the default anyway, and because
3775 # using them would break gcc on systems where it needs fixed includes.
3776 case $ac_im_incroot in
3777 /usr/include) ac_x_includes= ;;
3778 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3780 case $ac_im_usrlibdir in
3781 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
3782 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3786 rm -f -r conftest.dir
3789 # Standard set of common directories for X headers.
3790 # Check X11 before X11Rn because it is often a symlink to the current release.
3804 /usr/local/X11/include
3805 /usr/local/X11R7/include
3806 /usr/local/X11R6/include
3807 /usr/local/X11R5/include
3808 /usr/local/X11R4/include
3810 /usr/local/include/X11
3811 /usr/local/include/X11R7
3812 /usr/local/include/X11R6
3813 /usr/local/include/X11R5
3814 /usr/local/include/X11R4
3818 /usr/XFree86/include/X11
3822 /usr/unsupported/include
3824 /usr/local/x11r5/include
3825 /usr/lpp/Xamples/include
3827 /usr/openwin/include
3828 /usr/openwin/share/include'
3830 if test "$ac_x_includes" = no; then
3831 # Guess where to find include files, by looking for Xlib.h.
3832 # First, try using that file with no special directory specified.
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3837 if ac_fn_c_try_cpp "$LINENO"; then :
3838 # We can compile using X headers with no special include directory.
3841 for ac_dir in $ac_x_header_dirs; do
3842 if test -r "$ac_dir/X11/Xlib.h"; then
3843 ac_x_includes=$ac_dir
3848 rm -f conftest.err conftest.i conftest.$ac_ext
3849 fi # $ac_x_includes = no
3851 if test "$ac_x_libraries" = no; then
3852 # Check for the libraries.
3853 # See if we find them without any special options.
3854 # Don't add to $LIBS permanently.
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3859 #include <X11/Xlib.h>
3868 if ac_fn_c_try_link "$LINENO"; then :
3870 # We can link X programs with no special library path.
3874 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3876 # Don't even attempt the hair of trying to link an X program!
3877 for ac_extension in a so sl dylib la dll; do
3878 if test -r "$ac_dir/libX11.$ac_extension"; then
3879 ac_x_libraries=$ac_dir
3885 rm -f core conftest.err conftest.$ac_objext \
3886 conftest$ac_exeext conftest.$ac_ext
3887 fi # $ac_x_libraries = no
3889 case $ac_x_includes,$ac_x_libraries in #(
3891 # Didn't find X, or a directory has "'" in its name.
3892 ac_cv_have_x="have_x=no";; #(
3894 # Record where we found X for the cache.
3895 ac_cv_have_x="have_x=yes\
3896 ac_x_includes='$ac_x_includes'\
3897 ac_x_libraries='$ac_x_libraries'"
3903 eval "$ac_cv_have_x"
3906 if test "$have_x" != yes; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
3908 $as_echo "$have_x" >&6; }
3911 # If each of the values was on the command line, it overrides each guess.
3912 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3913 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3914 # Update the cache value to reflect the command line values.
3915 ac_cv_have_x="have_x=yes\
3916 ac_x_includes='$x_includes'\
3917 ac_x_libraries='$x_libraries'"
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
3919 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
3922 if test "$no_x" = yes; then
3923 # Not all programs may use this symbol, but it does not hurt to define it.
3925 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
3927 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3929 if test -n "$x_includes"; then
3930 X_CFLAGS="$X_CFLAGS -I$x_includes"
3933 # It would also be nice to do this for all -L options, not just this one.
3934 if test -n "$x_libraries"; then
3935 X_LIBS="$X_LIBS -L$x_libraries"
3936 # For Solaris; some versions of Sun CC require a space after -R and
3937 # others require no space. Words are not sufficient . . . .
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
3939 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
3940 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3941 ac_xsave_c_werror_flag=$ac_c_werror_flag
3942 ac_c_werror_flag=yes
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3954 if ac_fn_c_try_link "$LINENO"; then :
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3957 X_LIBS="$X_LIBS -R$x_libraries"
3959 LIBS="$ac_xsave_LIBS -R $x_libraries"
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3971 if ac_fn_c_try_link "$LINENO"; then :
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3973 $as_echo "yes" >&6; }
3974 X_LIBS="$X_LIBS -R $x_libraries"
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
3977 $as_echo "neither works" >&6; }
3979 rm -f core conftest.err conftest.$ac_objext \
3980 conftest$ac_exeext conftest.$ac_ext
3982 rm -f core conftest.err conftest.$ac_objext \
3983 conftest$ac_exeext conftest.$ac_ext
3984 ac_c_werror_flag=$ac_xsave_c_werror_flag
3988 # Check for system-dependent libraries X programs must link with.
3989 # Do this before checking for the system-independent R6 libraries
3990 # (-lICE), since we may need -lsocket or whatever for X linking.
3992 if test "$ISC" = yes; then
3993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3995 # Martyn Johnson says this is needed for Ultrix, if the X
3996 # libraries were built with DECnet support. And Karl Berry says
3997 # the Alpha needs dnet_stub (dnet does not exist).
3998 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4002 /* Override any GCC internal prototype to avoid an error.
4003 Use char because int might match the return type of a GCC
4004 builtin and then its argument prototype would still apply. */
4008 char XOpenDisplay ();
4012 return XOpenDisplay ();
4017 if ac_fn_c_try_link "$LINENO"; then :
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
4021 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
4022 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
4023 $as_echo_n "(cached) " >&6
4025 ac_check_lib_save_LIBS=$LIBS
4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4030 /* Override any GCC internal prototype to avoid an error.
4031 Use char because int might match the return type of a GCC
4032 builtin and then its argument prototype would still apply. */
4040 return dnet_ntoa ();
4045 if ac_fn_c_try_link "$LINENO"; then :
4046 ac_cv_lib_dnet_dnet_ntoa=yes
4048 ac_cv_lib_dnet_dnet_ntoa=no
4050 rm -f core conftest.err conftest.$ac_objext \
4051 conftest$ac_exeext conftest.$ac_ext
4052 LIBS=$ac_check_lib_save_LIBS
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4055 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4056 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
4057 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4060 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
4062 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
4063 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
4064 $as_echo_n "(cached) " >&6
4066 ac_check_lib_save_LIBS=$LIBS
4067 LIBS="-ldnet_stub $LIBS"
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4071 /* Override any GCC internal prototype to avoid an error.
4072 Use char because int might match the return type of a GCC
4073 builtin and then its argument prototype would still apply. */
4081 return dnet_ntoa ();
4086 if ac_fn_c_try_link "$LINENO"; then :
4087 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4089 ac_cv_lib_dnet_stub_dnet_ntoa=no
4091 rm -f core conftest.err conftest.$ac_objext \
4092 conftest$ac_exeext conftest.$ac_ext
4093 LIBS=$ac_check_lib_save_LIBS
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4096 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4097 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
4098 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4103 rm -f core conftest.err conftest.$ac_objext \
4104 conftest$ac_exeext conftest.$ac_ext
4105 LIBS="$ac_xsave_LIBS"
4107 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4108 # to get the SysV transport functions.
4109 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4111 # The nsl library prevents programs from opening the X display
4112 # on Irix 5.2, according to T.E. Dickey.
4113 # The functions gethostbyname, getservbyname, and inet_addr are
4114 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4115 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
4116 if test "x$ac_cv_func_gethostbyname" = xyes; then :
4120 if test $ac_cv_func_gethostbyname = no; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4122 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4123 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
4124 $as_echo_n "(cached) " >&6
4126 ac_check_lib_save_LIBS=$LIBS
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4131 /* Override any GCC internal prototype to avoid an error.
4132 Use char because int might match the return type of a GCC
4133 builtin and then its argument prototype would still apply. */
4137 char gethostbyname ();
4141 return gethostbyname ();
4146 if ac_fn_c_try_link "$LINENO"; then :
4147 ac_cv_lib_nsl_gethostbyname=yes
4149 ac_cv_lib_nsl_gethostbyname=no
4151 rm -f core conftest.err conftest.$ac_objext \
4152 conftest$ac_exeext conftest.$ac_ext
4153 LIBS=$ac_check_lib_save_LIBS
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4156 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4157 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
4158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4161 if test $ac_cv_lib_nsl_gethostbyname = no; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
4163 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
4164 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
4165 $as_echo_n "(cached) " >&6
4167 ac_check_lib_save_LIBS=$LIBS
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4178 char gethostbyname ();
4182 return gethostbyname ();
4187 if ac_fn_c_try_link "$LINENO"; then :
4188 ac_cv_lib_bsd_gethostbyname=yes
4190 ac_cv_lib_bsd_gethostbyname=no
4192 rm -f core conftest.err conftest.$ac_objext \
4193 conftest$ac_exeext conftest.$ac_ext
4194 LIBS=$ac_check_lib_save_LIBS
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
4197 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
4198 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
4199 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4205 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4206 # socket/setsockopt and other routines are undefined under SCO ODT
4207 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4208 # on later versions), says Simon Leinen: it contains gethostby*
4209 # variants that don't use the name server (or something). -lsocket
4210 # must be given before -lnsl if both are needed. We assume that
4211 # if connect needs -lnsl, so does gethostbyname.
4212 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
4213 if test "x$ac_cv_func_connect" = xyes; then :
4217 if test $ac_cv_func_connect = no; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
4219 $as_echo_n "checking for connect in -lsocket... " >&6; }
4220 if ${ac_cv_lib_socket_connect+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 ac_check_lib_save_LIBS=$LIBS
4224 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4228 /* Override any GCC internal prototype to avoid an error.
4229 Use char because int might match the return type of a GCC
4230 builtin and then its argument prototype would still apply. */
4243 if ac_fn_c_try_link "$LINENO"; then :
4244 ac_cv_lib_socket_connect=yes
4246 ac_cv_lib_socket_connect=no
4248 rm -f core conftest.err conftest.$ac_objext \
4249 conftest$ac_exeext conftest.$ac_ext
4250 LIBS=$ac_check_lib_save_LIBS
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
4253 $as_echo "$ac_cv_lib_socket_connect" >&6; }
4254 if test "x$ac_cv_lib_socket_connect" = xyes; then :
4255 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4260 # Guillermo Gomez says -lposix is necessary on A/UX.
4261 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
4262 if test "x$ac_cv_func_remove" = xyes; then :
4266 if test $ac_cv_func_remove = no; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
4268 $as_echo_n "checking for remove in -lposix... " >&6; }
4269 if ${ac_cv_lib_posix_remove+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 ac_check_lib_save_LIBS=$LIBS
4273 LIBS="-lposix $LIBS"
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4277 /* Override any GCC internal prototype to avoid an error.
4278 Use char because int might match the return type of a GCC
4279 builtin and then its argument prototype would still apply. */
4292 if ac_fn_c_try_link "$LINENO"; then :
4293 ac_cv_lib_posix_remove=yes
4295 ac_cv_lib_posix_remove=no
4297 rm -f core conftest.err conftest.$ac_objext \
4298 conftest$ac_exeext conftest.$ac_ext
4299 LIBS=$ac_check_lib_save_LIBS
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
4302 $as_echo "$ac_cv_lib_posix_remove" >&6; }
4303 if test "x$ac_cv_lib_posix_remove" = xyes; then :
4304 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4309 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4310 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
4311 if test "x$ac_cv_func_shmat" = xyes; then :
4315 if test $ac_cv_func_shmat = no; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
4317 $as_echo_n "checking for shmat in -lipc... " >&6; }
4318 if ${ac_cv_lib_ipc_shmat+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 ac_check_lib_save_LIBS=$LIBS
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4326 /* Override any GCC internal prototype to avoid an error.
4327 Use char because int might match the return type of a GCC
4328 builtin and then its argument prototype would still apply. */
4341 if ac_fn_c_try_link "$LINENO"; then :
4342 ac_cv_lib_ipc_shmat=yes
4344 ac_cv_lib_ipc_shmat=no
4346 rm -f core conftest.err conftest.$ac_objext \
4347 conftest$ac_exeext conftest.$ac_ext
4348 LIBS=$ac_check_lib_save_LIBS
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
4351 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
4352 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
4353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4359 # Check for libraries that X11R6 Xt/Xaw programs need.
4360 ac_save_LDFLAGS=$LDFLAGS
4361 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4362 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4363 # check for ICE first), but we must link in the order -lSM -lICE or
4364 # we get undefined symbols. So assume we have SM if we have ICE.
4365 # These have to be linked with before -lX11, unlike the other
4366 # libraries we check for below, so use a different variable.
4367 # John Interrante, Karl Berry
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
4369 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
4370 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
4371 $as_echo_n "(cached) " >&6
4373 ac_check_lib_save_LIBS=$LIBS
4374 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4378 /* Override any GCC internal prototype to avoid an error.
4379 Use char because int might match the return type of a GCC
4380 builtin and then its argument prototype would still apply. */
4384 char IceConnectionNumber ();
4388 return IceConnectionNumber ();
4393 if ac_fn_c_try_link "$LINENO"; then :
4394 ac_cv_lib_ICE_IceConnectionNumber=yes
4396 ac_cv_lib_ICE_IceConnectionNumber=no
4398 rm -f core conftest.err conftest.$ac_objext \
4399 conftest$ac_exeext conftest.$ac_ext
4400 LIBS=$ac_check_lib_save_LIBS
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4403 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4404 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
4405 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4408 LDFLAGS=$ac_save_LDFLAGS
4420 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4421 if test -n "$ac_tool_prefix"; then
4422 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4423 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4427 $as_echo_n "(cached) " >&6
4431 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4453 if test -n "$PKG_CONFIG"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4455 $as_echo "$PKG_CONFIG" >&6; }
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4463 if test -z "$ac_cv_path_PKG_CONFIG"; then
4464 ac_pt_PKG_CONFIG=$PKG_CONFIG
4465 # Extract the first word of "pkg-config", so it can be a program name with args.
4466 set dummy pkg-config; ac_word=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4470 $as_echo_n "(cached) " >&6
4472 case $ac_pt_PKG_CONFIG in
4474 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4496 if test -n "$ac_pt_PKG_CONFIG"; then
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4498 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4501 $as_echo "no" >&6; }
4504 if test "x$ac_pt_PKG_CONFIG" = x; then
4507 case $cross_compiling:$ac_tool_warned in
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4511 ac_tool_warned=yes ;;
4513 PKG_CONFIG=$ac_pt_PKG_CONFIG
4516 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4520 if test -n "$PKG_CONFIG"; then
4521 _pkg_min_version=0.9.0
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4523 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4524 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4526 $as_echo "yes" >&6; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529 $as_echo "no" >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mLib" >&5
4536 $as_echo_n "checking for mLib... " >&6; }
4538 if test -n "$mLib_CFLAGS"; then
4539 pkg_cv_mLib_CFLAGS="$mLib_CFLAGS"
4540 elif test -n "$PKG_CONFIG"; then
4541 if test -n "$PKG_CONFIG" && \
4542 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mLib >= 2.0.4\""; } >&5
4543 ($PKG_CONFIG --exists --print-errors "mLib >= 2.0.4") 2>&5
4545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546 test $ac_status = 0; }; then
4547 pkg_cv_mLib_CFLAGS=`$PKG_CONFIG --cflags "mLib >= 2.0.4" 2>/dev/null`
4548 test "x$?" != "x0" && pkg_failed=yes
4555 if test -n "$mLib_LIBS"; then
4556 pkg_cv_mLib_LIBS="$mLib_LIBS"
4557 elif test -n "$PKG_CONFIG"; then
4558 if test -n "$PKG_CONFIG" && \
4559 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mLib >= 2.0.4\""; } >&5
4560 ($PKG_CONFIG --exists --print-errors "mLib >= 2.0.4") 2>&5
4562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4563 test $ac_status = 0; }; then
4564 pkg_cv_mLib_LIBS=`$PKG_CONFIG --libs "mLib >= 2.0.4" 2>/dev/null`
4565 test "x$?" != "x0" && pkg_failed=yes
4575 if test $pkg_failed = yes; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4580 _pkg_short_errors_supported=yes
4582 _pkg_short_errors_supported=no
4584 if test $_pkg_short_errors_supported = yes; then
4585 mLib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mLib >= 2.0.4" 2>&1`
4587 mLib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mLib >= 2.0.4" 2>&1`
4589 # Put the nasty error message in config.log where it belongs
4590 echo "$mLib_PKG_ERRORS" >&5
4592 as_fn_error $? "Package requirements (mLib >= 2.0.4) were not met:
4596 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4597 installed software in a non-standard prefix.
4599 Alternatively, you may set the environment variables mLib_CFLAGS
4600 and mLib_LIBS to avoid the need to call pkg-config.
4601 See the pkg-config man page for more details." "$LINENO" 5
4602 elif test $pkg_failed = untried; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4607 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4608 is in your PATH or set the PKG_CONFIG environment variable to the full
4611 Alternatively, you may set the environment variables mLib_CFLAGS
4612 and mLib_LIBS to avoid the need to call pkg-config.
4613 See the pkg-config man page for more details.
4615 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4616 See \`config.log' for more details" "$LINENO" 5; }
4618 mLib_CFLAGS=$pkg_cv_mLib_CFLAGS
4619 mLib_LIBS=$pkg_cv_mLib_LIBS
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4621 $as_echo "yes" >&6; }
4624 CFLAGS="$CFLAGS $mLib_CFLAGS"
4625 LIBS="$LIBS $mLib_LIBS"
4634 if test -n "$PYTHON"; then
4635 # If the user set $PYTHON, use it and don't search something else.
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.4" >&5
4637 $as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; }
4639 # split strings by '.' and convert to numeric. Append some zeros
4640 # because we need at least 4 digits for the hex conversion.
4641 # map returns an iterator in Python 3.0 and a list in 2.x
4642 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0]
4644 # xrange is not present in Python 3.0 and range returns an iterator
4645 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4646 sys.exit(sys.hexversion < minverhex)"
4647 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4648 ($PYTHON -c "$prog") >&5 2>&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; then :
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4653 $as_echo "yes" >&6; }
4655 as_fn_error $? "too old" "$LINENO" 5
4657 am_display_PYTHON=$PYTHON
4659 # Otherwise, try each interpreter until we find one that satisfies
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5
4662 $as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; }
4663 if ${am_cv_pathless_PYTHON+:} false; then :
4664 $as_echo_n "(cached) " >&6
4667 for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
4668 test "$am_cv_pathless_PYTHON" = none && break
4670 # split strings by '.' and convert to numeric. Append some zeros
4671 # because we need at least 4 digits for the hex conversion.
4672 # map returns an iterator in Python 3.0 and a list in 2.x
4673 minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0]
4675 # xrange is not present in Python 3.0 and range returns an iterator
4676 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4677 sys.exit(sys.hexversion < minverhex)"
4678 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4679 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; then :
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
4688 $as_echo "$am_cv_pathless_PYTHON" >&6; }
4689 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4690 if test "$am_cv_pathless_PYTHON" = none; then
4693 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4694 set dummy $am_cv_pathless_PYTHON; ac_word=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_path_PYTHON+:} false; then :
4698 $as_echo_n "(cached) " >&6
4702 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4712 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 PYTHON=$ac_cv_path_PYTHON
4724 if test -n "$PYTHON"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
4726 $as_echo "$PYTHON" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4734 am_display_PYTHON=$am_cv_pathless_PYTHON
4738 if test "$PYTHON" = :; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
4744 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
4745 if ${am_cv_python_version+:} false; then :
4746 $as_echo_n "(cached) " >&6
4748 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
4751 $as_echo "$am_cv_python_version" >&6; }
4752 PYTHON_VERSION=$am_cv_python_version
4756 PYTHON_PREFIX='${prefix}'
4758 PYTHON_EXEC_PREFIX='${exec_prefix}'
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
4763 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
4764 if ${am_cv_python_platform+:} false; then :
4765 $as_echo_n "(cached) " >&6
4767 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
4770 $as_echo "$am_cv_python_platform" >&6; }
4771 PYTHON_PLATFORM=$am_cv_python_platform
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
4777 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
4778 if ${am_cv_python_pythondir+:} false; then :
4779 $as_echo_n "(cached) " >&6
4781 if test "x$prefix" = xNONE
4783 am_py_prefix=$ac_default_prefix
4785 am_py_prefix=$prefix
4787 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
4788 case $am_cv_python_pythondir in
4790 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
4791 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
4794 case $am_py_prefix in
4797 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
4805 $as_echo "$am_cv_python_pythondir" >&6; }
4806 pythondir=$am_cv_python_pythondir
4810 pkgpythondir=\${pythondir}/$PACKAGE
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
4814 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
4815 if ${am_cv_python_pyexecdir+:} false; then :
4816 $as_echo_n "(cached) " >&6
4818 if test "x$exec_prefix" = xNONE
4820 am_py_exec_prefix=$am_py_prefix
4822 am_py_exec_prefix=$exec_prefix
4824 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
4825 case $am_cv_python_pyexecdir in
4826 $am_py_exec_prefix*)
4827 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
4828 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
4831 case $am_py_exec_prefix in
4834 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
4842 $as_echo "$am_cv_python_pyexecdir" >&6; }
4843 pyexecdir=$am_cv_python_pyexecdir
4847 pkgpyexecdir=\${pyexecdir}/$PACKAGE
4854 if test $python = yes; then
4856 HAVE_PYTHON_FALSE='#'
4858 HAVE_PYTHON_TRUE='#'
4863 if test $python = yes; then
4869 PYTHON_NAME=`basename $PYTHON`
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: pygtk" >&5
4871 $as_echo_n "checking $PYTHON_NAME module: pygtk... " >&6; }
4872 $PYTHON -c "import pygtk" 2>/dev/null
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4876 $as_echo "yes" >&6; }
4877 eval HAVE_PYMOD_PYGTK=yes
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4881 eval HAVE_PYMOD_PYGTK=no
4885 as_fn_error $? "failed to find required module pygtk" "$LINENO" 5
4891 if test ${HAVE_PYMOD_PYGTK-no} = yes; then
4893 HAVE_PYGTK_FALSE='#'
4901 ac_config_files="$ac_config_files Makefile"
4903 cat >confcache <<\_ACEOF
4904 # This file is a shell script that caches the results of configure
4905 # tests run on this system so they can be shared between configure
4906 # scripts and configure runs, see configure's option --config-cache.
4907 # It is not useful on other systems. If it contains results you don't
4908 # want to keep, you may remove or edit it.
4910 # config.status only pays attention to the cache file if you give it
4911 # the --recheck option to rerun configure.
4913 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4914 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4919 # The following way of writing the cache mishandles newlines in values,
4920 # but we know of no workaround that is simple, portable, and efficient.
4921 # So, we kill variables containing newlines.
4922 # Ultrix sh set writes to stderr and can't be redirected directly,
4923 # and sets the high bit in the cache file unless we assign to the vars.
4925 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4926 eval ac_val=\$$ac_var
4930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4934 _ | IFS | as_nl) ;; #(
4935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4936 *) { eval $ac_var=; unset $ac_var;} ;;
4942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4943 *${as_nl}ac_space=\ *)
4944 # `set' does not quote correctly, so add quotes: double-quote
4945 # substitution turns \\\\ into \\, and sed turns \\ into \.
4948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4951 # `set' quotes correctly as required by POSIX, so do not add quotes.
4952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4965 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4966 if test -w "$cache_file"; then
4967 if test "x$cache_file" != "x/dev/null"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4969 $as_echo "$as_me: updating cache $cache_file" >&6;}
4970 if test ! -f "$cache_file" || test -h "$cache_file"; then
4971 cat confcache >"$cache_file"
4973 case $cache_file in #(
4975 mv -f confcache "$cache_file"$$ &&
4976 mv -f "$cache_file"$$ "$cache_file" ;; #(
4978 mv -f confcache "$cache_file" ;;
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4984 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4989 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4990 # Let make expand exec_prefix.
4991 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4993 # Transform confdefs.h into DEFS.
4994 # Protect against shell expansion while executing Makefile rules.
4995 # Protect against Makefile macro expansion.
4997 # If the first sed substitution is executed (which looks for macros that
4998 # take arguments), then branch to the quote section. Otherwise,
4999 # look for a macro that doesn't take arguments.
5009 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5011 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5015 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5028 DEFS=`sed -n "$ac_script" confdefs.h`
5034 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5035 # 1. Remove the extension, and $U if already installed.
5036 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5037 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5038 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5039 # will be set to the directory where LIBOBJS objects are built.
5040 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5041 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5045 LTLIBOBJS=$ac_ltlibobjs
5048 if test -n "$EXEEXT"; then
5050 am__EXEEXT_FALSE='#'
5056 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5057 as_fn_error $? "conditional \"AMDEP\" was never defined.
5058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5060 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5061 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5064 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
5065 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
5066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5068 if test -z "${HAVE_PYGTK_TRUE}" && test -z "${HAVE_PYGTK_FALSE}"; then
5069 as_fn_error $? "conditional \"HAVE_PYGTK\" was never defined.
5070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5073 : "${CONFIG_STATUS=./config.status}"
5075 ac_clean_files_save=$ac_clean_files
5076 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5078 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5080 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5082 # Generated by $as_me.
5083 # Run this file to recreate the current configuration.
5084 # Compiler output produced by configure, useful for debugging
5085 # configure, is in config.log if it exists.
5091 SHELL=\${CONFIG_SHELL-$SHELL}
5094 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5095 ## -------------------- ##
5096 ## M4sh Initialization. ##
5097 ## -------------------- ##
5099 # Be more Bourne compatible
5100 DUALCASE=1; export DUALCASE # for MKS sh
5101 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5104 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5105 # is contrary to our usage. Disable this feature.
5106 alias -g '${1+"$@"}'='"$@"'
5107 setopt NO_GLOB_SUBST
5109 case `(set -o) 2>/dev/null` in #(
5121 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5122 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5123 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5125 # Prefer a ksh shell builtin over an external printf program on Solaris,
5126 # but without wasting forks for bash or zsh.
5127 if test -z "$BASH_VERSION$ZSH_VERSION" \
5128 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5129 as_echo='print -r --'
5130 as_echo_n='print -rn --'
5131 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5132 as_echo='printf %s\n'
5133 as_echo_n='printf %s'
5135 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5136 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5137 as_echo_n='/usr/ucb/echo -n'
5139 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5140 as_echo_n_body='eval
5144 expr "X$arg" : "X\\(.*\\)$as_nl";
5145 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5147 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5149 export as_echo_n_body
5150 as_echo_n='sh -c $as_echo_n_body as_echo'
5153 as_echo='sh -c $as_echo_body as_echo'
5156 # The user is always right.
5157 if test "${PATH_SEPARATOR+set}" != set; then
5159 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5160 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5167 # We need space, tab and new line, in precisely that order. Quoting is
5168 # there to prevent editors from complaining about space-tab.
5169 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5170 # splitting by setting IFS to empty value.)
5173 # Find who we are. Look in the path if we contain no directory separator.
5176 *[\\/]* ) as_myself=$0 ;;
5177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir=.
5182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5188 # We did not find ourselves, most probably we were run as `sh COMMAND'
5189 # in which case we are not to be found in the path.
5190 if test "x$as_myself" = x; then
5193 if test ! -f "$as_myself"; then
5194 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5198 # Unset variables that we do not need and which cause bugs (e.g. in
5199 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5200 # suppresses any "Segmentation fault" message there. '((' could
5201 # trigger a bug in pdksh 5.2.14.
5202 for as_var in BASH_ENV ENV MAIL MAILPATH
5203 do eval test x\${$as_var+set} = xset \
5204 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5217 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5220 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5221 # ----------------------------------------
5222 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5223 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5224 # script with STATUS, using 1 if that was 0.
5227 as_status=$1; test $as_status -eq 0 && as_status=1
5229 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5230 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5232 $as_echo "$as_me: error: $2" >&2
5233 as_fn_exit $as_status
5237 # as_fn_set_status STATUS
5238 # -----------------------
5239 # Set $? to STATUS, without forking.
5243 } # as_fn_set_status
5247 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5257 # Portably unset VAR.
5260 { eval $1=; unset $1;}
5262 as_unset=as_fn_unset
5263 # as_fn_append VAR VALUE
5264 # ----------------------
5265 # Append the text in VALUE to the end of the definition contained in VAR. Take
5266 # advantage of any shell optimizations that allow amortized linear growth over
5267 # repeated appends, instead of the typical quadratic growth present in naive
5269 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5270 eval 'as_fn_append ()
5281 # as_fn_arith ARG...
5282 # ------------------
5283 # Perform arithmetic evaluation on the ARGs, and store the result in the
5284 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5285 # must be portable across $(()) and expr.
5286 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5287 eval 'as_fn_arith ()
5294 as_val=`expr "$@" || test $? -eq 1`
5299 if expr a : '\(a\)' >/dev/null 2>&1 &&
5300 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5306 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5307 as_basename=basename
5312 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5318 as_me=`$as_basename -- "$0" ||
5319 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5320 X"$0" : 'X\(//\)$' \| \
5321 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5323 sed '/^.*\/\([^/][^/]*\)\/*$/{
5337 # Avoid depending upon Character Ranges.
5338 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5339 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5340 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5341 as_cr_digits='0123456789'
5342 as_cr_alnum=$as_cr_Letters$as_cr_digits
5344 ECHO_C= ECHO_N= ECHO_T=
5345 case `echo -n x` in #(((((
5347 case `echo 'xy\c'` in
5348 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5350 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5357 rm -f conf$$ conf$$.exe conf$$.file
5358 if test -d conf$$.dir; then
5359 rm -f conf$$.dir/conf$$.file
5362 mkdir conf$$.dir 2>/dev/null
5364 if (echo >conf$$.file) 2>/dev/null; then
5365 if ln -s conf$$.file conf$$ 2>/dev/null; then
5367 # ... but there are two gotchas:
5368 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5369 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5370 # In both cases, we have to default to `cp -pR'.
5371 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5373 elif ln conf$$.file conf$$ 2>/dev/null; then
5381 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5382 rmdir conf$$.dir 2>/dev/null
5387 # Create "$as_dir" as a directory, including parents if necessary.
5392 -*) as_dir=./$as_dir;;
5394 test -d "$as_dir" || eval $as_mkdir_p || {
5398 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5399 *) as_qdir=$as_dir;;
5401 as_dirs="'$as_qdir' $as_dirs"
5402 as_dir=`$as_dirname -- "$as_dir" ||
5403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5404 X"$as_dir" : 'X\(//\)[^/]' \| \
5405 X"$as_dir" : 'X\(//\)$' \| \
5406 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5407 $as_echo X"$as_dir" |
5408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5425 test -d "$as_dir" && break
5427 test -z "$as_dirs" || eval "mkdir $as_dirs"
5428 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5432 if mkdir -p . 2>/dev/null; then
5433 as_mkdir_p='mkdir -p "$as_dir"'
5435 test -d ./-p && rmdir ./-p
5440 # as_fn_executable_p FILE
5441 # -----------------------
5442 # Test if FILE is an executable regular file.
5443 as_fn_executable_p ()
5445 test -f "$1" && test -x "$1"
5446 } # as_fn_executable_p
5448 as_executable_p=as_fn_executable_p
5450 # Sed expression to map a string onto a valid CPP name.
5451 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5453 # Sed expression to map a string onto a valid variable name.
5454 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5458 ## ----------------------------------- ##
5459 ## Main body of $CONFIG_STATUS script. ##
5460 ## ----------------------------------- ##
5462 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5465 # Save the log message, to keep $0 and so on meaningful, and to
5466 # report actual input values of CONFIG_FILES etc. instead of their
5467 # values after options handling.
5469 This file was extended by xtoys $as_me 1.5.0, which was
5470 generated by GNU Autoconf 2.69. Invocation command line was
5472 CONFIG_FILES = $CONFIG_FILES
5473 CONFIG_HEADERS = $CONFIG_HEADERS
5474 CONFIG_LINKS = $CONFIG_LINKS
5475 CONFIG_COMMANDS = $CONFIG_COMMANDS
5478 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5483 case $ac_config_files in *"
5484 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5490 # Files that config.status was made for.
5491 config_files="$ac_config_files"
5492 config_commands="$ac_config_commands"
5496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5498 \`$as_me' instantiates files and other configuration actions
5499 from templates according to the current configuration. Unless the files
5500 and actions are specified as TAGs, all are instantiated by default.
5502 Usage: $0 [OPTION]... [TAG]...
5504 -h, --help print this help, then exit
5505 -V, --version print version number and configuration settings, then exit
5506 --config print configuration, then exit
5507 -q, --quiet, --silent
5508 do not print progress messages
5509 -d, --debug don't remove temporary files
5510 --recheck update $as_me by reconfiguring in the same conditions
5511 --file=FILE[:TEMPLATE]
5512 instantiate the configuration file FILE
5514 Configuration files:
5517 Configuration commands:
5520 Report bugs to <mdw@distorted.org.uk>."
5523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5524 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5526 xtoys config.status 1.5.0
5527 configured by $0, generated by GNU Autoconf 2.69,
5528 with options \\"\$ac_cs_config\\"
5530 Copyright (C) 2012 Free Software Foundation, Inc.
5531 This config.status script is free software; the Free Software Foundation
5532 gives unlimited permission to copy, distribute and modify it."
5539 test -n "\$AWK" || AWK=awk
5542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5543 # The default lists apply if the user does not specify any file.
5549 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5550 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5554 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5566 # Handling of the options.
5567 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5569 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5570 $as_echo "$ac_cs_version"; exit ;;
5571 --config | --confi | --conf | --con | --co | --c )
5572 $as_echo "$ac_cs_config"; exit ;;
5573 --debug | --debu | --deb | --de | --d | -d )
5575 --file | --fil | --fi | --f )
5578 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5579 '') as_fn_error $? "missing file argument" ;;
5581 as_fn_append CONFIG_FILES " '$ac_optarg'"
5582 ac_need_defaults=false;;
5583 --he | --h | --help | --hel | -h )
5584 $as_echo "$ac_cs_usage"; exit ;;
5585 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5586 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5590 -*) as_fn_error $? "unrecognized option: \`$1'
5591 Try \`$0 --help' for more information." ;;
5593 *) as_fn_append ac_config_targets " $1"
5594 ac_need_defaults=false ;;
5600 ac_configure_extra_args=
5602 if $ac_cs_silent; then
5604 ac_configure_extra_args="$ac_configure_extra_args --silent"
5608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5609 if \$ac_cs_recheck; then
5610 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5612 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5613 CONFIG_SHELL='$SHELL'
5619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5623 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5624 ## Running $as_me. ##
5630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5634 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5640 # Handling of arguments.
5641 for ac_config_target in $ac_config_targets
5643 case $ac_config_target in
5644 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5645 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5647 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5652 # If the user did not use the arguments to specify the items to instantiate,
5653 # then the envvar interface is used. Set only those that are not.
5654 # We use the long form for the default assignment because of an extremely
5655 # bizarre bug on SunOS 4.1.3.
5656 if $ac_need_defaults; then
5657 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5658 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5661 # Have a temporary directory for convenience. Make it in the build tree
5662 # simply because there is no reason against having it here, and in addition,
5663 # creating and moving files from /tmp can sometimes cause problems.
5664 # Hook for its removal unless debugging.
5665 # Note that there is a small window in which the directory will not be cleaned:
5666 # after its creation but before its name has been assigned to `$tmp'.
5670 trap 'exit_status=$?
5672 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5674 trap 'as_fn_exit 1' 1 2 13 15
5676 # Create a (secure) tmp directory for tmp files.
5679 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5683 tmp=./conf$$-$RANDOM
5684 (umask 077 && mkdir "$tmp")
5685 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5688 # Set up the scripts for CONFIG_FILES section.
5689 # No need to generate them if there are no CONFIG_FILES.
5690 # This happens for instance with `./config.status config.h'.
5691 if test -n "$CONFIG_FILES"; then
5694 ac_cr=`echo X | tr X '\015'`
5695 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5696 # But we know of no other shell where ac_cr would be empty at this
5697 # point, so we can use a bashism as a fallback.
5698 if test "x$ac_cr" = x; then
5699 eval ac_cr=\$\'\\r\'
5701 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5702 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5708 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5713 echo "cat >conf$$subs.awk <<_ACEOF" &&
5714 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5717 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5718 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5720 for ac_last_try in false false false false false :; do
5721 . ./conf$$subs.sh ||
5722 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5724 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5725 if test $ac_delim_n = $ac_delim_num; then
5727 elif $ac_last_try; then
5728 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5730 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5736 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5740 s/^/S["/; s/!.*/"]=/
5750 s/\(.\{148\}\)..*/\1/
5752 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5764 s/\(.\{148\}\)..*/\1/
5766 s/["\\]/\\&/g; s/^/"/; s/$/"/
5770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5775 ' <conf$$subs.awk | sed '
5780 ' >>$CONFIG_STATUS || ac_write_fail=1
5781 rm -f conf$$subs.awk
5782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5784 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5785 for (key in S) S_is_set[key] = 1
5791 nfields = split(line, field, "@")
5793 len = length(field[1])
5794 for (i = 2; i < nfields; i++) {
5796 keylen = length(key)
5797 if (S_is_set[key]) {
5799 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5800 len += length(value) + length(field[++i])
5811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5812 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5813 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5816 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5817 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5820 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5821 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5822 # trailing colons and then remove the whole line if VPATH becomes empty
5823 # (actually we leave an empty line to preserve line numbers).
5824 if test "x$srcdir" = x.; then
5825 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5844 fi # test -n "$CONFIG_FILES"
5847 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5852 :[FHLC]) ac_mode=$ac_tag; continue;;
5854 case $ac_mode$ac_tag in
5856 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5857 :[FH]-) ac_tag=-:-;;
5858 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5875 -) ac_f="$ac_tmp/stdin";;
5876 *) # Look for the file first in the build tree, then in the source tree
5877 # (if the path is not absolute). The absolute path cannot be DOS-style,
5878 # because $ac_f cannot contain `:'.
5882 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5884 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5886 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5887 as_fn_append ac_file_inputs " '$ac_f'"
5890 # Let's still pretend it is `configure' which instantiates (i.e., don't
5891 # use $as_me), people would be surprised to read:
5892 # /* config.h. Generated by config.status. */
5893 configure_input='Generated from '`
5894 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5896 if test x"$ac_file" != x-; then
5897 configure_input="$ac_file. $configure_input"
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5899 $as_echo "$as_me: creating $ac_file" >&6;}
5901 # Neutralize special characters interpreted by sed in replacement strings.
5902 case $configure_input in #(
5903 *\&* | *\|* | *\\* )
5904 ac_sed_conf_input=`$as_echo "$configure_input" |
5905 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5906 *) ac_sed_conf_input=$configure_input;;
5910 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5916 ac_dir=`$as_dirname -- "$ac_file" ||
5917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5918 X"$ac_file" : 'X\(//\)[^/]' \| \
5919 X"$ac_file" : 'X\(//\)$' \| \
5920 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5921 $as_echo X"$ac_file" |
5922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5939 as_dir="$ac_dir"; as_fn_mkdir_p
5943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5945 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5946 # A ".." for each directory in $ac_dir_suffix.
5947 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5948 case $ac_top_builddir_sub in
5949 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5950 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5953 ac_abs_top_builddir=$ac_pwd
5954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5955 # for backward compatibility:
5956 ac_top_builddir=$ac_top_build_prefix
5959 .) # We are building in place.
5961 ac_top_srcdir=$ac_top_builddir_sub
5962 ac_abs_top_srcdir=$ac_pwd ;;
5963 [\\/]* | ?:[\\/]* ) # Absolute name.
5964 ac_srcdir=$srcdir$ac_dir_suffix;
5965 ac_top_srcdir=$srcdir
5966 ac_abs_top_srcdir=$srcdir ;;
5968 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5969 ac_top_srcdir=$ac_top_build_prefix$srcdir
5970 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5982 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5983 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5987 [\\/$]* | ?:[\\/]* ) ;;
5988 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5993 # If the template does not know about datarootdir, expand it.
5994 # FIXME: This hack should be removed a few years after 2.60.
5995 ac_datarootdir_hack=; ac_datarootdir_seen=
6006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6007 *datarootdir*) ac_datarootdir_seen=yes;;
6008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6013 ac_datarootdir_hack='
6014 s&@datadir@&$datadir&g
6015 s&@docdir@&$docdir&g
6016 s&@infodir@&$infodir&g
6017 s&@localedir@&$localedir&g
6018 s&@mandir@&$mandir&g
6019 s&\\\${datarootdir}&$datarootdir&g' ;;
6023 # Neutralize VPATH when `$srcdir' = `.'.
6024 # Shell code in configure.ac might set extrasub.
6025 # FIXME: do we really want to maintain this feature?
6026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6027 ac_sed_extra="$ac_vpsub
6030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6033 s|@configure_input@|$ac_sed_conf_input|;t t
6034 s&@top_builddir@&$ac_top_builddir_sub&;t t
6035 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6036 s&@srcdir@&$ac_srcdir&;t t
6037 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6038 s&@top_srcdir@&$ac_top_srcdir&;t t
6039 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6040 s&@builddir@&$ac_builddir&;t t
6041 s&@abs_builddir@&$ac_abs_builddir&;t t
6042 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6043 s&@INSTALL@&$ac_INSTALL&;t t
6044 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6045 $ac_datarootdir_hack
6047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6048 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6051 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6052 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6053 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6055 which seems to be undefined. Please make sure it is defined" >&5
6056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6057 which seems to be undefined. Please make sure it is defined" >&2;}
6059 rm -f "$ac_tmp/stdin"
6061 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6062 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6068 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6069 $as_echo "$as_me: executing $ac_file commands" >&6;}
6074 case $ac_file$ac_mode in
6075 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6076 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6077 # are listed without --file. Let's play safe and only enable the eval
6078 # if we detect the quoting.
6079 case $CONFIG_FILES in
6080 *\'*) eval set x "$CONFIG_FILES" ;;
6081 *) set x $CONFIG_FILES ;;
6086 # Strip MF so we end up with the name of the file.
6087 mf=`echo "$mf" | sed -e 's/:.*$//'`
6088 # Check whether this is an Automake generated Makefile or not.
6089 # We used to match only the files named `Makefile.in', but
6090 # some people rename them; so instead we look at the file content.
6091 # Grep'ing the first line is not enough: some people post-process
6092 # each Makefile.in and add a new line on top of each file to say so.
6093 # Grep'ing the whole file is not good either: AIX grep has a line
6094 # limit of 2048, but all sed's we know have understand at least 4000.
6095 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6096 dirpart=`$as_dirname -- "$mf" ||
6097 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6098 X"$mf" : 'X\(//\)[^/]' \| \
6099 X"$mf" : 'X\(//\)$' \| \
6100 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6122 # Extract the definition of DEPDIR, am__include, and am__quote
6123 # from the Makefile without running `make'.
6124 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6125 test -z "$DEPDIR" && continue
6126 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6127 test -z "am__include" && continue
6128 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6129 # When using ansi2knr, U may be empty or an underscore; expand it
6130 U=`sed -n 's/^U = //p' < "$mf"`
6131 # Find all dependency output files, they are included files with
6132 # $(DEPDIR) in their names. We invoke sed twice because it is the
6133 # simplest approach to changing $(DEPDIR) to its actual value in the
6135 for file in `sed -n "
6136 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6137 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6138 # Make sure the directory exists.
6139 test -f "$dirpart/$file" && continue
6140 fdir=`$as_dirname -- "$file" ||
6141 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6142 X"$file" : 'X\(//\)[^/]' \| \
6143 X"$file" : 'X\(//\)$' \| \
6144 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6163 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6164 # echo "creating $dirpart/$file"
6165 echo '# dummy' > "$dirpart/$file"
6177 ac_clean_files=$ac_clean_files_save
6179 test $ac_write_fail = 0 ||
6180 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6183 # configure is writing to config.log, and then calls config.status.
6184 # config.status does its own redirection, appending to config.log.
6185 # Unfortunately, on DOS this fails, as config.log is still kept open
6186 # by configure, so config.status won't be able to write to it; its
6187 # output is simply discarded. So we exec the FD to /dev/null,
6188 # effectively closing config.log, so it can be properly (re)opened and
6189 # appended to by config.status. When coming back to configure, we
6190 # need to make the FD available again.
6191 if test "$no_create" != yes; then
6193 ac_config_status_args=
6194 test "$silent" = yes &&
6195 ac_config_status_args="$ac_config_status_args --quiet"
6197 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6199 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6200 # would make configure fail if this is the last instruction.
6201 $ac_cs_success || as_fn_exit 1
6203 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6205 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}