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
713 program_transform_name
726 enable_option_checking
728 enable_dependency_tracking
730 ac_precious_vars='build_alias
749 # Initialize some variables set by options.
751 ac_init_version=false
752 ac_unrecognized_opts=
754 # The variables have the same names as the options, with
755 # dashes changed to underlines.
763 program_transform_name=s,x,x,
771 # Installation directory options.
772 # These are left unexpanded so users can "make install exec_prefix=/foo"
773 # and all the variables that are supposed to be based on exec_prefix
774 # by default will actually change.
775 # Use braces instead of parens because sh, perl, etc. also accept them.
776 # (The list follows the same order as the GNU Coding Standards.)
777 bindir='${exec_prefix}/bin'
778 sbindir='${exec_prefix}/sbin'
779 libexecdir='${exec_prefix}/libexec'
780 datarootdir='${prefix}/share'
781 datadir='${datarootdir}'
782 sysconfdir='${prefix}/etc'
783 sharedstatedir='${prefix}/com'
784 localstatedir='${prefix}/var'
785 includedir='${prefix}/include'
786 oldincludedir='/usr/include'
787 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
788 infodir='${datarootdir}/info'
793 libdir='${exec_prefix}/lib'
794 localedir='${datarootdir}/locale'
795 mandir='${datarootdir}/man'
801 # If the previous option needs an argument, assign it.
802 if test -n "$ac_prev"; then
803 eval $ac_prev=\$ac_option
809 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir | --bindir | --bindi | --bind | --bin | --bi)
822 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 -build | --build | --buil | --bui | --bu)
826 ac_prev=build_alias ;;
827 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
828 build_alias=$ac_optarg ;;
830 -cache-file | --cache-file | --cache-fil | --cache-fi \
831 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
832 ac_prev=cache_file ;;
833 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
834 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
835 cache_file=$ac_optarg ;;
838 cache_file=config.cache ;;
840 -datadir | --datadir | --datadi | --datad)
842 -datadir=* | --datadir=* | --datadi=* | --datad=*)
843 datadir=$ac_optarg ;;
845 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
846 | --dataroo | --dataro | --datar)
847 ac_prev=datarootdir ;;
848 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
849 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
850 datarootdir=$ac_optarg ;;
852 -disable-* | --disable-*)
853 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856 as_fn_error $? "invalid feature name: $ac_useropt"
857 ac_useropt_orig=$ac_useropt
858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864 ac_unrecognized_sep=', ';;
866 eval enable_$ac_useropt=no ;;
868 -docdir | --docdir | --docdi | --doc | --do)
870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
873 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
878 -enable-* | --enable-*)
879 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882 as_fn_error $? "invalid feature name: $ac_useropt"
883 ac_useropt_orig=$ac_useropt
884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890 ac_unrecognized_sep=', ';;
892 eval enable_$ac_useropt=\$ac_optarg ;;
894 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
895 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
896 | --exec | --exe | --ex)
897 ac_prev=exec_prefix ;;
898 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
899 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
900 | --exec=* | --exe=* | --ex=*)
901 exec_prefix=$ac_optarg ;;
903 -gas | --gas | --ga | --g)
904 # Obsolete; use --with-gas.
907 -help | --help | --hel | --he | -h)
909 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
910 ac_init_help=recursive ;;
911 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
912 ac_init_help=short ;;
914 -host | --host | --hos | --ho)
915 ac_prev=host_alias ;;
916 -host=* | --host=* | --hos=* | --ho=*)
917 host_alias=$ac_optarg ;;
919 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
921 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
923 htmldir=$ac_optarg ;;
925 -includedir | --includedir | --includedi | --included | --include \
926 | --includ | --inclu | --incl | --inc)
927 ac_prev=includedir ;;
928 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
929 | --includ=* | --inclu=* | --incl=* | --inc=*)
930 includedir=$ac_optarg ;;
932 -infodir | --infodir | --infodi | --infod | --info | --inf)
934 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
935 infodir=$ac_optarg ;;
937 -libdir | --libdir | --libdi | --libd)
939 -libdir=* | --libdir=* | --libdi=* | --libd=*)
942 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
943 | --libexe | --libex | --libe)
944 ac_prev=libexecdir ;;
945 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
946 | --libexe=* | --libex=* | --libe=*)
947 libexecdir=$ac_optarg ;;
949 -localedir | --localedir | --localedi | --localed | --locale)
951 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
952 localedir=$ac_optarg ;;
954 -localstatedir | --localstatedir | --localstatedi | --localstated \
955 | --localstate | --localstat | --localsta | --localst | --locals)
956 ac_prev=localstatedir ;;
957 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
958 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
959 localstatedir=$ac_optarg ;;
961 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
963 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
967 # Obsolete; use --without-fp.
970 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
971 | --no-cr | --no-c | -n)
974 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
975 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
978 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
979 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
980 | --oldin | --oldi | --old | --ol | --o)
981 ac_prev=oldincludedir ;;
982 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
983 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
984 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
985 oldincludedir=$ac_optarg ;;
987 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
989 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
992 -program-prefix | --program-prefix | --program-prefi | --program-pref \
993 | --program-pre | --program-pr | --program-p)
994 ac_prev=program_prefix ;;
995 -program-prefix=* | --program-prefix=* | --program-prefi=* \
996 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
997 program_prefix=$ac_optarg ;;
999 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1000 | --program-suf | --program-su | --program-s)
1001 ac_prev=program_suffix ;;
1002 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1003 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1004 program_suffix=$ac_optarg ;;
1006 -program-transform-name | --program-transform-name \
1007 | --program-transform-nam | --program-transform-na \
1008 | --program-transform-n | --program-transform- \
1009 | --program-transform | --program-transfor \
1010 | --program-transfo | --program-transf \
1011 | --program-trans | --program-tran \
1012 | --progr-tra | --program-tr | --program-t)
1013 ac_prev=program_transform_name ;;
1014 -program-transform-name=* | --program-transform-name=* \
1015 | --program-transform-nam=* | --program-transform-na=* \
1016 | --program-transform-n=* | --program-transform-=* \
1017 | --program-transform=* | --program-transfor=* \
1018 | --program-transfo=* | --program-transf=* \
1019 | --program-trans=* | --program-tran=* \
1020 | --progr-tra=* | --program-tr=* | --program-t=*)
1021 program_transform_name=$ac_optarg ;;
1023 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1025 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1026 pdfdir=$ac_optarg ;;
1028 -psdir | --psdir | --psdi | --psd | --ps)
1030 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1034 | -silent | --silent | --silen | --sile | --sil)
1037 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1039 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1041 sbindir=$ac_optarg ;;
1043 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1044 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1045 | --sharedst | --shareds | --shared | --share | --shar \
1047 ac_prev=sharedstatedir ;;
1048 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1049 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1050 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1052 sharedstatedir=$ac_optarg ;;
1054 -site | --site | --sit)
1056 -site=* | --site=* | --sit=*)
1059 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1061 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1062 srcdir=$ac_optarg ;;
1064 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1065 | --syscon | --sysco | --sysc | --sys | --sy)
1066 ac_prev=sysconfdir ;;
1067 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1068 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1069 sysconfdir=$ac_optarg ;;
1071 -target | --target | --targe | --targ | --tar | --ta | --t)
1072 ac_prev=target_alias ;;
1073 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1074 target_alias=$ac_optarg ;;
1076 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1079 -version | --version | --versio | --versi | --vers | -V)
1080 ac_init_version=: ;;
1083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 as_fn_error $? "invalid package name: $ac_useropt"
1087 ac_useropt_orig=$ac_useropt
1088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1094 ac_unrecognized_sep=', ';;
1096 eval with_$ac_useropt=\$ac_optarg ;;
1098 -without-* | --without-*)
1099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1112 eval with_$ac_useropt=no ;;
1115 # Obsolete; use --with-x.
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1133 Try \`$0 --help' for more information"
1137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 case $ac_envvar in #(
1140 '' | [0-9]* | *[!_$as_cr_alnum]* )
1141 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 as_fn_error $? "missing argument to $ac_option"
1162 if test -n "$ac_unrecognized_opts"; then
1163 case $enable_option_checking in
1165 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 # Check all directory arguments for consistency.
1171 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1172 datadir sysconfdir sharedstatedir localstatedir includedir \
1173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1174 libdir localedir mandir
1176 eval ac_val=\$$ac_var
1177 # Remove trailing slashes.
1180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1181 eval $ac_var=\$ac_val;;
1183 # Be sure to have absolute directory names.
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1188 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 elif test "x$build_alias" != "x$host_alias"; then
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 as_fn_error $? "working directory cannot be determined"
1217 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1218 as_fn_error $? "pwd does not report name of working directory"
1221 # Find the source files, if location was not specified.
1222 if test -z "$srcdir"; then
1223 ac_srcdir_defaulted=yes
1224 # Try the directory containing this script, then the parent directory.
1225 ac_confdir=`$as_dirname -- "$as_myself" ||
1226 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1227 X"$as_myself" : 'X\(//\)[^/]' \| \
1228 X"$as_myself" : 'X\(//\)$' \| \
1229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1230 $as_echo X"$as_myself" |
1231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1253 ac_srcdir_defaulted=no
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1256 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1257 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1259 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1263 # When building in place, set srcdir=.
1264 if test "$ac_abs_confdir" = "$ac_pwd"; then
1267 # Remove unnecessary trailing slashes from srcdir.
1268 # Double slashes in file names in object file debugging info
1269 # mess up M-x gdb in Emacs.
1271 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273 for ac_var in $ac_precious_vars; do
1274 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1275 eval ac_env_${ac_var}_value=\$${ac_var}
1276 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1277 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1281 # Report the --help message.
1283 if test "$ac_init_help" = "long"; then
1284 # Omit some internal or obsolete options to make the list less imposing.
1285 # This message is too long to be a string in the A/UX 3.1 sh.
1287 \`configure' configures GnuCoMo 0.0.13 to adapt to many kinds of systems.
1289 Usage: $0 [OPTION]... [VAR=VALUE]...
1291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1292 VAR=VALUE. See below for descriptions of some of the useful variables.
1294 Defaults for the options are specified in brackets.
1297 -h, --help display this help and exit
1298 --help=short display options specific to this package
1299 --help=recursive display the short help of all the included packages
1300 -V, --version display version information and exit
1301 -q, --quiet, --silent do not print \`checking ...' messages
1302 --cache-file=FILE cache test results in FILE [disabled]
1303 -C, --config-cache alias for \`--cache-file=config.cache'
1304 -n, --no-create do not create output files
1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1307 Installation directories:
1308 --prefix=PREFIX install architecture-independent files in PREFIX
1309 [$ac_default_prefix]
1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1313 By default, \`make install' will install all the files in
1314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1316 for instance \`--prefix=\$HOME'.
1318 For better control, use the options below.
1320 Fine tuning of the installation directories:
1321 --bindir=DIR user executables [EPREFIX/bin]
1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --libdir=DIR object code libraries [EPREFIX/lib]
1328 --includedir=DIR C header files [PREFIX/include]
1329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1332 --infodir=DIR info documentation [DATAROOTDIR/info]
1333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1334 --mandir=DIR man documentation [DATAROOTDIR/man]
1335 --docdir=DIR documentation root [DATAROOTDIR/doc/gnucomo]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
1345 --program-prefix=PREFIX prepend PREFIX to installed program names
1346 --program-suffix=SUFFIX append SUFFIX to installed program names
1347 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1351 if test -n "$ac_init_help"; then
1352 case $ac_init_help in
1353 short | recursive ) echo "Configuration of GnuCoMo 0.0.13:";;
1358 --disable-option-checking ignore unrecognized --enable/--with options
1359 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1360 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1361 --enable-silent-rules less verbose build output (undo: "make V=1")
1362 --disable-silent-rules verbose build output (undo: "make V=0")
1363 --enable-dependency-tracking
1364 do not reject slow dependency extractors
1365 --disable-dependency-tracking
1366 speeds up one-time build
1368 Some influential environment variables:
1369 CXX C++ compiler command
1370 CXXFLAGS C++ compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 LIBS libraries to pass to the linker, e.g. -l<library>
1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CC C compiler command
1377 CFLAGS C compiler flags
1378 PKG_CONFIG path to pkg-config utility
1380 directories to add to pkg-config's search path
1382 path overriding pkg-config's built-in search path
1384 C compiler flags for LIBPQXX, overriding pkg-config
1386 linker flags for LIBPQXX, overriding pkg-config
1389 Use these variables to override the choices made by `configure' or to help
1390 it to find libraries and programs with nonstandard names/locations.
1392 Report bugs to the package provider.
1397 if test "$ac_init_help" = "recursive"; then
1398 # If there are subdirs, report their specific --help.
1399 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400 test -d "$ac_dir" ||
1401 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1422 .) # We are building in place.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1455 GnuCoMo configure 0.0.13
1456 generated by GNU Autoconf 2.69
1458 Copyright (C) 2012 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1465 ## ------------------------ ##
1466 ## Autoconf initialization. ##
1467 ## ------------------------ ##
1469 # ac_fn_cxx_try_compile LINENO
1470 # ----------------------------
1471 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1472 ac_fn_cxx_try_compile ()
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 rm -f conftest.$ac_objext
1476 if { { ac_try="$ac_compile"
1478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479 *) ac_try_echo=$ac_try;;
1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_compile") 2>conftest.err
1485 if test -s conftest.err; then
1486 grep -v '^ *+' conftest.err >conftest.er1
1487 cat conftest.er1 >&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } && {
1492 test -z "$ac_cxx_werror_flag" ||
1493 test ! -s conftest.err
1494 } && test -s conftest.$ac_objext; then :
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1505 } # ac_fn_cxx_try_compile
1507 # ac_fn_c_try_compile LINENO
1508 # --------------------------
1509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1510 ac_fn_c_try_compile ()
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 rm -f conftest.$ac_objext
1514 if { { ac_try="$ac_compile"
1516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1517 *) ac_try_echo=$ac_try;;
1519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520 $as_echo "$ac_try_echo"; } >&5
1521 (eval "$ac_compile") 2>conftest.err
1523 if test -s conftest.err; then
1524 grep -v '^ *+' conftest.err >conftest.er1
1525 cat conftest.er1 >&5
1526 mv -f conftest.er1 conftest.err
1528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529 test $ac_status = 0; } && {
1530 test -z "$ac_c_werror_flag" ||
1531 test ! -s conftest.err
1532 } && test -s conftest.$ac_objext; then :
1535 $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.$ac_ext >&5
1540 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541 as_fn_set_status $ac_retval
1543 } # ac_fn_c_try_compile
1545 # ac_fn_c_try_link LINENO
1546 # -----------------------
1547 # Try to link conftest.$ac_ext, and return whether this succeeded.
1550 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551 rm -f conftest.$ac_objext conftest$ac_exeext
1552 if { { ac_try="$ac_link"
1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1555 *) ac_try_echo=$ac_try;;
1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559 (eval "$ac_link") 2>conftest.err
1561 if test -s conftest.err; then
1562 grep -v '^ *+' conftest.err >conftest.er1
1563 cat conftest.er1 >&5
1564 mv -f conftest.er1 conftest.err
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; } && {
1568 test -z "$ac_c_werror_flag" ||
1569 test ! -s conftest.err
1570 } && test -s conftest$ac_exeext && {
1571 test "$cross_compiling" = yes ||
1572 test -x conftest$ac_exeext
1576 $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1581 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1582 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1583 # interfere with the next link command; also delete a directory that is
1584 # left behind by Apple's compiler. We do this before executing the actions.
1585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587 as_fn_set_status $ac_retval
1589 } # ac_fn_c_try_link
1591 # ac_fn_c_try_cpp LINENO
1592 # ----------------------
1593 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 if { { ac_try="$ac_cpp conftest.$ac_ext"
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1606 if test -s conftest.err; then
1607 grep -v '^ *+' conftest.err >conftest.er1
1608 cat conftest.er1 >&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } > conftest.i && {
1613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.$ac_ext >&5
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status $ac_retval
1628 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1629 # -------------------------------------------------------
1630 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1631 # the include files in INCLUDES and setting the cache variable VAR
1633 ac_fn_c_check_header_mongrel ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 if eval \${$3+:} false; then :
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638 $as_echo_n "checking for $2... " >&6; }
1639 if eval \${$3+:} false; then :
1640 $as_echo_n "(cached) " >&6
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1646 # Is the header compilable?
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1648 $as_echo_n "checking $2 usability... " >&6; }
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1654 if ac_fn_c_try_compile "$LINENO"; then :
1655 ac_header_compiler=yes
1657 ac_header_compiler=no
1659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1661 $as_echo "$ac_header_compiler" >&6; }
1663 # Is the header present?
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1665 $as_echo_n "checking $2 presence... " >&6; }
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1670 if ac_fn_c_try_cpp "$LINENO"; then :
1671 ac_header_preproc=yes
1673 ac_header_preproc=no
1675 rm -f conftest.err conftest.i conftest.$ac_ext
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1677 $as_echo "$ac_header_preproc" >&6; }
1679 # So? What about this header?
1680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1683 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1689 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1691 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1693 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1695 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1697 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if eval \${$3+:} false; then :
1703 $as_echo_n "(cached) " >&6
1705 eval "$3=\$ac_header_compiler"
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709 $as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 } # ac_fn_c_check_header_mongrel
1715 # ac_fn_c_try_run LINENO
1716 # ----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1718 # that executables *can* be run.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_link"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>&5
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1733 { { case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_try") 2>&5
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; }; }; then :
1745 $as_echo "$as_me: program exited with status $ac_status" >&5
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1749 ac_retval=$ac_status
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1757 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1758 # -------------------------------------------------------
1759 # Tests whether HEADER exists and can be compiled using the include files in
1760 # INCLUDES, setting the cache variable VAR accordingly.
1761 ac_fn_c_check_header_compile ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765 $as_echo_n "checking for $2... " >&6; }
1766 if eval \${$3+:} false; then :
1767 $as_echo_n "(cached) " >&6
1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1770 /* end confdefs.h. */
1774 if ac_fn_c_try_compile "$LINENO"; then :
1779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 } # ac_fn_c_check_header_compile
1788 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1789 # -------------------------------------------
1790 # Tests whether TYPE exists after having included INCLUDES, setting cache
1791 # variable VAR accordingly.
1792 ac_fn_c_check_type ()
1794 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798 $as_echo_n "(cached) " >&6
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1826 if ac_fn_c_try_compile "$LINENO"; then :
1831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 } # ac_fn_c_check_type
1842 # ac_fn_c_check_func LINENO FUNC VAR
1843 # ----------------------------------
1844 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1845 ac_fn_c_check_func ()
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849 $as_echo_n "checking for $2... " >&6; }
1850 if eval \${$3+:} false; then :
1851 $as_echo_n "(cached) " >&6
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1855 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1857 #define $2 innocuous_$2
1859 /* System header to define __stub macros and hopefully few prototypes,
1860 which can conflict with char $2 (); below.
1861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1862 <limits.h> exists even on freestanding compilers. */
1865 # include <limits.h>
1867 # include <assert.h>
1872 /* Override any GCC internal prototype to avoid an error.
1873 Use char because int might match the return type of a GCC
1874 builtin and then its argument prototype would still apply. */
1879 /* The GNU C library defines this for functions which it implements
1880 to always fail with ENOSYS. Some functions are actually named
1881 something starting with __ and the normal name is an alias. */
1882 #if defined __stub_$2 || defined __stub___$2
1894 if ac_fn_c_try_link "$LINENO"; then :
1899 rm -f core conftest.err conftest.$ac_objext \
1900 conftest$ac_exeext conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 } # ac_fn_c_check_func
1908 cat >config.log <<_ACEOF
1909 This file contains any messages produced by compilers while
1910 running configure, to aid debugging if configure makes a mistake.
1912 It was created by GnuCoMo $as_me 0.0.13, which was
1913 generated by GNU Autoconf 2.69. Invocation command line was
1925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1932 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1934 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1935 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1937 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1938 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1939 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1940 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 $as_echo "PATH: $as_dir"
1965 # Keep a trace of the command line.
1966 # Strip out --no-create and --no-recursion so they do not pile up.
1967 # Strip out --silent because we don't want to record it for future runs.
1968 # Also quote any args containing shell meta-characters.
1969 # Make two passes to allow for proper duplicate-argument suppression.
1973 ac_must_keep_next=false
1979 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1981 | -silent | --silent | --silen | --sile | --sil)
1984 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1987 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1989 as_fn_append ac_configure_args1 " '$ac_arg'"
1990 if test $ac_must_keep_next = true; then
1991 ac_must_keep_next=false # Got value, back to normal.
1994 *=* | --config-cache | -C | -disable-* | --disable-* \
1995 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1996 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1997 | -with-* | --with-* | -without-* | --without-* | --x)
1998 case "$ac_configure_args0 " in
1999 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2002 -* ) ac_must_keep_next=true ;;
2005 as_fn_append ac_configure_args " '$ac_arg'"
2010 { ac_configure_args0=; unset ac_configure_args0;}
2011 { ac_configure_args1=; unset ac_configure_args1;}
2013 # When interrupted or exit'd, cleanup temporary files, and complete
2014 # config.log. We remove comments because anyway the quotes in there
2015 # would cause problems or look ugly.
2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2018 trap 'exit_status=$?
2019 # Save into config.log some information that might help in debugging.
2023 $as_echo "## ---------------- ##
2024 ## Cache variables. ##
2025 ## ---------------- ##"
2027 # The following way of writing the cache mishandles newlines in values,
2029 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2030 eval ac_val=\$$ac_var
2034 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2035 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2038 _ | IFS | as_nl) ;; #(
2039 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2040 *) { eval $ac_var=; unset $ac_var;} ;;
2045 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2046 *${as_nl}ac_space=\ *)
2048 "s/'\''/'\''\\\\'\'''\''/g;
2049 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2059 $as_echo "## ----------------- ##
2060 ## Output variables. ##
2061 ## ----------------- ##"
2063 for ac_var in $ac_subst_vars
2065 eval ac_val=\$$ac_var
2067 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2069 $as_echo "$ac_var='\''$ac_val'\''"
2073 if test -n "$ac_subst_files"; then
2074 $as_echo "## ------------------- ##
2075 ## File substitutions. ##
2076 ## ------------------- ##"
2078 for ac_var in $ac_subst_files
2080 eval ac_val=\$$ac_var
2082 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 $as_echo "$ac_var='\''$ac_val'\''"
2089 if test -s confdefs.h; then
2090 $as_echo "## ----------- ##
2097 test "$ac_signal" != 0 &&
2098 $as_echo "$as_me: caught signal $ac_signal"
2099 $as_echo "$as_me: exit $exit_status"
2101 rm -f core *.core core.conftest.* &&
2102 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2105 for ac_signal in 1 2 13 15; do
2106 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2110 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2111 rm -f -r conftest* confdefs.h
2113 $as_echo "/* confdefs.h */" > confdefs.h
2115 # Predefined preprocessor variables.
2117 cat >>confdefs.h <<_ACEOF
2118 #define PACKAGE_NAME "$PACKAGE_NAME"
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_STRING "$PACKAGE_STRING"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_URL "$PACKAGE_URL"
2142 # Let the site file select an alternate cache file if it wants to.
2143 # Prefer an explicitly selected file to automatically selected ones.
2146 if test -n "$CONFIG_SITE"; then
2147 # We do not want a PATH search for config.site.
2148 case $CONFIG_SITE in #((
2149 -*) ac_site_file1=./$CONFIG_SITE;;
2150 */*) ac_site_file1=$CONFIG_SITE;;
2151 *) ac_site_file1=./$CONFIG_SITE;;
2153 elif test "x$prefix" != xNONE; then
2154 ac_site_file1=$prefix/share/config.site
2155 ac_site_file2=$prefix/etc/config.site
2157 ac_site_file1=$ac_default_prefix/share/config.site
2158 ac_site_file2=$ac_default_prefix/etc/config.site
2160 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2162 test "x$ac_site_file" = xNONE && continue
2163 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2165 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2166 sed 's/^/| /' "$ac_site_file" >&5
2168 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2170 as_fn_error $? "failed to load site script $ac_site_file
2171 See \`config.log' for more details" "$LINENO" 5; }
2175 if test -r "$cache_file"; then
2176 # Some versions of bash will fail to source /dev/null (special files
2177 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2178 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2180 $as_echo "$as_me: loading cache $cache_file" >&6;}
2182 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2183 *) . "./$cache_file";;
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2188 $as_echo "$as_me: creating cache $cache_file" >&6;}
2192 # Check that the precious variables saved in the cache have kept the same
2194 ac_cache_corrupted=false
2195 for ac_var in $ac_precious_vars; do
2196 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2197 eval ac_new_set=\$ac_env_${ac_var}_set
2198 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2199 eval ac_new_val=\$ac_env_${ac_var}_value
2200 case $ac_old_set,$ac_new_set in
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2203 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2204 ac_cache_corrupted=: ;;
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2207 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2208 ac_cache_corrupted=: ;;
2211 if test "x$ac_old_val" != "x$ac_new_val"; then
2212 # differences in whitespace do not lead to failure.
2213 ac_old_val_w=`echo x $ac_old_val`
2214 ac_new_val_w=`echo x $ac_new_val`
2215 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2217 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2218 ac_cache_corrupted=:
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2221 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2222 eval $ac_var=\$ac_old_val
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2225 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2227 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2230 # Pass precious variables to config.status.
2231 if test "$ac_new_set" = set; then
2233 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2234 *) ac_arg=$ac_var=$ac_new_val ;;
2236 case " $ac_configure_args " in
2237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2238 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2242 if $ac_cache_corrupted; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2246 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2247 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2249 ## -------------------- ##
2250 ## Main body of script. ##
2251 ## -------------------- ##
2254 ac_cpp='$CPP $CPPFLAGS'
2255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2260 am__api_version='1.14'
2263 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2264 if test -f "$ac_dir/install-sh"; then
2266 ac_install_sh="$ac_aux_dir/install-sh -c"
2268 elif test -f "$ac_dir/install.sh"; then
2270 ac_install_sh="$ac_aux_dir/install.sh -c"
2272 elif test -f "$ac_dir/shtool"; then
2274 ac_install_sh="$ac_aux_dir/shtool install -c"
2278 if test -z "$ac_aux_dir"; then
2279 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2282 # These three variables are undocumented and unsupported,
2283 # and are intended to be withdrawn in a future Autoconf release.
2284 # They can cause serious problems if a builder's source tree is in a directory
2285 # whose full name contains unusual characters.
2286 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2287 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2288 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2291 # Find a good install program. We prefer a C program (faster),
2292 # so one script is as good as another. But avoid the broken or
2293 # incompatible versions:
2294 # SysV /etc/install, /usr/sbin/install
2295 # SunOS /usr/etc/install
2296 # IRIX /sbin/install
2298 # AmigaOS /C/install, which installs bootblocks on floppy discs
2299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2302 # OS/2's system install, which has a completely different semantic
2303 # ./install, which can be erroneously created by make from ./install.sh.
2304 # Reject install programs that cannot install multiple files.
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2306 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2307 if test -z "$INSTALL"; then
2308 if ${ac_cv_path_install+:} false; then :
2309 $as_echo_n "(cached) " >&6
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 # Account for people who put trailing slashes in PATH elements.
2317 case $as_dir/ in #((
2318 ./ | .// | /[cC]/* | \
2319 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2320 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2323 # OSF1 and SCO ODT 3.0 have their own names for install.
2324 # Don't use installbsd from OSF since it installs stuff as root
2326 for ac_prog in ginstall scoinst install; do
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2329 if test $ac_prog = install &&
2330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331 # AIX install. It has an incompatible calling convention.
2333 elif test $ac_prog = install &&
2334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2335 # program-specific install script used by HP pwplus--don't use.
2338 rm -rf conftest.one conftest.two conftest.dir
2339 echo one > conftest.one
2340 echo two > conftest.two
2342 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2343 test -s conftest.one && test -s conftest.two &&
2344 test -s conftest.dir/conftest.one &&
2345 test -s conftest.dir/conftest.two
2347 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2360 rm -rf conftest.one conftest.two conftest.dir
2363 if test "${ac_cv_path_install+set}" = set; then
2364 INSTALL=$ac_cv_path_install
2366 # As a last resort, use the slow shell script. Don't cache a
2367 # value for INSTALL within a source directory, because that will
2368 # break other packages using the cache if that directory is
2369 # removed, or if the value is a relative name.
2370 INSTALL=$ac_install_sh
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2374 $as_echo "$INSTALL" >&6; }
2376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2377 # It thinks the first close brace ends the variable substitution.
2378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2382 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2385 $as_echo_n "checking whether build environment is sane... " >&6; }
2386 # Reject unsafe characters in $srcdir or the absolute working directory
2387 # name. Accept space and tab only in the latter.
2391 *[\\\"\#\$\&\'\`$am_lf]*)
2392 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2395 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2396 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2399 # Do 'set' in a subshell so we don't clobber the current shell's
2400 # arguments. Must try -L first in case configure is actually a
2401 # symlink; some systems play weird games with the mod time of symlinks
2402 # (eg FreeBSD returns the mod time of the symlink's containing
2406 for am_try in 1 2; do
2407 echo "timestamp, slept: $am_has_slept" > conftest.file
2408 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2409 if test "$*" = "X"; then
2411 set X `ls -t "$srcdir/configure" conftest.file`
2413 if test "$*" != "X $srcdir/configure conftest.file" \
2414 && test "$*" != "X conftest.file $srcdir/configure"; then
2416 # If neither matched, then we have a broken ls. This can happen
2417 # if, for instance, CONFIG_SHELL is bash and it inherits a
2418 # broken ls alias from the environment. This has actually
2419 # happened. Such a system could not be considered "sane".
2420 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2421 alias in your environment" "$LINENO" 5
2423 if test "$2" = conftest.file || test $am_try -eq 2; then
2430 test "$2" = conftest.file
2436 as_fn_error $? "newly created file is older than distributed files!
2437 Check your system clock" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2440 $as_echo "yes" >&6; }
2441 # If we didn't sleep, we still need to ensure time stamps of config.status and
2442 # generated files are strictly newer.
2444 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2451 test "$program_prefix" != NONE &&
2452 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2453 # Use a double $ so make ignores it.
2454 test "$program_suffix" != NONE &&
2455 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2456 # Double any \ or $.
2457 # By default was `s,x,x', remove it if useless.
2458 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2459 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2461 # Expand $ac_aux_dir to an absolute path.
2462 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2464 if test x"${MISSING+set}" != xset; then
2467 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2469 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2472 # Use eval to expand $SHELL
2473 if eval "$MISSING --is-lightweight"; then
2474 am_missing_run="$MISSING "
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2478 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2481 if test x"${install_sh}" != xset; then
2484 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2486 install_sh="\${SHELL} $am_aux_dir/install-sh"
2490 # Installed binaries are usually stripped using 'strip' when the user
2491 # run "make install-strip". However 'strip' might not be the right
2492 # tool to use in cross-compilation environments, therefore Automake
2493 # will honor the 'STRIP' environment variable to overrule this program.
2494 if test "$cross_compiling" != no; then
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2497 set dummy ${ac_tool_prefix}strip; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_STRIP+:} false; then :
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$STRIP"; then
2504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 STRIP=$ac_cv_prog_STRIP
2524 if test -n "$STRIP"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2526 $as_echo "$STRIP" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2534 if test -z "$ac_cv_prog_STRIP"; then
2536 # Extract the first word of "strip", so it can be a program name with args.
2537 set dummy strip; ac_word=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$ac_ct_STRIP"; then
2544 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553 ac_cv_prog_ac_ct_STRIP="strip"
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2564 if test -n "$ac_ct_STRIP"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2566 $as_echo "$ac_ct_STRIP" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2572 if test "x$ac_ct_STRIP" = x; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2579 ac_tool_warned=yes ;;
2584 STRIP="$ac_cv_prog_STRIP"
2588 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2591 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2592 if test -z "$MKDIR_P"; then
2593 if ${ac_cv_path_mkdir+:} false; then :
2594 $as_echo_n "(cached) " >&6
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2600 test -z "$as_dir" && as_dir=.
2601 for ac_prog in mkdir gmkdir; do
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2604 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2605 'mkdir (GNU coreutils) '* | \
2606 'mkdir (coreutils) '* | \
2607 'mkdir (fileutils) '4.1*)
2608 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2618 test -d ./--version && rmdir ./--version
2619 if test "${ac_cv_path_mkdir+set}" = set; then
2620 MKDIR_P="$ac_cv_path_mkdir -p"
2622 # As a last resort, use the slow shell script. Don't cache a
2623 # value for MKDIR_P within a source directory, because that will
2624 # break other packages using the cache if that directory is
2625 # removed, or if the value is a relative name.
2626 MKDIR_P="$ac_install_sh -d"
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2630 $as_echo "$MKDIR_P" >&6; }
2632 for ac_prog in gawk mawk nawk awk
2634 # Extract the first word of "$ac_prog", so it can be a program name with args.
2635 set dummy $ac_prog; ac_word=$2
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637 $as_echo_n "checking for $ac_word... " >&6; }
2638 if ${ac_cv_prog_AWK+:} false; then :
2639 $as_echo_n "(cached) " >&6
2641 if test -n "$AWK"; then
2642 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir=.
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2651 ac_cv_prog_AWK="$ac_prog"
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 if test -n "$AWK"; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2664 $as_echo "$AWK" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2671 test -n "$AWK" && break
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2675 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2677 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2678 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2679 $as_echo_n "(cached) " >&6
2681 cat >conftest.make <<\_ACEOF
2684 @echo '@@@%%%=$(MAKE)=@@@%%%'
2686 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2687 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2689 eval ac_cv_prog_make_${ac_make}_set=yes;;
2691 eval ac_cv_prog_make_${ac_make}_set=no;;
2695 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2697 $as_echo "yes" >&6; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2702 SET_MAKE="MAKE=${MAKE-make}"
2705 rm -rf .tst 2>/dev/null
2706 mkdir .tst 2>/dev/null
2707 if test -d .tst; then
2712 rmdir .tst 2>/dev/null
2714 # Check whether --enable-silent-rules was given.
2715 if test "${enable_silent_rules+set}" = set; then :
2716 enableval=$enable_silent_rules;
2719 case $enable_silent_rules in # (((
2720 yes) AM_DEFAULT_VERBOSITY=0;;
2721 no) AM_DEFAULT_VERBOSITY=1;;
2722 *) AM_DEFAULT_VERBOSITY=1;;
2724 am_make=${MAKE-make}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2726 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2727 if ${am_cv_make_support_nested_variables+:} false; then :
2728 $as_echo_n "(cached) " >&6
2730 if $as_echo 'TRUE=$(BAR$(V))
2736 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2737 am_cv_make_support_nested_variables=yes
2739 am_cv_make_support_nested_variables=no
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2743 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2744 if test $am_cv_make_support_nested_variables = yes; then
2746 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2748 AM_V=$AM_DEFAULT_VERBOSITY
2749 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2753 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2754 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2755 # is not polluted with repeated "-I."
2756 am__isrc=' -I$(srcdir)'
2757 # test to see if srcdir already configured
2758 if test -f $srcdir/config.status; then
2759 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2763 # test whether we have cygpath
2764 if test -z "$CYGPATH_W"; then
2765 if (cygpath --version) >/dev/null 2>/dev/null; then
2766 CYGPATH_W='cygpath -w'
2773 # Define the identity of the package.
2778 cat >>confdefs.h <<_ACEOF
2779 #define PACKAGE "$PACKAGE"
2783 cat >>confdefs.h <<_ACEOF
2784 #define VERSION "$VERSION"
2787 # Some tools Automake needs.
2789 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2792 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2795 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2798 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2801 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2803 # For better backward compatibility. To be removed once Automake 1.9.x
2804 # dies out for good. For more background, see:
2805 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2806 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2807 mkdir_p='$(MKDIR_P)'
2809 # We need awk for the "check" target. The system "awk" is bad on
2811 # Always define AMTAR for backward compatibility. Yes, it's still used
2812 # in the wild :-( We should find a proper way to deprecate it ...
2816 # We'll loop over all known methods to create a tar archive until one works.
2817 _am_tools='gnutar pax cpio none'
2819 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2826 # POSIX will say in a future version that running "rm -f" with no argument
2827 # is OK; and we want to be able to make that assumption in our Makefile
2828 # recipes. So use an aggressive probe to check that the usage we want is
2829 # actually supported "in the wild" to an acceptable degree.
2830 # See automake bug#10828.
2831 # To make any issue more visible, cause the running configure to be aborted
2832 # by default if the 'rm' program in use doesn't match our expectations; the
2833 # user can still override this though.
2834 if rm -f && rm -fr && rm -rf; then : OK; else
2838 Your 'rm' program seems unable to run without file operands specified
2839 on the command line, even when the '-f' option is present. This is contrary
2840 to the behaviour of most rm programs out there, and not conforming with
2841 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2843 Please tell bug-automake@gnu.org about your system, including the value
2844 of your $PATH and any error possibly output before this message. This
2845 can help us improve future automake versions.
2848 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2849 echo 'Configuration will proceed anyway, since you have set the' >&2
2850 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2854 Aborting the configuration process, to ensure you take notice of the issue.
2856 You can download and install GNU coreutils to get an 'rm' implementation
2857 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2859 If you want to complete the configuration process using your problematic
2860 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2861 to "yes", and re-run configure.
2864 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2869 ac_config_headers="$ac_config_headers config.h"
2872 # Checks for programs.
2874 ac_cpp='$CXXCPP $CPPFLAGS'
2875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2878 if test -z "$CXX"; then
2879 if test -n "$CCC"; then
2882 if test -n "$ac_tool_prefix"; then
2883 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2886 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if ${ac_cv_prog_CXX+:} false; then :
2890 $as_echo_n "(cached) " >&6
2892 if test -n "$CXX"; then
2893 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do
2901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2902 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 if test -n "$CXX"; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2915 $as_echo "$CXX" >&6; }
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918 $as_echo "no" >&6; }
2922 test -n "$CXX" && break
2925 if test -z "$CXX"; then
2927 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2929 # Extract the first word of "$ac_prog", so it can be a program name with args.
2930 set dummy $ac_prog; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2934 $as_echo_n "(cached) " >&6
2936 if test -n "$ac_ct_CXX"; then
2937 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 for ac_exec_ext in '' $ac_executable_extensions; do
2945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946 ac_cv_prog_ac_ct_CXX="$ac_prog"
2947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2957 if test -n "$ac_ct_CXX"; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2959 $as_echo "$ac_ct_CXX" >&6; }
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2966 test -n "$ac_ct_CXX" && break
2969 if test "x$ac_ct_CXX" = x; then
2972 case $cross_compiling:$ac_tool_warned in
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned=yes ;;
2984 # Provide some information about the compiler.
2985 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2988 for ac_option in --version -v -V -qversion; do
2989 { { ac_try="$ac_compiler $ac_option >&5"
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2995 $as_echo "$ac_try_echo"; } >&5
2996 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2998 if test -s conftest.err; then
3000 ... rest of stderr output deleted ...
3001 10q' conftest.err >conftest.er1
3002 cat conftest.er1 >&5
3004 rm -f conftest.er1 conftest.err
3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006 test $ac_status = 0; }
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3020 ac_clean_files_save=$ac_clean_files
3021 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3022 # Try to create an executable without -o first, disregard a.out.
3023 # It will help us diagnose broken compilers, and finding out an intuition
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3026 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3027 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3029 # The possible output files:
3030 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3033 for ac_file in $ac_files
3036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3037 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3042 if { { ac_try="$ac_link_default"
3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3048 $as_echo "$ac_try_echo"; } >&5
3049 (eval "$ac_link_default") 2>&5
3051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3052 test $ac_status = 0; }; then :
3053 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3054 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3055 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3056 # so that the user can short-circuit this test for compilers unknown to
3058 for ac_file in $ac_files ''
3060 test -f "$ac_file" || continue
3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3065 # We found the default executable, but exeext='' is most
3069 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3071 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3073 # We set ac_cv_exeext here because the later test for it is not
3074 # safe: cross compilers may not add the suffix if given an `-o'
3075 # argument, so we may need to know it at that point already.
3076 # Even if this section looks crufty: it has the advantage of
3083 test "$ac_cv_exeext" = no && ac_cv_exeext=
3088 if test -z "$ac_file"; then :
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error 77 "C++ compiler cannot create executables
3097 See \`config.log' for more details" "$LINENO" 5; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3100 $as_echo "yes" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3103 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3105 $as_echo "$ac_file" >&6; }
3106 ac_exeext=$ac_cv_exeext
3108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3109 ac_clean_files=$ac_clean_files_save
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3111 $as_echo_n "checking for suffix of executables... " >&6; }
3112 if { { ac_try="$ac_link"
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_link") 2>&5
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; then :
3123 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3124 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3125 # work properly (i.e., refer to `conftest.exe'), while it won't with
3127 for ac_file in conftest.exe conftest conftest.*; do
3128 test -f "$ac_file" || continue
3130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3131 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3140 See \`config.log' for more details" "$LINENO" 5; }
3142 rm -f conftest conftest$ac_cv_exeext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3144 $as_echo "$ac_cv_exeext" >&6; }
3146 rm -f conftest.$ac_ext
3147 EXEEXT=$ac_cv_exeext
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3155 FILE *f = fopen ("conftest.out", "w");
3156 return ferror (f) || fclose (f) != 0;
3162 ac_clean_files="$ac_clean_files conftest.out"
3163 # Check that the compiler produces executables we can run. If not, either
3164 # the compiler is broken, or we cross compile.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3166 $as_echo_n "checking whether we are cross compiling... " >&6; }
3167 if test "$cross_compiling" != yes; then
3168 { { ac_try="$ac_link"
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_link") 2>&5
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; }
3179 if { ac_try='./conftest$ac_cv_exeext'
3180 { { case "(($ac_try" in
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185 $as_echo "$ac_try_echo"; } >&5
3186 (eval "$ac_try") 2>&5
3188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189 test $ac_status = 0; }; }; then
3192 if test "$cross_compiling" = maybe; then
3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error $? "cannot run C++ compiled programs.
3198 If you meant to cross compile, use \`--host'.
3199 See \`config.log' for more details" "$LINENO" 5; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3204 $as_echo "$cross_compiling" >&6; }
3206 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3207 ac_clean_files=$ac_clean_files_save
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3209 $as_echo_n "checking for suffix of object files... " >&6; }
3210 if ${ac_cv_objext+:} false; then :
3211 $as_echo_n "(cached) " >&6
3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3224 rm -f conftest.o conftest.obj
3225 if { { ac_try="$ac_compile"
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_compile") 2>&5
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; then :
3236 for ac_file in conftest.o conftest.obj conftest.*; do
3237 test -f "$ac_file" || continue;
3239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3240 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3245 $as_echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error $? "cannot compute suffix of object files: cannot compile
3251 See \`config.log' for more details" "$LINENO" 5; }
3253 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3256 $as_echo "$ac_cv_objext" >&6; }
3257 OBJEXT=$ac_cv_objext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3260 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3261 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3262 $as_echo_n "(cached) " >&6
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3278 if ac_fn_cxx_try_compile "$LINENO"; then :
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3288 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3289 if test $ac_compiler_gnu = yes; then
3294 ac_test_CXXFLAGS=${CXXFLAGS+set}
3295 ac_save_CXXFLAGS=$CXXFLAGS
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3297 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3298 if ${ac_cv_prog_cxx_g+:} false; then :
3299 $as_echo_n "(cached) " >&6
3301 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3302 ac_cxx_werror_flag=yes
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3316 if ac_fn_cxx_try_compile "$LINENO"; then :
3317 ac_cv_prog_cxx_g=yes
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3331 if ac_fn_cxx_try_compile "$LINENO"; then :
3334 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3347 if ac_fn_cxx_try_compile "$LINENO"; then :
3348 ac_cv_prog_cxx_g=yes
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3358 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3359 if test "$ac_test_CXXFLAGS" = set; then
3360 CXXFLAGS=$ac_save_CXXFLAGS
3361 elif test $ac_cv_prog_cxx_g = yes; then
3362 if test "$GXX" = yes; then
3368 if test "$GXX" = yes; then
3375 ac_cpp='$CPP $CPPFLAGS'
3376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3379 DEPDIR="${am__leading_dot}deps"
3381 ac_config_commands="$ac_config_commands depfiles"
3384 am_make=${MAKE-make}
3385 cat > confinc << 'END'
3387 @echo this is the am__doit target
3390 # If we don't find an include directive, just comment out the code.
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3392 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3396 # First try GNU make style include.
3397 echo "include confinc" > confmf
3398 # Ignore all kinds of additional output from 'make'.
3399 case `$am_make -s -f confmf 2> /dev/null` in #(
3400 *the\ am__doit\ target*)
3406 # Now try BSD make style include.
3407 if test "$am__include" = "#"; then
3408 echo '.include "confinc"' > confmf
3409 case `$am_make -s -f confmf 2> /dev/null` in #(
3410 *the\ am__doit\ target*)
3411 am__include=.include
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3420 $as_echo "$_am_result" >&6; }
3421 rm -f confinc confmf
3423 # Check whether --enable-dependency-tracking was given.
3424 if test "${enable_dependency_tracking+set}" = set; then :
3425 enableval=$enable_dependency_tracking;
3428 if test "x$enable_dependency_tracking" != xno; then
3429 am_depcomp="$ac_aux_dir/depcomp"
3433 if test "x$enable_dependency_tracking" != xno; then
3443 depcc="$CXX" am_compiler_list=
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3446 $as_echo_n "checking dependency style of $depcc... " >&6; }
3447 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3448 $as_echo_n "(cached) " >&6
3450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3451 # We make a subdir and do the tests there. Otherwise we can end up
3452 # making bogus files that we don't know about and never remove. For
3453 # instance it was reported that on HP-UX the gcc test will end up
3454 # making a dummy file named 'D' -- because '-MD' means "put the output
3458 # Copy depcomp to subdir because otherwise we won't find it if we're
3459 # using a relative directory.
3460 cp "$am_depcomp" conftest.dir
3462 # We will build objects and dependencies in a subdirectory because
3463 # it helps to detect inapplicable dependency modes. For instance
3464 # both Tru64's cc and ICC support -MD to output dependencies as a
3465 # side effect of compilation, but ICC will put the dependencies in
3466 # the current directory while Tru64 will put them in the object
3470 am_cv_CXX_dependencies_compiler_type=none
3471 if test "$am_compiler_list" = ""; then
3472 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3475 case " $depcc " in #(
3476 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3479 for depmode in $am_compiler_list; do
3480 # Setup a source with many dependencies, because some compilers
3481 # like to wrap large dependency lists on column 80 (with \), and
3482 # we should not choose a depcomp mode which is confused by this.
3484 # We need to recreate these files for each test, as the compiler may
3485 # overwrite some of them when testing with obscure command lines.
3486 # This happens at least with the AIX C compiler.
3488 for i in 1 2 3 4 5 6; do
3489 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3490 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3491 # Solaris 10 /bin/sh.
3492 echo '/* dummy */' > sub/conftst$i.h
3494 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3496 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3497 # mode. It turns out that the SunPro C++ compiler does not properly
3498 # handle '-M -o', and we need to detect this. Also, some Intel
3499 # versions had trouble with output in subdirs.
3500 am__obj=sub/conftest.${OBJEXT-o}
3501 am__minus_obj="-o $am__obj"
3504 # This depmode causes a compiler race in universal mode.
3505 test "$am__universal" = false || continue
3508 # After this tag, mechanisms are not by side-effect, so they'll
3509 # only be used when explicitly requested.
3510 if test "x$enable_dependency_tracking" = xyes; then
3516 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3517 # This compiler won't grok '-c -o', but also, the minuso test has
3518 # not run yet. These depmodes are late enough in the game, and
3519 # so weak that their functioning should not be impacted.
3520 am__obj=conftest.${OBJEXT-o}
3525 if depmode=$depmode \
3526 source=sub/conftest.c object=$am__obj \
3527 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3528 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3529 >/dev/null 2>conftest.err &&
3530 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3531 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3532 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3533 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3534 # icc doesn't choke on unknown options, it will just issue warnings
3535 # or remarks (even with -Werror). So we grep stderr for any message
3536 # that says an option was ignored or not supported.
3537 # When given -MP, icc 7.0 and 7.1 complain thusly:
3538 # icc: Command line warning: ignoring option '-M'; no argument required
3539 # The diagnosis changed in icc 8.0:
3540 # icc: Command line remark: option '-MP' not supported
3541 if (grep 'ignoring option' conftest.err ||
3542 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3543 am_cv_CXX_dependencies_compiler_type=$depmode
3552 am_cv_CXX_dependencies_compiler_type=none
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3557 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3558 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3561 test "x$enable_dependency_tracking" != xno \
3562 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3563 am__fastdepCXX_TRUE=
3564 am__fastdepCXX_FALSE='#'
3566 am__fastdepCXX_TRUE='#'
3567 am__fastdepCXX_FALSE=
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_CC+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC="$CC" # Let the user override the test.
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$ac_cv_prog_CC"; then
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3622 $as_echo_n "(cached) " >&6
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_ac_ct_CC="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3653 if test "x$ac_ct_CC" = x; then
3656 case $cross_compiling:$ac_tool_warned in
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned=yes ;;
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_CC+:} false; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_CC="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected=yes
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy $ac_cv_prog_CC
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3749 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog in cl.exe
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_CC+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$CC" && break
3809 if test -z "$CC"; then
3811 for ac_prog in cl.exe
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy $ac_prog; ac_word=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_ac_ct_CC="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$ac_ct_CC" && break
3853 if test "x$ac_ct_CC" = x; then
3856 case $cross_compiling:$ac_tool_warned in
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned=yes ;;
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error $? "no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details" "$LINENO" 5; }
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3878 for ac_option in --version -v -V -qversion; do
3879 { { ac_try="$ac_compiler $ac_option >&5"
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3888 if test -s conftest.err; then
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3894 rm -f conftest.er1 conftest.err
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3900 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3901 if ${ac_cv_c_compiler_gnu+:} false; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3918 if ac_fn_c_try_compile "$LINENO"; then :
3923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3928 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3929 if test $ac_compiler_gnu = yes; then
3934 ac_test_CFLAGS=${CFLAGS+set}
3935 ac_save_CFLAGS=$CFLAGS
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3937 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3938 if ${ac_cv_prog_cc_g+:} false; then :
3939 $as_echo_n "(cached) " >&6
3941 ac_save_c_werror_flag=$ac_c_werror_flag
3942 ac_c_werror_flag=yes
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3956 if ac_fn_c_try_compile "$LINENO"; then :
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3971 if ac_fn_c_try_compile "$LINENO"; then :
3974 ac_c_werror_flag=$ac_save_c_werror_flag
3976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 /* end confdefs.h. */
3987 if ac_fn_c_try_compile "$LINENO"; then :
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3995 ac_c_werror_flag=$ac_save_c_werror_flag
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3998 $as_echo "$ac_cv_prog_cc_g" >&6; }
3999 if test "$ac_test_CFLAGS" = set; then
4000 CFLAGS=$ac_save_CFLAGS
4001 elif test $ac_cv_prog_cc_g = yes; then
4002 if test "$GCC" = yes; then
4008 if test "$GCC" = yes; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4015 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4016 if ${ac_cv_prog_cc_c89+:} false; then :
4017 $as_echo_n "(cached) " >&6
4019 ac_cv_prog_cc_c89=no
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4026 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4027 struct buf { int x; };
4028 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4029 static char *e (p, i)
4035 static char *f (char * (*g) (char **, int), char **p, ...)
4040 s = g (p, va_arg (v,int));
4045 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4046 function prototypes and stuff, but not '\xHH' hex character constants.
4047 These don't provoke an error unfortunately, instead are silently treated
4048 as 'x'. The following induces an error, until -std is added to get
4049 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4050 array size at least. It's necessary to write '\x00'==0 to get something
4051 that's true only with -std. */
4052 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4054 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4055 inside strings and character constants. */
4057 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4059 int test (int i, double x);
4060 struct s1 {int (*f) (int a);};
4061 struct s2 {int (*f) (double a);};
4062 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4068 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4073 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4074 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4076 CC="$ac_save_CC $ac_arg"
4077 if ac_fn_c_try_compile "$LINENO"; then :
4078 ac_cv_prog_cc_c89=$ac_arg
4080 rm -f core conftest.err conftest.$ac_objext
4081 test "x$ac_cv_prog_cc_c89" != "xno" && break
4083 rm -f conftest.$ac_ext
4088 case "x$ac_cv_prog_cc_c89" in
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4091 $as_echo "none needed" >&6; } ;;
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4094 $as_echo "unsupported" >&6; } ;;
4096 CC="$CC $ac_cv_prog_cc_c89"
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4098 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4100 if test "x$ac_cv_prog_cc_c89" != xno; then :
4105 ac_cpp='$CPP $CPPFLAGS'
4106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4111 ac_cpp='$CPP $CPPFLAGS'
4112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4116 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4117 if ${am_cv_prog_cc_c_o+:} false; then :
4118 $as_echo_n "(cached) " >&6
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4131 # Make sure it works both with $CC and with simple cc.
4132 # Following AC_PROG_CC_C_O, we do the test twice because some
4133 # compilers refuse to overwrite an existing .o file with -o,
4134 # though they will create one.
4135 am_cv_prog_cc_c_o=yes
4137 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4138 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } \
4142 && test -f conftest2.$ac_objext; then
4145 am_cv_prog_cc_c_o=no
4149 rm -f core conftest*
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4153 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4154 if test "$am_cv_prog_cc_c_o" != yes; then
4155 # Losing compiler, so override with the script.
4156 # FIXME: It is wrong to rewrite CC.
4157 # But if we don't then we get into trouble of one sort or another.
4158 # A longer-term fix would be to have automake use am__CC in this case,
4159 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4160 CC="$am_aux_dir/compile $CC"
4163 ac_cpp='$CPP $CPPFLAGS'
4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4169 depcc="$CC" am_compiler_list=
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4172 $as_echo_n "checking dependency style of $depcc... " >&6; }
4173 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4177 # We make a subdir and do the tests there. Otherwise we can end up
4178 # making bogus files that we don't know about and never remove. For
4179 # instance it was reported that on HP-UX the gcc test will end up
4180 # making a dummy file named 'D' -- because '-MD' means "put the output
4184 # Copy depcomp to subdir because otherwise we won't find it if we're
4185 # using a relative directory.
4186 cp "$am_depcomp" conftest.dir
4188 # We will build objects and dependencies in a subdirectory because
4189 # it helps to detect inapplicable dependency modes. For instance
4190 # both Tru64's cc and ICC support -MD to output dependencies as a
4191 # side effect of compilation, but ICC will put the dependencies in
4192 # the current directory while Tru64 will put them in the object
4196 am_cv_CC_dependencies_compiler_type=none
4197 if test "$am_compiler_list" = ""; then
4198 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4201 case " $depcc " in #(
4202 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4205 for depmode in $am_compiler_list; do
4206 # Setup a source with many dependencies, because some compilers
4207 # like to wrap large dependency lists on column 80 (with \), and
4208 # we should not choose a depcomp mode which is confused by this.
4210 # We need to recreate these files for each test, as the compiler may
4211 # overwrite some of them when testing with obscure command lines.
4212 # This happens at least with the AIX C compiler.
4214 for i in 1 2 3 4 5 6; do
4215 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4216 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4217 # Solaris 10 /bin/sh.
4218 echo '/* dummy */' > sub/conftst$i.h
4220 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4222 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4223 # mode. It turns out that the SunPro C++ compiler does not properly
4224 # handle '-M -o', and we need to detect this. Also, some Intel
4225 # versions had trouble with output in subdirs.
4226 am__obj=sub/conftest.${OBJEXT-o}
4227 am__minus_obj="-o $am__obj"
4230 # This depmode causes a compiler race in universal mode.
4231 test "$am__universal" = false || continue
4234 # After this tag, mechanisms are not by side-effect, so they'll
4235 # only be used when explicitly requested.
4236 if test "x$enable_dependency_tracking" = xyes; then
4242 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4243 # This compiler won't grok '-c -o', but also, the minuso test has
4244 # not run yet. These depmodes are late enough in the game, and
4245 # so weak that their functioning should not be impacted.
4246 am__obj=conftest.${OBJEXT-o}
4251 if depmode=$depmode \
4252 source=sub/conftest.c object=$am__obj \
4253 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4254 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4255 >/dev/null 2>conftest.err &&
4256 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4257 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4258 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4259 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4260 # icc doesn't choke on unknown options, it will just issue warnings
4261 # or remarks (even with -Werror). So we grep stderr for any message
4262 # that says an option was ignored or not supported.
4263 # When given -MP, icc 7.0 and 7.1 complain thusly:
4264 # icc: Command line warning: ignoring option '-M'; no argument required
4265 # The diagnosis changed in icc 8.0:
4266 # icc: Command line remark: option '-MP' not supported
4267 if (grep 'ignoring option' conftest.err ||
4268 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4269 am_cv_CC_dependencies_compiler_type=$depmode
4278 am_cv_CC_dependencies_compiler_type=none
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4283 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4284 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4287 test "x$enable_dependency_tracking" != xno \
4288 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4290 am__fastdepCC_FALSE='#'
4292 am__fastdepCC_TRUE='#'
4293 am__fastdepCC_FALSE=
4297 if test -n "$ac_tool_prefix"; then
4298 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4299 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if ${ac_cv_prog_RANLIB+:} false; then :
4303 $as_echo_n "(cached) " >&6
4305 if test -n "$RANLIB"; then
4306 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4315 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 RANLIB=$ac_cv_prog_RANLIB
4326 if test -n "$RANLIB"; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4328 $as_echo "$RANLIB" >&6; }
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331 $as_echo "no" >&6; }
4336 if test -z "$ac_cv_prog_RANLIB"; then
4337 ac_ct_RANLIB=$RANLIB
4338 # Extract the first word of "ranlib", so it can be a program name with args.
4339 set dummy ranlib; ac_word=$2
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341 $as_echo_n "checking for $ac_word... " >&6; }
4342 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4343 $as_echo_n "(cached) " >&6
4345 if test -n "$ac_ct_RANLIB"; then
4346 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir=.
4353 for ac_exec_ext in '' $ac_executable_extensions; do
4354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4355 ac_cv_prog_ac_ct_RANLIB="ranlib"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4366 if test -n "$ac_ct_RANLIB"; then
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4368 $as_echo "$ac_ct_RANLIB" >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4374 if test "x$ac_ct_RANLIB" = x; then
4377 case $cross_compiling:$ac_tool_warned in
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4381 ac_tool_warned=yes ;;
4383 RANLIB=$ac_ct_RANLIB
4386 RANLIB="$ac_cv_prog_RANLIB"
4390 # Extract the first word of "xml2-config", so it can be a program name with args.
4391 set dummy xml2-config; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_path_XML_CONFIG+:} false; then :
4395 $as_echo_n "(cached) " >&6
4399 ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 test -z "$ac_cv_path_XML_CONFIG" && ac_cv_path_XML_CONFIG="no"
4421 XML_CONFIG=$ac_cv_path_XML_CONFIG
4422 if test -n "$XML_CONFIG"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5
4424 $as_echo "$XML_CONFIG" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4433 if test $XML_CONFIG = "no"
4435 echo "XML library not found (see http://xmlsoft.org/)."
4439 # Checks for libraries.
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
4442 $as_echo_n "checking for gzread in -lz... " >&6; }
4443 if ${ac_cv_lib_z_gzread+:} false; then :
4444 $as_echo_n "(cached) " >&6
4446 ac_check_lib_save_LIBS=$LIBS
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4451 /* Override any GCC internal prototype to avoid an error.
4452 Use char because int might match the return type of a GCC
4453 builtin and then its argument prototype would still apply. */
4466 if ac_fn_c_try_link "$LINENO"; then :
4467 ac_cv_lib_z_gzread=yes
4469 ac_cv_lib_z_gzread=no
4471 rm -f core conftest.err conftest.$ac_objext \
4472 conftest$ac_exeext conftest.$ac_ext
4473 LIBS=$ac_check_lib_save_LIBS
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
4476 $as_echo "$ac_cv_lib_z_gzread" >&6; }
4477 if test "x$ac_cv_lib_z_gzread" = xyes; then :
4478 cat >>confdefs.h <<_ACEOF
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
4487 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
4488 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
4489 $as_echo_n "(cached) " >&6
4491 ac_check_lib_save_LIBS=$LIBS
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4496 /* Override any GCC internal prototype to avoid an error.
4497 Use char because int might match the return type of a GCC
4498 builtin and then its argument prototype would still apply. */
4506 return lzma_code ();
4511 if ac_fn_c_try_link "$LINENO"; then :
4512 ac_cv_lib_lzma_lzma_code=yes
4514 ac_cv_lib_lzma_lzma_code=no
4516 rm -f core conftest.err conftest.$ac_objext \
4517 conftest$ac_exeext conftest.$ac_ext
4518 LIBS=$ac_check_lib_save_LIBS
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
4521 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
4522 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
4523 cat >>confdefs.h <<_ACEOF
4524 #define HAVE_LIBLZMA 1
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseFile in -lxml2" >&5
4532 $as_echo_n "checking for xmlParseFile in -lxml2... " >&6; }
4533 if ${ac_cv_lib_xml2_xmlParseFile+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 ac_check_lib_save_LIBS=$LIBS
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4541 /* Override any GCC internal prototype to avoid an error.
4542 Use char because int might match the return type of a GCC
4543 builtin and then its argument prototype would still apply. */
4547 char xmlParseFile ();
4551 return xmlParseFile ();
4556 if ac_fn_c_try_link "$LINENO"; then :
4557 ac_cv_lib_xml2_xmlParseFile=yes
4559 ac_cv_lib_xml2_xmlParseFile=no
4561 rm -f core conftest.err conftest.$ac_objext \
4562 conftest$ac_exeext conftest.$ac_ext
4563 LIBS=$ac_check_lib_save_LIBS
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4566 $as_echo "$ac_cv_lib_xml2_xmlParseFile" >&6; }
4567 if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then :
4568 cat >>confdefs.h <<_ACEOF
4569 #define HAVE_LIBXML2 1
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
4577 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; }
4578 if ${ac_cv_lib_pq_PQconnectdb+:} false; then :
4579 $as_echo_n "(cached) " >&6
4581 ac_check_lib_save_LIBS=$LIBS
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4586 /* Override any GCC internal prototype to avoid an error.
4587 Use char because int might match the return type of a GCC
4588 builtin and then its argument prototype would still apply. */
4592 char PQconnectdb ();
4596 return PQconnectdb ();
4601 if ac_fn_c_try_link "$LINENO"; then :
4602 ac_cv_lib_pq_PQconnectdb=yes
4604 ac_cv_lib_pq_PQconnectdb=no
4606 rm -f core conftest.err conftest.$ac_objext \
4607 conftest$ac_exeext conftest.$ac_ext
4608 LIBS=$ac_check_lib_save_LIBS
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
4611 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; }
4612 if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then :
4613 cat >>confdefs.h <<_ACEOF
4614 #define HAVE_LIBPQ 1
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lAXE" >&5
4622 $as_echo_n "checking for main in -lAXE... " >&6; }
4623 if ${ac_cv_lib_AXE_main+:} false; then :
4624 $as_echo_n "(cached) " >&6
4626 ac_check_lib_save_LIBS=$LIBS
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4640 if ac_fn_c_try_link "$LINENO"; then :
4641 ac_cv_lib_AXE_main=yes
4643 ac_cv_lib_AXE_main=no
4645 rm -f core conftest.err conftest.$ac_objext \
4646 conftest$ac_exeext conftest.$ac_ext
4647 LIBS=$ac_check_lib_save_LIBS
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_AXE_main" >&5
4650 $as_echo "$ac_cv_lib_AXE_main" >&6; }
4651 if test "x$ac_cv_lib_AXE_main" = xyes; then :
4652 cat >>confdefs.h <<_ACEOF
4653 #define HAVE_LIBAXE 1
4659 as_fn_error $? "AXE Library is not installed" "$LINENO" 5
4670 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4671 if test -n "$ac_tool_prefix"; then
4672 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4673 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4677 $as_echo_n "(cached) " >&6
4681 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4703 if test -n "$PKG_CONFIG"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4705 $as_echo "$PKG_CONFIG" >&6; }
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4713 if test -z "$ac_cv_path_PKG_CONFIG"; then
4714 ac_pt_PKG_CONFIG=$PKG_CONFIG
4715 # Extract the first word of "pkg-config", so it can be a program name with args.
4716 set dummy pkg-config; ac_word=$2
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4718 $as_echo_n "checking for $ac_word... " >&6; }
4719 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 case $ac_pt_PKG_CONFIG in
4724 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 test -z "$as_dir" && as_dir=.
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4746 if test -n "$ac_pt_PKG_CONFIG"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4748 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4754 if test "x$ac_pt_PKG_CONFIG" = x; then
4757 case $cross_compiling:$ac_tool_warned in
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned=yes ;;
4763 PKG_CONFIG=$ac_pt_PKG_CONFIG
4766 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4770 if test -n "$PKG_CONFIG"; then
4771 _pkg_min_version=0.9.0
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4773 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4774 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4776 $as_echo "yes" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4779 $as_echo "no" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPQXX" >&5
4786 $as_echo_n "checking for LIBPQXX... " >&6; }
4788 if test -n "$LIBPQXX_CFLAGS"; then
4789 pkg_cv_LIBPQXX_CFLAGS="$LIBPQXX_CFLAGS"
4790 elif test -n "$PKG_CONFIG"; then
4791 if test -n "$PKG_CONFIG" && \
4792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpqxx >= 4.0.1\""; } >&5
4793 ($PKG_CONFIG --exists --print-errors "libpqxx >= 4.0.1") 2>&5
4795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4796 test $ac_status = 0; }; then
4797 pkg_cv_LIBPQXX_CFLAGS=`$PKG_CONFIG --cflags "libpqxx >= 4.0.1" 2>/dev/null`
4798 test "x$?" != "x0" && pkg_failed=yes
4805 if test -n "$LIBPQXX_LIBS"; then
4806 pkg_cv_LIBPQXX_LIBS="$LIBPQXX_LIBS"
4807 elif test -n "$PKG_CONFIG"; then
4808 if test -n "$PKG_CONFIG" && \
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpqxx >= 4.0.1\""; } >&5
4810 ($PKG_CONFIG --exists --print-errors "libpqxx >= 4.0.1") 2>&5
4812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4813 test $ac_status = 0; }; then
4814 pkg_cv_LIBPQXX_LIBS=`$PKG_CONFIG --libs "libpqxx >= 4.0.1" 2>/dev/null`
4815 test "x$?" != "x0" && pkg_failed=yes
4825 if test $pkg_failed = yes; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4830 _pkg_short_errors_supported=yes
4832 _pkg_short_errors_supported=no
4834 if test $_pkg_short_errors_supported = yes; then
4835 LIBPQXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpqxx >= 4.0.1" 2>&1`
4837 LIBPQXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpqxx >= 4.0.1" 2>&1`
4839 # Put the nasty error message in config.log where it belongs
4840 echo "$LIBPQXX_PKG_ERRORS" >&5
4842 as_fn_error $? "Package requirements (libpqxx >= 4.0.1) were not met:
4846 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4847 installed software in a non-standard prefix.
4849 Alternatively, you may set the environment variables LIBPQXX_CFLAGS
4850 and LIBPQXX_LIBS to avoid the need to call pkg-config.
4851 See the pkg-config man page for more details." "$LINENO" 5
4852 elif test $pkg_failed = untried; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4857 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4858 is in your PATH or set the PKG_CONFIG environment variable to the full
4861 Alternatively, you may set the environment variables LIBPQXX_CFLAGS
4862 and LIBPQXX_LIBS to avoid the need to call pkg-config.
4863 See the pkg-config man page for more details.
4865 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4866 See \`config.log' for more details" "$LINENO" 5; }
4868 LIBPQXX_CFLAGS=$pkg_cv_LIBPQXX_CFLAGS
4869 LIBPQXX_LIBS=$pkg_cv_LIBPQXX_LIBS
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4871 $as_echo "yes" >&6; }
4877 # Checks for header files.
4878 XML_CFLAGS=`$XML_CONFIG --cflags`
4879 CFLAGS="$CFLAGS $X_CFLAGS $XML_CFLAGS "
4880 CXXFLAGS="$CXXFLAGS -Wno-deprecated $X_CFLAGS $XML_CFLAGS"
4883 ac_cpp='$CPP $CPPFLAGS'
4884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4888 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4889 # On Suns, sometimes $CPP names a directory.
4890 if test -n "$CPP" && test -d "$CPP"; then
4893 if test -z "$CPP"; then
4894 if ${ac_cv_prog_CPP+:} false; then :
4895 $as_echo_n "(cached) " >&6
4897 # Double quotes because CPP needs to be expanded
4898 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4901 for ac_c_preproc_warn_flag in '' yes
4903 # Use a header file that comes with gcc, so configuring glibc
4904 # with a fresh cross-compiler works.
4905 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4906 # <limits.h> exists even on freestanding compilers.
4907 # On the NeXT, cc -E runs the code through the compiler's parser,
4908 # not just through cpp. "Syntax error" is here to catch this case.
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4912 # include <limits.h>
4914 # include <assert.h>
4918 if ac_fn_c_try_cpp "$LINENO"; then :
4921 # Broken: fails on valid input.
4924 rm -f conftest.err conftest.i conftest.$ac_ext
4926 # OK, works on sane cases. Now check whether nonexistent headers
4927 # can be detected and how.
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4930 #include <ac_nonexistent.h>
4932 if ac_fn_c_try_cpp "$LINENO"; then :
4933 # Broken: success on invalid input.
4936 # Passes both tests.
4940 rm -f conftest.err conftest.i conftest.$ac_ext
4943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4944 rm -f conftest.i conftest.err conftest.$ac_ext
4945 if $ac_preproc_ok; then :
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4958 $as_echo "$CPP" >&6; }
4960 for ac_c_preproc_warn_flag in '' yes
4962 # Use a header file that comes with gcc, so configuring glibc
4963 # with a fresh cross-compiler works.
4964 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4965 # <limits.h> exists even on freestanding compilers.
4966 # On the NeXT, cc -E runs the code through the compiler's parser,
4967 # not just through cpp. "Syntax error" is here to catch this case.
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4971 # include <limits.h>
4973 # include <assert.h>
4977 if ac_fn_c_try_cpp "$LINENO"; then :
4980 # Broken: fails on valid input.
4983 rm -f conftest.err conftest.i conftest.$ac_ext
4985 # OK, works on sane cases. Now check whether nonexistent headers
4986 # can be detected and how.
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4989 #include <ac_nonexistent.h>
4991 if ac_fn_c_try_cpp "$LINENO"; then :
4992 # Broken: success on invalid input.
4995 # Passes both tests.
4999 rm -f conftest.err conftest.i conftest.$ac_ext
5002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5003 rm -f conftest.i conftest.err conftest.$ac_ext
5004 if $ac_preproc_ok; then :
5007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5009 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5010 See \`config.log' for more details" "$LINENO" 5; }
5014 ac_cpp='$CPP $CPPFLAGS'
5015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5021 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5022 if ${ac_cv_path_GREP+:} false; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -z "$GREP"; then
5026 ac_path_GREP_found=false
5027 # Loop through the user's path and test for each of PROGNAME-LIST
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5032 test -z "$as_dir" && as_dir=.
5033 for ac_prog in grep ggrep; do
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5036 as_fn_executable_p "$ac_path_GREP" || continue
5037 # Check for GNU ac_path_GREP and select it if it is found.
5038 # Check for GNU $ac_path_GREP
5039 case `"$ac_path_GREP" --version 2>&1` in
5041 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5044 $as_echo_n 0123456789 >"conftest.in"
5047 cat "conftest.in" "conftest.in" >"conftest.tmp"
5048 mv "conftest.tmp" "conftest.in"
5049 cp "conftest.in" "conftest.nl"
5050 $as_echo 'GREP' >> "conftest.nl"
5051 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5052 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5053 as_fn_arith $ac_count + 1 && ac_count=$as_val
5054 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5055 # Best one so far, save it but keep looking for a better one
5056 ac_cv_path_GREP="$ac_path_GREP"
5057 ac_path_GREP_max=$ac_count
5059 # 10*(2^10) chars as input seems more than enough
5060 test $ac_count -gt 10 && break
5062 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5065 $ac_path_GREP_found && break 3
5070 if test -z "$ac_cv_path_GREP"; then
5071 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5074 ac_cv_path_GREP=$GREP
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5079 $as_echo "$ac_cv_path_GREP" >&6; }
5080 GREP="$ac_cv_path_GREP"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5084 $as_echo_n "checking for egrep... " >&6; }
5085 if ${ac_cv_path_EGREP+:} false; then :
5086 $as_echo_n "(cached) " >&6
5088 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5089 then ac_cv_path_EGREP="$GREP -E"
5091 if test -z "$EGREP"; then
5092 ac_path_EGREP_found=false
5093 # Loop through the user's path and test for each of PROGNAME-LIST
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5098 test -z "$as_dir" && as_dir=.
5099 for ac_prog in egrep; do
5100 for ac_exec_ext in '' $ac_executable_extensions; do
5101 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5102 as_fn_executable_p "$ac_path_EGREP" || continue
5103 # Check for GNU ac_path_EGREP and select it if it is found.
5104 # Check for GNU $ac_path_EGREP
5105 case `"$ac_path_EGREP" --version 2>&1` in
5107 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5110 $as_echo_n 0123456789 >"conftest.in"
5113 cat "conftest.in" "conftest.in" >"conftest.tmp"
5114 mv "conftest.tmp" "conftest.in"
5115 cp "conftest.in" "conftest.nl"
5116 $as_echo 'EGREP' >> "conftest.nl"
5117 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5118 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5119 as_fn_arith $ac_count + 1 && ac_count=$as_val
5120 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5121 # Best one so far, save it but keep looking for a better one
5122 ac_cv_path_EGREP="$ac_path_EGREP"
5123 ac_path_EGREP_max=$ac_count
5125 # 10*(2^10) chars as input seems more than enough
5126 test $ac_count -gt 10 && break
5128 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5131 $ac_path_EGREP_found && break 3
5136 if test -z "$ac_cv_path_EGREP"; then
5137 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5140 ac_cv_path_EGREP=$EGREP
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5146 $as_echo "$ac_cv_path_EGREP" >&6; }
5147 EGREP="$ac_cv_path_EGREP"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5151 $as_echo_n "checking for ANSI C header files... " >&6; }
5152 if ${ac_cv_header_stdc+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5170 if ac_fn_c_try_compile "$LINENO"; then :
5171 ac_cv_header_stdc=yes
5173 ac_cv_header_stdc=no
5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5177 if test $ac_cv_header_stdc = yes; then
5178 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5185 $EGREP "memchr" >/dev/null 2>&1; then :
5188 ac_cv_header_stdc=no
5194 if test $ac_cv_header_stdc = yes; then
5195 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197 /* end confdefs.h. */
5201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5202 $EGREP "free" >/dev/null 2>&1; then :
5205 ac_cv_header_stdc=no
5211 if test $ac_cv_header_stdc = yes; then
5212 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5213 if test "$cross_compiling" = yes; then :
5216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5217 /* end confdefs.h. */
5220 #if ((' ' & 0x0FF) == 0x020)
5221 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5222 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5224 # define ISLOWER(c) \
5225 (('a' <= (c) && (c) <= 'i') \
5226 || ('j' <= (c) && (c) <= 'r') \
5227 || ('s' <= (c) && (c) <= 'z'))
5228 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5231 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5236 for (i = 0; i < 256; i++)
5237 if (XOR (islower (i), ISLOWER (i))
5238 || toupper (i) != TOUPPER (i))
5243 if ac_fn_c_try_run "$LINENO"; then :
5246 ac_cv_header_stdc=no
5248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5249 conftest.$ac_objext conftest.beam conftest.$ac_ext
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5255 $as_echo "$ac_cv_header_stdc" >&6; }
5256 if test $ac_cv_header_stdc = yes; then
5258 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5262 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5263 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5264 inttypes.h stdint.h unistd.h
5266 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5267 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5269 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5270 cat >>confdefs.h <<_ACEOF
5271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5279 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
5281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5282 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5283 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5284 cat >>confdefs.h <<_ACEOF
5285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5293 # Checks for typedefs, structures, and compiler characteristics.
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5295 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5296 if ${ac_cv_header_stdbool_h+:} false; then :
5297 $as_echo_n "(cached) " >&6
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5302 #include <stdbool.h>
5304 "error: bool is not defined"
5307 "error: false is not defined"
5310 "error: false is not 0"
5313 "error: true is not defined"
5316 "error: true is not 1"
5318 #ifndef __bool_true_false_are_defined
5319 "error: __bool_true_false_are_defined is not defined"
5322 struct s { _Bool s: 1; _Bool t; } s;
5324 char a[true == 1 ? 1 : -1];
5325 char b[false == 0 ? 1 : -1];
5326 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5327 char d[(bool) 0.5 == true ? 1 : -1];
5328 /* See body of main program for 'e'. */
5329 char f[(_Bool) 0.0 == false ? 1 : -1];
5331 char h[sizeof (_Bool)];
5333 enum { j = false, k = true, l = false * true, m = true * 256 };
5334 /* The following fails for
5335 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5337 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5338 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5339 /* Catch a bug in an HP-UX C compiler. See
5340 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5341 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5353 /* Refer to every declared value, to avoid compiler optimizations. */
5354 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5355 + !m + !n + !o + !p + !q + !pq);
5361 if ac_fn_c_try_compile "$LINENO"; then :
5362 ac_cv_header_stdbool_h=yes
5364 ac_cv_header_stdbool_h=no
5366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5369 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5370 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5371 if test "x$ac_cv_type__Bool" = xyes; then :
5373 cat >>confdefs.h <<_ACEOF
5374 #define HAVE__BOOL 1
5381 if test $ac_cv_header_stdbool_h = yes; then
5383 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5387 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
5388 if test "x$ac_cv_type_off_t" = xyes; then :
5392 cat >>confdefs.h <<_ACEOF
5393 #define off_t long int
5399 # Checks for library functions.
5400 for ac_header in stdlib.h
5402 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5403 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5404 cat >>confdefs.h <<_ACEOF
5405 #define HAVE_STDLIB_H 1
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5413 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5414 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5415 $as_echo_n "(cached) " >&6
5417 if test "$cross_compiling" = yes; then :
5418 ac_cv_func_malloc_0_nonnull=no
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5422 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5423 # include <stdlib.h>
5431 return ! malloc (0);
5436 if ac_fn_c_try_run "$LINENO"; then :
5437 ac_cv_func_malloc_0_nonnull=yes
5439 ac_cv_func_malloc_0_nonnull=no
5441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5442 conftest.$ac_objext conftest.beam conftest.$ac_ext
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5447 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5448 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5450 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5453 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5455 case " $LIBOBJS " in
5456 *" malloc.$ac_objext "* ) ;;
5457 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5462 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5467 for ac_func in gethostbyname gethostname memmove socket strchr strdup strerror
5469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5472 cat >>confdefs.h <<_ACEOF
5473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5480 ac_config_files="$ac_config_files Makefile src/Makefile src/gcm_input/Makefile src/lib/Makefile test/Makefile"
5482 cat >confcache <<\_ACEOF
5483 # This file is a shell script that caches the results of configure
5484 # tests run on this system so they can be shared between configure
5485 # scripts and configure runs, see configure's option --config-cache.
5486 # It is not useful on other systems. If it contains results you don't
5487 # want to keep, you may remove or edit it.
5489 # config.status only pays attention to the cache file if you give it
5490 # the --recheck option to rerun configure.
5492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5498 # The following way of writing the cache mishandles newlines in values,
5499 # but we know of no workaround that is simple, portable, and efficient.
5500 # So, we kill variables containing newlines.
5501 # Ultrix sh set writes to stderr and can't be redirected directly,
5502 # and sets the high bit in the cache file unless we assign to the vars.
5504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5505 eval ac_val=\$$ac_var
5509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5513 _ | IFS | as_nl) ;; #(
5514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5515 *) { eval $ac_var=; unset $ac_var;} ;;
5521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5522 *${as_nl}ac_space=\ *)
5523 # `set' does not quote correctly, so add quotes: double-quote
5524 # substitution turns \\\\ into \\, and sed turns \\ into \.
5527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5530 # `set' quotes correctly as required by POSIX, so do not add quotes.
5531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5545 if test -w "$cache_file"; then
5546 if test "x$cache_file" != "x/dev/null"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5548 $as_echo "$as_me: updating cache $cache_file" >&6;}
5549 if test ! -f "$cache_file" || test -h "$cache_file"; then
5550 cat confcache >"$cache_file"
5552 case $cache_file in #(
5554 mv -f confcache "$cache_file"$$ &&
5555 mv -f "$cache_file"$$ "$cache_file" ;; #(
5557 mv -f confcache "$cache_file" ;;
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5568 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5569 # Let make expand exec_prefix.
5570 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5572 DEFS=-DHAVE_CONFIG_H
5577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5578 # 1. Remove the extension, and $U if already installed.
5579 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5580 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5582 # will be set to the directory where LIBOBJS objects are built.
5583 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5584 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5588 LTLIBOBJS=$ac_ltlibobjs
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5592 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5593 if test -n "$am_sleep_pid"; then
5594 # Hide warnings about reused PIDs.
5595 wait $am_sleep_pid 2>/dev/null
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5598 $as_echo "done" >&6; }
5599 if test -n "$EXEEXT"; then
5601 am__EXEEXT_FALSE='#'
5607 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5608 as_fn_error $? "conditional \"AMDEP\" was never defined.
5609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5611 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5612 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5615 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5616 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5620 : "${CONFIG_STATUS=./config.status}"
5622 ac_clean_files_save=$ac_clean_files
5623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5625 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5627 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5629 # Generated by $as_me.
5630 # Run this file to recreate the current configuration.
5631 # Compiler output produced by configure, useful for debugging
5632 # configure, is in config.log if it exists.
5638 SHELL=\${CONFIG_SHELL-$SHELL}
5641 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5642 ## -------------------- ##
5643 ## M4sh Initialization. ##
5644 ## -------------------- ##
5646 # Be more Bourne compatible
5647 DUALCASE=1; export DUALCASE # for MKS sh
5648 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5651 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5652 # is contrary to our usage. Disable this feature.
5653 alias -g '${1+"$@"}'='"$@"'
5654 setopt NO_GLOB_SUBST
5656 case `(set -o) 2>/dev/null` in #(
5668 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5669 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5672 # Prefer a ksh shell builtin over an external printf program on Solaris,
5673 # but without wasting forks for bash or zsh.
5674 if test -z "$BASH_VERSION$ZSH_VERSION" \
5675 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5676 as_echo='print -r --'
5677 as_echo_n='print -rn --'
5678 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5679 as_echo='printf %s\n'
5680 as_echo_n='printf %s'
5682 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5683 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5684 as_echo_n='/usr/ucb/echo -n'
5686 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5687 as_echo_n_body='eval
5691 expr "X$arg" : "X\\(.*\\)$as_nl";
5692 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5694 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5696 export as_echo_n_body
5697 as_echo_n='sh -c $as_echo_n_body as_echo'
5700 as_echo='sh -c $as_echo_body as_echo'
5703 # The user is always right.
5704 if test "${PATH_SEPARATOR+set}" != set; then
5706 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5707 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5714 # We need space, tab and new line, in precisely that order. Quoting is
5715 # there to prevent editors from complaining about space-tab.
5716 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5717 # splitting by setting IFS to empty value.)
5720 # Find who we are. Look in the path if we contain no directory separator.
5723 *[\\/]* ) as_myself=$0 ;;
5724 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir=.
5729 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5735 # We did not find ourselves, most probably we were run as `sh COMMAND'
5736 # in which case we are not to be found in the path.
5737 if test "x$as_myself" = x; then
5740 if test ! -f "$as_myself"; then
5741 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5745 # Unset variables that we do not need and which cause bugs (e.g. in
5746 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5747 # suppresses any "Segmentation fault" message there. '((' could
5748 # trigger a bug in pdksh 5.2.14.
5749 for as_var in BASH_ENV ENV MAIL MAILPATH
5750 do eval test x\${$as_var+set} = xset \
5751 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5764 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5767 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5768 # ----------------------------------------
5769 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5770 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5771 # script with STATUS, using 1 if that was 0.
5774 as_status=$1; test $as_status -eq 0 && as_status=1
5776 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5777 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5779 $as_echo "$as_me: error: $2" >&2
5780 as_fn_exit $as_status
5784 # as_fn_set_status STATUS
5785 # -----------------------
5786 # Set $? to STATUS, without forking.
5790 } # as_fn_set_status
5794 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5804 # Portably unset VAR.
5807 { eval $1=; unset $1;}
5809 as_unset=as_fn_unset
5810 # as_fn_append VAR VALUE
5811 # ----------------------
5812 # Append the text in VALUE to the end of the definition contained in VAR. Take
5813 # advantage of any shell optimizations that allow amortized linear growth over
5814 # repeated appends, instead of the typical quadratic growth present in naive
5816 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5817 eval 'as_fn_append ()
5828 # as_fn_arith ARG...
5829 # ------------------
5830 # Perform arithmetic evaluation on the ARGs, and store the result in the
5831 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5832 # must be portable across $(()) and expr.
5833 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5834 eval 'as_fn_arith ()
5841 as_val=`expr "$@" || test $? -eq 1`
5846 if expr a : '\(a\)' >/dev/null 2>&1 &&
5847 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5853 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5854 as_basename=basename
5859 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5865 as_me=`$as_basename -- "$0" ||
5866 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5867 X"$0" : 'X\(//\)$' \| \
5868 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5870 sed '/^.*\/\([^/][^/]*\)\/*$/{
5884 # Avoid depending upon Character Ranges.
5885 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5886 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5887 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5888 as_cr_digits='0123456789'
5889 as_cr_alnum=$as_cr_Letters$as_cr_digits
5891 ECHO_C= ECHO_N= ECHO_T=
5892 case `echo -n x` in #(((((
5894 case `echo 'xy\c'` in
5895 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5897 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5904 rm -f conf$$ conf$$.exe conf$$.file
5905 if test -d conf$$.dir; then
5906 rm -f conf$$.dir/conf$$.file
5909 mkdir conf$$.dir 2>/dev/null
5911 if (echo >conf$$.file) 2>/dev/null; then
5912 if ln -s conf$$.file conf$$ 2>/dev/null; then
5914 # ... but there are two gotchas:
5915 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5916 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5917 # In both cases, we have to default to `cp -pR'.
5918 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5920 elif ln conf$$.file conf$$ 2>/dev/null; then
5928 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5929 rmdir conf$$.dir 2>/dev/null
5934 # Create "$as_dir" as a directory, including parents if necessary.
5939 -*) as_dir=./$as_dir;;
5941 test -d "$as_dir" || eval $as_mkdir_p || {
5945 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5946 *) as_qdir=$as_dir;;
5948 as_dirs="'$as_qdir' $as_dirs"
5949 as_dir=`$as_dirname -- "$as_dir" ||
5950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5951 X"$as_dir" : 'X\(//\)[^/]' \| \
5952 X"$as_dir" : 'X\(//\)$' \| \
5953 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5954 $as_echo X"$as_dir" |
5955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5972 test -d "$as_dir" && break
5974 test -z "$as_dirs" || eval "mkdir $as_dirs"
5975 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5979 if mkdir -p . 2>/dev/null; then
5980 as_mkdir_p='mkdir -p "$as_dir"'
5982 test -d ./-p && rmdir ./-p
5987 # as_fn_executable_p FILE
5988 # -----------------------
5989 # Test if FILE is an executable regular file.
5990 as_fn_executable_p ()
5992 test -f "$1" && test -x "$1"
5993 } # as_fn_executable_p
5995 as_executable_p=as_fn_executable_p
5997 # Sed expression to map a string onto a valid CPP name.
5998 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6000 # Sed expression to map a string onto a valid variable name.
6001 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6005 ## ----------------------------------- ##
6006 ## Main body of $CONFIG_STATUS script. ##
6007 ## ----------------------------------- ##
6009 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6012 # Save the log message, to keep $0 and so on meaningful, and to
6013 # report actual input values of CONFIG_FILES etc. instead of their
6014 # values after options handling.
6016 This file was extended by GnuCoMo $as_me 0.0.13, which was
6017 generated by GNU Autoconf 2.69. Invocation command line was
6019 CONFIG_FILES = $CONFIG_FILES
6020 CONFIG_HEADERS = $CONFIG_HEADERS
6021 CONFIG_LINKS = $CONFIG_LINKS
6022 CONFIG_COMMANDS = $CONFIG_COMMANDS
6025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6030 case $ac_config_files in *"
6031 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6034 case $ac_config_headers in *"
6035 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6040 # Files that config.status was made for.
6041 config_files="$ac_config_files"
6042 config_headers="$ac_config_headers"
6043 config_commands="$ac_config_commands"
6047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6049 \`$as_me' instantiates files and other configuration actions
6050 from templates according to the current configuration. Unless the files
6051 and actions are specified as TAGs, all are instantiated by default.
6053 Usage: $0 [OPTION]... [TAG]...
6055 -h, --help print this help, then exit
6056 -V, --version print version number and configuration settings, then exit
6057 --config print configuration, then exit
6058 -q, --quiet, --silent
6059 do not print progress messages
6060 -d, --debug don't remove temporary files
6061 --recheck update $as_me by reconfiguring in the same conditions
6062 --file=FILE[:TEMPLATE]
6063 instantiate the configuration file FILE
6064 --header=FILE[:TEMPLATE]
6065 instantiate the configuration header FILE
6067 Configuration files:
6070 Configuration headers:
6073 Configuration commands:
6076 Report bugs to the package provider."
6079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6080 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6082 GnuCoMo config.status 0.0.13
6083 configured by $0, generated by GNU Autoconf 2.69,
6084 with options \\"\$ac_cs_config\\"
6086 Copyright (C) 2012 Free Software Foundation, Inc.
6087 This config.status script is free software; the Free Software Foundation
6088 gives unlimited permission to copy, distribute and modify it."
6095 test -n "\$AWK" || AWK=awk
6098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6099 # The default lists apply if the user does not specify any file.
6105 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6106 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6110 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6122 # Handling of the options.
6123 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6125 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6126 $as_echo "$ac_cs_version"; exit ;;
6127 --config | --confi | --conf | --con | --co | --c )
6128 $as_echo "$ac_cs_config"; exit ;;
6129 --debug | --debu | --deb | --de | --d | -d )
6131 --file | --fil | --fi | --f )
6134 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6135 '') as_fn_error $? "missing file argument" ;;
6137 as_fn_append CONFIG_FILES " '$ac_optarg'"
6138 ac_need_defaults=false;;
6139 --header | --heade | --head | --hea )
6142 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6144 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6145 ac_need_defaults=false;;
6147 # Conflict between --help and --header
6148 as_fn_error $? "ambiguous option: \`$1'
6149 Try \`$0 --help' for more information.";;
6150 --help | --hel | -h )
6151 $as_echo "$ac_cs_usage"; exit ;;
6152 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6153 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6157 -*) as_fn_error $? "unrecognized option: \`$1'
6158 Try \`$0 --help' for more information." ;;
6160 *) as_fn_append ac_config_targets " $1"
6161 ac_need_defaults=false ;;
6167 ac_configure_extra_args=
6169 if $ac_cs_silent; then
6171 ac_configure_extra_args="$ac_configure_extra_args --silent"
6175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6176 if \$ac_cs_recheck; then
6177 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6179 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6180 CONFIG_SHELL='$SHELL'
6186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6190 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6191 ## Running $as_me. ##
6197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6201 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6207 # Handling of arguments.
6208 for ac_config_target in $ac_config_targets
6210 case $ac_config_target in
6211 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6212 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6213 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6214 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6215 "src/gcm_input/Makefile") CONFIG_FILES="$CONFIG_FILES src/gcm_input/Makefile" ;;
6216 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
6217 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
6219 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6224 # If the user did not use the arguments to specify the items to instantiate,
6225 # then the envvar interface is used. Set only those that are not.
6226 # We use the long form for the default assignment because of an extremely
6227 # bizarre bug on SunOS 4.1.3.
6228 if $ac_need_defaults; then
6229 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6230 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6231 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6234 # Have a temporary directory for convenience. Make it in the build tree
6235 # simply because there is no reason against having it here, and in addition,
6236 # creating and moving files from /tmp can sometimes cause problems.
6237 # Hook for its removal unless debugging.
6238 # Note that there is a small window in which the directory will not be cleaned:
6239 # after its creation but before its name has been assigned to `$tmp'.
6243 trap 'exit_status=$?
6245 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6247 trap 'as_fn_exit 1' 1 2 13 15
6249 # Create a (secure) tmp directory for tmp files.
6252 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6256 tmp=./conf$$-$RANDOM
6257 (umask 077 && mkdir "$tmp")
6258 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6261 # Set up the scripts for CONFIG_FILES section.
6262 # No need to generate them if there are no CONFIG_FILES.
6263 # This happens for instance with `./config.status config.h'.
6264 if test -n "$CONFIG_FILES"; then
6267 ac_cr=`echo X | tr X '\015'`
6268 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6269 # But we know of no other shell where ac_cr would be empty at this
6270 # point, so we can use a bashism as a fallback.
6271 if test "x$ac_cr" = x; then
6272 eval ac_cr=\$\'\\r\'
6274 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6275 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6281 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6286 echo "cat >conf$$subs.awk <<_ACEOF" &&
6287 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6290 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6291 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6293 for ac_last_try in false false false false false :; do
6294 . ./conf$$subs.sh ||
6295 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6297 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6298 if test $ac_delim_n = $ac_delim_num; then
6300 elif $ac_last_try; then
6301 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6303 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6309 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6313 s/^/S["/; s/!.*/"]=/
6323 s/\(.\{148\}\)..*/\1/
6325 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6330 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6337 s/\(.\{148\}\)..*/\1/
6339 s/["\\]/\\&/g; s/^/"/; s/$/"/
6343 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6348 ' <conf$$subs.awk | sed '
6353 ' >>$CONFIG_STATUS || ac_write_fail=1
6354 rm -f conf$$subs.awk
6355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6357 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6358 for (key in S) S_is_set[key] = 1
6364 nfields = split(line, field, "@")
6366 len = length(field[1])
6367 for (i = 2; i < nfields; i++) {
6369 keylen = length(key)
6370 if (S_is_set[key]) {
6372 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6373 len += length(value) + length(field[++i])
6384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6385 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6386 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6389 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6390 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6393 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6394 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6395 # trailing colons and then remove the whole line if VPATH becomes empty
6396 # (actually we leave an empty line to preserve line numbers).
6397 if test "x$srcdir" = x.; then
6398 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6417 fi # test -n "$CONFIG_FILES"
6419 # Set up the scripts for CONFIG_HEADERS section.
6420 # No need to generate them if there are no CONFIG_HEADERS.
6421 # This happens for instance with `./config.status Makefile'.
6422 if test -n "$CONFIG_HEADERS"; then
6423 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6427 # Transform confdefs.h into an awk script `defines.awk', embedded as
6428 # here-document in config.status, that substitutes the proper values into
6429 # config.h.in to produce config.h.
6431 # Create a delimiter string that does not exist in confdefs.h, to ease
6432 # handling of long lines.
6434 for ac_last_try in false false :; do
6435 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6436 if test -z "$ac_tt"; then
6438 elif $ac_last_try; then
6439 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6441 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6445 # For the awk script, D is an array of macro values keyed by name,
6446 # likewise P contains macro parameters if any. Preserve backslash
6447 # newline sequences.
6449 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6451 s/.\{148\}/&'"$ac_delim"'/g
6454 s/^[ ]*#[ ]*define[ ][ ]*/ /
6461 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6463 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6467 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6468 D["\1"]=" \3\\\\\\n"\\/p
6470 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6475 s/.\{148\}/&'"$ac_delim"'/g
6480 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6483 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6485 ' <confdefs.h | sed '
6486 s/'"$ac_delim"'/"\\\
6487 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6490 for (key in D) D_is_set[key] = 1
6493 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6495 split(line, arg, " ")
6496 if (arg[1] == "#") {
6500 defundef = substr(arg[1], 2)
6503 split(mac1, mac2, "(") #)
6505 prefix = substr(line, 1, index(line, defundef) - 1)
6506 if (D_is_set[macro]) {
6507 # Preserve the white space surrounding the "#".
6508 print prefix "define", macro P[macro] D[macro]
6511 # Replace #undef with comments. This is necessary, for example,
6512 # in the case of _POSIX_SOURCE, which is predefined and required
6513 # on some systems where configure will not decide to define it.
6514 if (defundef == "undef") {
6515 print "/*", prefix defundef, macro, "*/"
6523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6524 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6525 fi # test -n "$CONFIG_HEADERS"
6528 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6533 :[FHLC]) ac_mode=$ac_tag; continue;;
6535 case $ac_mode$ac_tag in
6537 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6538 :[FH]-) ac_tag=-:-;;
6539 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6556 -) ac_f="$ac_tmp/stdin";;
6557 *) # Look for the file first in the build tree, then in the source tree
6558 # (if the path is not absolute). The absolute path cannot be DOS-style,
6559 # because $ac_f cannot contain `:'.
6563 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6565 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6567 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6568 as_fn_append ac_file_inputs " '$ac_f'"
6571 # Let's still pretend it is `configure' which instantiates (i.e., don't
6572 # use $as_me), people would be surprised to read:
6573 # /* config.h. Generated by config.status. */
6574 configure_input='Generated from '`
6575 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6577 if test x"$ac_file" != x-; then
6578 configure_input="$ac_file. $configure_input"
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6580 $as_echo "$as_me: creating $ac_file" >&6;}
6582 # Neutralize special characters interpreted by sed in replacement strings.
6583 case $configure_input in #(
6584 *\&* | *\|* | *\\* )
6585 ac_sed_conf_input=`$as_echo "$configure_input" |
6586 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6587 *) ac_sed_conf_input=$configure_input;;
6591 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6592 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6597 ac_dir=`$as_dirname -- "$ac_file" ||
6598 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6599 X"$ac_file" : 'X\(//\)[^/]' \| \
6600 X"$ac_file" : 'X\(//\)$' \| \
6601 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6602 $as_echo X"$ac_file" |
6603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6620 as_dir="$ac_dir"; as_fn_mkdir_p
6624 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6626 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6627 # A ".." for each directory in $ac_dir_suffix.
6628 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6629 case $ac_top_builddir_sub in
6630 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6631 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6634 ac_abs_top_builddir=$ac_pwd
6635 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6636 # for backward compatibility:
6637 ac_top_builddir=$ac_top_build_prefix
6640 .) # We are building in place.
6642 ac_top_srcdir=$ac_top_builddir_sub
6643 ac_abs_top_srcdir=$ac_pwd ;;
6644 [\\/]* | ?:[\\/]* ) # Absolute name.
6645 ac_srcdir=$srcdir$ac_dir_suffix;
6646 ac_top_srcdir=$srcdir
6647 ac_abs_top_srcdir=$srcdir ;;
6649 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6650 ac_top_srcdir=$ac_top_build_prefix$srcdir
6651 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6653 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6663 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6664 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6668 [\\/$]* | ?:[\\/]* ) ;;
6669 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6674 # If the template does not know about datarootdir, expand it.
6675 # FIXME: This hack should be removed a few years after 2.60.
6676 ac_datarootdir_hack=; ac_datarootdir_seen=
6687 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6688 *datarootdir*) ac_datarootdir_seen=yes;;
6689 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6691 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6694 ac_datarootdir_hack='
6695 s&@datadir@&$datadir&g
6696 s&@docdir@&$docdir&g
6697 s&@infodir@&$infodir&g
6698 s&@localedir@&$localedir&g
6699 s&@mandir@&$mandir&g
6700 s&\\\${datarootdir}&$datarootdir&g' ;;
6704 # Neutralize VPATH when `$srcdir' = `.'.
6705 # Shell code in configure.ac might set extrasub.
6706 # FIXME: do we really want to maintain this feature?
6707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6708 ac_sed_extra="$ac_vpsub
6711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6714 s|@configure_input@|$ac_sed_conf_input|;t t
6715 s&@top_builddir@&$ac_top_builddir_sub&;t t
6716 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6717 s&@srcdir@&$ac_srcdir&;t t
6718 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6719 s&@top_srcdir@&$ac_top_srcdir&;t t
6720 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6721 s&@builddir@&$ac_builddir&;t t
6722 s&@abs_builddir@&$ac_abs_builddir&;t t
6723 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6724 s&@INSTALL@&$ac_INSTALL&;t t
6725 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6726 $ac_datarootdir_hack
6728 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6729 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6731 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6732 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6733 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6734 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6736 which seems to be undefined. Please make sure it is defined" >&5
6737 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6738 which seems to be undefined. Please make sure it is defined" >&2;}
6740 rm -f "$ac_tmp/stdin"
6742 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6743 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6745 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6751 if test x"$ac_file" != x-; then
6753 $as_echo "/* $configure_input */" \
6754 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6755 } >"$ac_tmp/config.h" \
6756 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6757 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6759 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6762 mv "$ac_tmp/config.h" "$ac_file" \
6763 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6766 $as_echo "/* $configure_input */" \
6767 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6768 || as_fn_error $? "could not create -" "$LINENO" 5
6770 # Compute "$ac_file"'s index in $config_headers.
6773 for _am_header in $config_headers :; do
6775 $_am_arg | $_am_arg:* )
6778 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6781 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6782 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6783 X"$_am_arg" : 'X\(//\)[^/]' \| \
6784 X"$_am_arg" : 'X\(//\)$' \| \
6785 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6786 $as_echo X"$_am_arg" |
6787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6803 s/.*/./; q'`/stamp-h$_am_stamp_count
6806 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6807 $as_echo "$as_me: executing $ac_file commands" >&6;}
6812 case $ac_file$ac_mode in
6813 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6814 # Older Autoconf quotes --file arguments for eval, but not when files
6815 # are listed without --file. Let's play safe and only enable the eval
6816 # if we detect the quoting.
6817 case $CONFIG_FILES in
6818 *\'*) eval set x "$CONFIG_FILES" ;;
6819 *) set x $CONFIG_FILES ;;
6824 # Strip MF so we end up with the name of the file.
6825 mf=`echo "$mf" | sed -e 's/:.*$//'`
6826 # Check whether this is an Automake generated Makefile or not.
6827 # We used to match only the files named 'Makefile.in', but
6828 # some people rename them; so instead we look at the file content.
6829 # Grep'ing the first line is not enough: some people post-process
6830 # each Makefile.in and add a new line on top of each file to say so.
6831 # Grep'ing the whole file is not good either: AIX grep has a line
6832 # limit of 2048, but all sed's we know have understand at least 4000.
6833 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6834 dirpart=`$as_dirname -- "$mf" ||
6835 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6836 X"$mf" : 'X\(//\)[^/]' \| \
6837 X"$mf" : 'X\(//\)$' \| \
6838 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6860 # Extract the definition of DEPDIR, am__include, and am__quote
6861 # from the Makefile without running 'make'.
6862 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6863 test -z "$DEPDIR" && continue
6864 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6865 test -z "$am__include" && continue
6866 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6867 # Find all dependency output files, they are included files with
6868 # $(DEPDIR) in their names. We invoke sed twice because it is the
6869 # simplest approach to changing $(DEPDIR) to its actual value in the
6871 for file in `sed -n "
6872 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6873 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6874 # Make sure the directory exists.
6875 test -f "$dirpart/$file" && continue
6876 fdir=`$as_dirname -- "$file" ||
6877 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6878 X"$file" : 'X\(//\)[^/]' \| \
6879 X"$file" : 'X\(//\)$' \| \
6880 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6899 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6900 # echo "creating $dirpart/$file"
6901 echo '# dummy' > "$dirpart/$file"
6913 ac_clean_files=$ac_clean_files_save
6915 test $ac_write_fail = 0 ||
6916 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6919 # configure is writing to config.log, and then calls config.status.
6920 # config.status does its own redirection, appending to config.log.
6921 # Unfortunately, on DOS this fails, as config.log is still kept open
6922 # by configure, so config.status won't be able to write to it; its
6923 # output is simply discarded. So we exec the FD to /dev/null,
6924 # effectively closing config.log, so it can be properly (re)opened and
6925 # appended to by config.status. When coming back to configure, we
6926 # need to make the FD available again.
6927 if test "$no_create" != yes; then
6929 ac_config_status_args=
6930 test "$silent" = yes &&
6931 ac_config_status_args="$ac_config_status_args --quiet"
6933 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6935 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6936 # would make configure fail if this is the last instruction.
6937 $ac_cs_success || as_fn_exit 1
6939 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6941 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}