2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir=.
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 *v*x* | *x*v* ) as_opts=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir=./$as_dir;;
293 test -d "$as_dir" || eval $as_mkdir_p || {
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362 as_val=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status=$1; test $as_status -eq 0 && as_status=1
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
478 mkdir conf$$.dir 2>/dev/null
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 elif ln conf$$.file conf$$ 2>/dev/null; then
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
503 test -d ./-p && rmdir ./-p
507 if test -x / >/dev/null 2>&1; then
510 if ls -dL / >/dev/null 2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" || exec 7<&0 </dev/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix=/usr/local
550 ac_config_libobj_dir=.
557 # Identity of this package.
565 ac_unique_file="xp.c"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
602 ac_subst_vars='am__EXEEXT_FALSE
634 INSTALL_STRIP_PROGRAM
676 program_transform_name
689 enable_option_checking
690 enable_dependency_tracking
692 ac_precious_vars='build_alias
703 # Initialize some variables set by options.
705 ac_init_version=false
706 ac_unrecognized_opts=
708 # The variables have the same names as the options, with
709 # dashes changed to underlines.
717 program_transform_name=s,x,x,
725 # Installation directory options.
726 # These are left unexpanded so users can "make install exec_prefix=/foo"
727 # and all the variables that are supposed to be based on exec_prefix
728 # by default will actually change.
729 # Use braces instead of parens because sh, perl, etc. also accept them.
730 # (The list follows the same order as the GNU Coding Standards.)
731 bindir='${exec_prefix}/bin'
732 sbindir='${exec_prefix}/sbin'
733 libexecdir='${exec_prefix}/libexec'
734 datarootdir='${prefix}/share'
735 datadir='${datarootdir}'
736 sysconfdir='${prefix}/etc'
737 sharedstatedir='${prefix}/com'
738 localstatedir='${prefix}/var'
739 includedir='${prefix}/include'
740 oldincludedir='/usr/include'
741 docdir='${datarootdir}/doc/${PACKAGE}'
742 infodir='${datarootdir}/info'
747 libdir='${exec_prefix}/lib'
748 localedir='${datarootdir}/locale'
749 mandir='${datarootdir}/man'
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768 # Accept the important Cygnus configure options, so we can diagnose typos.
770 case $ac_dashdash$ac_option in
774 -bindir | --bindir | --bindi | --bind | --bin | --bi)
776 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 -build | --build | --buil | --bui | --bu)
780 ac_prev=build_alias ;;
781 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
782 build_alias=$ac_optarg ;;
784 -cache-file | --cache-file | --cache-fil | --cache-fi \
785 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
786 ac_prev=cache_file ;;
787 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
788 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
789 cache_file=$ac_optarg ;;
792 cache_file=config.cache ;;
794 -datadir | --datadir | --datadi | --datad)
796 -datadir=* | --datadir=* | --datadi=* | --datad=*)
797 datadir=$ac_optarg ;;
799 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
800 | --dataroo | --dataro | --datar)
801 ac_prev=datarootdir ;;
802 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
803 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
804 datarootdir=$ac_optarg ;;
806 -disable-* | --disable-*)
807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
808 # Reject names that are not valid shell variable names.
809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
810 as_fn_error $? "invalid feature name: $ac_useropt"
811 ac_useropt_orig=$ac_useropt
812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813 case $ac_user_opts in
817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
818 ac_unrecognized_sep=', ';;
820 eval enable_$ac_useropt=no ;;
822 -docdir | --docdir | --docdi | --doc | --do)
824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 -enable-* | --enable-*)
833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
836 as_fn_error $? "invalid feature name: $ac_useropt"
837 ac_useropt_orig=$ac_useropt
838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844 ac_unrecognized_sep=', ';;
846 eval enable_$ac_useropt=\$ac_optarg ;;
848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850 | --exec | --exe | --ex)
851 ac_prev=exec_prefix ;;
852 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854 | --exec=* | --exe=* | --ex=*)
855 exec_prefix=$ac_optarg ;;
857 -gas | --gas | --ga | --g)
858 # Obsolete; use --with-gas.
861 -help | --help | --hel | --he | -h)
863 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864 ac_init_help=recursive ;;
865 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866 ac_init_help=short ;;
868 -host | --host | --hos | --ho)
869 ac_prev=host_alias ;;
870 -host=* | --host=* | --hos=* | --ho=*)
871 host_alias=$ac_optarg ;;
873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
877 htmldir=$ac_optarg ;;
879 -includedir | --includedir | --includedi | --included | --include \
880 | --includ | --inclu | --incl | --inc)
881 ac_prev=includedir ;;
882 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883 | --includ=* | --inclu=* | --incl=* | --inc=*)
884 includedir=$ac_optarg ;;
886 -infodir | --infodir | --infodi | --infod | --info | --inf)
888 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889 infodir=$ac_optarg ;;
891 -libdir | --libdir | --libdi | --libd)
893 -libdir=* | --libdir=* | --libdi=* | --libd=*)
896 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897 | --libexe | --libex | --libe)
898 ac_prev=libexecdir ;;
899 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900 | --libexe=* | --libex=* | --libe=*)
901 libexecdir=$ac_optarg ;;
903 -localedir | --localedir | --localedi | --localed | --locale)
905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906 localedir=$ac_optarg ;;
908 -localstatedir | --localstatedir | --localstatedi | --localstated \
909 | --localstate | --localstat | --localsta | --localst | --locals)
910 ac_prev=localstatedir ;;
911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913 localstatedir=$ac_optarg ;;
915 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
917 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 # Obsolete; use --without-fp.
924 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925 | --no-cr | --no-c | -n)
928 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934 | --oldin | --oldi | --old | --ol | --o)
935 ac_prev=oldincludedir ;;
936 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939 oldincludedir=$ac_optarg ;;
941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946 -program-prefix | --program-prefix | --program-prefi | --program-pref \
947 | --program-pre | --program-pr | --program-p)
948 ac_prev=program_prefix ;;
949 -program-prefix=* | --program-prefix=* | --program-prefi=* \
950 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951 program_prefix=$ac_optarg ;;
953 -program-suffix | --program-suffix | --program-suffi | --program-suff \
954 | --program-suf | --program-su | --program-s)
955 ac_prev=program_suffix ;;
956 -program-suffix=* | --program-suffix=* | --program-suffi=* \
957 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958 program_suffix=$ac_optarg ;;
960 -program-transform-name | --program-transform-name \
961 | --program-transform-nam | --program-transform-na \
962 | --program-transform-n | --program-transform- \
963 | --program-transform | --program-transfor \
964 | --program-transfo | --program-transf \
965 | --program-trans | --program-tran \
966 | --progr-tra | --program-tr | --program-t)
967 ac_prev=program_transform_name ;;
968 -program-transform-name=* | --program-transform-name=* \
969 | --program-transform-nam=* | --program-transform-na=* \
970 | --program-transform-n=* | --program-transform-=* \
971 | --program-transform=* | --program-transfor=* \
972 | --program-transfo=* | --program-transf=* \
973 | --program-trans=* | --program-tran=* \
974 | --progr-tra=* | --program-tr=* | --program-t=*)
975 program_transform_name=$ac_optarg ;;
977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982 -psdir | --psdir | --psdi | --psd | --ps)
984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988 | -silent | --silent | --silen | --sile | --sil)
991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
995 sbindir=$ac_optarg ;;
997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999 | --sharedst | --shareds | --shared | --share | --shar \
1001 ac_prev=sharedstatedir ;;
1002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1006 sharedstatedir=$ac_optarg ;;
1008 -site | --site | --sit)
1010 -site=* | --site=* | --sit=*)
1013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016 srcdir=$ac_optarg ;;
1018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019 | --syscon | --sysco | --sysc | --sys | --sy)
1020 ac_prev=sysconfdir ;;
1021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023 sysconfdir=$ac_optarg ;;
1025 -target | --target | --targe | --targ | --tar | --ta | --t)
1026 ac_prev=target_alias ;;
1027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028 target_alias=$ac_optarg ;;
1030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1033 -version | --version | --versio | --versi | --vers | -V)
1034 ac_init_version=: ;;
1037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error $? "invalid package name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1050 eval with_$ac_useropt=\$ac_optarg ;;
1052 -without-* | --without-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: $ac_useropt"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1066 eval with_$ac_useropt=no ;;
1069 # Obsolete; use --with-x.
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev=x_includes ;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev=x_libraries ;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries=$ac_optarg ;;
1086 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1087 Try \`$0 --help' for more information"
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 case $ac_envvar in #(
1094 '' | [0-9]* | *[!_$as_cr_alnum]* )
1095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1097 eval $ac_envvar=\$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1111 if test -n "$ac_prev"; then
1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 as_fn_error $? "missing argument to $ac_option"
1116 if test -n "$ac_unrecognized_opts"; then
1117 case $enable_option_checking in
1119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1124 # Check all directory arguments for consistency.
1125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir
1130 eval ac_val=\$$ac_var
1131 # Remove trailing slashes.
1134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1135 eval $ac_var=\$ac_val;;
1137 # Be sure to have absolute directory names.
1139 [\\/$]* | ?:[\\/]* ) continue;;
1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1145 # There might be people who depend on the old broken behavior: `$host'
1146 # used to hold the argument of --host etc.
1147 # FIXME: To remove some day.
1150 target=$target_alias
1152 # FIXME: To remove some day.
1153 if test "x$host_alias" != x; then
1154 if test "x$build_alias" = x; then
1155 cross_compiling=maybe
1156 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1157 If a cross compiler is detected then cross compile mode will be used" >&2
1158 elif test "x$build_alias" != "x$host_alias"; then
1164 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1166 test "$silent" = yes && exec 6>/dev/null
1169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1170 ac_ls_di=`ls -di .` &&
1171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1172 as_fn_error $? "working directory cannot be determined"
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 as_fn_error $? "pwd does not report name of working directory"
1177 # Find the source files, if location was not specified.
1178 if test -z "$srcdir"; then
1179 ac_srcdir_defaulted=yes
1180 # Try the directory containing this script, then the parent directory.
1181 ac_confdir=`$as_dirname -- "$as_myself" ||
1182 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183 X"$as_myself" : 'X\(//\)[^/]' \| \
1184 X"$as_myself" : 'X\(//\)$' \| \
1185 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1186 $as_echo X"$as_myself" |
1187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1209 ac_srcdir_defaulted=no
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1213 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1227 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1229 for ac_var in $ac_precious_vars; do
1230 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_${ac_var}_value=\$${ac_var}
1232 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1243 \`configure' configures this package to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking ...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1307 if test -n "$ac_init_help"; then
1312 --disable-option-checking ignore unrecognized --enable/--with options
1313 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1314 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1315 --disable-dependency-tracking speeds up one-time build
1316 --enable-dependency-tracking do not reject slow dependency extractors
1318 Some influential environment variables:
1319 CC C compiler command
1320 CFLAGS C compiler flags
1321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1322 nonstandard directory <lib dir>
1323 LIBS libraries to pass to the linker, e.g. -l<library>
1324 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1325 you have headers in a nonstandard directory <include dir>
1328 Use these variables to override the choices made by `configure' or to help
1329 it to find libraries and programs with nonstandard names/locations.
1331 Report bugs to the package provider.
1336 if test "$ac_init_help" = "recursive"; then
1337 # If there are subdirs, report their specific --help.
1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339 test -d "$ac_dir" ||
1340 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1348 # A ".." for each directory in $ac_dir_suffix.
1349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1350 case $ac_top_builddir_sub in
1351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1355 ac_abs_top_builddir=$ac_pwd
1356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1357 # for backward compatibility:
1358 ac_top_builddir=$ac_top_build_prefix
1361 .) # We are building in place.
1363 ac_top_srcdir=$ac_top_builddir_sub
1364 ac_abs_top_srcdir=$ac_pwd ;;
1365 [\\/]* | ?:[\\/]* ) # Absolute name.
1366 ac_srcdir=$srcdir$ac_dir_suffix;
1367 ac_top_srcdir=$srcdir
1368 ac_abs_top_srcdir=$srcdir ;;
1370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1371 ac_top_srcdir=$ac_top_build_prefix$srcdir
1372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1376 cd "$ac_dir" || { ac_status=$?; continue; }
1377 # Check for guested configure.
1378 if test -f "$ac_srcdir/configure.gnu"; then
1380 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1381 elif test -f "$ac_srcdir/configure"; then
1383 $SHELL "$ac_srcdir/configure" --help=recursive
1385 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1387 cd "$ac_pwd" || { ac_status=$?; break; }
1391 test -n "$ac_init_help" && exit $ac_status
1392 if $ac_init_version; then
1395 generated by GNU Autoconf 2.68
1397 Copyright (C) 2010 Free Software Foundation, Inc.
1398 This configure script is free software; the Free Software Foundation
1399 gives unlimited permission to copy, distribute and modify it.
1404 ## ------------------------ ##
1405 ## Autoconf initialization. ##
1406 ## ------------------------ ##
1408 # ac_fn_c_try_compile LINENO
1409 # --------------------------
1410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1411 ac_fn_c_try_compile ()
1413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1414 rm -f conftest.$ac_objext
1415 if { { ac_try="$ac_compile"
1417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418 *) ac_try_echo=$ac_try;;
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422 (eval "$ac_compile") 2>conftest.err
1424 if test -s conftest.err; then
1425 grep -v '^ *+' conftest.err >conftest.er1
1426 cat conftest.er1 >&5
1427 mv -f conftest.er1 conftest.err
1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430 test $ac_status = 0; } && {
1431 test -z "$ac_c_werror_flag" ||
1432 test ! -s conftest.err
1433 } && test -s conftest.$ac_objext; then :
1436 $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1442 as_fn_set_status $ac_retval
1444 } # ac_fn_c_try_compile
1446 # ac_fn_c_try_link LINENO
1447 # -----------------------
1448 # Try to link conftest.$ac_ext, and return whether this succeeded.
1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452 rm -f conftest.$ac_objext conftest$ac_exeext
1453 if { { ac_try="$ac_link"
1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_link") 2>conftest.err
1462 if test -s conftest.err; then
1463 grep -v '^ *+' conftest.err >conftest.er1
1464 cat conftest.er1 >&5
1465 mv -f conftest.er1 conftest.err
1467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468 test $ac_status = 0; } && {
1469 test -z "$ac_c_werror_flag" ||
1470 test ! -s conftest.err
1471 } && test -s conftest$ac_exeext && {
1472 test "$cross_compiling" = yes ||
1473 $as_test_x conftest$ac_exeext
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1482 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1483 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1484 # interfere with the next link command; also delete a directory that is
1485 # left behind by Apple's compiler. We do this before executing the actions.
1486 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1488 as_fn_set_status $ac_retval
1490 } # ac_fn_c_try_link
1492 # ac_fn_c_try_cpp LINENO
1493 # ----------------------
1494 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498 if { { ac_try="$ac_cpp conftest.$ac_ext"
1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } > conftest.i && {
1514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status $ac_retval
1529 # ac_fn_c_try_run LINENO
1530 # ----------------------
1531 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1532 # that executables *can* be run.
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 if { { ac_try="$ac_link"
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_link") 2>&5
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1547 { { case "(($ac_try" in
1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_try") 2>&5
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; }; }; then :
1559 $as_echo "$as_me: program exited with status $ac_status" >&5
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1563 ac_retval=$ac_status
1565 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1567 as_fn_set_status $ac_retval
1571 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1572 # -------------------------------------------------------
1573 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1574 # the include files in INCLUDES and setting the cache variable VAR
1576 ac_fn_c_check_header_mongrel ()
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 if eval \${$3+:} false; then :
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1581 $as_echo_n "checking for $2... " >&6; }
1582 if eval \${$3+:} false; then :
1583 $as_echo_n "(cached) " >&6
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587 $as_echo "$ac_res" >&6; }
1589 # Is the header compilable?
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1591 $as_echo_n "checking $2 usability... " >&6; }
1592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1593 /* end confdefs.h. */
1597 if ac_fn_c_try_compile "$LINENO"; then :
1598 ac_header_compiler=yes
1600 ac_header_compiler=no
1602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1604 $as_echo "$ac_header_compiler" >&6; }
1606 # Is the header present?
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1608 $as_echo_n "checking $2 presence... " >&6; }
1609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h. */
1613 if ac_fn_c_try_cpp "$LINENO"; then :
1614 ac_header_preproc=yes
1616 ac_header_preproc=no
1618 rm -f conftest.err conftest.i conftest.$ac_ext
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1620 $as_echo "$ac_header_preproc" >&6; }
1622 # So? What about this header?
1623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1626 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1628 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1632 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1634 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1636 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1638 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1640 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if eval \${$3+:} false; then :
1646 $as_echo_n "(cached) " >&6
1648 eval "$3=\$ac_header_compiler"
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 } # ac_fn_c_check_header_mongrel
1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1659 # -------------------------------------------------------
1660 # Tests whether HEADER exists and can be compiled using the include files in
1661 # INCLUDES, setting the cache variable VAR accordingly.
1662 ac_fn_c_check_header_compile ()
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666 $as_echo_n "checking for $2... " >&6; }
1667 if eval \${$3+:} false; then :
1668 $as_echo_n "(cached) " >&6
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1675 if ac_fn_c_try_compile "$LINENO"; then :
1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 } # ac_fn_c_check_header_compile
1688 cat >config.log <<_ACEOF
1689 This file contains any messages produced by compilers while
1690 running configure, to aid debugging if configure makes a mistake.
1692 It was created by $as_me, which was
1693 generated by GNU Autoconf 2.68. Invocation command line was
1705 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1706 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1707 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1708 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1709 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1711 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1712 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1714 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1715 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1716 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1717 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1718 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1719 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1720 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 test -z "$as_dir" && as_dir=.
1729 $as_echo "PATH: $as_dir"
1745 # Keep a trace of the command line.
1746 # Strip out --no-create and --no-recursion so they do not pile up.
1747 # Strip out --silent because we don't want to record it for future runs.
1748 # Also quote any args containing shell meta-characters.
1749 # Make two passes to allow for proper duplicate-argument suppression.
1753 ac_must_keep_next=false
1759 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1760 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1761 | -silent | --silent | --silen | --sile | --sil)
1764 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1769 as_fn_append ac_configure_args1 " '$ac_arg'"
1770 if test $ac_must_keep_next = true; then
1771 ac_must_keep_next=false # Got value, back to normal.
1774 *=* | --config-cache | -C | -disable-* | --disable-* \
1775 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1776 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1777 | -with-* | --with-* | -without-* | --without-* | --x)
1778 case "$ac_configure_args0 " in
1779 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1782 -* ) ac_must_keep_next=true ;;
1785 as_fn_append ac_configure_args " '$ac_arg'"
1790 { ac_configure_args0=; unset ac_configure_args0;}
1791 { ac_configure_args1=; unset ac_configure_args1;}
1793 # When interrupted or exit'd, cleanup temporary files, and complete
1794 # config.log. We remove comments because anyway the quotes in there
1795 # would cause problems or look ugly.
1796 # WARNING: Use '\'' to represent an apostrophe within the trap.
1797 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1798 trap 'exit_status=$?
1799 # Save into config.log some information that might help in debugging.
1803 $as_echo "## ---------------- ##
1804 ## Cache variables. ##
1805 ## ---------------- ##"
1807 # The following way of writing the cache mishandles newlines in values,
1809 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1810 eval ac_val=\$$ac_var
1814 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1815 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1818 _ | IFS | as_nl) ;; #(
1819 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1820 *) { eval $ac_var=; unset $ac_var;} ;;
1825 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1826 *${as_nl}ac_space=\ *)
1828 "s/'\''/'\''\\\\'\'''\''/g;
1829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1832 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1839 $as_echo "## ----------------- ##
1840 ## Output variables. ##
1841 ## ----------------- ##"
1843 for ac_var in $ac_subst_vars
1845 eval ac_val=\$$ac_var
1847 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1849 $as_echo "$ac_var='\''$ac_val'\''"
1853 if test -n "$ac_subst_files"; then
1854 $as_echo "## ------------------- ##
1855 ## File substitutions. ##
1856 ## ------------------- ##"
1858 for ac_var in $ac_subst_files
1860 eval ac_val=\$$ac_var
1862 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1864 $as_echo "$ac_var='\''$ac_val'\''"
1869 if test -s confdefs.h; then
1870 $as_echo "## ----------- ##
1877 test "$ac_signal" != 0 &&
1878 $as_echo "$as_me: caught signal $ac_signal"
1879 $as_echo "$as_me: exit $exit_status"
1881 rm -f core *.core core.conftest.* &&
1882 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1885 for ac_signal in 1 2 13 15; do
1886 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1890 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1891 rm -f -r conftest* confdefs.h
1893 $as_echo "/* confdefs.h */" > confdefs.h
1895 # Predefined preprocessor variables.
1897 cat >>confdefs.h <<_ACEOF
1898 #define PACKAGE_NAME "$PACKAGE_NAME"
1901 cat >>confdefs.h <<_ACEOF
1902 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1913 cat >>confdefs.h <<_ACEOF
1914 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1917 cat >>confdefs.h <<_ACEOF
1918 #define PACKAGE_URL "$PACKAGE_URL"
1922 # Let the site file select an alternate cache file if it wants to.
1923 # Prefer an explicitly selected file to automatically selected ones.
1926 if test -n "$CONFIG_SITE"; then
1927 # We do not want a PATH search for config.site.
1928 case $CONFIG_SITE in #((
1929 -*) ac_site_file1=./$CONFIG_SITE;;
1930 */*) ac_site_file1=$CONFIG_SITE;;
1931 *) ac_site_file1=./$CONFIG_SITE;;
1933 elif test "x$prefix" != xNONE; then
1934 ac_site_file1=$prefix/share/config.site
1935 ac_site_file2=$prefix/etc/config.site
1937 ac_site_file1=$ac_default_prefix/share/config.site
1938 ac_site_file2=$ac_default_prefix/etc/config.site
1940 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1942 test "x$ac_site_file" = xNONE && continue
1943 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1945 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1946 sed 's/^/| /' "$ac_site_file" >&5
1948 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1950 as_fn_error $? "failed to load site script $ac_site_file
1951 See \`config.log' for more details" "$LINENO" 5; }
1955 if test -r "$cache_file"; then
1956 # Some versions of bash will fail to source /dev/null (special files
1957 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1958 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1960 $as_echo "$as_me: loading cache $cache_file" >&6;}
1962 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1963 *) . "./$cache_file";;
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1968 $as_echo "$as_me: creating cache $cache_file" >&6;}
1972 # Check that the precious variables saved in the cache have kept the same
1974 ac_cache_corrupted=false
1975 for ac_var in $ac_precious_vars; do
1976 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1977 eval ac_new_set=\$ac_env_${ac_var}_set
1978 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1979 eval ac_new_val=\$ac_env_${ac_var}_value
1980 case $ac_old_set,$ac_new_set in
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1983 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1984 ac_cache_corrupted=: ;;
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1987 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1988 ac_cache_corrupted=: ;;
1991 if test "x$ac_old_val" != "x$ac_new_val"; then
1992 # differences in whitespace do not lead to failure.
1993 ac_old_val_w=`echo x $ac_old_val`
1994 ac_new_val_w=`echo x $ac_new_val`
1995 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1997 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1998 ac_cache_corrupted=:
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2001 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2002 eval $ac_var=\$ac_old_val
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2005 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2007 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2010 # Pass precious variables to config.status.
2011 if test "$ac_new_set" = set; then
2013 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 *) ac_arg=$ac_var=$ac_new_val ;;
2016 case " $ac_configure_args " in
2017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2018 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2022 if $ac_cache_corrupted; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2026 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2027 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2029 ## -------------------- ##
2030 ## Main body of script. ##
2031 ## -------------------- ##
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2040 am__api_version='1.11'
2043 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2044 if test -f "$ac_dir/install-sh"; then
2046 ac_install_sh="$ac_aux_dir/install-sh -c"
2048 elif test -f "$ac_dir/install.sh"; then
2050 ac_install_sh="$ac_aux_dir/install.sh -c"
2052 elif test -f "$ac_dir/shtool"; then
2054 ac_install_sh="$ac_aux_dir/shtool install -c"
2058 if test -z "$ac_aux_dir"; then
2059 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2062 # These three variables are undocumented and unsupported,
2063 # and are intended to be withdrawn in a future Autoconf release.
2064 # They can cause serious problems if a builder's source tree is in a directory
2065 # whose full name contains unusual characters.
2066 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2067 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2068 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2071 # Find a good install program. We prefer a C program (faster),
2072 # so one script is as good as another. But avoid the broken or
2073 # incompatible versions:
2074 # SysV /etc/install, /usr/sbin/install
2075 # SunOS /usr/etc/install
2076 # IRIX /sbin/install
2078 # AmigaOS /C/install, which installs bootblocks on floppy discs
2079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2082 # OS/2's system install, which has a completely different semantic
2083 # ./install, which can be erroneously created by make from ./install.sh.
2084 # Reject install programs that cannot install multiple files.
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2086 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2087 if test -z "$INSTALL"; then
2088 if ${ac_cv_path_install+:} false; then :
2089 $as_echo_n "(cached) " >&6
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 # Account for people who put trailing slashes in PATH elements.
2097 case $as_dir/ in #((
2098 ./ | .// | /[cC]/* | \
2099 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2100 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2103 # OSF1 and SCO ODT 3.0 have their own names for install.
2104 # Don't use installbsd from OSF since it installs stuff as root
2106 for ac_prog in ginstall scoinst install; do
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2109 if test $ac_prog = install &&
2110 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2111 # AIX install. It has an incompatible calling convention.
2113 elif test $ac_prog = install &&
2114 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2115 # program-specific install script used by HP pwplus--don't use.
2118 rm -rf conftest.one conftest.two conftest.dir
2119 echo one > conftest.one
2120 echo two > conftest.two
2122 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2123 test -s conftest.one && test -s conftest.two &&
2124 test -s conftest.dir/conftest.one &&
2125 test -s conftest.dir/conftest.two
2127 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2140 rm -rf conftest.one conftest.two conftest.dir
2143 if test "${ac_cv_path_install+set}" = set; then
2144 INSTALL=$ac_cv_path_install
2146 # As a last resort, use the slow shell script. Don't cache a
2147 # value for INSTALL within a source directory, because that will
2148 # break other packages using the cache if that directory is
2149 # removed, or if the value is a relative name.
2150 INSTALL=$ac_install_sh
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2154 $as_echo "$INSTALL" >&6; }
2156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2157 # It thinks the first close brace ends the variable substitution.
2158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2165 $as_echo_n "checking whether build environment is sane... " >&6; }
2168 echo timestamp > conftest.file
2169 # Reject unsafe characters in $srcdir or the absolute working directory
2170 # name. Accept space and tab only in the latter.
2174 *[\\\"\#\$\&\'\`$am_lf]*)
2175 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2178 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2179 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2182 # Do `set' in a subshell so we don't clobber the current shell's
2183 # arguments. Must try -L first in case configure is actually a
2184 # symlink; some systems play weird games with the mod time of symlinks
2185 # (eg FreeBSD returns the mod time of the symlink's containing
2188 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2189 if test "$*" = "X"; then
2191 set X `ls -t "$srcdir/configure" conftest.file`
2194 if test "$*" != "X $srcdir/configure conftest.file" \
2195 && test "$*" != "X conftest.file $srcdir/configure"; then
2197 # If neither matched, then we have a broken ls. This can happen
2198 # if, for instance, CONFIG_SHELL is bash and it inherits a
2199 # broken ls alias from the environment. This has actually
2200 # happened. Such a system could not be considered "sane".
2201 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2202 alias in your environment" "$LINENO" 5
2205 test "$2" = conftest.file
2211 as_fn_error $? "newly created file is older than distributed files!
2212 Check your system clock" "$LINENO" 5
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2215 $as_echo "yes" >&6; }
2216 test "$program_prefix" != NONE &&
2217 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2218 # Use a double $ so make ignores it.
2219 test "$program_suffix" != NONE &&
2220 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2221 # Double any \ or $.
2222 # By default was `s,x,x', remove it if useless.
2223 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2224 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2226 # expand $ac_aux_dir to an absolute path
2227 am_aux_dir=`cd $ac_aux_dir && pwd`
2229 if test x"${MISSING+set}" != xset; then
2232 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2234 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2237 # Use eval to expand $SHELL
2238 if eval "$MISSING --run true"; then
2239 am_missing_run="$MISSING --run "
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2243 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2246 if test x"${install_sh}" != xset; then
2249 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2251 install_sh="\${SHELL} $am_aux_dir/install-sh"
2255 # Installed binaries are usually stripped using `strip' when the user
2256 # run `make install-strip'. However `strip' might not be the right
2257 # tool to use in cross-compilation environments, therefore Automake
2258 # will honor the `STRIP' environment variable to overrule this program.
2259 if test "$cross_compiling" != no; then
2260 if test -n "$ac_tool_prefix"; then
2261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2262 set dummy ${ac_tool_prefix}strip; ac_word=$2
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2264 $as_echo_n "checking for $ac_word... " >&6; }
2265 if ${ac_cv_prog_STRIP+:} false; then :
2266 $as_echo_n "(cached) " >&6
2268 if test -n "$STRIP"; then
2269 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 STRIP=$ac_cv_prog_STRIP
2289 if test -n "$STRIP"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2291 $as_echo "$STRIP" >&6; }
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2294 $as_echo "no" >&6; }
2299 if test -z "$ac_cv_prog_STRIP"; then
2301 # Extract the first word of "strip", so it can be a program name with args.
2302 set dummy strip; ac_word=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2306 $as_echo_n "(cached) " >&6
2308 if test -n "$ac_ct_STRIP"; then
2309 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 ac_cv_prog_ac_ct_STRIP="strip"
2319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2329 if test -n "$ac_ct_STRIP"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2331 $as_echo "$ac_ct_STRIP" >&6; }
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2337 if test "x$ac_ct_STRIP" = x; then
2340 case $cross_compiling:$ac_tool_warned in
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2344 ac_tool_warned=yes ;;
2349 STRIP="$ac_cv_prog_STRIP"
2353 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2357 if test -z "$MKDIR_P"; then
2358 if ${ac_cv_path_mkdir+:} false; then :
2359 $as_echo_n "(cached) " >&6
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2365 test -z "$as_dir" && as_dir=.
2366 for ac_prog in mkdir gmkdir; do
2367 for ac_exec_ext in '' $ac_executable_extensions; do
2368 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2369 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2370 'mkdir (GNU coreutils) '* | \
2371 'mkdir (coreutils) '* | \
2372 'mkdir (fileutils) '4.1*)
2373 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2383 test -d ./--version && rmdir ./--version
2384 if test "${ac_cv_path_mkdir+set}" = set; then
2385 MKDIR_P="$ac_cv_path_mkdir -p"
2387 # As a last resort, use the slow shell script. Don't cache a
2388 # value for MKDIR_P within a source directory, because that will
2389 # break other packages using the cache if that directory is
2390 # removed, or if the value is a relative name.
2391 MKDIR_P="$ac_install_sh -d"
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2395 $as_echo "$MKDIR_P" >&6; }
2399 [\\/$]* | ?:[\\/]*) ;;
2400 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2403 for ac_prog in gawk mawk nawk awk
2405 # Extract the first word of "$ac_prog", so it can be a program name with args.
2406 set dummy $ac_prog; ac_word=$2
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2408 $as_echo_n "checking for $ac_word... " >&6; }
2409 if ${ac_cv_prog_AWK+:} false; then :
2410 $as_echo_n "(cached) " >&6
2412 if test -n "$AWK"; then
2413 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 test -z "$as_dir" && as_dir=.
2420 for ac_exec_ext in '' $ac_executable_extensions; do
2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2422 ac_cv_prog_AWK="$ac_prog"
2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 if test -n "$AWK"; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2435 $as_echo "$AWK" >&6; }
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2438 $as_echo "no" >&6; }
2442 test -n "$AWK" && break
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2446 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2448 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2449 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2450 $as_echo_n "(cached) " >&6
2452 cat >conftest.make <<\_ACEOF
2455 @echo '@@@%%%=$(MAKE)=@@@%%%'
2457 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2458 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2460 eval ac_cv_prog_make_${ac_make}_set=yes;;
2462 eval ac_cv_prog_make_${ac_make}_set=no;;
2466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2468 $as_echo "yes" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2473 SET_MAKE="MAKE=${MAKE-make}"
2476 rm -rf .tst 2>/dev/null
2477 mkdir .tst 2>/dev/null
2478 if test -d .tst; then
2483 rmdir .tst 2>/dev/null
2485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2486 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2487 # is not polluted with repeated "-I."
2488 am__isrc=' -I$(srcdir)'
2489 # test to see if srcdir already configured
2490 if test -f $srcdir/config.status; then
2491 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2495 # test whether we have cygpath
2496 if test -z "$CYGPATH_W"; then
2497 if (cygpath --version) >/dev/null 2>/dev/null; then
2498 CYGPATH_W='cygpath -w'
2505 # Define the identity of the package.
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE "$PACKAGE"
2515 cat >>confdefs.h <<_ACEOF
2516 #define VERSION "$VERSION"
2519 # Some tools Automake needs.
2521 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2524 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2527 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2530 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2533 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2535 # We need awk for the "check" target. The system "awk" is bad on
2537 # Always define AMTAR for backward compatibility.
2539 AMTAR=${AMTAR-"${am_missing_run}tar"}
2541 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2549 ac_cpp='$CPP $CPPFLAGS'
2550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2553 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if ${ac_cv_prog_CC+:} false; then :
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$CC"; then
2562 ac_cv_prog_CC="$CC" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 if test -n "$CC"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2584 $as_echo "$CC" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2592 if test -z "$ac_cv_prog_CC"; then
2594 # Extract the first word of "gcc", so it can be a program name with args.
2595 set dummy gcc; ac_word=$2
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2599 $as_echo_n "(cached) " >&6
2601 if test -n "$ac_ct_CC"; then
2602 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2611 ac_cv_prog_ac_ct_CC="gcc"
2612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2622 if test -n "$ac_ct_CC"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2624 $as_echo "$ac_ct_CC" >&6; }
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2630 if test "x$ac_ct_CC" = x; then
2633 case $cross_compiling:$ac_tool_warned in
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2637 ac_tool_warned=yes ;;
2645 if test -z "$CC"; then
2646 if test -n "$ac_tool_prefix"; then
2647 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2648 set dummy ${ac_tool_prefix}cc; ac_word=$2
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if ${ac_cv_prog_CC+:} false; then :
2652 $as_echo_n "(cached) " >&6
2654 if test -n "$CC"; then
2655 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir=.
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 ac_cv_prog_CC="${ac_tool_prefix}cc"
2665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 if test -n "$CC"; then
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2677 $as_echo "$CC" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680 $as_echo "no" >&6; }
2686 if test -z "$CC"; then
2687 # Extract the first word of "cc", so it can be a program name with args.
2688 set dummy cc; ac_word=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if ${ac_cv_prog_CC+:} false; then :
2692 $as_echo_n "(cached) " >&6
2694 if test -n "$CC"; then
2695 ac_cv_prog_CC="$CC" # Let the user override the test.
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir=.
2703 for ac_exec_ext in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2706 ac_prog_rejected=yes
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 if test $ac_prog_rejected = yes; then
2718 # We found a bogon in the path, so make sure we never use it.
2719 set dummy $ac_cv_prog_CC
2721 if test $# != 0; then
2722 # We chose a different compiler from the bogus one.
2723 # However, it has the same basename, so the bogon will be chosen
2724 # first if we set CC to just the basename; use the full file name.
2726 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2732 if test -n "$CC"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2734 $as_echo "$CC" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2742 if test -z "$CC"; then
2743 if test -n "$ac_tool_prefix"; then
2744 for ac_prog in cl.exe
2746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if ${ac_cv_prog_CC+:} false; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$CC"; then
2754 ac_cv_prog_CC="$CC" # Let the user override the test.
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir=.
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2774 if test -n "$CC"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2776 $as_echo "$CC" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2783 test -n "$CC" && break
2786 if test -z "$CC"; then
2788 for ac_prog in cl.exe
2790 # Extract the first word of "$ac_prog", so it can be a program name with args.
2791 set dummy $ac_prog; ac_word=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2795 $as_echo_n "(cached) " >&6
2797 if test -n "$ac_ct_CC"; then
2798 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir=.
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807 ac_cv_prog_ac_ct_CC="$ac_prog"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2818 if test -n "$ac_ct_CC"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2820 $as_echo "$ac_ct_CC" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2827 test -n "$ac_ct_CC" && break
2830 if test "x$ac_ct_CC" = x; then
2833 case $cross_compiling:$ac_tool_warned in
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2837 ac_tool_warned=yes ;;
2846 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2848 as_fn_error $? "no acceptable C compiler found in \$PATH
2849 See \`config.log' for more details" "$LINENO" 5; }
2851 # Provide some information about the compiler.
2852 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2855 for ac_option in --version -v -V -qversion; do
2856 { { ac_try="$ac_compiler $ac_option >&5"
2858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859 *) ac_try_echo=$ac_try;;
2861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2862 $as_echo "$ac_try_echo"; } >&5
2863 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2865 if test -s conftest.err; then
2867 ... rest of stderr output deleted ...
2868 10q' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2871 rm -f conftest.er1 conftest.err
2872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; }
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2887 ac_clean_files_save=$ac_clean_files
2888 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2889 # Try to create an executable without -o first, disregard a.out.
2890 # It will help us diagnose broken compilers, and finding out an intuition
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2893 $as_echo_n "checking whether the C compiler works... " >&6; }
2894 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2896 # The possible output files:
2897 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2900 for ac_file in $ac_files
2903 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2904 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2909 if { { ac_try="$ac_link_default"
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_link_default") 2>&5
2918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2919 test $ac_status = 0; }; then :
2920 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2921 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2922 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2923 # so that the user can short-circuit this test for compilers unknown to
2925 for ac_file in $ac_files ''
2927 test -f "$ac_file" || continue
2929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2932 # We found the default executable, but exeext='' is most
2936 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2938 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2940 # We set ac_cv_exeext here because the later test for it is not
2941 # safe: cross compilers may not add the suffix if given an `-o'
2942 # argument, so we may need to know it at that point already.
2943 # Even if this section looks crufty: it has the advantage of
2950 test "$ac_cv_exeext" = no && ac_cv_exeext=
2955 if test -z "$ac_file"; then :
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2958 $as_echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963 as_fn_error 77 "C compiler cannot create executables
2964 See \`config.log' for more details" "$LINENO" 5; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2967 $as_echo "yes" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2970 $as_echo_n "checking for C compiler default output file name... " >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2972 $as_echo "$ac_file" >&6; }
2973 ac_exeext=$ac_cv_exeext
2975 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2976 ac_clean_files=$ac_clean_files_save
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2978 $as_echo_n "checking for suffix of executables... " >&6; }
2979 if { { ac_try="$ac_link"
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2985 $as_echo "$ac_try_echo"; } >&5
2986 (eval "$ac_link") 2>&5
2988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; }; then :
2990 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2992 # work properly (i.e., refer to `conftest.exe'), while it won't with
2994 for ac_file in conftest.exe conftest conftest.*; do
2995 test -f "$ac_file" || continue
2997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2998 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3006 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3007 See \`config.log' for more details" "$LINENO" 5; }
3009 rm -f conftest conftest$ac_cv_exeext
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3011 $as_echo "$ac_cv_exeext" >&6; }
3013 rm -f conftest.$ac_ext
3014 EXEEXT=$ac_cv_exeext
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3022 FILE *f = fopen ("conftest.out", "w");
3023 return ferror (f) || fclose (f) != 0;
3029 ac_clean_files="$ac_clean_files conftest.out"
3030 # Check that the compiler produces executables we can run. If not, either
3031 # the compiler is broken, or we cross compile.
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3033 $as_echo_n "checking whether we are cross compiling... " >&6; }
3034 if test "$cross_compiling" != yes; then
3035 { { ac_try="$ac_link"
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_link") 2>&5
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; }
3046 if { ac_try='./conftest$ac_cv_exeext'
3047 { { case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_try") 2>&5
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; }; }; then
3059 if test "$cross_compiling" = maybe; then
3062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3064 as_fn_error $? "cannot run C compiled programs.
3065 If you meant to cross compile, use \`--host'.
3066 See \`config.log' for more details" "$LINENO" 5; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3071 $as_echo "$cross_compiling" >&6; }
3073 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3074 ac_clean_files=$ac_clean_files_save
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3076 $as_echo_n "checking for suffix of object files... " >&6; }
3077 if ${ac_cv_objext+:} false; then :
3078 $as_echo_n "(cached) " >&6
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3091 rm -f conftest.o conftest.obj
3092 if { { ac_try="$ac_compile"
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
3097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3098 $as_echo "$ac_try_echo"; } >&5
3099 (eval "$ac_compile") 2>&5
3101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3102 test $ac_status = 0; }; then :
3103 for ac_file in conftest.o conftest.obj conftest.*; do
3104 test -f "$ac_file" || continue;
3106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3112 $as_echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.$ac_ext >&5
3115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 as_fn_error $? "cannot compute suffix of object files: cannot compile
3118 See \`config.log' for more details" "$LINENO" 5; }
3120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3123 $as_echo "$ac_cv_objext" >&6; }
3124 OBJEXT=$ac_cv_objext
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3128 if ${ac_cv_c_compiler_gnu+:} false; then :
3129 $as_echo_n "(cached) " >&6
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3145 if ac_fn_c_try_compile "$LINENO"; then :
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3156 if test $ac_compiler_gnu = yes; then
3161 ac_test_CFLAGS=${CFLAGS+set}
3162 ac_save_CFLAGS=$CFLAGS
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3165 if ${ac_cv_prog_cc_g+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 ac_save_c_werror_flag=$ac_c_werror_flag
3169 ac_c_werror_flag=yes
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 if ac_fn_c_try_compile "$LINENO"; then :
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3201 ac_c_werror_flag=$ac_save_c_werror_flag
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3214 if ac_fn_c_try_compile "$LINENO"; then :
3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_c_werror_flag=$ac_save_c_werror_flag
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3225 $as_echo "$ac_cv_prog_cc_g" >&6; }
3226 if test "$ac_test_CFLAGS" = set; then
3227 CFLAGS=$ac_save_CFLAGS
3228 elif test $ac_cv_prog_cc_g = yes; then
3229 if test "$GCC" = yes; then
3235 if test "$GCC" = yes; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3243 if ${ac_cv_prog_cc_c89+:} false; then :
3244 $as_echo_n "(cached) " >&6
3246 ac_cv_prog_cc_c89=no
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3252 #include <sys/types.h>
3253 #include <sys/stat.h>
3254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3255 struct buf { int x; };
3256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3257 static char *e (p, i)
3263 static char *f (char * (*g) (char **, int), char **p, ...)
3268 s = g (p, va_arg (v,int));
3273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3274 function prototypes and stuff, but not '\xHH' hex character constants.
3275 These don't provoke an error unfortunately, instead are silently treated
3276 as 'x'. The following induces an error, until -std is added to get
3277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3278 array size at least. It's necessary to write '\x00'==0 to get something
3279 that's true only with -std. */
3280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3283 inside strings and character constants. */
3285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3287 int test (int i, double x);
3288 struct s1 {int (*f) (int a);};
3289 struct s2 {int (*f) (double a);};
3290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3304 CC="$ac_save_CC $ac_arg"
3305 if ac_fn_c_try_compile "$LINENO"; then :
3306 ac_cv_prog_cc_c89=$ac_arg
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x$ac_cv_prog_cc_c89" != "xno" && break
3311 rm -f conftest.$ac_ext
3316 case "x$ac_cv_prog_cc_c89" in
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3319 $as_echo "none needed" >&6; } ;;
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3322 $as_echo "unsupported" >&6; } ;;
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3328 if test "x$ac_cv_prog_cc_c89" != xno; then :
3333 ac_cpp='$CPP $CPPFLAGS'
3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3337 DEPDIR="${am__leading_dot}deps"
3339 ac_config_commands="$ac_config_commands depfiles"
3342 am_make=${MAKE-make}
3343 cat > confinc << 'END'
3345 @echo this is the am__doit target
3348 # If we don't find an include directive, just comment out the code.
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3350 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3354 # First try GNU make style include.
3355 echo "include confinc" > confmf
3356 # Ignore all kinds of additional output from `make'.
3357 case `$am_make -s -f confmf 2> /dev/null` in #(
3358 *the\ am__doit\ target*)
3364 # Now try BSD make style include.
3365 if test "$am__include" = "#"; then
3366 echo '.include "confinc"' > confmf
3367 case `$am_make -s -f confmf 2> /dev/null` in #(
3368 *the\ am__doit\ target*)
3369 am__include=.include
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3378 $as_echo "$_am_result" >&6; }
3379 rm -f confinc confmf
3381 # Check whether --enable-dependency-tracking was given.
3382 if test "${enable_dependency_tracking+set}" = set; then :
3383 enableval=$enable_dependency_tracking;
3386 if test "x$enable_dependency_tracking" != xno; then
3387 am_depcomp="$ac_aux_dir/depcomp"
3390 if test "x$enable_dependency_tracking" != xno; then
3400 depcc="$CC" am_compiler_list=
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3403 $as_echo_n "checking dependency style of $depcc... " >&6; }
3404 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3405 $as_echo_n "(cached) " >&6
3407 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3408 # We make a subdir and do the tests there. Otherwise we can end up
3409 # making bogus files that we don't know about and never remove. For
3410 # instance it was reported that on HP-UX the gcc test will end up
3411 # making a dummy file named `D' -- because `-MD' means `put the output
3414 # Copy depcomp to subdir because otherwise we won't find it if we're
3415 # using a relative directory.
3416 cp "$am_depcomp" conftest.dir
3418 # We will build objects and dependencies in a subdirectory because
3419 # it helps to detect inapplicable dependency modes. For instance
3420 # both Tru64's cc and ICC support -MD to output dependencies as a
3421 # side effect of compilation, but ICC will put the dependencies in
3422 # the current directory while Tru64 will put them in the object
3426 am_cv_CC_dependencies_compiler_type=none
3427 if test "$am_compiler_list" = ""; then
3428 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3431 case " $depcc " in #(
3432 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3435 for depmode in $am_compiler_list; do
3436 # Setup a source with many dependencies, because some compilers
3437 # like to wrap large dependency lists on column 80 (with \), and
3438 # we should not choose a depcomp mode which is confused by this.
3440 # We need to recreate these files for each test, as the compiler may
3441 # overwrite some of them when testing with obscure command lines.
3442 # This happens at least with the AIX C compiler.
3444 for i in 1 2 3 4 5 6; do
3445 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3446 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3447 # Solaris 8's {/usr,}/bin/sh.
3448 touch sub/conftst$i.h
3450 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3452 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3453 # mode. It turns out that the SunPro C++ compiler does not properly
3454 # handle `-M -o', and we need to detect this. Also, some Intel
3455 # versions had trouble with output in subdirs
3456 am__obj=sub/conftest.${OBJEXT-o}
3457 am__minus_obj="-o $am__obj"
3460 # This depmode causes a compiler race in universal mode.
3461 test "$am__universal" = false || continue
3464 # after this tag, mechanisms are not by side-effect, so they'll
3465 # only be used when explicitly requested
3466 if test "x$enable_dependency_tracking" = xyes; then
3472 msvisualcpp | msvcmsys)
3473 # This compiler won't grok `-c -o', but also, the minuso test has
3474 # not run yet. These depmodes are late enough in the game, and
3475 # so weak that their functioning should not be impacted.
3476 am__obj=conftest.${OBJEXT-o}
3481 if depmode=$depmode \
3482 source=sub/conftest.c object=$am__obj \
3483 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3484 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3485 >/dev/null 2>conftest.err &&
3486 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3487 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3488 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3489 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3490 # icc doesn't choke on unknown options, it will just issue warnings
3491 # or remarks (even with -Werror). So we grep stderr for any message
3492 # that says an option was ignored or not supported.
3493 # When given -MP, icc 7.0 and 7.1 complain thusly:
3494 # icc: Command line warning: ignoring option '-M'; no argument required
3495 # The diagnosis changed in icc 8.0:
3496 # icc: Command line remark: option '-MP' not supported
3497 if (grep 'ignoring option' conftest.err ||
3498 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3499 am_cv_CC_dependencies_compiler_type=$depmode
3508 am_cv_CC_dependencies_compiler_type=none
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3513 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3514 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3517 test "x$enable_dependency_tracking" != xno \
3518 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3520 am__fastdepCC_FALSE='#'
3522 am__fastdepCC_TRUE='#'
3523 am__fastdepCC_FALSE=
3528 # Extract the first word of "xslt-config", so it can be a program name with args.
3529 set dummy xslt-config; ac_word=$2
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531 $as_echo_n "checking for $ac_word... " >&6; }
3532 if ${ac_cv_path_XSLT_CONFIG+:} false; then :
3533 $as_echo_n "(cached) " >&6
3535 case $XSLT_CONFIG in
3537 ac_cv_path_XSLT_CONFIG="$XSLT_CONFIG" # Let the user override the test with a path.
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3547 ac_cv_path_XSLT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 test -z "$ac_cv_path_XSLT_CONFIG" && ac_cv_path_XSLT_CONFIG="no"
3559 XSLT_CONFIG=$ac_cv_path_XSLT_CONFIG
3560 if test -n "$XSLT_CONFIG"; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_CONFIG" >&5
3562 $as_echo "$XSLT_CONFIG" >&6; }
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3570 if test $XSLT_CONFIG = "no"
3572 echo "XSLT library not found (see http://xmlsoft.org/)."
3577 XSLT_CFLAGS=`$XSLT_CONFIG --cflags`
3578 XSLT_LFLAGS=`$XSLT_CONFIG --libs`
3579 CFLAGS="$CFLAGS $XSLT_CFLAGS"
3580 LDFLAGS="$LDFLAGS $XSLT_LFLAGS"
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lexslt" >&5
3584 $as_echo_n "checking for main in -lexslt... " >&6; }
3585 if ${ac_cv_lib_exslt_main+:} false; then :
3586 $as_echo_n "(cached) " >&6
3588 ac_check_lib_save_LIBS=$LIBS
3589 LIBS="-lexslt $LIBS"
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3602 if ac_fn_c_try_link "$LINENO"; then :
3603 ac_cv_lib_exslt_main=yes
3605 ac_cv_lib_exslt_main=no
3607 rm -f core conftest.err conftest.$ac_objext \
3608 conftest$ac_exeext conftest.$ac_ext
3609 LIBS=$ac_check_lib_save_LIBS
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_exslt_main" >&5
3612 $as_echo "$ac_cv_lib_exslt_main" >&6; }
3613 if test "x$ac_cv_lib_exslt_main" = xyes; then :
3614 cat >>confdefs.h <<_ACEOF
3615 #define HAVE_LIBEXSLT 1
3618 LIBS="-lexslt $LIBS"
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5
3623 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; }
3624 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then :
3625 $as_echo_n "(cached) " >&6
3627 ac_check_lib_save_LIBS=$LIBS
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3632 /* Override any GCC internal prototype to avoid an error.
3633 Use char because int might match the return type of a GCC
3634 builtin and then its argument prototype would still apply. */
3638 char xmlParseFile ();
3642 return xmlParseFile ();
3647 if ac_fn_c_try_link "$LINENO"; then :
3648 ac_cv_lib_xml2_xmlParseFile=yes
3650 ac_cv_lib_xml2_xmlParseFile=no
3652 rm -f core conftest.err conftest.$ac_objext \
3653 conftest$ac_exeext conftest.$ac_ext
3654 LIBS=$ac_check_lib_save_LIBS
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseFile" >&5
3657 $as_echo "$ac_cv_lib_xml2_xmlParseFile" >&6; }
3658 if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then :
3659 cat >>confdefs.h <<_ACEOF
3660 #define HAVE_LIBXML2 1
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxslt" >&5
3668 $as_echo_n "checking for main in -lxslt... " >&6; }
3669 if ${ac_cv_lib_xslt_main+:} false; then :
3670 $as_echo_n "(cached) " >&6
3672 ac_check_lib_save_LIBS=$LIBS
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3686 if ac_fn_c_try_link "$LINENO"; then :
3687 ac_cv_lib_xslt_main=yes
3689 ac_cv_lib_xslt_main=no
3691 rm -f core conftest.err conftest.$ac_objext \
3692 conftest$ac_exeext conftest.$ac_ext
3693 LIBS=$ac_check_lib_save_LIBS
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xslt_main" >&5
3696 $as_echo "$ac_cv_lib_xslt_main" >&6; }
3697 if test "x$ac_cv_lib_xslt_main" = xyes; then :
3698 cat >>confdefs.h <<_ACEOF
3699 #define HAVE_LIBXSLT 1
3708 ac_cpp='$CPP $CPPFLAGS'
3709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3713 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3714 # On Suns, sometimes $CPP names a directory.
3715 if test -n "$CPP" && test -d "$CPP"; then
3718 if test -z "$CPP"; then
3719 if ${ac_cv_prog_CPP+:} false; then :
3720 $as_echo_n "(cached) " >&6
3722 # Double quotes because CPP needs to be expanded
3723 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3726 for ac_c_preproc_warn_flag in '' yes
3728 # Use a header file that comes with gcc, so configuring glibc
3729 # with a fresh cross-compiler works.
3730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3731 # <limits.h> exists even on freestanding compilers.
3732 # On the NeXT, cc -E runs the code through the compiler's parser,
3733 # not just through cpp. "Syntax error" is here to catch this case.
3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3735 /* end confdefs.h. */
3737 # include <limits.h>
3739 # include <assert.h>
3743 if ac_fn_c_try_cpp "$LINENO"; then :
3746 # Broken: fails on valid input.
3749 rm -f conftest.err conftest.i conftest.$ac_ext
3751 # OK, works on sane cases. Now check whether nonexistent headers
3752 # can be detected and how.
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3755 #include <ac_nonexistent.h>
3757 if ac_fn_c_try_cpp "$LINENO"; then :
3758 # Broken: success on invalid input.
3761 # Passes both tests.
3765 rm -f conftest.err conftest.i conftest.$ac_ext
3768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3769 rm -f conftest.i conftest.err conftest.$ac_ext
3770 if $ac_preproc_ok; then :
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3783 $as_echo "$CPP" >&6; }
3785 for ac_c_preproc_warn_flag in '' yes
3787 # Use a header file that comes with gcc, so configuring glibc
3788 # with a fresh cross-compiler works.
3789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3790 # <limits.h> exists even on freestanding compilers.
3791 # On the NeXT, cc -E runs the code through the compiler's parser,
3792 # not just through cpp. "Syntax error" is here to catch this case.
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3796 # include <limits.h>
3798 # include <assert.h>
3802 if ac_fn_c_try_cpp "$LINENO"; then :
3805 # Broken: fails on valid input.
3808 rm -f conftest.err conftest.i conftest.$ac_ext
3810 # OK, works on sane cases. Now check whether nonexistent headers
3811 # can be detected and how.
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3814 #include <ac_nonexistent.h>
3816 if ac_fn_c_try_cpp "$LINENO"; then :
3817 # Broken: success on invalid input.
3820 # Passes both tests.
3824 rm -f conftest.err conftest.i conftest.$ac_ext
3827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3828 rm -f conftest.i conftest.err conftest.$ac_ext
3829 if $ac_preproc_ok; then :
3832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3835 See \`config.log' for more details" "$LINENO" 5; }
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3846 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3847 if ${ac_cv_path_GREP+:} false; then :
3848 $as_echo_n "(cached) " >&6
3850 if test -z "$GREP"; then
3851 ac_path_GREP_found=false
3852 # Loop through the user's path and test for each of PROGNAME-LIST
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3857 test -z "$as_dir" && as_dir=.
3858 for ac_prog in grep ggrep; do
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3861 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3862 # Check for GNU ac_path_GREP and select it if it is found.
3863 # Check for GNU $ac_path_GREP
3864 case `"$ac_path_GREP" --version 2>&1` in
3866 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3869 $as_echo_n 0123456789 >"conftest.in"
3872 cat "conftest.in" "conftest.in" >"conftest.tmp"
3873 mv "conftest.tmp" "conftest.in"
3874 cp "conftest.in" "conftest.nl"
3875 $as_echo 'GREP' >> "conftest.nl"
3876 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3877 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3878 as_fn_arith $ac_count + 1 && ac_count=$as_val
3879 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3880 # Best one so far, save it but keep looking for a better one
3881 ac_cv_path_GREP="$ac_path_GREP"
3882 ac_path_GREP_max=$ac_count
3884 # 10*(2^10) chars as input seems more than enough
3885 test $ac_count -gt 10 && break
3887 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3890 $ac_path_GREP_found && break 3
3895 if test -z "$ac_cv_path_GREP"; then
3896 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3899 ac_cv_path_GREP=$GREP
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3904 $as_echo "$ac_cv_path_GREP" >&6; }
3905 GREP="$ac_cv_path_GREP"
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3909 $as_echo_n "checking for egrep... " >&6; }
3910 if ${ac_cv_path_EGREP+:} false; then :
3911 $as_echo_n "(cached) " >&6
3913 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3914 then ac_cv_path_EGREP="$GREP -E"
3916 if test -z "$EGREP"; then
3917 ac_path_EGREP_found=false
3918 # Loop through the user's path and test for each of PROGNAME-LIST
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3923 test -z "$as_dir" && as_dir=.
3924 for ac_prog in egrep; do
3925 for ac_exec_ext in '' $ac_executable_extensions; do
3926 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3927 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3928 # Check for GNU ac_path_EGREP and select it if it is found.
3929 # Check for GNU $ac_path_EGREP
3930 case `"$ac_path_EGREP" --version 2>&1` in
3932 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3935 $as_echo_n 0123456789 >"conftest.in"
3938 cat "conftest.in" "conftest.in" >"conftest.tmp"
3939 mv "conftest.tmp" "conftest.in"
3940 cp "conftest.in" "conftest.nl"
3941 $as_echo 'EGREP' >> "conftest.nl"
3942 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3943 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3944 as_fn_arith $ac_count + 1 && ac_count=$as_val
3945 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3946 # Best one so far, save it but keep looking for a better one
3947 ac_cv_path_EGREP="$ac_path_EGREP"
3948 ac_path_EGREP_max=$ac_count
3950 # 10*(2^10) chars as input seems more than enough
3951 test $ac_count -gt 10 && break
3953 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3956 $ac_path_EGREP_found && break 3
3961 if test -z "$ac_cv_path_EGREP"; then
3962 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3965 ac_cv_path_EGREP=$EGREP
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3971 $as_echo "$ac_cv_path_EGREP" >&6; }
3972 EGREP="$ac_cv_path_EGREP"
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3976 $as_echo_n "checking for ANSI C header files... " >&6; }
3977 if ${ac_cv_header_stdc+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3995 if ac_fn_c_try_compile "$LINENO"; then :
3996 ac_cv_header_stdc=yes
3998 ac_cv_header_stdc=no
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002 if test $ac_cv_header_stdc = yes; then
4003 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4010 $EGREP "memchr" >/dev/null 2>&1; then :
4013 ac_cv_header_stdc=no
4019 if test $ac_cv_header_stdc = yes; then
4020 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4027 $EGREP "free" >/dev/null 2>&1; then :
4030 ac_cv_header_stdc=no
4036 if test $ac_cv_header_stdc = yes; then
4037 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4038 if test "$cross_compiling" = yes; then :
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4045 #if ((' ' & 0x0FF) == 0x020)
4046 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4047 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4049 # define ISLOWER(c) \
4050 (('a' <= (c) && (c) <= 'i') \
4051 || ('j' <= (c) && (c) <= 'r') \
4052 || ('s' <= (c) && (c) <= 'z'))
4053 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4056 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4061 for (i = 0; i < 256; i++)
4062 if (XOR (islower (i), ISLOWER (i))
4063 || toupper (i) != TOUPPER (i))
4068 if ac_fn_c_try_run "$LINENO"; then :
4071 ac_cv_header_stdc=no
4073 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4074 conftest.$ac_objext conftest.beam conftest.$ac_ext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4080 $as_echo "$ac_cv_header_stdc" >&6; }
4081 if test $ac_cv_header_stdc = yes; then
4083 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4087 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4088 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4089 inttypes.h stdint.h unistd.h
4091 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4092 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4094 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4095 cat >>confdefs.h <<_ACEOF
4096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4104 for ac_header in unistd.h
4106 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4107 if test "x$ac_cv_header_unistd_h" = xyes; then :
4108 cat >>confdefs.h <<_ACEOF
4109 #define HAVE_UNISTD_H 1
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4118 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4119 if ${ac_cv_c_const+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4128 /* FIXME: Include the comments suggested by Paul. */
4130 /* Ultrix mips cc rejects this. */
4131 typedef int charset[2];
4133 /* SunOS 4.1.1 cc rejects this. */
4134 char const *const *pcpcc;
4136 /* NEC SVR4.0.2 mips cc rejects this. */
4137 struct point {int x, y;};
4138 static struct point const zero = {0,0};
4139 /* AIX XL C 1.02.0.0 rejects this.
4140 It does not let you subtract one const X* pointer from another in
4141 an arm of an if-expression whose if-part is not a constant
4143 const char *g = "string";
4144 pcpcc = &g + (g ? g-g : 0);
4145 /* HPUX 7.0 cc rejects these. */
4147 ppc = (char**) pcpcc;
4148 pcpcc = (char const *const *) ppc;
4149 { /* SCO 3.2v4 cc rejects this. */
4151 char const *s = 0 ? (char *) 0 : (char const *) 0;
4156 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4158 const int *foo = &x[0];
4161 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4162 typedef const int *iptr;
4166 { /* AIX XL C 1.02.0.0 rejects this saying
4167 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4168 struct s { int j; const int *ap[3]; };
4169 struct s *b; b->j = 5;
4171 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4175 return !cs[0] && !zero.x;
4182 if ac_fn_c_try_compile "$LINENO"; then :
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4190 $as_echo "$ac_cv_c_const" >&6; }
4191 if test $ac_cv_c_const = no; then
4193 $as_echo "#define const /**/" >>confdefs.h
4199 ac_config_files="$ac_config_files Makefile"
4201 cat >confcache <<\_ACEOF
4202 # This file is a shell script that caches the results of configure
4203 # tests run on this system so they can be shared between configure
4204 # scripts and configure runs, see configure's option --config-cache.
4205 # It is not useful on other systems. If it contains results you don't
4206 # want to keep, you may remove or edit it.
4208 # config.status only pays attention to the cache file if you give it
4209 # the --recheck option to rerun configure.
4211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4217 # The following way of writing the cache mishandles newlines in values,
4218 # but we know of no workaround that is simple, portable, and efficient.
4219 # So, we kill variables containing newlines.
4220 # Ultrix sh set writes to stderr and can't be redirected directly,
4221 # and sets the high bit in the cache file unless we assign to the vars.
4223 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4224 eval ac_val=\$$ac_var
4228 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4229 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4232 _ | IFS | as_nl) ;; #(
4233 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4234 *) { eval $ac_var=; unset $ac_var;} ;;
4240 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4241 *${as_nl}ac_space=\ *)
4242 # `set' does not quote correctly, so add quotes: double-quote
4243 # substitution turns \\\\ into \\, and sed turns \\ into \.
4246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4249 # `set' quotes correctly as required by POSIX, so do not add quotes.
4250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4261 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4263 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4264 if test -w "$cache_file"; then
4265 if test "x$cache_file" != "x/dev/null"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4267 $as_echo "$as_me: updating cache $cache_file" >&6;}
4268 if test ! -f "$cache_file" || test -h "$cache_file"; then
4269 cat confcache >"$cache_file"
4271 case $cache_file in #(
4273 mv -f confcache "$cache_file"$$ &&
4274 mv -f "$cache_file"$$ "$cache_file" ;; #(
4276 mv -f confcache "$cache_file" ;;
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4282 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4287 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4288 # Let make expand exec_prefix.
4289 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4291 # Transform confdefs.h into DEFS.
4292 # Protect against shell expansion while executing Makefile rules.
4293 # Protect against Makefile macro expansion.
4295 # If the first sed substitution is executed (which looks for macros that
4296 # take arguments), then branch to the quote section. Otherwise,
4297 # look for a macro that doesn't take arguments.
4307 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4309 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4313 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4326 DEFS=`sed -n "$ac_script" confdefs.h`
4332 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4333 # 1. Remove the extension, and $U if already installed.
4334 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4335 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4336 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4337 # will be set to the directory where LIBOBJS objects are built.
4338 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4339 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4343 LTLIBOBJS=$ac_ltlibobjs
4346 if test -n "$EXEEXT"; then
4348 am__EXEEXT_FALSE='#'
4354 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4355 as_fn_error $? "conditional \"AMDEP\" was never defined.
4356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4358 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4359 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4363 : "${CONFIG_STATUS=./config.status}"
4365 ac_clean_files_save=$ac_clean_files
4366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4370 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4372 # Generated by $as_me.
4373 # Run this file to recreate the current configuration.
4374 # Compiler output produced by configure, useful for debugging
4375 # configure, is in config.log if it exists.
4381 SHELL=\${CONFIG_SHELL-$SHELL}
4384 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4385 ## -------------------- ##
4386 ## M4sh Initialization. ##
4387 ## -------------------- ##
4389 # Be more Bourne compatible
4390 DUALCASE=1; export DUALCASE # for MKS sh
4391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4394 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4395 # is contrary to our usage. Disable this feature.
4396 alias -g '${1+"$@"}'='"$@"'
4397 setopt NO_GLOB_SUBST
4399 case `(set -o) 2>/dev/null` in #(
4411 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4412 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4413 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4415 # Prefer a ksh shell builtin over an external printf program on Solaris,
4416 # but without wasting forks for bash or zsh.
4417 if test -z "$BASH_VERSION$ZSH_VERSION" \
4418 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4419 as_echo='print -r --'
4420 as_echo_n='print -rn --'
4421 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4422 as_echo='printf %s\n'
4423 as_echo_n='printf %s'
4425 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4426 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4427 as_echo_n='/usr/ucb/echo -n'
4429 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4430 as_echo_n_body='eval
4434 expr "X$arg" : "X\\(.*\\)$as_nl";
4435 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4437 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4439 export as_echo_n_body
4440 as_echo_n='sh -c $as_echo_n_body as_echo'
4443 as_echo='sh -c $as_echo_body as_echo'
4446 # The user is always right.
4447 if test "${PATH_SEPARATOR+set}" != set; then
4449 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4450 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4457 # We need space, tab and new line, in precisely that order. Quoting is
4458 # there to prevent editors from complaining about space-tab.
4459 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4460 # splitting by setting IFS to empty value.)
4463 # Find who we are. Look in the path if we contain no directory separator.
4466 *[\\/]* ) as_myself=$0 ;;
4467 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir=.
4472 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4478 # We did not find ourselves, most probably we were run as `sh COMMAND'
4479 # in which case we are not to be found in the path.
4480 if test "x$as_myself" = x; then
4483 if test ! -f "$as_myself"; then
4484 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4488 # Unset variables that we do not need and which cause bugs (e.g. in
4489 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4490 # suppresses any "Segmentation fault" message there. '((' could
4491 # trigger a bug in pdksh 5.2.14.
4492 for as_var in BASH_ENV ENV MAIL MAILPATH
4493 do eval test x\${$as_var+set} = xset \
4494 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4510 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4511 # ----------------------------------------
4512 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4513 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4514 # script with STATUS, using 1 if that was 0.
4517 as_status=$1; test $as_status -eq 0 && as_status=1
4519 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4520 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4522 $as_echo "$as_me: error: $2" >&2
4523 as_fn_exit $as_status
4527 # as_fn_set_status STATUS
4528 # -----------------------
4529 # Set $? to STATUS, without forking.
4533 } # as_fn_set_status
4537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4547 # Portably unset VAR.
4550 { eval $1=; unset $1;}
4552 as_unset=as_fn_unset
4553 # as_fn_append VAR VALUE
4554 # ----------------------
4555 # Append the text in VALUE to the end of the definition contained in VAR. Take
4556 # advantage of any shell optimizations that allow amortized linear growth over
4557 # repeated appends, instead of the typical quadratic growth present in naive
4559 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4560 eval 'as_fn_append ()
4571 # as_fn_arith ARG...
4572 # ------------------
4573 # Perform arithmetic evaluation on the ARGs, and store the result in the
4574 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4575 # must be portable across $(()) and expr.
4576 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4577 eval 'as_fn_arith ()
4584 as_val=`expr "$@" || test $? -eq 1`
4589 if expr a : '\(a\)' >/dev/null 2>&1 &&
4590 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4596 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4597 as_basename=basename
4602 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4608 as_me=`$as_basename -- "$0" ||
4609 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4610 X"$0" : 'X\(//\)$' \| \
4611 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4613 sed '/^.*\/\([^/][^/]*\)\/*$/{
4627 # Avoid depending upon Character Ranges.
4628 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4629 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4630 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4631 as_cr_digits='0123456789'
4632 as_cr_alnum=$as_cr_Letters$as_cr_digits
4634 ECHO_C= ECHO_N= ECHO_T=
4635 case `echo -n x` in #(((((
4637 case `echo 'xy\c'` in
4638 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4640 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4647 rm -f conf$$ conf$$.exe conf$$.file
4648 if test -d conf$$.dir; then
4649 rm -f conf$$.dir/conf$$.file
4652 mkdir conf$$.dir 2>/dev/null
4654 if (echo >conf$$.file) 2>/dev/null; then
4655 if ln -s conf$$.file conf$$ 2>/dev/null; then
4657 # ... but there are two gotchas:
4658 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4659 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4660 # In both cases, we have to default to `cp -p'.
4661 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4663 elif ln conf$$.file conf$$ 2>/dev/null; then
4671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4672 rmdir conf$$.dir 2>/dev/null
4677 # Create "$as_dir" as a directory, including parents if necessary.
4682 -*) as_dir=./$as_dir;;
4684 test -d "$as_dir" || eval $as_mkdir_p || {
4688 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4689 *) as_qdir=$as_dir;;
4691 as_dirs="'$as_qdir' $as_dirs"
4692 as_dir=`$as_dirname -- "$as_dir" ||
4693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4694 X"$as_dir" : 'X\(//\)[^/]' \| \
4695 X"$as_dir" : 'X\(//\)$' \| \
4696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4697 $as_echo X"$as_dir" |
4698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4715 test -d "$as_dir" && break
4717 test -z "$as_dirs" || eval "mkdir $as_dirs"
4718 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4722 if mkdir -p . 2>/dev/null; then
4723 as_mkdir_p='mkdir -p "$as_dir"'
4725 test -d ./-p && rmdir ./-p
4729 if test -x / >/dev/null 2>&1; then
4732 if ls -dL / >/dev/null 2>&1; then
4739 if test -d "$1"; then
4745 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4746 ???[sx]*):;;*)false;;esac;fi
4750 as_executable_p=$as_test_x
4752 # Sed expression to map a string onto a valid CPP name.
4753 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4755 # Sed expression to map a string onto a valid variable name.
4756 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4760 ## ----------------------------------- ##
4761 ## Main body of $CONFIG_STATUS script. ##
4762 ## ----------------------------------- ##
4764 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4767 # Save the log message, to keep $0 and so on meaningful, and to
4768 # report actual input values of CONFIG_FILES etc. instead of their
4769 # values after options handling.
4771 This file was extended by $as_me, which was
4772 generated by GNU Autoconf 2.68. Invocation command line was
4774 CONFIG_FILES = $CONFIG_FILES
4775 CONFIG_HEADERS = $CONFIG_HEADERS
4776 CONFIG_LINKS = $CONFIG_LINKS
4777 CONFIG_COMMANDS = $CONFIG_COMMANDS
4780 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4785 case $ac_config_files in *"
4786 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4792 # Files that config.status was made for.
4793 config_files="$ac_config_files"
4794 config_commands="$ac_config_commands"
4798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4800 \`$as_me' instantiates files and other configuration actions
4801 from templates according to the current configuration. Unless the files
4802 and actions are specified as TAGs, all are instantiated by default.
4804 Usage: $0 [OPTION]... [TAG]...
4806 -h, --help print this help, then exit
4807 -V, --version print version number and configuration settings, then exit
4808 --config print configuration, then exit
4809 -q, --quiet, --silent
4810 do not print progress messages
4811 -d, --debug don't remove temporary files
4812 --recheck update $as_me by reconfiguring in the same conditions
4813 --file=FILE[:TEMPLATE]
4814 instantiate the configuration file FILE
4816 Configuration files:
4819 Configuration commands:
4822 Report bugs to the package provider."
4825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4826 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4829 configured by $0, generated by GNU Autoconf 2.68,
4830 with options \\"\$ac_cs_config\\"
4832 Copyright (C) 2010 Free Software Foundation, Inc.
4833 This config.status script is free software; the Free Software Foundation
4834 gives unlimited permission to copy, distribute and modify it."
4841 test -n "\$AWK" || AWK=awk
4844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4845 # The default lists apply if the user does not specify any file.
4851 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4852 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4856 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4868 # Handling of the options.
4869 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4871 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4872 $as_echo "$ac_cs_version"; exit ;;
4873 --config | --confi | --conf | --con | --co | --c )
4874 $as_echo "$ac_cs_config"; exit ;;
4875 --debug | --debu | --deb | --de | --d | -d )
4877 --file | --fil | --fi | --f )
4880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4881 '') as_fn_error $? "missing file argument" ;;
4883 as_fn_append CONFIG_FILES " '$ac_optarg'"
4884 ac_need_defaults=false;;
4885 --he | --h | --help | --hel | -h )
4886 $as_echo "$ac_cs_usage"; exit ;;
4887 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4888 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4892 -*) as_fn_error $? "unrecognized option: \`$1'
4893 Try \`$0 --help' for more information." ;;
4895 *) as_fn_append ac_config_targets " $1"
4896 ac_need_defaults=false ;;
4902 ac_configure_extra_args=
4904 if $ac_cs_silent; then
4906 ac_configure_extra_args="$ac_configure_extra_args --silent"
4910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4911 if \$ac_cs_recheck; then
4912 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4914 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4915 CONFIG_SHELL='$SHELL'
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4925 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4926 ## Running $as_me. ##
4932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4936 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4942 # Handling of arguments.
4943 for ac_config_target in $ac_config_targets
4945 case $ac_config_target in
4946 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4947 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4949 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4954 # If the user did not use the arguments to specify the items to instantiate,
4955 # then the envvar interface is used. Set only those that are not.
4956 # We use the long form for the default assignment because of an extremely
4957 # bizarre bug on SunOS 4.1.3.
4958 if $ac_need_defaults; then
4959 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4960 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4963 # Have a temporary directory for convenience. Make it in the build tree
4964 # simply because there is no reason against having it here, and in addition,
4965 # creating and moving files from /tmp can sometimes cause problems.
4966 # Hook for its removal unless debugging.
4967 # Note that there is a small window in which the directory will not be cleaned:
4968 # after its creation but before its name has been assigned to `$tmp'.
4972 trap 'exit_status=$?
4974 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4976 trap 'as_fn_exit 1' 1 2 13 15
4978 # Create a (secure) tmp directory for tmp files.
4981 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4985 tmp=./conf$$-$RANDOM
4986 (umask 077 && mkdir "$tmp")
4987 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4990 # Set up the scripts for CONFIG_FILES section.
4991 # No need to generate them if there are no CONFIG_FILES.
4992 # This happens for instance with `./config.status config.h'.
4993 if test -n "$CONFIG_FILES"; then
4996 ac_cr=`echo X | tr X '\015'`
4997 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4998 # But we know of no other shell where ac_cr would be empty at this
4999 # point, so we can use a bashism as a fallback.
5000 if test "x$ac_cr" = x; then
5001 eval ac_cr=\$\'\\r\'
5003 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5004 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5010 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5015 echo "cat >conf$$subs.awk <<_ACEOF" &&
5016 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5019 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5020 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5022 for ac_last_try in false false false false false :; do
5023 . ./conf$$subs.sh ||
5024 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5026 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5027 if test $ac_delim_n = $ac_delim_num; then
5029 elif $ac_last_try; then
5030 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5032 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5038 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5042 s/^/S["/; s/!.*/"]=/
5052 s/\(.\{148\}\)..*/\1/
5054 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5059 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5066 s/\(.\{148\}\)..*/\1/
5068 s/["\\]/\\&/g; s/^/"/; s/$/"/
5072 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5077 ' <conf$$subs.awk | sed '
5082 ' >>$CONFIG_STATUS || ac_write_fail=1
5083 rm -f conf$$subs.awk
5084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5086 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5087 for (key in S) S_is_set[key] = 1
5093 nfields = split(line, field, "@")
5095 len = length(field[1])
5096 for (i = 2; i < nfields; i++) {
5098 keylen = length(key)
5099 if (S_is_set[key]) {
5101 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5102 len += length(value) + length(field[++i])
5113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5114 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5115 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5118 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5119 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5122 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5123 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5124 # trailing colons and then remove the whole line if VPATH becomes empty
5125 # (actually we leave an empty line to preserve line numbers).
5126 if test "x$srcdir" = x.; then
5127 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5146 fi # test -n "$CONFIG_FILES"
5149 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5154 :[FHLC]) ac_mode=$ac_tag; continue;;
5156 case $ac_mode$ac_tag in
5158 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5159 :[FH]-) ac_tag=-:-;;
5160 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5177 -) ac_f="$ac_tmp/stdin";;
5178 *) # Look for the file first in the build tree, then in the source tree
5179 # (if the path is not absolute). The absolute path cannot be DOS-style,
5180 # because $ac_f cannot contain `:'.
5184 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5186 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5188 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5189 as_fn_append ac_file_inputs " '$ac_f'"
5192 # Let's still pretend it is `configure' which instantiates (i.e., don't
5193 # use $as_me), people would be surprised to read:
5194 # /* config.h. Generated by config.status. */
5195 configure_input='Generated from '`
5196 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5198 if test x"$ac_file" != x-; then
5199 configure_input="$ac_file. $configure_input"
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5201 $as_echo "$as_me: creating $ac_file" >&6;}
5203 # Neutralize special characters interpreted by sed in replacement strings.
5204 case $configure_input in #(
5205 *\&* | *\|* | *\\* )
5206 ac_sed_conf_input=`$as_echo "$configure_input" |
5207 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5208 *) ac_sed_conf_input=$configure_input;;
5212 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5218 ac_dir=`$as_dirname -- "$ac_file" ||
5219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5220 X"$ac_file" : 'X\(//\)[^/]' \| \
5221 X"$ac_file" : 'X\(//\)$' \| \
5222 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5223 $as_echo X"$ac_file" |
5224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5241 as_dir="$ac_dir"; as_fn_mkdir_p
5245 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5247 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5248 # A ".." for each directory in $ac_dir_suffix.
5249 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5250 case $ac_top_builddir_sub in
5251 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5252 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5255 ac_abs_top_builddir=$ac_pwd
5256 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5257 # for backward compatibility:
5258 ac_top_builddir=$ac_top_build_prefix
5261 .) # We are building in place.
5263 ac_top_srcdir=$ac_top_builddir_sub
5264 ac_abs_top_srcdir=$ac_pwd ;;
5265 [\\/]* | ?:[\\/]* ) # Absolute name.
5266 ac_srcdir=$srcdir$ac_dir_suffix;
5267 ac_top_srcdir=$srcdir
5268 ac_abs_top_srcdir=$srcdir ;;
5270 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5271 ac_top_srcdir=$ac_top_build_prefix$srcdir
5272 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5274 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5284 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5285 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5289 [\\/$]* | ?:[\\/]* ) ;;
5290 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5295 # If the template does not know about datarootdir, expand it.
5296 # FIXME: This hack should be removed a few years after 2.60.
5297 ac_datarootdir_hack=; ac_datarootdir_seen=
5308 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5309 *datarootdir*) ac_datarootdir_seen=yes;;
5310 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5312 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5315 ac_datarootdir_hack='
5316 s&@datadir@&$datadir&g
5317 s&@docdir@&$docdir&g
5318 s&@infodir@&$infodir&g
5319 s&@localedir@&$localedir&g
5320 s&@mandir@&$mandir&g
5321 s&\\\${datarootdir}&$datarootdir&g' ;;
5325 # Neutralize VPATH when `$srcdir' = `.'.
5326 # Shell code in configure.ac might set extrasub.
5327 # FIXME: do we really want to maintain this feature?
5328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5329 ac_sed_extra="$ac_vpsub
5332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5334 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5335 s|@configure_input@|$ac_sed_conf_input|;t t
5336 s&@top_builddir@&$ac_top_builddir_sub&;t t
5337 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5338 s&@srcdir@&$ac_srcdir&;t t
5339 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5340 s&@top_srcdir@&$ac_top_srcdir&;t t
5341 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5342 s&@builddir@&$ac_builddir&;t t
5343 s&@abs_builddir@&$ac_abs_builddir&;t t
5344 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5345 s&@INSTALL@&$ac_INSTALL&;t t
5346 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5347 $ac_datarootdir_hack
5349 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5350 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5352 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5353 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5354 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5355 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5357 which seems to be undefined. Please make sure it is defined" >&5
5358 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5359 which seems to be undefined. Please make sure it is defined" >&2;}
5361 rm -f "$ac_tmp/stdin"
5363 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5364 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5366 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5370 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5371 $as_echo "$as_me: executing $ac_file commands" >&6;}
5376 case $ac_file$ac_mode in
5377 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5378 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5379 # are listed without --file. Let's play safe and only enable the eval
5380 # if we detect the quoting.
5381 case $CONFIG_FILES in
5382 *\'*) eval set x "$CONFIG_FILES" ;;
5383 *) set x $CONFIG_FILES ;;
5388 # Strip MF so we end up with the name of the file.
5389 mf=`echo "$mf" | sed -e 's/:.*$//'`
5390 # Check whether this is an Automake generated Makefile or not.
5391 # We used to match only the files named `Makefile.in', but
5392 # some people rename them; so instead we look at the file content.
5393 # Grep'ing the first line is not enough: some people post-process
5394 # each Makefile.in and add a new line on top of each file to say so.
5395 # Grep'ing the whole file is not good either: AIX grep has a line
5396 # limit of 2048, but all sed's we know have understand at least 4000.
5397 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5398 dirpart=`$as_dirname -- "$mf" ||
5399 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5400 X"$mf" : 'X\(//\)[^/]' \| \
5401 X"$mf" : 'X\(//\)$' \| \
5402 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5424 # Extract the definition of DEPDIR, am__include, and am__quote
5425 # from the Makefile without running `make'.
5426 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5427 test -z "$DEPDIR" && continue
5428 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5429 test -z "am__include" && continue
5430 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5431 # When using ansi2knr, U may be empty or an underscore; expand it
5432 U=`sed -n 's/^U = //p' < "$mf"`
5433 # Find all dependency output files, they are included files with
5434 # $(DEPDIR) in their names. We invoke sed twice because it is the
5435 # simplest approach to changing $(DEPDIR) to its actual value in the
5437 for file in `sed -n "
5438 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5439 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5440 # Make sure the directory exists.
5441 test -f "$dirpart/$file" && continue
5442 fdir=`$as_dirname -- "$file" ||
5443 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5444 X"$file" : 'X\(//\)[^/]' \| \
5445 X"$file" : 'X\(//\)$' \| \
5446 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5465 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5466 # echo "creating $dirpart/$file"
5467 echo '# dummy' > "$dirpart/$file"
5479 ac_clean_files=$ac_clean_files_save
5481 test $ac_write_fail = 0 ||
5482 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5485 # configure is writing to config.log, and then calls config.status.
5486 # config.status does its own redirection, appending to config.log.
5487 # Unfortunately, on DOS this fails, as config.log is still kept open
5488 # by configure, so config.status won't be able to write to it; its
5489 # output is simply discarded. So we exec the FD to /dev/null,
5490 # effectively closing config.log, so it can be properly (re)opened and
5491 # appended to by config.status. When coming back to configure, we
5492 # need to make the FD available again.
5493 if test "$no_create" != yes; then
5495 ac_config_status_args=
5496 test "$silent" = yes &&
5497 ac_config_status_args="$ac_config_status_args --quiet"
5499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5502 # would make configure fail if this is the last instruction.
5503 $ac_cs_success || as_fn_exit 1
5505 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5507 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}