2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GnuCoMo 0.0.13.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='GnuCoMo'
579 PACKAGE_TARNAME='gnucomo'
580 PACKAGE_VERSION='0.0.13'
581 PACKAGE_STRING='GnuCoMo 0.0.13'
585 ac_unique_file="src/lib/database.cpp"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='am__EXEEXT_FALSE
671 INSTALL_STRIP_PROGRAM
714 program_transform_name
727 enable_option_checking
729 enable_dependency_tracking
731 ac_precious_vars='build_alias
750 # Initialize some variables set by options.
752 ac_init_version=false
753 ac_unrecognized_opts=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name=s,x,x,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 runstatedir='${localstatedir}/run'
787 includedir='${prefix}/include'
788 oldincludedir='/usr/include'
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir='${datarootdir}/info'
795 libdir='${exec_prefix}/lib'
796 localedir='${datarootdir}/locale'
797 mandir='${datarootdir}/man'
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\$ac_option
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834 ac_prev=cache_file ;;
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837 cache_file=$ac_optarg ;;
840 cache_file=config.cache ;;
842 -datadir | --datadir | --datadi | --datad)
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848 | --dataroo | --dataro | --datar)
849 ac_prev=datarootdir ;;
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852 datarootdir=$ac_optarg ;;
854 -disable-* | --disable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
868 eval enable_$ac_useropt=no ;;
870 -docdir | --docdir | --docdi | --doc | --do)
872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880 -enable-* | --enable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=\$ac_optarg ;;
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898 | --exec | --exe | --ex)
899 ac_prev=exec_prefix ;;
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902 | --exec=* | --exe=* | --ex=*)
903 exec_prefix=$ac_optarg ;;
905 -gas | --gas | --ga | --g)
906 # Obsolete; use --with-gas.
909 -help | --help | --hel | --he | -h)
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912 ac_init_help=recursive ;;
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914 ac_init_help=short ;;
916 -host | --host | --hos | --ho)
917 ac_prev=host_alias ;;
918 -host=* | --host=* | --hos=* | --ho=*)
919 host_alias=$ac_optarg ;;
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
925 htmldir=$ac_optarg ;;
927 -includedir | --includedir | --includedi | --included | --include \
928 | --includ | --inclu | --incl | --inc)
929 ac_prev=includedir ;;
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931 | --includ=* | --inclu=* | --incl=* | --inc=*)
932 includedir=$ac_optarg ;;
934 -infodir | --infodir | --infodi | --infod | --info | --inf)
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937 infodir=$ac_optarg ;;
939 -libdir | --libdir | --libdi | --libd)
941 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945 | --libexe | --libex | --libe)
946 ac_prev=libexecdir ;;
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948 | --libexe=* | --libex=* | --libe=*)
949 libexecdir=$ac_optarg ;;
951 -localedir | --localedir | --localedi | --localed | --locale)
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954 localedir=$ac_optarg ;;
956 -localstatedir | --localstatedir | --localstatedi | --localstated \
957 | --localstate | --localstat | --localsta | --localst | --locals)
958 ac_prev=localstatedir ;;
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961 localstatedir=$ac_optarg ;;
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
969 # Obsolete; use --without-fp.
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973 | --no-cr | --no-c | -n)
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982 | --oldin | --oldi | --old | --ol | --o)
983 ac_prev=oldincludedir ;;
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987 oldincludedir=$ac_optarg ;;
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \
995 | --program-pre | --program-pr | --program-p)
996 ac_prev=program_prefix ;;
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999 program_prefix=$ac_optarg ;;
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002 | --program-suf | --program-su | --program-s)
1003 ac_prev=program_suffix ;;
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006 program_suffix=$ac_optarg ;;
1008 -program-transform-name | --program-transform-name \
1009 | --program-transform-nam | --program-transform-na \
1010 | --program-transform-n | --program-transform- \
1011 | --program-transform | --program-transfor \
1012 | --program-transfo | --program-transf \
1013 | --program-trans | --program-tran \
1014 | --progr-tra | --program-tr | --program-t)
1015 ac_prev=program_transform_name ;;
1016 -program-transform-name=* | --program-transform-name=* \
1017 | --program-transform-nam=* | --program-transform-na=* \
1018 | --program-transform-n=* | --program-transform-=* \
1019 | --program-transform=* | --program-transfor=* \
1020 | --program-transfo=* | --program-transf=* \
1021 | --program-trans=* | --program-tran=* \
1022 | --progr-tra=* | --program-tr=* | --program-t=*)
1023 program_transform_name=$ac_optarg ;;
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028 pdfdir=$ac_optarg ;;
1030 -psdir | --psdir | --psdi | --psd | --ps)
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1039 -runstatedir | --runstatedir | --runstatedi | --runstated \
1040 | --runstate | --runstat | --runsta | --runst | --runs \
1041 | --run | --ru | --r)
1042 ac_prev=runstatedir ;;
1043 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1044 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1045 | --run=* | --ru=* | --r=*)
1046 runstatedir=$ac_optarg ;;
1048 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1050 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1052 sbindir=$ac_optarg ;;
1054 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1055 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1056 | --sharedst | --shareds | --shared | --share | --shar \
1058 ac_prev=sharedstatedir ;;
1059 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1060 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1061 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1063 sharedstatedir=$ac_optarg ;;
1065 -site | --site | --sit)
1067 -site=* | --site=* | --sit=*)
1070 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1072 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1073 srcdir=$ac_optarg ;;
1075 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1076 | --syscon | --sysco | --sysc | --sys | --sy)
1077 ac_prev=sysconfdir ;;
1078 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1079 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1080 sysconfdir=$ac_optarg ;;
1082 -target | --target | --targe | --targ | --tar | --ta | --t)
1083 ac_prev=target_alias ;;
1084 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1085 target_alias=$ac_optarg ;;
1087 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090 -version | --version | --versio | --versi | --vers | -V)
1091 ac_init_version=: ;;
1094 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1107 eval with_$ac_useropt=\$ac_optarg ;;
1109 -without-* | --without-*)
1110 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113 as_fn_error $? "invalid package name: $ac_useropt"
1114 ac_useropt_orig=$ac_useropt
1115 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1120 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121 ac_unrecognized_sep=', ';;
1123 eval with_$ac_useropt=no ;;
1126 # Obsolete; use --with-x.
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
1148 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 case $ac_envvar in #(
1151 '' | [0-9]* | *[!_$as_cr_alnum]* )
1152 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 as_fn_error $? "missing argument to $ac_option"
1173 if test -n "$ac_unrecognized_opts"; then
1174 case $enable_option_checking in
1176 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181 # Check all directory arguments for consistency.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir runstatedir
1187 eval ac_val=\$$ac_var
1188 # Remove trailing slashes.
1191 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192 eval $ac_var=\$ac_val;;
1194 # Be sure to have absolute directory names.
1196 [\\/$]* | ?:[\\/]* ) continue;;
1197 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1199 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1207 target=$target_alias
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x; then
1211 if test "x$build_alias" = x; then
1212 cross_compiling=maybe
1213 elif test "x$build_alias" != "x$host_alias"; then
1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1221 test "$silent" = yes && exec 6>/dev/null
1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di=`ls -di .` &&
1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227 as_fn_error $? "working directory cannot be determined"
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 as_fn_error $? "pwd does not report name of working directory"
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1272 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures GnuCoMo 0.0.13 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking ...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1339 --libdir=DIR object code libraries [EPREFIX/lib]
1340 --includedir=DIR C header files [PREFIX/include]
1341 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1342 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1343 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1344 --infodir=DIR info documentation [DATAROOTDIR/info]
1345 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1346 --mandir=DIR man documentation [DATAROOTDIR/man]
1347 --docdir=DIR documentation root [DATAROOTDIR/doc/gnucomo]
1348 --htmldir=DIR html documentation [DOCDIR]
1349 --dvidir=DIR dvi documentation [DOCDIR]
1350 --pdfdir=DIR pdf documentation [DOCDIR]
1351 --psdir=DIR ps documentation [DOCDIR]
1357 --program-prefix=PREFIX prepend PREFIX to installed program names
1358 --program-suffix=SUFFIX append SUFFIX to installed program names
1359 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of GnuCoMo 0.0.13:";;
1370 --disable-option-checking ignore unrecognized --enable/--with options
1371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1373 --enable-silent-rules less verbose build output (undo: "make V=1")
1374 --disable-silent-rules verbose build output (undo: "make V=0")
1375 --enable-dependency-tracking
1376 do not reject slow dependency extractors
1377 --disable-dependency-tracking
1378 speeds up one-time build
1380 Some influential environment variables:
1381 CXX C++ compiler command
1382 CXXFLAGS C++ compiler flags
1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 nonstandard directory <lib dir>
1385 LIBS libraries to pass to the linker, e.g. -l<library>
1386 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1387 you have headers in a nonstandard directory <include dir>
1388 CC C compiler command
1389 CFLAGS C compiler flags
1390 CXXCPP C++ preprocessor
1391 PKG_CONFIG path to pkg-config utility
1393 directories to add to pkg-config's search path
1395 path overriding pkg-config's built-in search path
1397 C compiler flags for LIBPQXX, overriding pkg-config
1399 linker flags for LIBPQXX, overriding pkg-config
1401 Use these variables to override the choices made by `configure' or to help
1402 it to find libraries and programs with nonstandard names/locations.
1404 Report bugs to the package provider.
1409 if test "$ac_init_help" = "recursive"; then
1410 # If there are subdirs, report their specific --help.
1411 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1412 test -d "$ac_dir" ||
1413 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1421 # A ".." for each directory in $ac_dir_suffix.
1422 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1423 case $ac_top_builddir_sub in
1424 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1428 ac_abs_top_builddir=$ac_pwd
1429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430 # for backward compatibility:
1431 ac_top_builddir=$ac_top_build_prefix
1434 .) # We are building in place.
1436 ac_top_srcdir=$ac_top_builddir_sub
1437 ac_abs_top_srcdir=$ac_pwd ;;
1438 [\\/]* | ?:[\\/]* ) # Absolute name.
1439 ac_srcdir=$srcdir$ac_dir_suffix;
1440 ac_top_srcdir=$srcdir
1441 ac_abs_top_srcdir=$srcdir ;;
1443 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444 ac_top_srcdir=$ac_top_build_prefix$srcdir
1445 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449 cd "$ac_dir" || { ac_status=$?; continue; }
1450 # Check for guested configure.
1451 if test -f "$ac_srcdir/configure.gnu"; then
1453 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454 elif test -f "$ac_srcdir/configure"; then
1456 $SHELL "$ac_srcdir/configure" --help=recursive
1458 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460 cd "$ac_pwd" || { ac_status=$?; break; }
1464 test -n "$ac_init_help" && exit $ac_status
1465 if $ac_init_version; then
1467 GnuCoMo configure 0.0.13
1468 generated by GNU Autoconf 2.69
1470 Copyright (C) 2012 Free Software Foundation, Inc.
1471 This configure script is free software; the Free Software Foundation
1472 gives unlimited permission to copy, distribute and modify it.
1477 ## ------------------------ ##
1478 ## Autoconf initialization. ##
1479 ## ------------------------ ##
1481 # ac_fn_cxx_try_compile LINENO
1482 # ----------------------------
1483 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1484 ac_fn_cxx_try_compile ()
1486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487 rm -f conftest.$ac_objext
1488 if { { ac_try="$ac_compile"
1490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491 *) ac_try_echo=$ac_try;;
1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494 $as_echo "$ac_try_echo"; } >&5
1495 (eval "$ac_compile") 2>conftest.err
1497 if test -s conftest.err; then
1498 grep -v '^ *+' conftest.err >conftest.er1
1499 cat conftest.er1 >&5
1500 mv -f conftest.er1 conftest.err
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; } && {
1504 test -z "$ac_cxx_werror_flag" ||
1505 test ! -s conftest.err
1506 } && test -s conftest.$ac_objext; then :
1509 $as_echo "$as_me: failed program was:" >&5
1510 sed 's/^/| /' conftest.$ac_ext >&5
1514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515 as_fn_set_status $ac_retval
1517 } # ac_fn_cxx_try_compile
1519 # ac_fn_c_try_compile LINENO
1520 # --------------------------
1521 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1522 ac_fn_c_try_compile ()
1524 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525 rm -f conftest.$ac_objext
1526 if { { ac_try="$ac_compile"
1528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_compile") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && {
1542 test -z "$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1544 } && test -s conftest.$ac_objext; then :
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553 as_fn_set_status $ac_retval
1555 } # ac_fn_c_try_compile
1557 # ac_fn_cxx_try_cpp LINENO
1558 # ------------------------
1559 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_cxx_try_cpp ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 if { { ac_try="$ac_cpp conftest.$ac_ext"
1565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566 *) ac_try_echo=$ac_try;;
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1572 if test -s conftest.err; then
1573 grep -v '^ *+' conftest.err >conftest.er1
1574 cat conftest.er1 >&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } > conftest.i && {
1579 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1580 test ! -s conftest.err
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_cxx_try_cpp
1594 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1595 # ---------------------------------------------------------
1596 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1597 # the include files in INCLUDES and setting the cache variable VAR
1599 ac_fn_cxx_check_header_mongrel ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if eval \${$3+:} false; then :
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if eval \${$3+:} false; then :
1606 $as_echo_n "(cached) " >&6
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610 $as_echo "$ac_res" >&6; }
1612 # Is the header compilable?
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1614 $as_echo_n "checking $2 usability... " >&6; }
1615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1616 /* end confdefs.h. */
1620 if ac_fn_cxx_try_compile "$LINENO"; then :
1621 ac_header_compiler=yes
1623 ac_header_compiler=no
1625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1627 $as_echo "$ac_header_compiler" >&6; }
1629 # Is the header present?
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1631 $as_echo_n "checking $2 presence... " >&6; }
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1636 if ac_fn_cxx_try_cpp "$LINENO"; then :
1637 ac_header_preproc=yes
1639 ac_header_preproc=no
1641 rm -f conftest.err conftest.i conftest.$ac_ext
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1643 $as_echo "$ac_header_preproc" >&6; }
1645 # So? What about this header?
1646 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1649 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1655 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1657 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1659 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1661 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if eval \${$3+:} false; then :
1669 $as_echo_n "(cached) " >&6
1671 eval "$3=\$ac_header_compiler"
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1679 } # ac_fn_cxx_check_header_mongrel
1681 # ac_fn_cxx_try_run LINENO
1682 # ------------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1684 # that executables *can* be run.
1685 ac_fn_cxx_try_run ()
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1699 { { case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_try") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; }; }; then :
1711 $as_echo "$as_me: program exited with status $ac_status" >&5
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715 ac_retval=$ac_status
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 as_fn_set_status $ac_retval
1721 } # ac_fn_cxx_try_run
1723 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1724 # ---------------------------------------------------------
1725 # Tests whether HEADER exists and can be compiled using the include files in
1726 # INCLUDES, setting the cache variable VAR accordingly.
1727 ac_fn_cxx_check_header_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1740 if ac_fn_cxx_try_compile "$LINENO"; then :
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_cxx_check_header_compile
1754 # ac_fn_cxx_try_link LINENO
1755 # -------------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_cxx_try_link ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 rm -f conftest.$ac_objext conftest$ac_exeext
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_cxx_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest$ac_exeext && {
1780 test "$cross_compiling" = yes ||
1781 test -x conftest$ac_exeext
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1790 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792 # interfere with the next link command; also delete a directory that is
1793 # left behind by Apple's compiler. We do this before executing the actions.
1794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1798 } # ac_fn_cxx_try_link
1800 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1801 # ---------------------------------------------
1802 # Tests whether TYPE exists after having included INCLUDES, setting cache
1803 # variable VAR accordingly.
1804 ac_fn_cxx_check_type ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval \${$3+:} false; then :
1810 $as_echo_n "(cached) " >&6
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1825 if ac_fn_cxx_try_compile "$LINENO"; then :
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1838 if ac_fn_cxx_try_compile "$LINENO"; then :
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852 } # ac_fn_cxx_check_type
1854 # ac_fn_cxx_check_func LINENO FUNC VAR
1855 # ------------------------------------
1856 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1857 ac_fn_cxx_check_func ()
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863 $as_echo_n "(cached) " >&6
1865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1866 /* end confdefs.h. */
1867 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1869 #define $2 innocuous_$2
1871 /* System header to define __stub macros and hopefully few prototypes,
1872 which can conflict with char $2 (); below.
1873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1874 <limits.h> exists even on freestanding compilers. */
1877 # include <limits.h>
1879 # include <assert.h>
1884 /* Override any GCC internal prototype to avoid an error.
1885 Use char because int might match the return type of a GCC
1886 builtin and then its argument prototype would still apply. */
1891 /* The GNU C library defines this for functions which it implements
1892 to always fail with ENOSYS. Some functions are actually named
1893 something starting with __ and the normal name is an alias. */
1894 #if defined __stub_$2 || defined __stub___$2
1906 if ac_fn_cxx_try_link "$LINENO"; then :
1911 rm -f core conftest.err conftest.$ac_objext \
1912 conftest$ac_exeext conftest.$ac_ext
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919 } # ac_fn_cxx_check_func
1920 cat >config.log <<_ACEOF
1921 This file contains any messages produced by compilers while
1922 running configure, to aid debugging if configure makes a mistake.
1924 It was created by GnuCoMo $as_me 0.0.13, which was
1925 generated by GNU Autoconf 2.69. Invocation command line was
1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1944 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1946 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1947 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1949 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1950 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1951 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1952 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1960 test -z "$as_dir" && as_dir=.
1961 $as_echo "PATH: $as_dir"
1977 # Keep a trace of the command line.
1978 # Strip out --no-create and --no-recursion so they do not pile up.
1979 # Strip out --silent because we don't want to record it for future runs.
1980 # Also quote any args containing shell meta-characters.
1981 # Make two passes to allow for proper duplicate-argument suppression.
1985 ac_must_keep_next=false
1991 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1993 | -silent | --silent | --silen | --sile | --sil)
1996 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1999 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2001 as_fn_append ac_configure_args1 " '$ac_arg'"
2002 if test $ac_must_keep_next = true; then
2003 ac_must_keep_next=false # Got value, back to normal.
2006 *=* | --config-cache | -C | -disable-* | --disable-* \
2007 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2008 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2009 | -with-* | --with-* | -without-* | --without-* | --x)
2010 case "$ac_configure_args0 " in
2011 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2014 -* ) ac_must_keep_next=true ;;
2017 as_fn_append ac_configure_args " '$ac_arg'"
2022 { ac_configure_args0=; unset ac_configure_args0;}
2023 { ac_configure_args1=; unset ac_configure_args1;}
2025 # When interrupted or exit'd, cleanup temporary files, and complete
2026 # config.log. We remove comments because anyway the quotes in there
2027 # would cause problems or look ugly.
2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2030 trap 'exit_status=$?
2031 # Save into config.log some information that might help in debugging.
2035 $as_echo "## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##"
2039 # The following way of writing the cache mishandles newlines in values,
2041 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2042 eval ac_val=\$$ac_var
2046 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2050 _ | IFS | as_nl) ;; #(
2051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2052 *) { eval $ac_var=; unset $ac_var;} ;;
2057 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2058 *${as_nl}ac_space=\ *)
2060 "s/'\''/'\''\\\\'\'''\''/g;
2061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2071 $as_echo "## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##"
2075 for ac_var in $ac_subst_vars
2077 eval ac_val=\$$ac_var
2079 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2081 $as_echo "$ac_var='\''$ac_val'\''"
2085 if test -n "$ac_subst_files"; then
2086 $as_echo "## ------------------- ##
2087 ## File substitutions. ##
2088 ## ------------------- ##"
2090 for ac_var in $ac_subst_files
2092 eval ac_val=\$$ac_var
2094 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2096 $as_echo "$ac_var='\''$ac_val'\''"
2101 if test -s confdefs.h; then
2102 $as_echo "## ----------- ##
2109 test "$ac_signal" != 0 &&
2110 $as_echo "$as_me: caught signal $ac_signal"
2111 $as_echo "$as_me: exit $exit_status"
2113 rm -f core *.core core.conftest.* &&
2114 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2117 for ac_signal in 1 2 13 15; do
2118 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2122 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2123 rm -f -r conftest* confdefs.h
2125 $as_echo "/* confdefs.h */" > confdefs.h
2127 # Predefined preprocessor variables.
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_NAME "$PACKAGE_NAME"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_STRING "$PACKAGE_STRING"
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_URL "$PACKAGE_URL"
2154 # Let the site file select an alternate cache file if it wants to.
2155 # Prefer an explicitly selected file to automatically selected ones.
2158 if test -n "$CONFIG_SITE"; then
2159 # We do not want a PATH search for config.site.
2160 case $CONFIG_SITE in #((
2161 -*) ac_site_file1=./$CONFIG_SITE;;
2162 */*) ac_site_file1=$CONFIG_SITE;;
2163 *) ac_site_file1=./$CONFIG_SITE;;
2165 elif test "x$prefix" != xNONE; then
2166 ac_site_file1=$prefix/share/config.site
2167 ac_site_file2=$prefix/etc/config.site
2169 ac_site_file1=$ac_default_prefix/share/config.site
2170 ac_site_file2=$ac_default_prefix/etc/config.site
2172 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2174 test "x$ac_site_file" = xNONE && continue
2175 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2178 sed 's/^/| /' "$ac_site_file" >&5
2180 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2182 as_fn_error $? "failed to load site script $ac_site_file
2183 See \`config.log' for more details" "$LINENO" 5; }
2187 if test -r "$cache_file"; then
2188 # Some versions of bash will fail to source /dev/null (special files
2189 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2190 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2192 $as_echo "$as_me: loading cache $cache_file" >&6;}
2194 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2195 *) . "./$cache_file";;
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2200 $as_echo "$as_me: creating cache $cache_file" >&6;}
2204 # Check that the precious variables saved in the cache have kept the same
2206 ac_cache_corrupted=false
2207 for ac_var in $ac_precious_vars; do
2208 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2209 eval ac_new_set=\$ac_env_${ac_var}_set
2210 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2211 eval ac_new_val=\$ac_env_${ac_var}_value
2212 case $ac_old_set,$ac_new_set in
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2215 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2216 ac_cache_corrupted=: ;;
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2220 ac_cache_corrupted=: ;;
2223 if test "x$ac_old_val" != "x$ac_new_val"; then
2224 # differences in whitespace do not lead to failure.
2225 ac_old_val_w=`echo x $ac_old_val`
2226 ac_new_val_w=`echo x $ac_new_val`
2227 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2229 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2230 ac_cache_corrupted=:
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2233 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2234 eval $ac_var=\$ac_old_val
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2237 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2239 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2242 # Pass precious variables to config.status.
2243 if test "$ac_new_set" = set; then
2245 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2246 *) ac_arg=$ac_var=$ac_new_val ;;
2248 case " $ac_configure_args " in
2249 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2250 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2254 if $ac_cache_corrupted; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2258 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2259 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2261 ## -------------------- ##
2262 ## Main body of script. ##
2263 ## -------------------- ##
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2272 am__api_version='1.15'
2275 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2276 if test -f "$ac_dir/install-sh"; then
2278 ac_install_sh="$ac_aux_dir/install-sh -c"
2280 elif test -f "$ac_dir/install.sh"; then
2282 ac_install_sh="$ac_aux_dir/install.sh -c"
2284 elif test -f "$ac_dir/shtool"; then
2286 ac_install_sh="$ac_aux_dir/shtool install -c"
2290 if test -z "$ac_aux_dir"; then
2291 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2294 # These three variables are undocumented and unsupported,
2295 # and are intended to be withdrawn in a future Autoconf release.
2296 # They can cause serious problems if a builder's source tree is in a directory
2297 # whose full name contains unusual characters.
2298 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2299 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2300 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2303 # Find a good install program. We prefer a C program (faster),
2304 # so one script is as good as another. But avoid the broken or
2305 # incompatible versions:
2306 # SysV /etc/install, /usr/sbin/install
2307 # SunOS /usr/etc/install
2308 # IRIX /sbin/install
2310 # AmigaOS /C/install, which installs bootblocks on floppy discs
2311 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2312 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2313 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2314 # OS/2's system install, which has a completely different semantic
2315 # ./install, which can be erroneously created by make from ./install.sh.
2316 # Reject install programs that cannot install multiple files.
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2318 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2319 if test -z "$INSTALL"; then
2320 if ${ac_cv_path_install+:} false; then :
2321 $as_echo_n "(cached) " >&6
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 # Account for people who put trailing slashes in PATH elements.
2329 case $as_dir/ in #((
2330 ./ | .// | /[cC]/* | \
2331 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2332 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2335 # OSF1 and SCO ODT 3.0 have their own names for install.
2336 # Don't use installbsd from OSF since it installs stuff as root
2338 for ac_prog in ginstall scoinst install; do
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2341 if test $ac_prog = install &&
2342 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2343 # AIX install. It has an incompatible calling convention.
2345 elif test $ac_prog = install &&
2346 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2347 # program-specific install script used by HP pwplus--don't use.
2350 rm -rf conftest.one conftest.two conftest.dir
2351 echo one > conftest.one
2352 echo two > conftest.two
2354 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2355 test -s conftest.one && test -s conftest.two &&
2356 test -s conftest.dir/conftest.one &&
2357 test -s conftest.dir/conftest.two
2359 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2372 rm -rf conftest.one conftest.two conftest.dir
2375 if test "${ac_cv_path_install+set}" = set; then
2376 INSTALL=$ac_cv_path_install
2378 # As a last resort, use the slow shell script. Don't cache a
2379 # value for INSTALL within a source directory, because that will
2380 # break other packages using the cache if that directory is
2381 # removed, or if the value is a relative name.
2382 INSTALL=$ac_install_sh
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2386 $as_echo "$INSTALL" >&6; }
2388 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2389 # It thinks the first close brace ends the variable substitution.
2390 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2392 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2394 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2397 $as_echo_n "checking whether build environment is sane... " >&6; }
2398 # Reject unsafe characters in $srcdir or the absolute working directory
2399 # name. Accept space and tab only in the latter.
2403 *[\\\"\#\$\&\'\`$am_lf]*)
2404 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2407 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2408 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2411 # Do 'set' in a subshell so we don't clobber the current shell's
2412 # arguments. Must try -L first in case configure is actually a
2413 # symlink; some systems play weird games with the mod time of symlinks
2414 # (eg FreeBSD returns the mod time of the symlink's containing
2418 for am_try in 1 2; do
2419 echo "timestamp, slept: $am_has_slept" > conftest.file
2420 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2421 if test "$*" = "X"; then
2423 set X `ls -t "$srcdir/configure" conftest.file`
2425 if test "$*" != "X $srcdir/configure conftest.file" \
2426 && test "$*" != "X conftest.file $srcdir/configure"; then
2428 # If neither matched, then we have a broken ls. This can happen
2429 # if, for instance, CONFIG_SHELL is bash and it inherits a
2430 # broken ls alias from the environment. This has actually
2431 # happened. Such a system could not be considered "sane".
2432 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2433 alias in your environment" "$LINENO" 5
2435 if test "$2" = conftest.file || test $am_try -eq 2; then
2442 test "$2" = conftest.file
2448 as_fn_error $? "newly created file is older than distributed files!
2449 Check your system clock" "$LINENO" 5
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2452 $as_echo "yes" >&6; }
2453 # If we didn't sleep, we still need to ensure time stamps of config.status and
2454 # generated files are strictly newer.
2456 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2463 test "$program_prefix" != NONE &&
2464 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2465 # Use a double $ so make ignores it.
2466 test "$program_suffix" != NONE &&
2467 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2468 # Double any \ or $.
2469 # By default was `s,x,x', remove it if useless.
2470 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2471 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2473 # Expand $ac_aux_dir to an absolute path.
2474 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2476 if test x"${MISSING+set}" != xset; then
2479 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2481 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2484 # Use eval to expand $SHELL
2485 if eval "$MISSING --is-lightweight"; then
2486 am_missing_run="$MISSING "
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2490 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2493 if test x"${install_sh+set}" != xset; then
2496 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2498 install_sh="\${SHELL} $am_aux_dir/install-sh"
2502 # Installed binaries are usually stripped using 'strip' when the user
2503 # run "make install-strip". However 'strip' might not be the right
2504 # tool to use in cross-compilation environments, therefore Automake
2505 # will honor the 'STRIP' environment variable to overrule this program.
2506 if test "$cross_compiling" != no; then
2507 if test -n "$ac_tool_prefix"; then
2508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2509 set dummy ${ac_tool_prefix}strip; ac_word=$2
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511 $as_echo_n "checking for $ac_word... " >&6; }
2512 if ${ac_cv_prog_STRIP+:} false; then :
2513 $as_echo_n "(cached) " >&6
2515 if test -n "$STRIP"; then
2516 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir=.
2523 for ac_exec_ext in '' $ac_executable_extensions; do
2524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2525 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2535 STRIP=$ac_cv_prog_STRIP
2536 if test -n "$STRIP"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2538 $as_echo "$STRIP" >&6; }
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2546 if test -z "$ac_cv_prog_STRIP"; then
2548 # Extract the first word of "strip", so it can be a program name with args.
2549 set dummy strip; ac_word=$2
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2553 $as_echo_n "(cached) " >&6
2555 if test -n "$ac_ct_STRIP"; then
2556 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2565 ac_cv_prog_ac_ct_STRIP="strip"
2566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2576 if test -n "$ac_ct_STRIP"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2578 $as_echo "$ac_ct_STRIP" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2584 if test "x$ac_ct_STRIP" = x; then
2587 case $cross_compiling:$ac_tool_warned in
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2591 ac_tool_warned=yes ;;
2596 STRIP="$ac_cv_prog_STRIP"
2600 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2603 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2604 if test -z "$MKDIR_P"; then
2605 if ${ac_cv_path_mkdir+:} false; then :
2606 $as_echo_n "(cached) " >&6
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2612 test -z "$as_dir" && as_dir=.
2613 for ac_prog in mkdir gmkdir; do
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2616 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2617 'mkdir (GNU coreutils) '* | \
2618 'mkdir (coreutils) '* | \
2619 'mkdir (fileutils) '4.1*)
2620 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2630 test -d ./--version && rmdir ./--version
2631 if test "${ac_cv_path_mkdir+set}" = set; then
2632 MKDIR_P="$ac_cv_path_mkdir -p"
2634 # As a last resort, use the slow shell script. Don't cache a
2635 # value for MKDIR_P within a source directory, because that will
2636 # break other packages using the cache if that directory is
2637 # removed, or if the value is a relative name.
2638 MKDIR_P="$ac_install_sh -d"
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2642 $as_echo "$MKDIR_P" >&6; }
2644 for ac_prog in gawk mawk nawk awk
2646 # Extract the first word of "$ac_prog", so it can be a program name with args.
2647 set dummy $ac_prog; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_AWK+:} false; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$AWK"; then
2654 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_AWK="$ac_prog"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 if test -n "$AWK"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2676 $as_echo "$AWK" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2683 test -n "$AWK" && break
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2687 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2689 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2690 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 cat >conftest.make <<\_ACEOF
2696 @echo '@@@%%%=$(MAKE)=@@@%%%'
2698 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2699 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2701 eval ac_cv_prog_make_${ac_make}_set=yes;;
2703 eval ac_cv_prog_make_${ac_make}_set=no;;
2707 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2709 $as_echo "yes" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2714 SET_MAKE="MAKE=${MAKE-make}"
2717 rm -rf .tst 2>/dev/null
2718 mkdir .tst 2>/dev/null
2719 if test -d .tst; then
2724 rmdir .tst 2>/dev/null
2726 # Check whether --enable-silent-rules was given.
2727 if test "${enable_silent_rules+set}" = set; then :
2728 enableval=$enable_silent_rules;
2731 case $enable_silent_rules in # (((
2732 yes) AM_DEFAULT_VERBOSITY=0;;
2733 no) AM_DEFAULT_VERBOSITY=1;;
2734 *) AM_DEFAULT_VERBOSITY=1;;
2736 am_make=${MAKE-make}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2738 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2739 if ${am_cv_make_support_nested_variables+:} false; then :
2740 $as_echo_n "(cached) " >&6
2742 if $as_echo 'TRUE=$(BAR$(V))
2748 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2749 am_cv_make_support_nested_variables=yes
2751 am_cv_make_support_nested_variables=no
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2755 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2756 if test $am_cv_make_support_nested_variables = yes; then
2758 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2760 AM_V=$AM_DEFAULT_VERBOSITY
2761 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2765 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2766 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2767 # is not polluted with repeated "-I."
2768 am__isrc=' -I$(srcdir)'
2769 # test to see if srcdir already configured
2770 if test -f $srcdir/config.status; then
2771 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2775 # test whether we have cygpath
2776 if test -z "$CYGPATH_W"; then
2777 if (cygpath --version) >/dev/null 2>/dev/null; then
2778 CYGPATH_W='cygpath -w'
2785 # Define the identity of the package.
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE "$PACKAGE"
2795 cat >>confdefs.h <<_ACEOF
2796 #define VERSION "$VERSION"
2799 # Some tools Automake needs.
2801 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2804 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2807 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2810 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2813 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2815 # For better backward compatibility. To be removed once Automake 1.9.x
2816 # dies out for good. For more background, see:
2817 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2818 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2819 mkdir_p='$(MKDIR_P)'
2821 # We need awk for the "check" target (and possibly the TAP driver). The
2822 # system "awk" is bad on some platforms.
2823 # Always define AMTAR for backward compatibility. Yes, it's still used
2824 # in the wild :-( We should find a proper way to deprecate it ...
2828 # We'll loop over all known methods to create a tar archive until one works.
2829 _am_tools='gnutar pax cpio none'
2831 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2838 # POSIX will say in a future version that running "rm -f" with no argument
2839 # is OK; and we want to be able to make that assumption in our Makefile
2840 # recipes. So use an aggressive probe to check that the usage we want is
2841 # actually supported "in the wild" to an acceptable degree.
2842 # See automake bug#10828.
2843 # To make any issue more visible, cause the running configure to be aborted
2844 # by default if the 'rm' program in use doesn't match our expectations; the
2845 # user can still override this though.
2846 if rm -f && rm -fr && rm -rf; then : OK; else
2850 Your 'rm' program seems unable to run without file operands specified
2851 on the command line, even when the '-f' option is present. This is contrary
2852 to the behaviour of most rm programs out there, and not conforming with
2853 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2855 Please tell bug-automake@gnu.org about your system, including the value
2856 of your $PATH and any error possibly output before this message. This
2857 can help us improve future automake versions.
2860 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2861 echo 'Configuration will proceed anyway, since you have set the' >&2
2862 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2866 Aborting the configuration process, to ensure you take notice of the issue.
2868 You can download and install GNU coreutils to get an 'rm' implementation
2869 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2871 If you want to complete the configuration process using your problematic
2872 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2873 to "yes", and re-run configure.
2876 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2881 ac_cpp='$CXXCPP $CPPFLAGS'
2882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2887 ac_config_headers="$ac_config_headers config.h"
2890 # Checks for programs.
2892 ac_cpp='$CXXCPP $CPPFLAGS'
2893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2896 if test -z "$CXX"; then
2897 if test -n "$CCC"; then
2900 if test -n "$ac_tool_prefix"; then
2901 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if ${ac_cv_prog_CXX+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$CXX"; then
2911 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir=.
2918 for ac_exec_ext in '' $ac_executable_extensions; do
2919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2920 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 if test -n "$CXX"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2933 $as_echo "$CXX" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2940 test -n "$CXX" && break
2943 if test -z "$CXX"; then
2945 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2947 # Extract the first word of "$ac_prog", so it can be a program name with args.
2948 set dummy $ac_prog; ac_word=$2
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 $as_echo_n "checking for $ac_word... " >&6; }
2951 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 if test -n "$ac_ct_CXX"; then
2955 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 test -z "$as_dir" && as_dir=.
2962 for ac_exec_ext in '' $ac_executable_extensions; do
2963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964 ac_cv_prog_ac_ct_CXX="$ac_prog"
2965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2975 if test -n "$ac_ct_CXX"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2977 $as_echo "$ac_ct_CXX" >&6; }
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980 $as_echo "no" >&6; }
2984 test -n "$ac_ct_CXX" && break
2987 if test "x$ac_ct_CXX" = x; then
2990 case $cross_compiling:$ac_tool_warned in
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2994 ac_tool_warned=yes ;;
3002 # Provide some information about the compiler.
3003 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3006 for ac_option in --version -v -V -qversion; do
3007 { { ac_try="$ac_compiler $ac_option >&5"
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3013 $as_echo "$ac_try_echo"; } >&5
3014 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3016 if test -s conftest.err; then
3018 ... rest of stderr output deleted ...
3019 10q' conftest.err >conftest.er1
3020 cat conftest.er1 >&5
3022 rm -f conftest.er1 conftest.err
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024 test $ac_status = 0; }
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3038 ac_clean_files_save=$ac_clean_files
3039 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3040 # Try to create an executable without -o first, disregard a.out.
3041 # It will help us diagnose broken compilers, and finding out an intuition
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3044 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3045 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3047 # The possible output files:
3048 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3051 for ac_file in $ac_files
3054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3055 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3060 if { { ac_try="$ac_link_default"
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_link_default") 2>&5
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070 test $ac_status = 0; }; then :
3071 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3072 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3073 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3074 # so that the user can short-circuit this test for compilers unknown to
3076 for ac_file in $ac_files ''
3078 test -f "$ac_file" || continue
3080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3083 # We found the default executable, but exeext='' is most
3087 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3089 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3091 # We set ac_cv_exeext here because the later test for it is not
3092 # safe: cross compilers may not add the suffix if given an `-o'
3093 # argument, so we may need to know it at that point already.
3094 # Even if this section looks crufty: it has the advantage of
3101 test "$ac_cv_exeext" = no && ac_cv_exeext=
3106 if test -z "$ac_file"; then :
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3109 $as_echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3114 as_fn_error 77 "C++ compiler cannot create executables
3115 See \`config.log' for more details" "$LINENO" 5; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3118 $as_echo "yes" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3121 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3123 $as_echo "$ac_file" >&6; }
3124 ac_exeext=$ac_cv_exeext
3126 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3127 ac_clean_files=$ac_clean_files_save
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3129 $as_echo_n "checking for suffix of executables... " >&6; }
3130 if { { ac_try="$ac_link"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136 $as_echo "$ac_try_echo"; } >&5
3137 (eval "$ac_link") 2>&5
3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140 test $ac_status = 0; }; then :
3141 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3142 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3143 # work properly (i.e., refer to `conftest.exe'), while it won't with
3145 for ac_file in conftest.exe conftest conftest.*; do
3146 test -f "$ac_file" || continue
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3149 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3157 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3158 See \`config.log' for more details" "$LINENO" 5; }
3160 rm -f conftest conftest$ac_cv_exeext
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3162 $as_echo "$ac_cv_exeext" >&6; }
3164 rm -f conftest.$ac_ext
3165 EXEEXT=$ac_cv_exeext
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3173 FILE *f = fopen ("conftest.out", "w");
3174 return ferror (f) || fclose (f) != 0;
3180 ac_clean_files="$ac_clean_files conftest.out"
3181 # Check that the compiler produces executables we can run. If not, either
3182 # the compiler is broken, or we cross compile.
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3184 $as_echo_n "checking whether we are cross compiling... " >&6; }
3185 if test "$cross_compiling" != yes; then
3186 { { ac_try="$ac_link"
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_link") 2>&5
3195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196 test $ac_status = 0; }
3197 if { ac_try='./conftest$ac_cv_exeext'
3198 { { case "(($ac_try" in
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_try") 2>&5
3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207 test $ac_status = 0; }; }; then
3210 if test "$cross_compiling" = maybe; then
3213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 as_fn_error $? "cannot run C++ compiled programs.
3216 If you meant to cross compile, use \`--host'.
3217 See \`config.log' for more details" "$LINENO" 5; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3222 $as_echo "$cross_compiling" >&6; }
3224 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3225 ac_clean_files=$ac_clean_files_save
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3227 $as_echo_n "checking for suffix of object files... " >&6; }
3228 if ${ac_cv_objext+:} false; then :
3229 $as_echo_n "(cached) " >&6
3231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h. */
3242 rm -f conftest.o conftest.obj
3243 if { { ac_try="$ac_compile"
3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_compile") 2>&5
3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }; then :
3254 for ac_file in conftest.o conftest.obj conftest.*; do
3255 test -f "$ac_file" || continue;
3257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3258 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3263 $as_echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268 as_fn_error $? "cannot compute suffix of object files: cannot compile
3269 See \`config.log' for more details" "$LINENO" 5; }
3271 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3274 $as_echo "$ac_cv_objext" >&6; }
3275 OBJEXT=$ac_cv_objext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3278 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3279 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3280 $as_echo_n "(cached) " >&6
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3296 if ac_fn_cxx_try_compile "$LINENO"; then :
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3306 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3307 if test $ac_compiler_gnu = yes; then
3312 ac_test_CXXFLAGS=${CXXFLAGS+set}
3313 ac_save_CXXFLAGS=$CXXFLAGS
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3315 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3316 if ${ac_cv_prog_cxx_g+:} false; then :
3317 $as_echo_n "(cached) " >&6
3319 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3320 ac_cxx_werror_flag=yes
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3334 if ac_fn_cxx_try_compile "$LINENO"; then :
3335 ac_cv_prog_cxx_g=yes
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 if ac_fn_cxx_try_compile "$LINENO"; then :
3352 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3365 if ac_fn_cxx_try_compile "$LINENO"; then :
3366 ac_cv_prog_cxx_g=yes
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3376 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3377 if test "$ac_test_CXXFLAGS" = set; then
3378 CXXFLAGS=$ac_save_CXXFLAGS
3379 elif test $ac_cv_prog_cxx_g = yes; then
3380 if test "$GXX" = yes; then
3386 if test "$GXX" = yes; then
3393 ac_cpp='$CXXCPP $CPPFLAGS'
3394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3397 DEPDIR="${am__leading_dot}deps"
3399 ac_config_commands="$ac_config_commands depfiles"
3402 am_make=${MAKE-make}
3403 cat > confinc << 'END'
3405 @echo this is the am__doit target
3408 # If we don't find an include directive, just comment out the code.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3410 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3414 # First try GNU make style include.
3415 echo "include confinc" > confmf
3416 # Ignore all kinds of additional output from 'make'.
3417 case `$am_make -s -f confmf 2> /dev/null` in #(
3418 *the\ am__doit\ target*)
3424 # Now try BSD make style include.
3425 if test "$am__include" = "#"; then
3426 echo '.include "confinc"' > confmf
3427 case `$am_make -s -f confmf 2> /dev/null` in #(
3428 *the\ am__doit\ target*)
3429 am__include=.include
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3438 $as_echo "$_am_result" >&6; }
3439 rm -f confinc confmf
3441 # Check whether --enable-dependency-tracking was given.
3442 if test "${enable_dependency_tracking+set}" = set; then :
3443 enableval=$enable_dependency_tracking;
3446 if test "x$enable_dependency_tracking" != xno; then
3447 am_depcomp="$ac_aux_dir/depcomp"
3451 if test "x$enable_dependency_tracking" != xno; then
3461 depcc="$CXX" am_compiler_list=
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3464 $as_echo_n "checking dependency style of $depcc... " >&6; }
3465 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3466 $as_echo_n "(cached) " >&6
3468 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3469 # We make a subdir and do the tests there. Otherwise we can end up
3470 # making bogus files that we don't know about and never remove. For
3471 # instance it was reported that on HP-UX the gcc test will end up
3472 # making a dummy file named 'D' -- because '-MD' means "put the output
3476 # Copy depcomp to subdir because otherwise we won't find it if we're
3477 # using a relative directory.
3478 cp "$am_depcomp" conftest.dir
3480 # We will build objects and dependencies in a subdirectory because
3481 # it helps to detect inapplicable dependency modes. For instance
3482 # both Tru64's cc and ICC support -MD to output dependencies as a
3483 # side effect of compilation, but ICC will put the dependencies in
3484 # the current directory while Tru64 will put them in the object
3488 am_cv_CXX_dependencies_compiler_type=none
3489 if test "$am_compiler_list" = ""; then
3490 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3493 case " $depcc " in #(
3494 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3497 for depmode in $am_compiler_list; do
3498 # Setup a source with many dependencies, because some compilers
3499 # like to wrap large dependency lists on column 80 (with \), and
3500 # we should not choose a depcomp mode which is confused by this.
3502 # We need to recreate these files for each test, as the compiler may
3503 # overwrite some of them when testing with obscure command lines.
3504 # This happens at least with the AIX C compiler.
3506 for i in 1 2 3 4 5 6; do
3507 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3508 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3509 # Solaris 10 /bin/sh.
3510 echo '/* dummy */' > sub/conftst$i.h
3512 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3514 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3515 # mode. It turns out that the SunPro C++ compiler does not properly
3516 # handle '-M -o', and we need to detect this. Also, some Intel
3517 # versions had trouble with output in subdirs.
3518 am__obj=sub/conftest.${OBJEXT-o}
3519 am__minus_obj="-o $am__obj"
3522 # This depmode causes a compiler race in universal mode.
3523 test "$am__universal" = false || continue
3526 # After this tag, mechanisms are not by side-effect, so they'll
3527 # only be used when explicitly requested.
3528 if test "x$enable_dependency_tracking" = xyes; then
3534 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3535 # This compiler won't grok '-c -o', but also, the minuso test has
3536 # not run yet. These depmodes are late enough in the game, and
3537 # so weak that their functioning should not be impacted.
3538 am__obj=conftest.${OBJEXT-o}
3543 if depmode=$depmode \
3544 source=sub/conftest.c object=$am__obj \
3545 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3546 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3547 >/dev/null 2>conftest.err &&
3548 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3549 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3550 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3551 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3552 # icc doesn't choke on unknown options, it will just issue warnings
3553 # or remarks (even with -Werror). So we grep stderr for any message
3554 # that says an option was ignored or not supported.
3555 # When given -MP, icc 7.0 and 7.1 complain thusly:
3556 # icc: Command line warning: ignoring option '-M'; no argument required
3557 # The diagnosis changed in icc 8.0:
3558 # icc: Command line remark: option '-MP' not supported
3559 if (grep 'ignoring option' conftest.err ||
3560 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3561 am_cv_CXX_dependencies_compiler_type=$depmode
3570 am_cv_CXX_dependencies_compiler_type=none
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3575 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3576 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3579 test "x$enable_dependency_tracking" != xno \
3580 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3581 am__fastdepCXX_TRUE=
3582 am__fastdepCXX_FALSE='#'
3584 am__fastdepCXX_TRUE='#'
3585 am__fastdepCXX_FALSE=
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 if test -n "$ac_tool_prefix"; then
3595 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3596 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if ${ac_cv_prog_CC+:} false; then :
3600 $as_echo_n "(cached) " >&6
3602 if test -n "$CC"; then
3603 ac_cv_prog_CC="$CC" # Let the user override the test.
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 if test -n "$CC"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3625 $as_echo "$CC" >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3633 if test -z "$ac_cv_prog_CC"; then
3635 # Extract the first word of "gcc", so it can be a program name with args.
3636 set dummy gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$ac_ct_CC"; then
3643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_ac_ct_CC="gcc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3663 if test -n "$ac_ct_CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3665 $as_echo "$ac_ct_CC" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3671 if test "x$ac_ct_CC" = x; then
3674 case $cross_compiling:$ac_tool_warned in
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3678 ac_tool_warned=yes ;;
3686 if test -z "$CC"; then
3687 if test -n "$ac_tool_prefix"; then
3688 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3689 set dummy ${ac_tool_prefix}cc; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if ${ac_cv_prog_CC+:} false; then :
3693 $as_echo_n "(cached) " >&6
3695 if test -n "$CC"; then
3696 ac_cv_prog_CC="$CC" # Let the user override the test.
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3705 ac_cv_prog_CC="${ac_tool_prefix}cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 if test -n "$CC"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3718 $as_echo "$CC" >&6; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3727 if test -z "$CC"; then
3728 # Extract the first word of "cc", so it can be a program name with args.
3729 set dummy cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733 $as_echo_n "(cached) " >&6
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3747 ac_prog_rejected=yes
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 if test $ac_prog_rejected = yes; then
3759 # We found a bogon in the path, so make sure we never use it.
3760 set dummy $ac_cv_prog_CC
3762 if test $# != 0; then
3763 # We chose a different compiler from the bogus one.
3764 # However, it has the same basename, so the bogon will be chosen
3765 # first if we set CC to just the basename; use the full file name.
3767 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3783 if test -z "$CC"; then
3784 if test -n "$ac_tool_prefix"; then
3785 for ac_prog in cl.exe
3787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CC+:} false; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$CC"; then
3795 ac_cv_prog_CC="$CC" # Let the user override the test.
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 if test -n "$CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$CC" && break
3827 if test -z "$CC"; then
3829 for ac_prog in cl.exe
3831 # Extract the first word of "$ac_prog", so it can be a program name with args.
3832 set dummy $ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$ac_ct_CC"; then
3839 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_ac_ct_CC="$ac_prog"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3859 if test -n "$ac_ct_CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3861 $as_echo "$ac_ct_CC" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3868 test -n "$ac_ct_CC" && break
3871 if test "x$ac_ct_CC" = x; then
3874 case $cross_compiling:$ac_tool_warned in
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3878 ac_tool_warned=yes ;;
3887 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3889 as_fn_error $? "no acceptable C compiler found in \$PATH
3890 See \`config.log' for more details" "$LINENO" 5; }
3892 # Provide some information about the compiler.
3893 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3896 for ac_option in --version -v -V -qversion; do
3897 { { ac_try="$ac_compiler $ac_option >&5"
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3903 $as_echo "$ac_try_echo"; } >&5
3904 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3906 if test -s conftest.err; then
3908 ... rest of stderr output deleted ...
3909 10q' conftest.err >conftest.er1
3910 cat conftest.er1 >&5
3912 rm -f conftest.er1 conftest.err
3913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914 test $ac_status = 0; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3918 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3919 if ${ac_cv_c_compiler_gnu+:} false; then :
3920 $as_echo_n "(cached) " >&6
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3936 if ac_fn_c_try_compile "$LINENO"; then :
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3946 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3947 if test $ac_compiler_gnu = yes; then
3952 ac_test_CFLAGS=${CFLAGS+set}
3953 ac_save_CFLAGS=$CFLAGS
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3955 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3956 if ${ac_cv_prog_cc_g+:} false; then :
3957 $as_echo_n "(cached) " >&6
3959 ac_save_c_werror_flag=$ac_c_werror_flag
3960 ac_c_werror_flag=yes
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3974 if ac_fn_c_try_compile "$LINENO"; then :
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3989 if ac_fn_c_try_compile "$LINENO"; then :
3992 ac_c_werror_flag=$ac_save_c_werror_flag
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
4005 if ac_fn_c_try_compile "$LINENO"; then :
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4013 ac_c_werror_flag=$ac_save_c_werror_flag
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4016 $as_echo "$ac_cv_prog_cc_g" >&6; }
4017 if test "$ac_test_CFLAGS" = set; then
4018 CFLAGS=$ac_save_CFLAGS
4019 elif test $ac_cv_prog_cc_g = yes; then
4020 if test "$GCC" = yes; then
4026 if test "$GCC" = yes; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4033 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4034 if ${ac_cv_prog_cc_c89+:} false; then :
4035 $as_echo_n "(cached) " >&6
4037 ac_cv_prog_cc_c89=no
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4045 struct buf { int x; };
4046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4047 static char *e (p, i)
4053 static char *f (char * (*g) (char **, int), char **p, ...)
4058 s = g (p, va_arg (v,int));
4063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4064 function prototypes and stuff, but not '\xHH' hex character constants.
4065 These don't provoke an error unfortunately, instead are silently treated
4066 as 'x'. The following induces an error, until -std is added to get
4067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4068 array size at least. It's necessary to write '\x00'==0 to get something
4069 that's true only with -std. */
4070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4073 inside strings and character constants. */
4075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4077 int test (int i, double x);
4078 struct s1 {int (*f) (int a);};
4079 struct s2 {int (*f) (double a);};
4080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4092 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4094 CC="$ac_save_CC $ac_arg"
4095 if ac_fn_c_try_compile "$LINENO"; then :
4096 ac_cv_prog_cc_c89=$ac_arg
4098 rm -f core conftest.err conftest.$ac_objext
4099 test "x$ac_cv_prog_cc_c89" != "xno" && break
4101 rm -f conftest.$ac_ext
4106 case "x$ac_cv_prog_cc_c89" in
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4109 $as_echo "none needed" >&6; } ;;
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4112 $as_echo "unsupported" >&6; } ;;
4114 CC="$CC $ac_cv_prog_cc_c89"
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4118 if test "x$ac_cv_prog_cc_c89" != xno; then :
4123 ac_cpp='$CXXCPP $CPPFLAGS'
4124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4129 ac_cpp='$CPP $CPPFLAGS'
4130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4134 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4135 if ${am_cv_prog_cc_c_o+:} false; then :
4136 $as_echo_n "(cached) " >&6
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4149 # Make sure it works both with $CC and with simple cc.
4150 # Following AC_PROG_CC_C_O, we do the test twice because some
4151 # compilers refuse to overwrite an existing .o file with -o,
4152 # though they will create one.
4153 am_cv_prog_cc_c_o=yes
4155 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4156 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } \
4160 && test -f conftest2.$ac_objext; then
4163 am_cv_prog_cc_c_o=no
4167 rm -f core conftest*
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4171 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4172 if test "$am_cv_prog_cc_c_o" != yes; then
4173 # Losing compiler, so override with the script.
4174 # FIXME: It is wrong to rewrite CC.
4175 # But if we don't then we get into trouble of one sort or another.
4176 # A longer-term fix would be to have automake use am__CC in this case,
4177 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4178 CC="$am_aux_dir/compile $CC"
4181 ac_cpp='$CXXCPP $CPPFLAGS'
4182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4187 depcc="$CC" am_compiler_list=
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4190 $as_echo_n "checking dependency style of $depcc... " >&6; }
4191 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4195 # We make a subdir and do the tests there. Otherwise we can end up
4196 # making bogus files that we don't know about and never remove. For
4197 # instance it was reported that on HP-UX the gcc test will end up
4198 # making a dummy file named 'D' -- because '-MD' means "put the output
4202 # Copy depcomp to subdir because otherwise we won't find it if we're
4203 # using a relative directory.
4204 cp "$am_depcomp" conftest.dir
4206 # We will build objects and dependencies in a subdirectory because
4207 # it helps to detect inapplicable dependency modes. For instance
4208 # both Tru64's cc and ICC support -MD to output dependencies as a
4209 # side effect of compilation, but ICC will put the dependencies in
4210 # the current directory while Tru64 will put them in the object
4214 am_cv_CC_dependencies_compiler_type=none
4215 if test "$am_compiler_list" = ""; then
4216 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4219 case " $depcc " in #(
4220 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4223 for depmode in $am_compiler_list; do
4224 # Setup a source with many dependencies, because some compilers
4225 # like to wrap large dependency lists on column 80 (with \), and
4226 # we should not choose a depcomp mode which is confused by this.
4228 # We need to recreate these files for each test, as the compiler may
4229 # overwrite some of them when testing with obscure command lines.
4230 # This happens at least with the AIX C compiler.
4232 for i in 1 2 3 4 5 6; do
4233 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4234 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4235 # Solaris 10 /bin/sh.
4236 echo '/* dummy */' > sub/conftst$i.h
4238 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4240 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4241 # mode. It turns out that the SunPro C++ compiler does not properly
4242 # handle '-M -o', and we need to detect this. Also, some Intel
4243 # versions had trouble with output in subdirs.
4244 am__obj=sub/conftest.${OBJEXT-o}
4245 am__minus_obj="-o $am__obj"
4248 # This depmode causes a compiler race in universal mode.
4249 test "$am__universal" = false || continue
4252 # After this tag, mechanisms are not by side-effect, so they'll
4253 # only be used when explicitly requested.
4254 if test "x$enable_dependency_tracking" = xyes; then
4260 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4261 # This compiler won't grok '-c -o', but also, the minuso test has
4262 # not run yet. These depmodes are late enough in the game, and
4263 # so weak that their functioning should not be impacted.
4264 am__obj=conftest.${OBJEXT-o}
4269 if depmode=$depmode \
4270 source=sub/conftest.c object=$am__obj \
4271 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4272 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4273 >/dev/null 2>conftest.err &&
4274 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4275 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4276 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4277 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4278 # icc doesn't choke on unknown options, it will just issue warnings
4279 # or remarks (even with -Werror). So we grep stderr for any message
4280 # that says an option was ignored or not supported.
4281 # When given -MP, icc 7.0 and 7.1 complain thusly:
4282 # icc: Command line warning: ignoring option '-M'; no argument required
4283 # The diagnosis changed in icc 8.0:
4284 # icc: Command line remark: option '-MP' not supported
4285 if (grep 'ignoring option' conftest.err ||
4286 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4287 am_cv_CC_dependencies_compiler_type=$depmode
4296 am_cv_CC_dependencies_compiler_type=none
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4301 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4302 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4305 test "x$enable_dependency_tracking" != xno \
4306 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4308 am__fastdepCC_FALSE='#'
4310 am__fastdepCC_TRUE='#'
4311 am__fastdepCC_FALSE=
4315 if test -n "$ac_tool_prefix"; then
4316 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4317 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if ${ac_cv_prog_RANLIB+:} false; then :
4321 $as_echo_n "(cached) " >&6
4323 if test -n "$RANLIB"; then
4324 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4343 RANLIB=$ac_cv_prog_RANLIB
4344 if test -n "$RANLIB"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4346 $as_echo "$RANLIB" >&6; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4354 if test -z "$ac_cv_prog_RANLIB"; then
4355 ac_ct_RANLIB=$RANLIB
4356 # Extract the first word of "ranlib", so it can be a program name with args.
4357 set dummy ranlib; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4361 $as_echo_n "(cached) " >&6
4363 if test -n "$ac_ct_RANLIB"; then
4364 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373 ac_cv_prog_ac_ct_RANLIB="ranlib"
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4384 if test -n "$ac_ct_RANLIB"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4386 $as_echo "$ac_ct_RANLIB" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4392 if test "x$ac_ct_RANLIB" = x; then
4395 case $cross_compiling:$ac_tool_warned in
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399 ac_tool_warned=yes ;;
4401 RANLIB=$ac_ct_RANLIB
4404 RANLIB="$ac_cv_prog_RANLIB"
4408 # Extract the first word of "xml2-config", so it can be a program name with args.
4409 set dummy xml2-config; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_path_XML_CONFIG+:} false; then :
4413 $as_echo_n "(cached) " >&6
4417 ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path.
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427 ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 test -z "$ac_cv_path_XML_CONFIG" && ac_cv_path_XML_CONFIG="no"
4439 XML_CONFIG=$ac_cv_path_XML_CONFIG
4440 if test -n "$XML_CONFIG"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5
4442 $as_echo "$XML_CONFIG" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4451 if test $XML_CONFIG = "no"
4453 echo "XML library not found (see http://xmlsoft.org/)."
4459 ac_cpp='$CXXCPP $CPPFLAGS'
4460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4464 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4465 if test -z "$CXXCPP"; then
4466 if ${ac_cv_prog_CXXCPP+:} false; then :
4467 $as_echo_n "(cached) " >&6
4469 # Double quotes because CXXCPP needs to be expanded
4470 for CXXCPP in "$CXX -E" "/lib/cpp"
4473 for ac_cxx_preproc_warn_flag in '' yes
4475 # Use a header file that comes with gcc, so configuring glibc
4476 # with a fresh cross-compiler works.
4477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4478 # <limits.h> exists even on freestanding compilers.
4479 # On the NeXT, cc -E runs the code through the compiler's parser,
4480 # not just through cpp. "Syntax error" is here to catch this case.
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4484 # include <limits.h>
4486 # include <assert.h>
4490 if ac_fn_cxx_try_cpp "$LINENO"; then :
4493 # Broken: fails on valid input.
4496 rm -f conftest.err conftest.i conftest.$ac_ext
4498 # OK, works on sane cases. Now check whether nonexistent headers
4499 # can be detected and how.
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502 #include <ac_nonexistent.h>
4504 if ac_fn_cxx_try_cpp "$LINENO"; then :
4505 # Broken: success on invalid input.
4508 # Passes both tests.
4512 rm -f conftest.err conftest.i conftest.$ac_ext
4515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4516 rm -f conftest.i conftest.err conftest.$ac_ext
4517 if $ac_preproc_ok; then :
4522 ac_cv_prog_CXXCPP=$CXXCPP
4525 CXXCPP=$ac_cv_prog_CXXCPP
4527 ac_cv_prog_CXXCPP=$CXXCPP
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4530 $as_echo "$CXXCPP" >&6; }
4532 for ac_cxx_preproc_warn_flag in '' yes
4534 # Use a header file that comes with gcc, so configuring glibc
4535 # with a fresh cross-compiler works.
4536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4537 # <limits.h> exists even on freestanding compilers.
4538 # On the NeXT, cc -E runs the code through the compiler's parser,
4539 # not just through cpp. "Syntax error" is here to catch this case.
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4543 # include <limits.h>
4545 # include <assert.h>
4549 if ac_fn_cxx_try_cpp "$LINENO"; then :
4552 # Broken: fails on valid input.
4555 rm -f conftest.err conftest.i conftest.$ac_ext
4557 # OK, works on sane cases. Now check whether nonexistent headers
4558 # can be detected and how.
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4561 #include <ac_nonexistent.h>
4563 if ac_fn_cxx_try_cpp "$LINENO"; then :
4564 # Broken: success on invalid input.
4567 # Passes both tests.
4571 rm -f conftest.err conftest.i conftest.$ac_ext
4574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4575 rm -f conftest.i conftest.err conftest.$ac_ext
4576 if $ac_preproc_ok; then :
4579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4581 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4582 See \`config.log' for more details" "$LINENO" 5; }
4586 ac_cpp='$CXXCPP $CPPFLAGS'
4587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4593 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4594 if ${ac_cv_path_GREP+:} false; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -z "$GREP"; then
4598 ac_path_GREP_found=false
4599 # Loop through the user's path and test for each of PROGNAME-LIST
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4604 test -z "$as_dir" && as_dir=.
4605 for ac_prog in grep ggrep; do
4606 for ac_exec_ext in '' $ac_executable_extensions; do
4607 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4608 as_fn_executable_p "$ac_path_GREP" || continue
4609 # Check for GNU ac_path_GREP and select it if it is found.
4610 # Check for GNU $ac_path_GREP
4611 case `"$ac_path_GREP" --version 2>&1` in
4613 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4616 $as_echo_n 0123456789 >"conftest.in"
4619 cat "conftest.in" "conftest.in" >"conftest.tmp"
4620 mv "conftest.tmp" "conftest.in"
4621 cp "conftest.in" "conftest.nl"
4622 $as_echo 'GREP' >> "conftest.nl"
4623 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4624 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4625 as_fn_arith $ac_count + 1 && ac_count=$as_val
4626 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4627 # Best one so far, save it but keep looking for a better one
4628 ac_cv_path_GREP="$ac_path_GREP"
4629 ac_path_GREP_max=$ac_count
4631 # 10*(2^10) chars as input seems more than enough
4632 test $ac_count -gt 10 && break
4634 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4637 $ac_path_GREP_found && break 3
4642 if test -z "$ac_cv_path_GREP"; then
4643 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4646 ac_cv_path_GREP=$GREP
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4651 $as_echo "$ac_cv_path_GREP" >&6; }
4652 GREP="$ac_cv_path_GREP"
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4656 $as_echo_n "checking for egrep... " >&6; }
4657 if ${ac_cv_path_EGREP+:} false; then :
4658 $as_echo_n "(cached) " >&6
4660 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4661 then ac_cv_path_EGREP="$GREP -E"
4663 if test -z "$EGREP"; then
4664 ac_path_EGREP_found=false
4665 # Loop through the user's path and test for each of PROGNAME-LIST
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4670 test -z "$as_dir" && as_dir=.
4671 for ac_prog in egrep; do
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4674 as_fn_executable_p "$ac_path_EGREP" || continue
4675 # Check for GNU ac_path_EGREP and select it if it is found.
4676 # Check for GNU $ac_path_EGREP
4677 case `"$ac_path_EGREP" --version 2>&1` in
4679 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4682 $as_echo_n 0123456789 >"conftest.in"
4685 cat "conftest.in" "conftest.in" >"conftest.tmp"
4686 mv "conftest.tmp" "conftest.in"
4687 cp "conftest.in" "conftest.nl"
4688 $as_echo 'EGREP' >> "conftest.nl"
4689 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4690 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4691 as_fn_arith $ac_count + 1 && ac_count=$as_val
4692 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4693 # Best one so far, save it but keep looking for a better one
4694 ac_cv_path_EGREP="$ac_path_EGREP"
4695 ac_path_EGREP_max=$ac_count
4697 # 10*(2^10) chars as input seems more than enough
4698 test $ac_count -gt 10 && break
4700 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4703 $ac_path_EGREP_found && break 3
4708 if test -z "$ac_cv_path_EGREP"; then
4709 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4712 ac_cv_path_EGREP=$EGREP
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4718 $as_echo "$ac_cv_path_EGREP" >&6; }
4719 EGREP="$ac_cv_path_EGREP"
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4723 $as_echo_n "checking for ANSI C header files... " >&6; }
4724 if ${ac_cv_header_stdc+:} false; then :
4725 $as_echo_n "(cached) " >&6
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4742 if ac_fn_cxx_try_compile "$LINENO"; then :
4743 ac_cv_header_stdc=yes
4745 ac_cv_header_stdc=no
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 if test $ac_cv_header_stdc = yes; then
4750 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4757 $EGREP "memchr" >/dev/null 2>&1; then :
4760 ac_cv_header_stdc=no
4766 if test $ac_cv_header_stdc = yes; then
4767 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4774 $EGREP "free" >/dev/null 2>&1; then :
4777 ac_cv_header_stdc=no
4783 if test $ac_cv_header_stdc = yes; then
4784 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4785 if test "$cross_compiling" = yes; then :
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4792 #if ((' ' & 0x0FF) == 0x020)
4793 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4794 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4796 # define ISLOWER(c) \
4797 (('a' <= (c) && (c) <= 'i') \
4798 || ('j' <= (c) && (c) <= 'r') \
4799 || ('s' <= (c) && (c) <= 'z'))
4800 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4803 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4808 for (i = 0; i < 256; i++)
4809 if (XOR (islower (i), ISLOWER (i))
4810 || toupper (i) != TOUPPER (i))
4815 if ac_fn_cxx_try_run "$LINENO"; then :
4818 ac_cv_header_stdc=no
4820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4821 conftest.$ac_objext conftest.beam conftest.$ac_ext
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4827 $as_echo "$ac_cv_header_stdc" >&6; }
4828 if test $ac_cv_header_stdc = yes; then
4830 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4834 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4835 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4836 inttypes.h stdint.h unistd.h
4838 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4839 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4842 cat >>confdefs.h <<_ACEOF
4843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4851 ac_fn_cxx_check_header_mongrel "$LINENO" "date.h" "ac_cv_header_date_h" "$ac_includes_default"
4852 if test "x$ac_cv_header_date_h" = xyes; then :
4858 # Checks for libraries.
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
4860 $as_echo_n "checking for gzread in -lz... " >&6; }
4861 if ${ac_cv_lib_z_gzread+:} false; then :
4862 $as_echo_n "(cached) " >&6
4864 ac_check_lib_save_LIBS=$LIBS
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4869 /* Override any GCC internal prototype to avoid an error.
4870 Use char because int might match the return type of a GCC
4871 builtin and then its argument prototype would still apply. */
4884 if ac_fn_cxx_try_link "$LINENO"; then :
4885 ac_cv_lib_z_gzread=yes
4887 ac_cv_lib_z_gzread=no
4889 rm -f core conftest.err conftest.$ac_objext \
4890 conftest$ac_exeext conftest.$ac_ext
4891 LIBS=$ac_check_lib_save_LIBS
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
4894 $as_echo "$ac_cv_lib_z_gzread" >&6; }
4895 if test "x$ac_cv_lib_z_gzread" = xyes; then :
4896 cat >>confdefs.h <<_ACEOF
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
4905 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
4906 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
4907 $as_echo_n "(cached) " >&6
4909 ac_check_lib_save_LIBS=$LIBS
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4914 /* Override any GCC internal prototype to avoid an error.
4915 Use char because int might match the return type of a GCC
4916 builtin and then its argument prototype would still apply. */
4924 return lzma_code ();
4929 if ac_fn_cxx_try_link "$LINENO"; then :
4930 ac_cv_lib_lzma_lzma_code=yes
4932 ac_cv_lib_lzma_lzma_code=no
4934 rm -f core conftest.err conftest.$ac_objext \
4935 conftest$ac_exeext conftest.$ac_ext
4936 LIBS=$ac_check_lib_save_LIBS
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
4939 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
4940 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
4941 cat >>confdefs.h <<_ACEOF
4942 #define HAVE_LIBLZMA 1
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5
4950 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; }
4951 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then :
4952 $as_echo_n "(cached) " >&6
4954 ac_check_lib_save_LIBS=$LIBS
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4959 /* Override any GCC internal prototype to avoid an error.
4960 Use char because int might match the return type of a GCC
4961 builtin and then its argument prototype would still apply. */
4965 char xmlParseFile ();
4969 return xmlParseFile ();
4974 if ac_fn_cxx_try_link "$LINENO"; then :
4975 ac_cv_lib_xml2_xmlParseFile=yes
4977 ac_cv_lib_xml2_xmlParseFile=no
4979 rm -f core conftest.err conftest.$ac_objext \
4980 conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4984 $as_echo "$ac_cv_lib_xml2_xmlParseFile" >&6; }
4985 if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then :
4986 cat >>confdefs.h <<_ACEOF
4987 #define HAVE_LIBXML2 1
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
4995 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; }
4996 if ${ac_cv_lib_pq_PQconnectdb+:} false; then :
4997 $as_echo_n "(cached) " >&6
4999 ac_check_lib_save_LIBS=$LIBS
5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5002 /* end confdefs.h. */
5004 /* Override any GCC internal prototype to avoid an error.
5005 Use char because int might match the return type of a GCC
5006 builtin and then its argument prototype would still apply. */
5010 char PQconnectdb ();
5014 return PQconnectdb ();
5019 if ac_fn_cxx_try_link "$LINENO"; then :
5020 ac_cv_lib_pq_PQconnectdb=yes
5022 ac_cv_lib_pq_PQconnectdb=no
5024 rm -f core conftest.err conftest.$ac_objext \
5025 conftest$ac_exeext conftest.$ac_ext
5026 LIBS=$ac_check_lib_save_LIBS
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
5029 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; }
5030 if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then :
5031 cat >>confdefs.h <<_ACEOF
5032 #define HAVE_LIBPQ 1
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL_Version in -lACL" >&5
5040 $as_echo_n "checking for ACL_Version in -lACL... " >&6; }
5041 if ${ac_cv_lib_ACL_ACL_Version+:} false; then :
5042 $as_echo_n "(cached) " >&6
5044 ac_check_lib_save_LIBS=$LIBS
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5049 /* Override any GCC internal prototype to avoid an error.
5050 Use char because int might match the return type of a GCC
5051 builtin and then its argument prototype would still apply. */
5055 char ACL_Version ();
5059 return ACL_Version ();
5064 if ac_fn_cxx_try_link "$LINENO"; then :
5065 ac_cv_lib_ACL_ACL_Version=yes
5067 ac_cv_lib_ACL_ACL_Version=no
5069 rm -f core conftest.err conftest.$ac_objext \
5070 conftest$ac_exeext conftest.$ac_ext
5071 LIBS=$ac_check_lib_save_LIBS
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ACL_ACL_Version" >&5
5074 $as_echo "$ac_cv_lib_ACL_ACL_Version" >&6; }
5075 if test "x$ac_cv_lib_ACL_ACL_Version" = xyes; then :
5076 cat >>confdefs.h <<_ACEOF
5077 #define HAVE_LIBACL 1
5092 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5093 if test -n "$ac_tool_prefix"; then
5094 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5095 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5099 $as_echo_n "(cached) " >&6
5103 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5125 if test -n "$PKG_CONFIG"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5127 $as_echo "$PKG_CONFIG" >&6; }
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5135 if test -z "$ac_cv_path_PKG_CONFIG"; then
5136 ac_pt_PKG_CONFIG=$PKG_CONFIG
5137 # Extract the first word of "pkg-config", so it can be a program name with args.
5138 set dummy pkg-config; ac_word=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5142 $as_echo_n "(cached) " >&6
5144 case $ac_pt_PKG_CONFIG in
5146 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5168 if test -n "$ac_pt_PKG_CONFIG"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5170 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5176 if test "x$ac_pt_PKG_CONFIG" = x; then
5179 case $cross_compiling:$ac_tool_warned in
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned=yes ;;
5185 PKG_CONFIG=$ac_pt_PKG_CONFIG
5188 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5192 if test -n "$PKG_CONFIG"; then
5193 _pkg_min_version=0.9.0
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5195 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5196 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5198 $as_echo "yes" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPQXX" >&5
5208 $as_echo_n "checking for LIBPQXX... " >&6; }
5210 if test -n "$LIBPQXX_CFLAGS"; then
5211 pkg_cv_LIBPQXX_CFLAGS="$LIBPQXX_CFLAGS"
5212 elif test -n "$PKG_CONFIG"; then
5213 if test -n "$PKG_CONFIG" && \
5214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpqxx >= 4.0.1\""; } >&5
5215 ($PKG_CONFIG --exists --print-errors "libpqxx >= 4.0.1") 2>&5
5217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5218 test $ac_status = 0; }; then
5219 pkg_cv_LIBPQXX_CFLAGS=`$PKG_CONFIG --cflags "libpqxx >= 4.0.1" 2>/dev/null`
5220 test "x$?" != "x0" && pkg_failed=yes
5227 if test -n "$LIBPQXX_LIBS"; then
5228 pkg_cv_LIBPQXX_LIBS="$LIBPQXX_LIBS"
5229 elif test -n "$PKG_CONFIG"; then
5230 if test -n "$PKG_CONFIG" && \
5231 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpqxx >= 4.0.1\""; } >&5
5232 ($PKG_CONFIG --exists --print-errors "libpqxx >= 4.0.1") 2>&5
5234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235 test $ac_status = 0; }; then
5236 pkg_cv_LIBPQXX_LIBS=`$PKG_CONFIG --libs "libpqxx >= 4.0.1" 2>/dev/null`
5237 test "x$?" != "x0" && pkg_failed=yes
5247 if test $pkg_failed = yes; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5251 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5252 _pkg_short_errors_supported=yes
5254 _pkg_short_errors_supported=no
5256 if test $_pkg_short_errors_supported = yes; then
5257 LIBPQXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpqxx >= 4.0.1" 2>&1`
5259 LIBPQXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpqxx >= 4.0.1" 2>&1`
5261 # Put the nasty error message in config.log where it belongs
5262 echo "$LIBPQXX_PKG_ERRORS" >&5
5264 as_fn_error $? "Package requirements (libpqxx >= 4.0.1) were not met:
5268 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5269 installed software in a non-standard prefix.
5271 Alternatively, you may set the environment variables LIBPQXX_CFLAGS
5272 and LIBPQXX_LIBS to avoid the need to call pkg-config.
5273 See the pkg-config man page for more details." "$LINENO" 5
5274 elif test $pkg_failed = untried; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5279 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5280 is in your PATH or set the PKG_CONFIG environment variable to the full
5283 Alternatively, you may set the environment variables LIBPQXX_CFLAGS
5284 and LIBPQXX_LIBS to avoid the need to call pkg-config.
5285 See the pkg-config man page for more details.
5287 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5288 See \`config.log' for more details" "$LINENO" 5; }
5290 LIBPQXX_CFLAGS=$pkg_cv_LIBPQXX_CFLAGS
5291 LIBPQXX_LIBS=$pkg_cv_LIBPQXX_LIBS
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5293 $as_echo "yes" >&6; }
5299 # Checks for header files.
5300 XML_CFLAGS=`$XML_CONFIG --cflags`
5301 CFLAGS="$CFLAGS $X_CFLAGS $XML_CFLAGS "
5302 CXXFLAGS="$CXXFLAGS -Wno-deprecated $X_CFLAGS $XML_CFLAGS"
5304 for ac_header in arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h syslog.h unistd.h
5306 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5307 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5308 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5309 cat >>confdefs.h <<_ACEOF
5310 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5318 # Checks for typedefs, structures, and compiler characteristics.
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5320 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5321 if ${ac_cv_header_stdbool_h+:} false; then :
5322 $as_echo_n "(cached) " >&6
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5327 #include <stdbool.h>
5329 "error: bool is not defined"
5332 "error: false is not defined"
5335 "error: false is not 0"
5338 "error: true is not defined"
5341 "error: true is not 1"
5343 #ifndef __bool_true_false_are_defined
5344 "error: __bool_true_false_are_defined is not defined"
5347 struct s { _Bool s: 1; _Bool t; } s;
5349 char a[true == 1 ? 1 : -1];
5350 char b[false == 0 ? 1 : -1];
5351 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5352 char d[(bool) 0.5 == true ? 1 : -1];
5353 /* See body of main program for 'e'. */
5354 char f[(_Bool) 0.0 == false ? 1 : -1];
5356 char h[sizeof (_Bool)];
5358 enum { j = false, k = true, l = false * true, m = true * 256 };
5359 /* The following fails for
5360 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5362 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5363 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5364 /* Catch a bug in an HP-UX C compiler. See
5365 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5366 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5378 /* Refer to every declared value, to avoid compiler optimizations. */
5379 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5380 + !m + !n + !o + !p + !q + !pq);
5386 if ac_fn_cxx_try_compile "$LINENO"; then :
5387 ac_cv_header_stdbool_h=yes
5389 ac_cv_header_stdbool_h=no
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5394 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5395 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5396 if test "x$ac_cv_type__Bool" = xyes; then :
5398 cat >>confdefs.h <<_ACEOF
5399 #define HAVE__BOOL 1
5406 if test $ac_cv_header_stdbool_h = yes; then
5408 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5412 ac_fn_cxx_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5413 if test "x$ac_cv_type_off_t" = xyes; then :
5417 cat >>confdefs.h <<_ACEOF
5418 #define off_t long int
5424 # Checks for library functions.
5425 for ac_header in stdlib.h
5427 ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5428 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5429 cat >>confdefs.h <<_ACEOF
5430 #define HAVE_STDLIB_H 1
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5438 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5439 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5440 $as_echo_n "(cached) " >&6
5442 if test "$cross_compiling" = yes; then :
5443 ac_cv_func_malloc_0_nonnull=no
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5447 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5448 # include <stdlib.h>
5456 return ! malloc (0);
5461 if ac_fn_cxx_try_run "$LINENO"; then :
5462 ac_cv_func_malloc_0_nonnull=yes
5464 ac_cv_func_malloc_0_nonnull=no
5466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5467 conftest.$ac_objext conftest.beam conftest.$ac_ext
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5472 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5473 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5475 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5478 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5480 case " $LIBOBJS " in
5481 *" malloc.$ac_objext "* ) ;;
5482 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5487 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5492 for ac_func in gethostbyname gethostname memmove socket strchr strdup strerror
5494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5495 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
5496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5497 cat >>confdefs.h <<_ACEOF
5498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5505 ac_config_files="$ac_config_files Makefile src/Makefile src/gcm_input/Makefile src/lib/Makefile test/Makefile"
5507 cat >confcache <<\_ACEOF
5508 # This file is a shell script that caches the results of configure
5509 # tests run on this system so they can be shared between configure
5510 # scripts and configure runs, see configure's option --config-cache.
5511 # It is not useful on other systems. If it contains results you don't
5512 # want to keep, you may remove or edit it.
5514 # config.status only pays attention to the cache file if you give it
5515 # the --recheck option to rerun configure.
5517 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5518 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5523 # The following way of writing the cache mishandles newlines in values,
5524 # but we know of no workaround that is simple, portable, and efficient.
5525 # So, we kill variables containing newlines.
5526 # Ultrix sh set writes to stderr and can't be redirected directly,
5527 # and sets the high bit in the cache file unless we assign to the vars.
5529 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5530 eval ac_val=\$$ac_var
5534 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5535 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5538 _ | IFS | as_nl) ;; #(
5539 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5540 *) { eval $ac_var=; unset $ac_var;} ;;
5546 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5547 *${as_nl}ac_space=\ *)
5548 # `set' does not quote correctly, so add quotes: double-quote
5549 # substitution turns \\\\ into \\, and sed turns \\ into \.
5552 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5555 # `set' quotes correctly as required by POSIX, so do not add quotes.
5556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5567 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5569 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5570 if test -w "$cache_file"; then
5571 if test "x$cache_file" != "x/dev/null"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5573 $as_echo "$as_me: updating cache $cache_file" >&6;}
5574 if test ! -f "$cache_file" || test -h "$cache_file"; then
5575 cat confcache >"$cache_file"
5577 case $cache_file in #(
5579 mv -f confcache "$cache_file"$$ &&
5580 mv -f "$cache_file"$$ "$cache_file" ;; #(
5582 mv -f confcache "$cache_file" ;;
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5588 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5593 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5594 # Let make expand exec_prefix.
5595 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5597 DEFS=-DHAVE_CONFIG_H
5602 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5603 # 1. Remove the extension, and $U if already installed.
5604 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5605 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5606 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5607 # will be set to the directory where LIBOBJS objects are built.
5608 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5609 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5613 LTLIBOBJS=$ac_ltlibobjs
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5617 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5618 if test -n "$am_sleep_pid"; then
5619 # Hide warnings about reused PIDs.
5620 wait $am_sleep_pid 2>/dev/null
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5623 $as_echo "done" >&6; }
5624 if test -n "$EXEEXT"; then
5626 am__EXEEXT_FALSE='#'
5632 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5633 as_fn_error $? "conditional \"AMDEP\" was never defined.
5634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5636 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5637 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5640 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5641 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5645 : "${CONFIG_STATUS=./config.status}"
5647 ac_clean_files_save=$ac_clean_files
5648 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5650 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5652 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5654 # Generated by $as_me.
5655 # Run this file to recreate the current configuration.
5656 # Compiler output produced by configure, useful for debugging
5657 # configure, is in config.log if it exists.
5663 SHELL=\${CONFIG_SHELL-$SHELL}
5666 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5667 ## -------------------- ##
5668 ## M4sh Initialization. ##
5669 ## -------------------- ##
5671 # Be more Bourne compatible
5672 DUALCASE=1; export DUALCASE # for MKS sh
5673 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5676 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5677 # is contrary to our usage. Disable this feature.
5678 alias -g '${1+"$@"}'='"$@"'
5679 setopt NO_GLOB_SUBST
5681 case `(set -o) 2>/dev/null` in #(
5693 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5694 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5696 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5697 # Prefer a ksh shell builtin over an external printf program on Solaris,
5698 # but without wasting forks for bash or zsh.
5699 if test -z "$BASH_VERSION$ZSH_VERSION" \
5700 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5701 as_echo='print -r --'
5702 as_echo_n='print -rn --'
5703 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5704 as_echo='printf %s\n'
5705 as_echo_n='printf %s'
5707 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5708 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5709 as_echo_n='/usr/ucb/echo -n'
5711 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5712 as_echo_n_body='eval
5716 expr "X$arg" : "X\\(.*\\)$as_nl";
5717 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5719 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5721 export as_echo_n_body
5722 as_echo_n='sh -c $as_echo_n_body as_echo'
5725 as_echo='sh -c $as_echo_body as_echo'
5728 # The user is always right.
5729 if test "${PATH_SEPARATOR+set}" != set; then
5731 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5732 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5739 # We need space, tab and new line, in precisely that order. Quoting is
5740 # there to prevent editors from complaining about space-tab.
5741 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5742 # splitting by setting IFS to empty value.)
5745 # Find who we are. Look in the path if we contain no directory separator.
5748 *[\\/]* ) as_myself=$0 ;;
5749 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5760 # We did not find ourselves, most probably we were run as `sh COMMAND'
5761 # in which case we are not to be found in the path.
5762 if test "x$as_myself" = x; then
5765 if test ! -f "$as_myself"; then
5766 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5770 # Unset variables that we do not need and which cause bugs (e.g. in
5771 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5772 # suppresses any "Segmentation fault" message there. '((' could
5773 # trigger a bug in pdksh 5.2.14.
5774 for as_var in BASH_ENV ENV MAIL MAILPATH
5775 do eval test x\${$as_var+set} = xset \
5776 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5789 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5792 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5793 # ----------------------------------------
5794 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5795 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5796 # script with STATUS, using 1 if that was 0.
5799 as_status=$1; test $as_status -eq 0 && as_status=1
5801 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5802 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5804 $as_echo "$as_me: error: $2" >&2
5805 as_fn_exit $as_status
5809 # as_fn_set_status STATUS
5810 # -----------------------
5811 # Set $? to STATUS, without forking.
5815 } # as_fn_set_status
5819 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5829 # Portably unset VAR.
5832 { eval $1=; unset $1;}
5834 as_unset=as_fn_unset
5835 # as_fn_append VAR VALUE
5836 # ----------------------
5837 # Append the text in VALUE to the end of the definition contained in VAR. Take
5838 # advantage of any shell optimizations that allow amortized linear growth over
5839 # repeated appends, instead of the typical quadratic growth present in naive
5841 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5842 eval 'as_fn_append ()
5853 # as_fn_arith ARG...
5854 # ------------------
5855 # Perform arithmetic evaluation on the ARGs, and store the result in the
5856 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5857 # must be portable across $(()) and expr.
5858 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5859 eval 'as_fn_arith ()
5866 as_val=`expr "$@" || test $? -eq 1`
5871 if expr a : '\(a\)' >/dev/null 2>&1 &&
5872 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5878 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5879 as_basename=basename
5884 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5890 as_me=`$as_basename -- "$0" ||
5891 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5892 X"$0" : 'X\(//\)$' \| \
5893 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5895 sed '/^.*\/\([^/][^/]*\)\/*$/{
5909 # Avoid depending upon Character Ranges.
5910 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5911 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5912 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5913 as_cr_digits='0123456789'
5914 as_cr_alnum=$as_cr_Letters$as_cr_digits
5916 ECHO_C= ECHO_N= ECHO_T=
5917 case `echo -n x` in #(((((
5919 case `echo 'xy\c'` in
5920 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5922 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5929 rm -f conf$$ conf$$.exe conf$$.file
5930 if test -d conf$$.dir; then
5931 rm -f conf$$.dir/conf$$.file
5934 mkdir conf$$.dir 2>/dev/null
5936 if (echo >conf$$.file) 2>/dev/null; then
5937 if ln -s conf$$.file conf$$ 2>/dev/null; then
5939 # ... but there are two gotchas:
5940 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5941 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5942 # In both cases, we have to default to `cp -pR'.
5943 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5945 elif ln conf$$.file conf$$ 2>/dev/null; then
5953 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5954 rmdir conf$$.dir 2>/dev/null
5959 # Create "$as_dir" as a directory, including parents if necessary.
5964 -*) as_dir=./$as_dir;;
5966 test -d "$as_dir" || eval $as_mkdir_p || {
5970 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5971 *) as_qdir=$as_dir;;
5973 as_dirs="'$as_qdir' $as_dirs"
5974 as_dir=`$as_dirname -- "$as_dir" ||
5975 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5976 X"$as_dir" : 'X\(//\)[^/]' \| \
5977 X"$as_dir" : 'X\(//\)$' \| \
5978 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5979 $as_echo X"$as_dir" |
5980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5997 test -d "$as_dir" && break
5999 test -z "$as_dirs" || eval "mkdir $as_dirs"
6000 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6004 if mkdir -p . 2>/dev/null; then
6005 as_mkdir_p='mkdir -p "$as_dir"'
6007 test -d ./-p && rmdir ./-p
6012 # as_fn_executable_p FILE
6013 # -----------------------
6014 # Test if FILE is an executable regular file.
6015 as_fn_executable_p ()
6017 test -f "$1" && test -x "$1"
6018 } # as_fn_executable_p
6020 as_executable_p=as_fn_executable_p
6022 # Sed expression to map a string onto a valid CPP name.
6023 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6025 # Sed expression to map a string onto a valid variable name.
6026 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6030 ## ----------------------------------- ##
6031 ## Main body of $CONFIG_STATUS script. ##
6032 ## ----------------------------------- ##
6034 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6037 # Save the log message, to keep $0 and so on meaningful, and to
6038 # report actual input values of CONFIG_FILES etc. instead of their
6039 # values after options handling.
6041 This file was extended by GnuCoMo $as_me 0.0.13, which was
6042 generated by GNU Autoconf 2.69. Invocation command line was
6044 CONFIG_FILES = $CONFIG_FILES
6045 CONFIG_HEADERS = $CONFIG_HEADERS
6046 CONFIG_LINKS = $CONFIG_LINKS
6047 CONFIG_COMMANDS = $CONFIG_COMMANDS
6050 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6055 case $ac_config_files in *"
6056 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6059 case $ac_config_headers in *"
6060 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6065 # Files that config.status was made for.
6066 config_files="$ac_config_files"
6067 config_headers="$ac_config_headers"
6068 config_commands="$ac_config_commands"
6072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6074 \`$as_me' instantiates files and other configuration actions
6075 from templates according to the current configuration. Unless the files
6076 and actions are specified as TAGs, all are instantiated by default.
6078 Usage: $0 [OPTION]... [TAG]...
6080 -h, --help print this help, then exit
6081 -V, --version print version number and configuration settings, then exit
6082 --config print configuration, then exit
6083 -q, --quiet, --silent
6084 do not print progress messages
6085 -d, --debug don't remove temporary files
6086 --recheck update $as_me by reconfiguring in the same conditions
6087 --file=FILE[:TEMPLATE]
6088 instantiate the configuration file FILE
6089 --header=FILE[:TEMPLATE]
6090 instantiate the configuration header FILE
6092 Configuration files:
6095 Configuration headers:
6098 Configuration commands:
6101 Report bugs to the package provider."
6104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6105 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6107 GnuCoMo config.status 0.0.13
6108 configured by $0, generated by GNU Autoconf 2.69,
6109 with options \\"\$ac_cs_config\\"
6111 Copyright (C) 2012 Free Software Foundation, Inc.
6112 This config.status script is free software; the Free Software Foundation
6113 gives unlimited permission to copy, distribute and modify it."
6120 test -n "\$AWK" || AWK=awk
6123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6124 # The default lists apply if the user does not specify any file.
6130 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6131 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6135 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6147 # Handling of the options.
6148 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6150 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6151 $as_echo "$ac_cs_version"; exit ;;
6152 --config | --confi | --conf | --con | --co | --c )
6153 $as_echo "$ac_cs_config"; exit ;;
6154 --debug | --debu | --deb | --de | --d | -d )
6156 --file | --fil | --fi | --f )
6159 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6160 '') as_fn_error $? "missing file argument" ;;
6162 as_fn_append CONFIG_FILES " '$ac_optarg'"
6163 ac_need_defaults=false;;
6164 --header | --heade | --head | --hea )
6167 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6169 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6170 ac_need_defaults=false;;
6172 # Conflict between --help and --header
6173 as_fn_error $? "ambiguous option: \`$1'
6174 Try \`$0 --help' for more information.";;
6175 --help | --hel | -h )
6176 $as_echo "$ac_cs_usage"; exit ;;
6177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6178 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6182 -*) as_fn_error $? "unrecognized option: \`$1'
6183 Try \`$0 --help' for more information." ;;
6185 *) as_fn_append ac_config_targets " $1"
6186 ac_need_defaults=false ;;
6192 ac_configure_extra_args=
6194 if $ac_cs_silent; then
6196 ac_configure_extra_args="$ac_configure_extra_args --silent"
6200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6201 if \$ac_cs_recheck; then
6202 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6204 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6205 CONFIG_SHELL='$SHELL'
6211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6215 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6216 ## Running $as_me. ##
6222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6226 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6232 # Handling of arguments.
6233 for ac_config_target in $ac_config_targets
6235 case $ac_config_target in
6236 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6237 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6238 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6239 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6240 "src/gcm_input/Makefile") CONFIG_FILES="$CONFIG_FILES src/gcm_input/Makefile" ;;
6241 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
6242 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
6244 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6249 # If the user did not use the arguments to specify the items to instantiate,
6250 # then the envvar interface is used. Set only those that are not.
6251 # We use the long form for the default assignment because of an extremely
6252 # bizarre bug on SunOS 4.1.3.
6253 if $ac_need_defaults; then
6254 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6255 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6256 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6259 # Have a temporary directory for convenience. Make it in the build tree
6260 # simply because there is no reason against having it here, and in addition,
6261 # creating and moving files from /tmp can sometimes cause problems.
6262 # Hook for its removal unless debugging.
6263 # Note that there is a small window in which the directory will not be cleaned:
6264 # after its creation but before its name has been assigned to `$tmp'.
6268 trap 'exit_status=$?
6270 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6272 trap 'as_fn_exit 1' 1 2 13 15
6274 # Create a (secure) tmp directory for tmp files.
6277 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6281 tmp=./conf$$-$RANDOM
6282 (umask 077 && mkdir "$tmp")
6283 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6286 # Set up the scripts for CONFIG_FILES section.
6287 # No need to generate them if there are no CONFIG_FILES.
6288 # This happens for instance with `./config.status config.h'.
6289 if test -n "$CONFIG_FILES"; then
6292 ac_cr=`echo X | tr X '\015'`
6293 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6294 # But we know of no other shell where ac_cr would be empty at this
6295 # point, so we can use a bashism as a fallback.
6296 if test "x$ac_cr" = x; then
6297 eval ac_cr=\$\'\\r\'
6299 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6300 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6306 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6311 echo "cat >conf$$subs.awk <<_ACEOF" &&
6312 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6315 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6316 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6318 for ac_last_try in false false false false false :; do
6319 . ./conf$$subs.sh ||
6320 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6322 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6323 if test $ac_delim_n = $ac_delim_num; then
6325 elif $ac_last_try; then
6326 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6328 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6334 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6338 s/^/S["/; s/!.*/"]=/
6348 s/\(.\{148\}\)..*/\1/
6350 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6355 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6362 s/\(.\{148\}\)..*/\1/
6364 s/["\\]/\\&/g; s/^/"/; s/$/"/
6368 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6373 ' <conf$$subs.awk | sed '
6378 ' >>$CONFIG_STATUS || ac_write_fail=1
6379 rm -f conf$$subs.awk
6380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6382 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6383 for (key in S) S_is_set[key] = 1
6389 nfields = split(line, field, "@")
6391 len = length(field[1])
6392 for (i = 2; i < nfields; i++) {
6394 keylen = length(key)
6395 if (S_is_set[key]) {
6397 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6398 len += length(value) + length(field[++i])
6409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6410 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6411 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6414 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6415 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6418 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6419 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6420 # trailing colons and then remove the whole line if VPATH becomes empty
6421 # (actually we leave an empty line to preserve line numbers).
6422 if test "x$srcdir" = x.; then
6423 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6442 fi # test -n "$CONFIG_FILES"
6444 # Set up the scripts for CONFIG_HEADERS section.
6445 # No need to generate them if there are no CONFIG_HEADERS.
6446 # This happens for instance with `./config.status Makefile'.
6447 if test -n "$CONFIG_HEADERS"; then
6448 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6452 # Transform confdefs.h into an awk script `defines.awk', embedded as
6453 # here-document in config.status, that substitutes the proper values into
6454 # config.h.in to produce config.h.
6456 # Create a delimiter string that does not exist in confdefs.h, to ease
6457 # handling of long lines.
6459 for ac_last_try in false false :; do
6460 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6461 if test -z "$ac_tt"; then
6463 elif $ac_last_try; then
6464 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6466 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6470 # For the awk script, D is an array of macro values keyed by name,
6471 # likewise P contains macro parameters if any. Preserve backslash
6472 # newline sequences.
6474 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6476 s/.\{148\}/&'"$ac_delim"'/g
6479 s/^[ ]*#[ ]*define[ ][ ]*/ /
6486 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6488 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6492 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6493 D["\1"]=" \3\\\\\\n"\\/p
6495 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6500 s/.\{148\}/&'"$ac_delim"'/g
6505 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6508 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6510 ' <confdefs.h | sed '
6511 s/'"$ac_delim"'/"\\\
6512 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6515 for (key in D) D_is_set[key] = 1
6518 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6520 split(line, arg, " ")
6521 if (arg[1] == "#") {
6525 defundef = substr(arg[1], 2)
6528 split(mac1, mac2, "(") #)
6530 prefix = substr(line, 1, index(line, defundef) - 1)
6531 if (D_is_set[macro]) {
6532 # Preserve the white space surrounding the "#".
6533 print prefix "define", macro P[macro] D[macro]
6536 # Replace #undef with comments. This is necessary, for example,
6537 # in the case of _POSIX_SOURCE, which is predefined and required
6538 # on some systems where configure will not decide to define it.
6539 if (defundef == "undef") {
6540 print "/*", prefix defundef, macro, "*/"
6548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6549 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6550 fi # test -n "$CONFIG_HEADERS"
6553 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6558 :[FHLC]) ac_mode=$ac_tag; continue;;
6560 case $ac_mode$ac_tag in
6562 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6563 :[FH]-) ac_tag=-:-;;
6564 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6581 -) ac_f="$ac_tmp/stdin";;
6582 *) # Look for the file first in the build tree, then in the source tree
6583 # (if the path is not absolute). The absolute path cannot be DOS-style,
6584 # because $ac_f cannot contain `:'.
6588 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6590 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6592 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6593 as_fn_append ac_file_inputs " '$ac_f'"
6596 # Let's still pretend it is `configure' which instantiates (i.e., don't
6597 # use $as_me), people would be surprised to read:
6598 # /* config.h. Generated by config.status. */
6599 configure_input='Generated from '`
6600 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6602 if test x"$ac_file" != x-; then
6603 configure_input="$ac_file. $configure_input"
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6605 $as_echo "$as_me: creating $ac_file" >&6;}
6607 # Neutralize special characters interpreted by sed in replacement strings.
6608 case $configure_input in #(
6609 *\&* | *\|* | *\\* )
6610 ac_sed_conf_input=`$as_echo "$configure_input" |
6611 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6612 *) ac_sed_conf_input=$configure_input;;
6616 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6622 ac_dir=`$as_dirname -- "$ac_file" ||
6623 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6624 X"$ac_file" : 'X\(//\)[^/]' \| \
6625 X"$ac_file" : 'X\(//\)$' \| \
6626 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6627 $as_echo X"$ac_file" |
6628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6645 as_dir="$ac_dir"; as_fn_mkdir_p
6649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6652 # A ".." for each directory in $ac_dir_suffix.
6653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6654 case $ac_top_builddir_sub in
6655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6659 ac_abs_top_builddir=$ac_pwd
6660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6661 # for backward compatibility:
6662 ac_top_builddir=$ac_top_build_prefix
6665 .) # We are building in place.
6667 ac_top_srcdir=$ac_top_builddir_sub
6668 ac_abs_top_srcdir=$ac_pwd ;;
6669 [\\/]* | ?:[\\/]* ) # Absolute name.
6670 ac_srcdir=$srcdir$ac_dir_suffix;
6671 ac_top_srcdir=$srcdir
6672 ac_abs_top_srcdir=$srcdir ;;
6674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6675 ac_top_srcdir=$ac_top_build_prefix$srcdir
6676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6688 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6689 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6693 [\\/$]* | ?:[\\/]* ) ;;
6694 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6699 # If the template does not know about datarootdir, expand it.
6700 # FIXME: This hack should be removed a few years after 2.60.
6701 ac_datarootdir_hack=; ac_datarootdir_seen=
6712 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6713 *datarootdir*) ac_datarootdir_seen=yes;;
6714 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6716 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6719 ac_datarootdir_hack='
6720 s&@datadir@&$datadir&g
6721 s&@docdir@&$docdir&g
6722 s&@infodir@&$infodir&g
6723 s&@localedir@&$localedir&g
6724 s&@mandir@&$mandir&g
6725 s&\\\${datarootdir}&$datarootdir&g' ;;
6729 # Neutralize VPATH when `$srcdir' = `.'.
6730 # Shell code in configure.ac might set extrasub.
6731 # FIXME: do we really want to maintain this feature?
6732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6733 ac_sed_extra="$ac_vpsub
6736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6738 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6739 s|@configure_input@|$ac_sed_conf_input|;t t
6740 s&@top_builddir@&$ac_top_builddir_sub&;t t
6741 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6742 s&@srcdir@&$ac_srcdir&;t t
6743 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6744 s&@top_srcdir@&$ac_top_srcdir&;t t
6745 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6746 s&@builddir@&$ac_builddir&;t t
6747 s&@abs_builddir@&$ac_abs_builddir&;t t
6748 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6749 s&@INSTALL@&$ac_INSTALL&;t t
6750 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6751 $ac_datarootdir_hack
6753 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6754 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6756 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6757 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6758 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6759 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6761 which seems to be undefined. Please make sure it is defined" >&5
6762 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6763 which seems to be undefined. Please make sure it is defined" >&2;}
6765 rm -f "$ac_tmp/stdin"
6767 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6768 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6776 if test x"$ac_file" != x-; then
6778 $as_echo "/* $configure_input */" \
6779 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6780 } >"$ac_tmp/config.h" \
6781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6782 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6784 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6787 mv "$ac_tmp/config.h" "$ac_file" \
6788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6791 $as_echo "/* $configure_input */" \
6792 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6793 || as_fn_error $? "could not create -" "$LINENO" 5
6795 # Compute "$ac_file"'s index in $config_headers.
6798 for _am_header in $config_headers :; do
6800 $_am_arg | $_am_arg:* )
6803 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6806 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6807 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6808 X"$_am_arg" : 'X\(//\)[^/]' \| \
6809 X"$_am_arg" : 'X\(//\)$' \| \
6810 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6811 $as_echo X"$_am_arg" |
6812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6828 s/.*/./; q'`/stamp-h$_am_stamp_count
6831 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6832 $as_echo "$as_me: executing $ac_file commands" >&6;}
6837 case $ac_file$ac_mode in
6838 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6839 # Older Autoconf quotes --file arguments for eval, but not when files
6840 # are listed without --file. Let's play safe and only enable the eval
6841 # if we detect the quoting.
6842 case $CONFIG_FILES in
6843 *\'*) eval set x "$CONFIG_FILES" ;;
6844 *) set x $CONFIG_FILES ;;
6849 # Strip MF so we end up with the name of the file.
6850 mf=`echo "$mf" | sed -e 's/:.*$//'`
6851 # Check whether this is an Automake generated Makefile or not.
6852 # We used to match only the files named 'Makefile.in', but
6853 # some people rename them; so instead we look at the file content.
6854 # Grep'ing the first line is not enough: some people post-process
6855 # each Makefile.in and add a new line on top of each file to say so.
6856 # Grep'ing the whole file is not good either: AIX grep has a line
6857 # limit of 2048, but all sed's we know have understand at least 4000.
6858 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6859 dirpart=`$as_dirname -- "$mf" ||
6860 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6861 X"$mf" : 'X\(//\)[^/]' \| \
6862 X"$mf" : 'X\(//\)$' \| \
6863 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6885 # Extract the definition of DEPDIR, am__include, and am__quote
6886 # from the Makefile without running 'make'.
6887 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6888 test -z "$DEPDIR" && continue
6889 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6890 test -z "$am__include" && continue
6891 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6892 # Find all dependency output files, they are included files with
6893 # $(DEPDIR) in their names. We invoke sed twice because it is the
6894 # simplest approach to changing $(DEPDIR) to its actual value in the
6896 for file in `sed -n "
6897 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6898 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6899 # Make sure the directory exists.
6900 test -f "$dirpart/$file" && continue
6901 fdir=`$as_dirname -- "$file" ||
6902 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6903 X"$file" : 'X\(//\)[^/]' \| \
6904 X"$file" : 'X\(//\)$' \| \
6905 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6924 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6925 # echo "creating $dirpart/$file"
6926 echo '# dummy' > "$dirpart/$file"
6938 ac_clean_files=$ac_clean_files_save
6940 test $ac_write_fail = 0 ||
6941 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6944 # configure is writing to config.log, and then calls config.status.
6945 # config.status does its own redirection, appending to config.log.
6946 # Unfortunately, on DOS this fails, as config.log is still kept open
6947 # by configure, so config.status won't be able to write to it; its
6948 # output is simply discarded. So we exec the FD to /dev/null,
6949 # effectively closing config.log, so it can be properly (re)opened and
6950 # appended to by config.status. When coming back to configure, we
6951 # need to make the FD available again.
6952 if test "$no_create" != yes; then
6954 ac_config_status_args=
6955 test "$silent" = yes &&
6956 ac_config_status_args="$ac_config_status_args --quiet"
6958 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6960 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6961 # would make configure fail if this is the last instruction.
6962 $ac_cs_success || as_fn_exit 1
6964 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6966 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}