2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ppastats 0.0.6.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='ppastats'
562 PACKAGE_TARNAME='ppastats'
563 PACKAGE_VERSION='0.0.6'
564 PACKAGE_STRING='ppastats 0.0.6'
565 PACKAGE_BUGREPORT='jeanfi@gmail.com'
566 PACKAGE_URL='http://wpitchoune.net/ppastats'
568 ac_unique_file="src/main.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='am__EXEEXT_FALSE
646 INSTALL_STRIP_PROGRAM
688 program_transform_name
701 enable_option_checking
702 enable_dependency_tracking
705 ac_precious_vars='build_alias
724 # Initialize some variables set by options.
726 ac_init_version=false
727 ac_unrecognized_opts=
729 # The variables have the same names as the options, with
730 # dashes changed to underlines.
738 program_transform_name=s,x,x,
746 # Installation directory options.
747 # These are left unexpanded so users can "make install exec_prefix=/foo"
748 # and all the variables that are supposed to be based on exec_prefix
749 # by default will actually change.
750 # Use braces instead of parens because sh, perl, etc. also accept them.
751 # (The list follows the same order as the GNU Coding Standards.)
752 bindir='${exec_prefix}/bin'
753 sbindir='${exec_prefix}/sbin'
754 libexecdir='${exec_prefix}/libexec'
755 datarootdir='${prefix}/share'
756 datadir='${datarootdir}'
757 sysconfdir='${prefix}/etc'
758 sharedstatedir='${prefix}/com'
759 localstatedir='${prefix}/var'
760 includedir='${prefix}/include'
761 oldincludedir='/usr/include'
762 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
763 infodir='${datarootdir}/info'
768 libdir='${exec_prefix}/lib'
769 localedir='${datarootdir}/locale'
770 mandir='${datarootdir}/man'
776 # If the previous option needs an argument, assign it.
777 if test -n "$ac_prev"; then
778 eval $ac_prev=\$ac_option
784 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
789 # Accept the important Cygnus configure options, so we can diagnose typos.
791 case $ac_dashdash$ac_option in
795 -bindir | --bindir | --bindi | --bind | --bin | --bi)
797 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
800 -build | --build | --buil | --bui | --bu)
801 ac_prev=build_alias ;;
802 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
803 build_alias=$ac_optarg ;;
805 -cache-file | --cache-file | --cache-fil | --cache-fi \
806 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
807 ac_prev=cache_file ;;
808 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
809 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
810 cache_file=$ac_optarg ;;
813 cache_file=config.cache ;;
815 -datadir | --datadir | --datadi | --datad)
817 -datadir=* | --datadir=* | --datadi=* | --datad=*)
818 datadir=$ac_optarg ;;
820 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
821 | --dataroo | --dataro | --datar)
822 ac_prev=datarootdir ;;
823 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
824 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
825 datarootdir=$ac_optarg ;;
827 -disable-* | --disable-*)
828 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
831 as_fn_error $? "invalid feature name: $ac_useropt"
832 ac_useropt_orig=$ac_useropt
833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
834 case $ac_user_opts in
838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
839 ac_unrecognized_sep=', ';;
841 eval enable_$ac_useropt=no ;;
843 -docdir | --docdir | --docdi | --doc | --do)
845 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
848 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
853 -enable-* | --enable-*)
854 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
857 as_fn_error $? "invalid feature name: $ac_useropt"
858 ac_useropt_orig=$ac_useropt
859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
860 case $ac_user_opts in
864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
865 ac_unrecognized_sep=', ';;
867 eval enable_$ac_useropt=\$ac_optarg ;;
869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
870 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
871 | --exec | --exe | --ex)
872 ac_prev=exec_prefix ;;
873 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
874 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
875 | --exec=* | --exe=* | --ex=*)
876 exec_prefix=$ac_optarg ;;
878 -gas | --gas | --ga | --g)
879 # Obsolete; use --with-gas.
882 -help | --help | --hel | --he | -h)
884 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
885 ac_init_help=recursive ;;
886 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
887 ac_init_help=short ;;
889 -host | --host | --hos | --ho)
890 ac_prev=host_alias ;;
891 -host=* | --host=* | --hos=* | --ho=*)
892 host_alias=$ac_optarg ;;
894 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898 htmldir=$ac_optarg ;;
900 -includedir | --includedir | --includedi | --included | --include \
901 | --includ | --inclu | --incl | --inc)
902 ac_prev=includedir ;;
903 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
904 | --includ=* | --inclu=* | --incl=* | --inc=*)
905 includedir=$ac_optarg ;;
907 -infodir | --infodir | --infodi | --infod | --info | --inf)
909 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
910 infodir=$ac_optarg ;;
912 -libdir | --libdir | --libdi | --libd)
914 -libdir=* | --libdir=* | --libdi=* | --libd=*)
917 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
918 | --libexe | --libex | --libe)
919 ac_prev=libexecdir ;;
920 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
921 | --libexe=* | --libex=* | --libe=*)
922 libexecdir=$ac_optarg ;;
924 -localedir | --localedir | --localedi | --localed | --locale)
926 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
927 localedir=$ac_optarg ;;
929 -localstatedir | --localstatedir | --localstatedi | --localstated \
930 | --localstate | --localstat | --localsta | --localst | --locals)
931 ac_prev=localstatedir ;;
932 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
933 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
934 localstatedir=$ac_optarg ;;
936 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
942 # Obsolete; use --without-fp.
945 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
946 | --no-cr | --no-c | -n)
949 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
950 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
953 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
954 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
955 | --oldin | --oldi | --old | --ol | --o)
956 ac_prev=oldincludedir ;;
957 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
958 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
959 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
960 oldincludedir=$ac_optarg ;;
962 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
967 -program-prefix | --program-prefix | --program-prefi | --program-pref \
968 | --program-pre | --program-pr | --program-p)
969 ac_prev=program_prefix ;;
970 -program-prefix=* | --program-prefix=* | --program-prefi=* \
971 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
972 program_prefix=$ac_optarg ;;
974 -program-suffix | --program-suffix | --program-suffi | --program-suff \
975 | --program-suf | --program-su | --program-s)
976 ac_prev=program_suffix ;;
977 -program-suffix=* | --program-suffix=* | --program-suffi=* \
978 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
979 program_suffix=$ac_optarg ;;
981 -program-transform-name | --program-transform-name \
982 | --program-transform-nam | --program-transform-na \
983 | --program-transform-n | --program-transform- \
984 | --program-transform | --program-transfor \
985 | --program-transfo | --program-transf \
986 | --program-trans | --program-tran \
987 | --progr-tra | --program-tr | --program-t)
988 ac_prev=program_transform_name ;;
989 -program-transform-name=* | --program-transform-name=* \
990 | --program-transform-nam=* | --program-transform-na=* \
991 | --program-transform-n=* | --program-transform-=* \
992 | --program-transform=* | --program-transfor=* \
993 | --program-transfo=* | --program-transf=* \
994 | --program-trans=* | --program-tran=* \
995 | --progr-tra=* | --program-tr=* | --program-t=*)
996 program_transform_name=$ac_optarg ;;
998 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1001 pdfdir=$ac_optarg ;;
1003 -psdir | --psdir | --psdi | --psd | --ps)
1005 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1009 | -silent | --silent | --silen | --sile | --sil)
1012 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1014 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1016 sbindir=$ac_optarg ;;
1018 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1019 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1020 | --sharedst | --shareds | --shared | --share | --shar \
1022 ac_prev=sharedstatedir ;;
1023 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1024 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1025 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1027 sharedstatedir=$ac_optarg ;;
1029 -site | --site | --sit)
1031 -site=* | --site=* | --sit=*)
1034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1037 srcdir=$ac_optarg ;;
1039 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1040 | --syscon | --sysco | --sysc | --sys | --sy)
1041 ac_prev=sysconfdir ;;
1042 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1043 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1044 sysconfdir=$ac_optarg ;;
1046 -target | --target | --targe | --targ | --tar | --ta | --t)
1047 ac_prev=target_alias ;;
1048 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1049 target_alias=$ac_optarg ;;
1051 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1054 -version | --version | --versio | --versi | --vers | -V)
1055 ac_init_version=: ;;
1058 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 as_fn_error $? "invalid package name: $ac_useropt"
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1071 eval with_$ac_useropt=\$ac_optarg ;;
1073 -without-* | --without-*)
1074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077 as_fn_error $? "invalid package name: $ac_useropt"
1078 ac_useropt_orig=$ac_useropt
1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080 case $ac_user_opts in
1084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1085 ac_unrecognized_sep=', ';;
1087 eval with_$ac_useropt=no ;;
1090 # Obsolete; use --with-x.
1093 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1094 | --x-incl | --x-inc | --x-in | --x-i)
1095 ac_prev=x_includes ;;
1096 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1097 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1098 x_includes=$ac_optarg ;;
1100 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1101 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1102 ac_prev=x_libraries ;;
1103 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1104 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1105 x_libraries=$ac_optarg ;;
1107 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1108 Try \`$0 --help' for more information"
1112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1113 # Reject names that are not valid shell variable names.
1114 case $ac_envvar in #(
1115 '' | [0-9]* | *[!_$as_cr_alnum]* )
1116 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1118 eval $ac_envvar=\$ac_optarg
1119 export $ac_envvar ;;
1122 # FIXME: should be removed in autoconf 3.0.
1123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1126 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1132 if test -n "$ac_prev"; then
1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1134 as_fn_error $? "missing argument to $ac_option"
1137 if test -n "$ac_unrecognized_opts"; then
1138 case $enable_option_checking in
1140 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1145 # Check all directory arguments for consistency.
1146 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1147 datadir sysconfdir sharedstatedir localstatedir includedir \
1148 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1149 libdir localedir mandir
1151 eval ac_val=\$$ac_var
1152 # Remove trailing slashes.
1155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156 eval $ac_var=\$ac_val;;
1158 # Be sure to have absolute directory names.
1160 [\\/$]* | ?:[\\/]* ) continue;;
1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1166 # There might be people who depend on the old broken behavior: `$host'
1167 # used to hold the argument of --host etc.
1168 # FIXME: To remove some day.
1171 target=$target_alias
1173 # FIXME: To remove some day.
1174 if test "x$host_alias" != x; then
1175 if test "x$build_alias" = x; then
1176 cross_compiling=maybe
1177 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1178 If a cross compiler is detected then cross compile mode will be used" >&2
1179 elif test "x$build_alias" != "x$host_alias"; then
1185 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1187 test "$silent" = yes && exec 6>/dev/null
1190 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1191 ac_ls_di=`ls -di .` &&
1192 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1193 as_fn_error $? "working directory cannot be determined"
1194 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1195 as_fn_error $? "pwd does not report name of working directory"
1198 # Find the source files, if location was not specified.
1199 if test -z "$srcdir"; then
1200 ac_srcdir_defaulted=yes
1201 # Try the directory containing this script, then the parent directory.
1202 ac_confdir=`$as_dirname -- "$as_myself" ||
1203 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1204 X"$as_myself" : 'X\(//\)[^/]' \| \
1205 X"$as_myself" : 'X\(//\)$' \| \
1206 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1207 $as_echo X"$as_myself" |
1208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1226 if test ! -r "$srcdir/$ac_unique_file"; then
1230 ac_srcdir_defaulted=no
1232 if test ! -r "$srcdir/$ac_unique_file"; then
1233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1234 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1238 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1240 # When building in place, set srcdir=.
1241 if test "$ac_abs_confdir" = "$ac_pwd"; then
1244 # Remove unnecessary trailing slashes from srcdir.
1245 # Double slashes in file names in object file debugging info
1246 # mess up M-x gdb in Emacs.
1248 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1250 for ac_var in $ac_precious_vars; do
1251 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1252 eval ac_env_${ac_var}_value=\$${ac_var}
1253 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1254 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1258 # Report the --help message.
1260 if test "$ac_init_help" = "long"; then
1261 # Omit some internal or obsolete options to make the list less imposing.
1262 # This message is too long to be a string in the A/UX 3.1 sh.
1264 \`configure' configures ppastats 0.0.6 to adapt to many kinds of systems.
1266 Usage: $0 [OPTION]... [VAR=VALUE]...
1268 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1269 VAR=VALUE. See below for descriptions of some of the useful variables.
1271 Defaults for the options are specified in brackets.
1274 -h, --help display this help and exit
1275 --help=short display options specific to this package
1276 --help=recursive display the short help of all the included packages
1277 -V, --version display version information and exit
1278 -q, --quiet, --silent do not print \`checking ...' messages
1279 --cache-file=FILE cache test results in FILE [disabled]
1280 -C, --config-cache alias for \`--cache-file=config.cache'
1281 -n, --no-create do not create output files
1282 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1284 Installation directories:
1285 --prefix=PREFIX install architecture-independent files in PREFIX
1286 [$ac_default_prefix]
1287 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1290 By default, \`make install' will install all the files in
1291 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1292 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1293 for instance \`--prefix=\$HOME'.
1295 For better control, use the options below.
1297 Fine tuning of the installation directories:
1298 --bindir=DIR user executables [EPREFIX/bin]
1299 --sbindir=DIR system admin executables [EPREFIX/sbin]
1300 --libexecdir=DIR program executables [EPREFIX/libexec]
1301 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1302 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1303 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1304 --libdir=DIR object code libraries [EPREFIX/lib]
1305 --includedir=DIR C header files [PREFIX/include]
1306 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1307 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1308 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1309 --infodir=DIR info documentation [DATAROOTDIR/info]
1310 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1311 --mandir=DIR man documentation [DATAROOTDIR/man]
1312 --docdir=DIR documentation root [DATAROOTDIR/doc/ppastats]
1313 --htmldir=DIR html documentation [DOCDIR]
1314 --dvidir=DIR dvi documentation [DOCDIR]
1315 --pdfdir=DIR pdf documentation [DOCDIR]
1316 --psdir=DIR ps documentation [DOCDIR]
1322 --program-prefix=PREFIX prepend PREFIX to installed program names
1323 --program-suffix=SUFFIX append SUFFIX to installed program names
1324 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1327 --x-includes=DIR X include files are in DIR
1328 --x-libraries=DIR X library files are in DIR
1332 if test -n "$ac_init_help"; then
1333 case $ac_init_help in
1334 short | recursive ) echo "Configuration of ppastats 0.0.6:";;
1339 --disable-option-checking ignore unrecognized --enable/--with options
1340 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1341 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1342 --disable-dependency-tracking speeds up one-time build
1343 --enable-dependency-tracking do not reject slow dependency extractors
1346 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1347 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1348 --with-x use the X Window System
1350 Some influential environment variables:
1351 CC C compiler command
1352 CFLAGS C compiler flags
1353 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1354 nonstandard directory <lib dir>
1355 LIBS libraries to pass to the linker, e.g. -l<library>
1356 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1357 you have headers in a nonstandard directory <include dir>
1358 XMKMF Path to xmkmf, Makefile generator for X Window System
1360 PKG_CONFIG path to pkg-config utility
1362 directories to add to pkg-config's search path
1364 path overriding pkg-config's built-in search path
1365 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1366 CURL_LIBS linker flags for CURL, overriding pkg-config
1367 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1368 JSON_LIBS linker flags for JSON, overriding pkg-config
1370 Use these variables to override the choices made by `configure' or to help
1371 it to find libraries and programs with nonstandard names/locations.
1373 Report bugs to <jeanfi@gmail.com>.
1374 ppastats home page: <http://wpitchoune.net/ppastats>.
1379 if test "$ac_init_help" = "recursive"; then
1380 # If there are subdirs, report their specific --help.
1381 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1382 test -d "$ac_dir" ||
1383 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1388 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1390 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1391 # A ".." for each directory in $ac_dir_suffix.
1392 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1393 case $ac_top_builddir_sub in
1394 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1395 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1398 ac_abs_top_builddir=$ac_pwd
1399 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1400 # for backward compatibility:
1401 ac_top_builddir=$ac_top_build_prefix
1404 .) # We are building in place.
1406 ac_top_srcdir=$ac_top_builddir_sub
1407 ac_abs_top_srcdir=$ac_pwd ;;
1408 [\\/]* | ?:[\\/]* ) # Absolute name.
1409 ac_srcdir=$srcdir$ac_dir_suffix;
1410 ac_top_srcdir=$srcdir
1411 ac_abs_top_srcdir=$srcdir ;;
1413 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1414 ac_top_srcdir=$ac_top_build_prefix$srcdir
1415 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1417 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1419 cd "$ac_dir" || { ac_status=$?; continue; }
1420 # Check for guested configure.
1421 if test -f "$ac_srcdir/configure.gnu"; then
1423 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1424 elif test -f "$ac_srcdir/configure"; then
1426 $SHELL "$ac_srcdir/configure" --help=recursive
1428 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1430 cd "$ac_pwd" || { ac_status=$?; break; }
1434 test -n "$ac_init_help" && exit $ac_status
1435 if $ac_init_version; then
1437 ppastats configure 0.0.6
1438 generated by GNU Autoconf 2.68
1440 Copyright (C) 2010 Free Software Foundation, Inc.
1441 This configure script is free software; the Free Software Foundation
1442 gives unlimited permission to copy, distribute and modify it.
1447 ## ------------------------ ##
1448 ## Autoconf initialization. ##
1449 ## ------------------------ ##
1451 # ac_fn_c_try_compile LINENO
1452 # --------------------------
1453 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1454 ac_fn_c_try_compile ()
1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1457 rm -f conftest.$ac_objext
1458 if { { ac_try="$ac_compile"
1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1461 *) ac_try_echo=$ac_try;;
1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1464 $as_echo "$ac_try_echo"; } >&5
1465 (eval "$ac_compile") 2>conftest.err
1467 if test -s conftest.err; then
1468 grep -v '^ *+' conftest.err >conftest.er1
1469 cat conftest.er1 >&5
1470 mv -f conftest.er1 conftest.err
1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473 test $ac_status = 0; } && {
1474 test -z "$ac_c_werror_flag" ||
1475 test ! -s conftest.err
1476 } && test -s conftest.$ac_objext; then :
1479 $as_echo "$as_me: failed program was:" >&5
1480 sed 's/^/| /' conftest.$ac_ext >&5
1484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1485 as_fn_set_status $ac_retval
1487 } # ac_fn_c_try_compile
1489 # ac_fn_c_try_cpp LINENO
1490 # ----------------------
1491 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 if { { ac_try="$ac_cpp conftest.$ac_ext"
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } > conftest.i && {
1511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1526 # ac_fn_c_try_link LINENO
1527 # -----------------------
1528 # Try to link conftest.$ac_ext, and return whether this succeeded.
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext conftest$ac_exeext
1533 if { { ac_try="$ac_link"
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_link") 2>conftest.err
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest$ac_exeext && {
1552 test "$cross_compiling" = yes ||
1553 $as_test_x conftest$ac_exeext
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1563 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1564 # interfere with the next link command; also delete a directory that is
1565 # left behind by Apple's compiler. We do this before executing the actions.
1566 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1570 } # ac_fn_c_try_link
1572 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1573 # -------------------------------------------------------
1574 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1575 # the include files in INCLUDES and setting the cache variable VAR
1577 ac_fn_c_check_header_mongrel ()
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 if eval \${$3+:} false; then :
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1582 $as_echo_n "checking for $2... " >&6; }
1583 if eval \${$3+:} false; then :
1584 $as_echo_n "(cached) " >&6
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1590 # Is the header compilable?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1592 $as_echo_n "checking $2 usability... " >&6; }
1593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h. */
1598 if ac_fn_c_try_compile "$LINENO"; then :
1599 ac_header_compiler=yes
1601 ac_header_compiler=no
1603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1605 $as_echo "$ac_header_compiler" >&6; }
1607 # Is the header present?
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1609 $as_echo_n "checking $2 presence... " >&6; }
1610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1614 if ac_fn_c_try_cpp "$LINENO"; then :
1615 ac_header_preproc=yes
1617 ac_header_preproc=no
1619 rm -f conftest.err conftest.i conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1621 $as_echo "$ac_header_preproc" >&6; }
1623 # So? What about this header?
1624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1627 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1629 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1633 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1635 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1637 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1639 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1642 ( $as_echo "## ------------------------------- ##
1643 ## Report this to jeanfi@gmail.com ##
1644 ## ------------------------------- ##"
1645 ) | sed "s/^/$as_me: WARNING: /" >&2
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if eval \${$3+:} false; then :
1651 $as_echo_n "(cached) " >&6
1653 eval "$3=\$ac_header_compiler"
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1657 $as_echo "$ac_res" >&6; }
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 } # ac_fn_c_check_header_mongrel
1663 # ac_fn_c_try_run LINENO
1664 # ----------------------
1665 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1666 # that executables *can* be run.
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if { { ac_try="$ac_link"
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_link") 2>&5
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1681 { { case "(($ac_try" in
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_try") 2>&5
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; }; }; then :
1693 $as_echo "$as_me: program exited with status $ac_status" >&5
1694 $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.$ac_ext >&5
1697 ac_retval=$ac_status
1699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status $ac_retval
1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1706 # -------------------------------------------------------
1707 # Tests whether HEADER exists and can be compiled using the include files in
1708 # INCLUDES, setting the cache variable VAR accordingly.
1709 ac_fn_c_check_header_compile ()
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if eval \${$3+:} false; then :
1715 $as_echo_n "(cached) " >&6
1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718 /* end confdefs.h. */
1722 if ac_fn_c_try_compile "$LINENO"; then :
1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1731 $as_echo "$ac_res" >&6; }
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 } # ac_fn_c_check_header_compile
1735 cat >config.log <<_ACEOF
1736 This file contains any messages produced by compilers while
1737 running configure, to aid debugging if configure makes a mistake.
1739 It was created by ppastats $as_me 0.0.6, which was
1740 generated by GNU Autoconf 2.68. Invocation command line was
1752 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1753 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1754 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1755 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1756 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1758 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1759 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1761 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1762 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1763 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1764 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1765 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1766 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1767 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 test -z "$as_dir" && as_dir=.
1776 $as_echo "PATH: $as_dir"
1792 # Keep a trace of the command line.
1793 # Strip out --no-create and --no-recursion so they do not pile up.
1794 # Strip out --silent because we don't want to record it for future runs.
1795 # Also quote any args containing shell meta-characters.
1796 # Make two passes to allow for proper duplicate-argument suppression.
1800 ac_must_keep_next=false
1806 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1807 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1808 | -silent | --silent | --silen | --sile | --sil)
1811 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1816 as_fn_append ac_configure_args1 " '$ac_arg'"
1817 if test $ac_must_keep_next = true; then
1818 ac_must_keep_next=false # Got value, back to normal.
1821 *=* | --config-cache | -C | -disable-* | --disable-* \
1822 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1823 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1824 | -with-* | --with-* | -without-* | --without-* | --x)
1825 case "$ac_configure_args0 " in
1826 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1829 -* ) ac_must_keep_next=true ;;
1832 as_fn_append ac_configure_args " '$ac_arg'"
1837 { ac_configure_args0=; unset ac_configure_args0;}
1838 { ac_configure_args1=; unset ac_configure_args1;}
1840 # When interrupted or exit'd, cleanup temporary files, and complete
1841 # config.log. We remove comments because anyway the quotes in there
1842 # would cause problems or look ugly.
1843 # WARNING: Use '\'' to represent an apostrophe within the trap.
1844 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1845 trap 'exit_status=$?
1846 # Save into config.log some information that might help in debugging.
1850 $as_echo "## ---------------- ##
1851 ## Cache variables. ##
1852 ## ---------------- ##"
1854 # The following way of writing the cache mishandles newlines in values,
1856 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1857 eval ac_val=\$$ac_var
1861 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1862 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1865 _ | IFS | as_nl) ;; #(
1866 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1867 *) { eval $ac_var=; unset $ac_var;} ;;
1872 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1873 *${as_nl}ac_space=\ *)
1875 "s/'\''/'\''\\\\'\'''\''/g;
1876 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1886 $as_echo "## ----------------- ##
1887 ## Output variables. ##
1888 ## ----------------- ##"
1890 for ac_var in $ac_subst_vars
1892 eval ac_val=\$$ac_var
1894 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1896 $as_echo "$ac_var='\''$ac_val'\''"
1900 if test -n "$ac_subst_files"; then
1901 $as_echo "## ------------------- ##
1902 ## File substitutions. ##
1903 ## ------------------- ##"
1905 for ac_var in $ac_subst_files
1907 eval ac_val=\$$ac_var
1909 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1911 $as_echo "$ac_var='\''$ac_val'\''"
1916 if test -s confdefs.h; then
1917 $as_echo "## ----------- ##
1924 test "$ac_signal" != 0 &&
1925 $as_echo "$as_me: caught signal $ac_signal"
1926 $as_echo "$as_me: exit $exit_status"
1928 rm -f core *.core core.conftest.* &&
1929 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1932 for ac_signal in 1 2 13 15; do
1933 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1937 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1938 rm -f -r conftest* confdefs.h
1940 $as_echo "/* confdefs.h */" > confdefs.h
1942 # Predefined preprocessor variables.
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE_NAME "$PACKAGE_NAME"
1948 cat >>confdefs.h <<_ACEOF
1949 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1952 cat >>confdefs.h <<_ACEOF
1953 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1956 cat >>confdefs.h <<_ACEOF
1957 #define PACKAGE_STRING "$PACKAGE_STRING"
1960 cat >>confdefs.h <<_ACEOF
1961 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1964 cat >>confdefs.h <<_ACEOF
1965 #define PACKAGE_URL "$PACKAGE_URL"
1969 # Let the site file select an alternate cache file if it wants to.
1970 # Prefer an explicitly selected file to automatically selected ones.
1973 if test -n "$CONFIG_SITE"; then
1974 # We do not want a PATH search for config.site.
1975 case $CONFIG_SITE in #((
1976 -*) ac_site_file1=./$CONFIG_SITE;;
1977 */*) ac_site_file1=$CONFIG_SITE;;
1978 *) ac_site_file1=./$CONFIG_SITE;;
1980 elif test "x$prefix" != xNONE; then
1981 ac_site_file1=$prefix/share/config.site
1982 ac_site_file2=$prefix/etc/config.site
1984 ac_site_file1=$ac_default_prefix/share/config.site
1985 ac_site_file2=$ac_default_prefix/etc/config.site
1987 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1989 test "x$ac_site_file" = xNONE && continue
1990 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1992 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1993 sed 's/^/| /' "$ac_site_file" >&5
1995 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1997 as_fn_error $? "failed to load site script $ac_site_file
1998 See \`config.log' for more details" "$LINENO" 5; }
2002 if test -r "$cache_file"; then
2003 # Some versions of bash will fail to source /dev/null (special files
2004 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2005 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2007 $as_echo "$as_me: loading cache $cache_file" >&6;}
2009 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2010 *) . "./$cache_file";;
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2015 $as_echo "$as_me: creating cache $cache_file" >&6;}
2019 # Check that the precious variables saved in the cache have kept the same
2021 ac_cache_corrupted=false
2022 for ac_var in $ac_precious_vars; do
2023 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2024 eval ac_new_set=\$ac_env_${ac_var}_set
2025 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2026 eval ac_new_val=\$ac_env_${ac_var}_value
2027 case $ac_old_set,$ac_new_set in
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2030 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2031 ac_cache_corrupted=: ;;
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2034 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035 ac_cache_corrupted=: ;;
2038 if test "x$ac_old_val" != "x$ac_new_val"; then
2039 # differences in whitespace do not lead to failure.
2040 ac_old_val_w=`echo x $ac_old_val`
2041 ac_new_val_w=`echo x $ac_new_val`
2042 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2044 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2045 ac_cache_corrupted=:
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2048 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2049 eval $ac_var=\$ac_old_val
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2052 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2054 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2057 # Pass precious variables to config.status.
2058 if test "$ac_new_set" = set; then
2060 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2061 *) ac_arg=$ac_var=$ac_new_val ;;
2063 case " $ac_configure_args " in
2064 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2065 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2069 if $ac_cache_corrupted; then
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2073 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2074 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2076 ## -------------------- ##
2077 ## Main body of script. ##
2078 ## -------------------- ##
2081 ac_cpp='$CPP $CPPFLAGS'
2082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2088 am__api_version='1.11'
2091 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2092 if test -f "$ac_dir/install-sh"; then
2094 ac_install_sh="$ac_aux_dir/install-sh -c"
2096 elif test -f "$ac_dir/install.sh"; then
2098 ac_install_sh="$ac_aux_dir/install.sh -c"
2100 elif test -f "$ac_dir/shtool"; then
2102 ac_install_sh="$ac_aux_dir/shtool install -c"
2106 if test -z "$ac_aux_dir"; then
2107 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2110 # These three variables are undocumented and unsupported,
2111 # and are intended to be withdrawn in a future Autoconf release.
2112 # They can cause serious problems if a builder's source tree is in a directory
2113 # whose full name contains unusual characters.
2114 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2115 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2116 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2119 # Find a good install program. We prefer a C program (faster),
2120 # so one script is as good as another. But avoid the broken or
2121 # incompatible versions:
2122 # SysV /etc/install, /usr/sbin/install
2123 # SunOS /usr/etc/install
2124 # IRIX /sbin/install
2126 # AmigaOS /C/install, which installs bootblocks on floppy discs
2127 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2128 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2129 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2130 # OS/2's system install, which has a completely different semantic
2131 # ./install, which can be erroneously created by make from ./install.sh.
2132 # Reject install programs that cannot install multiple files.
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2134 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2135 if test -z "$INSTALL"; then
2136 if ${ac_cv_path_install+:} false; then :
2137 $as_echo_n "(cached) " >&6
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 # Account for people who put trailing slashes in PATH elements.
2145 case $as_dir/ in #((
2146 ./ | .// | /[cC]/* | \
2147 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2148 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2151 # OSF1 and SCO ODT 3.0 have their own names for install.
2152 # Don't use installbsd from OSF since it installs stuff as root
2154 for ac_prog in ginstall scoinst install; do
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2157 if test $ac_prog = install &&
2158 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2159 # AIX install. It has an incompatible calling convention.
2161 elif test $ac_prog = install &&
2162 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2163 # program-specific install script used by HP pwplus--don't use.
2166 rm -rf conftest.one conftest.two conftest.dir
2167 echo one > conftest.one
2168 echo two > conftest.two
2170 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2171 test -s conftest.one && test -s conftest.two &&
2172 test -s conftest.dir/conftest.one &&
2173 test -s conftest.dir/conftest.two
2175 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2188 rm -rf conftest.one conftest.two conftest.dir
2191 if test "${ac_cv_path_install+set}" = set; then
2192 INSTALL=$ac_cv_path_install
2194 # As a last resort, use the slow shell script. Don't cache a
2195 # value for INSTALL within a source directory, because that will
2196 # break other packages using the cache if that directory is
2197 # removed, or if the value is a relative name.
2198 INSTALL=$ac_install_sh
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2202 $as_echo "$INSTALL" >&6; }
2204 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2205 # It thinks the first close brace ends the variable substitution.
2206 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2208 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2210 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2213 $as_echo_n "checking whether build environment is sane... " >&6; }
2216 echo timestamp > conftest.file
2217 # Reject unsafe characters in $srcdir or the absolute working directory
2218 # name. Accept space and tab only in the latter.
2222 *[\\\"\#\$\&\'\`$am_lf]*)
2223 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2226 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2227 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2230 # Do `set' in a subshell so we don't clobber the current shell's
2231 # arguments. Must try -L first in case configure is actually a
2232 # symlink; some systems play weird games with the mod time of symlinks
2233 # (eg FreeBSD returns the mod time of the symlink's containing
2236 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2237 if test "$*" = "X"; then
2239 set X `ls -t "$srcdir/configure" conftest.file`
2242 if test "$*" != "X $srcdir/configure conftest.file" \
2243 && test "$*" != "X conftest.file $srcdir/configure"; then
2245 # If neither matched, then we have a broken ls. This can happen
2246 # if, for instance, CONFIG_SHELL is bash and it inherits a
2247 # broken ls alias from the environment. This has actually
2248 # happened. Such a system could not be considered "sane".
2249 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2250 alias in your environment" "$LINENO" 5
2253 test "$2" = conftest.file
2259 as_fn_error $? "newly created file is older than distributed files!
2260 Check your system clock" "$LINENO" 5
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2263 $as_echo "yes" >&6; }
2264 test "$program_prefix" != NONE &&
2265 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2266 # Use a double $ so make ignores it.
2267 test "$program_suffix" != NONE &&
2268 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2269 # Double any \ or $.
2270 # By default was `s,x,x', remove it if useless.
2271 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2272 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2274 # expand $ac_aux_dir to an absolute path
2275 am_aux_dir=`cd $ac_aux_dir && pwd`
2277 if test x"${MISSING+set}" != xset; then
2280 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2282 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2285 # Use eval to expand $SHELL
2286 if eval "$MISSING --run true"; then
2287 am_missing_run="$MISSING --run "
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2291 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2294 if test x"${install_sh}" != xset; then
2297 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2299 install_sh="\${SHELL} $am_aux_dir/install-sh"
2303 # Installed binaries are usually stripped using `strip' when the user
2304 # run `make install-strip'. However `strip' might not be the right
2305 # tool to use in cross-compilation environments, therefore Automake
2306 # will honor the `STRIP' environment variable to overrule this program.
2307 if test "$cross_compiling" != no; then
2308 if test -n "$ac_tool_prefix"; then
2309 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2310 set dummy ${ac_tool_prefix}strip; ac_word=$2
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2312 $as_echo_n "checking for $ac_word... " >&6; }
2313 if ${ac_cv_prog_STRIP+:} false; then :
2314 $as_echo_n "(cached) " >&6
2316 if test -n "$STRIP"; then
2317 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir=.
2324 for ac_exec_ext in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 STRIP=$ac_cv_prog_STRIP
2337 if test -n "$STRIP"; then
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2339 $as_echo "$STRIP" >&6; }
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2342 $as_echo "no" >&6; }
2347 if test -z "$ac_cv_prog_STRIP"; then
2349 # Extract the first word of "strip", so it can be a program name with args.
2350 set dummy strip; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2354 $as_echo_n "(cached) " >&6
2356 if test -n "$ac_ct_STRIP"; then
2357 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_ac_ct_STRIP="strip"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2377 if test -n "$ac_ct_STRIP"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2379 $as_echo "$ac_ct_STRIP" >&6; }
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2385 if test "x$ac_ct_STRIP" = x; then
2388 case $cross_compiling:$ac_tool_warned in
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2392 ac_tool_warned=yes ;;
2397 STRIP="$ac_cv_prog_STRIP"
2401 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2404 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2405 if test -z "$MKDIR_P"; then
2406 if ${ac_cv_path_mkdir+:} false; then :
2407 $as_echo_n "(cached) " >&6
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2413 test -z "$as_dir" && as_dir=.
2414 for ac_prog in mkdir gmkdir; do
2415 for ac_exec_ext in '' $ac_executable_extensions; do
2416 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2417 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2418 'mkdir (GNU coreutils) '* | \
2419 'mkdir (coreutils) '* | \
2420 'mkdir (fileutils) '4.1*)
2421 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2431 test -d ./--version && rmdir ./--version
2432 if test "${ac_cv_path_mkdir+set}" = set; then
2433 MKDIR_P="$ac_cv_path_mkdir -p"
2435 # As a last resort, use the slow shell script. Don't cache a
2436 # value for MKDIR_P within a source directory, because that will
2437 # break other packages using the cache if that directory is
2438 # removed, or if the value is a relative name.
2439 MKDIR_P="$ac_install_sh -d"
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2443 $as_echo "$MKDIR_P" >&6; }
2447 [\\/$]* | ?:[\\/]*) ;;
2448 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2451 for ac_prog in gawk mawk nawk awk
2453 # Extract the first word of "$ac_prog", so it can be a program name with args.
2454 set dummy $ac_prog; ac_word=$2
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2456 $as_echo_n "checking for $ac_word... " >&6; }
2457 if ${ac_cv_prog_AWK+:} false; then :
2458 $as_echo_n "(cached) " >&6
2460 if test -n "$AWK"; then
2461 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_AWK="$ac_prog"
2471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 if test -n "$AWK"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2483 $as_echo "$AWK" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2486 $as_echo "no" >&6; }
2490 test -n "$AWK" && break
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2494 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2496 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2497 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 cat >conftest.make <<\_ACEOF
2503 @echo '@@@%%%=$(MAKE)=@@@%%%'
2505 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2506 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2508 eval ac_cv_prog_make_${ac_make}_set=yes;;
2510 eval ac_cv_prog_make_${ac_make}_set=no;;
2514 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2516 $as_echo "yes" >&6; }
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520 $as_echo "no" >&6; }
2521 SET_MAKE="MAKE=${MAKE-make}"
2524 rm -rf .tst 2>/dev/null
2525 mkdir .tst 2>/dev/null
2526 if test -d .tst; then
2531 rmdir .tst 2>/dev/null
2533 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2534 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2535 # is not polluted with repeated "-I."
2536 am__isrc=' -I$(srcdir)'
2537 # test to see if srcdir already configured
2538 if test -f $srcdir/config.status; then
2539 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2543 # test whether we have cygpath
2544 if test -z "$CYGPATH_W"; then
2545 if (cygpath --version) >/dev/null 2>/dev/null; then
2546 CYGPATH_W='cygpath -w'
2553 # Define the identity of the package.
2558 cat >>confdefs.h <<_ACEOF
2559 #define PACKAGE "$PACKAGE"
2563 cat >>confdefs.h <<_ACEOF
2564 #define VERSION "$VERSION"
2567 # Some tools Automake needs.
2569 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2572 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2575 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2578 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2581 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2583 # We need awk for the "check" target. The system "awk" is bad on
2585 # Always define AMTAR for backward compatibility.
2587 AMTAR=${AMTAR-"${am_missing_run}tar"}
2589 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2597 ac_config_headers="$ac_config_headers config.h"
2600 # Checks for programs.
2602 ac_cpp='$CPP $CPPFLAGS'
2603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2606 if test -n "$ac_tool_prefix"; then
2607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if ${ac_cv_prog_CC+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$CC"; then
2615 ac_cv_prog_CC="$CC" # Let the user override the test.
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 for ac_exec_ext in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$CC"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2637 $as_echo "$CC" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2645 if test -z "$ac_cv_prog_CC"; then
2647 # Extract the first word of "gcc", so it can be a program name with args.
2648 set dummy gcc; ac_word=$2
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2652 $as_echo_n "(cached) " >&6
2654 if test -n "$ac_ct_CC"; then
2655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir=.
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 ac_cv_prog_ac_ct_CC="gcc"
2665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2675 if test -n "$ac_ct_CC"; then
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2677 $as_echo "$ac_ct_CC" >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680 $as_echo "no" >&6; }
2683 if test "x$ac_ct_CC" = x; then
2686 case $cross_compiling:$ac_tool_warned in
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2690 ac_tool_warned=yes ;;
2698 if test -z "$CC"; then
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2701 set dummy ${ac_tool_prefix}cc; ac_word=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if ${ac_cv_prog_CC+:} false; then :
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$CC"; then
2708 ac_cv_prog_CC="$CC" # Let the user override the test.
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir=.
2715 for ac_exec_ext in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_CC="${ac_tool_prefix}cc"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$CC"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2730 $as_echo "$CC" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2739 if test -z "$CC"; then
2740 # Extract the first word of "cc", so it can be a program name with args.
2741 set dummy cc; ac_word=$2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if ${ac_cv_prog_CC+:} false; then :
2745 $as_echo_n "(cached) " >&6
2747 if test -n "$CC"; then
2748 ac_cv_prog_CC="$CC" # Let the user override the test.
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir=.
2756 for ac_exec_ext in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2759 ac_prog_rejected=yes
2763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 if test $ac_prog_rejected = yes; then
2771 # We found a bogon in the path, so make sure we never use it.
2772 set dummy $ac_cv_prog_CC
2774 if test $# != 0; then
2775 # We chose a different compiler from the bogus one.
2776 # However, it has the same basename, so the bogon will be chosen
2777 # first if we set CC to just the basename; use the full file name.
2779 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2785 if test -n "$CC"; then
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2787 $as_echo "$CC" >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790 $as_echo "no" >&6; }
2795 if test -z "$CC"; then
2796 if test -n "$ac_tool_prefix"; then
2797 for ac_prog in cl.exe
2799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2800 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_CC+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC="$CC" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2836 test -n "$CC" && break
2839 if test -z "$CC"; then
2841 for ac_prog in cl.exe
2843 # Extract the first word of "$ac_prog", so it can be a program name with args.
2844 set dummy $ac_prog; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$ac_ct_CC"; then
2851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_ac_ct_CC="$ac_prog"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2871 if test -n "$ac_ct_CC"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2873 $as_echo "$ac_ct_CC" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2880 test -n "$ac_ct_CC" && break
2883 if test "x$ac_ct_CC" = x; then
2886 case $cross_compiling:$ac_tool_warned in
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2890 ac_tool_warned=yes ;;
2899 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901 as_fn_error $? "no acceptable C compiler found in \$PATH
2902 See \`config.log' for more details" "$LINENO" 5; }
2904 # Provide some information about the compiler.
2905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2908 for ac_option in --version -v -V -qversion; do
2909 { { ac_try="$ac_compiler $ac_option >&5"
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2918 if test -s conftest.err; then
2920 ... rest of stderr output deleted ...
2921 10q' conftest.err >conftest.er1
2922 cat conftest.er1 >&5
2924 rm -f conftest.er1 conftest.err
2925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2926 test $ac_status = 0; }
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2940 ac_clean_files_save=$ac_clean_files
2941 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2942 # Try to create an executable without -o first, disregard a.out.
2943 # It will help us diagnose broken compilers, and finding out an intuition
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2946 $as_echo_n "checking whether the C compiler works... " >&6; }
2947 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2949 # The possible output files:
2950 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2953 for ac_file in $ac_files
2956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2957 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2962 if { { ac_try="$ac_link_default"
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968 $as_echo "$ac_try_echo"; } >&5
2969 (eval "$ac_link_default") 2>&5
2971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972 test $ac_status = 0; }; then :
2973 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2974 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2975 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2976 # so that the user can short-circuit this test for compilers unknown to
2978 for ac_file in $ac_files ''
2980 test -f "$ac_file" || continue
2982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2985 # We found the default executable, but exeext='' is most
2989 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2991 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2993 # We set ac_cv_exeext here because the later test for it is not
2994 # safe: cross compilers may not add the suffix if given an `-o'
2995 # argument, so we may need to know it at that point already.
2996 # Even if this section looks crufty: it has the advantage of
3003 test "$ac_cv_exeext" = no && ac_cv_exeext=
3008 if test -z "$ac_file"; then :
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 $as_echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3016 as_fn_error 77 "C compiler cannot create executables
3017 See \`config.log' for more details" "$LINENO" 5; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3020 $as_echo "yes" >&6; }
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3023 $as_echo_n "checking for C compiler default output file name... " >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3025 $as_echo "$ac_file" >&6; }
3026 ac_exeext=$ac_cv_exeext
3028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3029 ac_clean_files=$ac_clean_files_save
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3031 $as_echo_n "checking for suffix of executables... " >&6; }
3032 if { { ac_try="$ac_link"
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_link") 2>&5
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; }; then :
3043 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3044 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3045 # work properly (i.e., refer to `conftest.exe'), while it won't with
3047 for ac_file in conftest.exe conftest conftest.*; do
3048 test -f "$ac_file" || continue
3050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3051 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3059 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3060 See \`config.log' for more details" "$LINENO" 5; }
3062 rm -f conftest conftest$ac_cv_exeext
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3064 $as_echo "$ac_cv_exeext" >&6; }
3066 rm -f conftest.$ac_ext
3067 EXEEXT=$ac_cv_exeext
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3075 FILE *f = fopen ("conftest.out", "w");
3076 return ferror (f) || fclose (f) != 0;
3082 ac_clean_files="$ac_clean_files conftest.out"
3083 # Check that the compiler produces executables we can run. If not, either
3084 # the compiler is broken, or we cross compile.
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3086 $as_echo_n "checking whether we are cross compiling... " >&6; }
3087 if test "$cross_compiling" != yes; then
3088 { { ac_try="$ac_link"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3094 $as_echo "$ac_try_echo"; } >&5
3095 (eval "$ac_link") 2>&5
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }
3099 if { ac_try='./conftest$ac_cv_exeext'
3100 { { case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_try") 2>&5
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; }; then
3112 if test "$cross_compiling" = maybe; then
3115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 as_fn_error $? "cannot run C compiled programs.
3118 If you meant to cross compile, use \`--host'.
3119 See \`config.log' for more details" "$LINENO" 5; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3124 $as_echo "$cross_compiling" >&6; }
3126 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3127 ac_clean_files=$ac_clean_files_save
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3129 $as_echo_n "checking for suffix of object files... " >&6; }
3130 if ${ac_cv_objext+:} false; then :
3131 $as_echo_n "(cached) " >&6
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3144 rm -f conftest.o conftest.obj
3145 if { { ac_try="$ac_compile"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152 (eval "$ac_compile") 2>&5
3154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155 test $ac_status = 0; }; then :
3156 for ac_file in conftest.o conftest.obj conftest.*; do
3157 test -f "$ac_file" || continue;
3159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3160 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3165 $as_echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.$ac_ext >&5
3168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3170 as_fn_error $? "cannot compute suffix of object files: cannot compile
3171 See \`config.log' for more details" "$LINENO" 5; }
3173 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3176 $as_echo "$ac_cv_objext" >&6; }
3177 OBJEXT=$ac_cv_objext
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3180 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3181 if ${ac_cv_c_compiler_gnu+:} false; then :
3182 $as_echo_n "(cached) " >&6
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3198 if ac_fn_c_try_compile "$LINENO"; then :
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3208 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3209 if test $ac_compiler_gnu = yes; then
3214 ac_test_CFLAGS=${CFLAGS+set}
3215 ac_save_CFLAGS=$CFLAGS
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3217 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3218 if ${ac_cv_prog_cc_g+:} false; then :
3219 $as_echo_n "(cached) " >&6
3221 ac_save_c_werror_flag=$ac_c_werror_flag
3222 ac_c_werror_flag=yes
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 if ac_fn_c_try_compile "$LINENO"; then :
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3251 if ac_fn_c_try_compile "$LINENO"; then :
3254 ac_c_werror_flag=$ac_save_c_werror_flag
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275 ac_c_werror_flag=$ac_save_c_werror_flag
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3278 $as_echo "$ac_cv_prog_cc_g" >&6; }
3279 if test "$ac_test_CFLAGS" = set; then
3280 CFLAGS=$ac_save_CFLAGS
3281 elif test $ac_cv_prog_cc_g = yes; then
3282 if test "$GCC" = yes; then
3288 if test "$GCC" = yes; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3295 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3296 if ${ac_cv_prog_cc_c89+:} false; then :
3297 $as_echo_n "(cached) " >&6
3299 ac_cv_prog_cc_c89=no
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3305 #include <sys/types.h>
3306 #include <sys/stat.h>
3307 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3308 struct buf { int x; };
3309 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3310 static char *e (p, i)
3316 static char *f (char * (*g) (char **, int), char **p, ...)
3321 s = g (p, va_arg (v,int));
3326 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3327 function prototypes and stuff, but not '\xHH' hex character constants.
3328 These don't provoke an error unfortunately, instead are silently treated
3329 as 'x'. The following induces an error, until -std is added to get
3330 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3331 array size at least. It's necessary to write '\x00'==0 to get something
3332 that's true only with -std. */
3333 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3335 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3336 inside strings and character constants. */
3338 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3340 int test (int i, double x);
3341 struct s1 {int (*f) (int a);};
3342 struct s2 {int (*f) (double a);};
3343 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3349 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3354 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3355 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3357 CC="$ac_save_CC $ac_arg"
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359 ac_cv_prog_cc_c89=$ac_arg
3361 rm -f core conftest.err conftest.$ac_objext
3362 test "x$ac_cv_prog_cc_c89" != "xno" && break
3364 rm -f conftest.$ac_ext
3369 case "x$ac_cv_prog_cc_c89" in
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3372 $as_echo "none needed" >&6; } ;;
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3375 $as_echo "unsupported" >&6; } ;;
3377 CC="$CC $ac_cv_prog_cc_c89"
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3379 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3381 if test "x$ac_cv_prog_cc_c89" != xno; then :
3386 ac_cpp='$CPP $CPPFLAGS'
3387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3390 DEPDIR="${am__leading_dot}deps"
3392 ac_config_commands="$ac_config_commands depfiles"
3395 am_make=${MAKE-make}
3396 cat > confinc << 'END'
3398 @echo this is the am__doit target
3401 # If we don't find an include directive, just comment out the code.
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3403 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3407 # First try GNU make style include.
3408 echo "include confinc" > confmf
3409 # Ignore all kinds of additional output from `make'.
3410 case `$am_make -s -f confmf 2> /dev/null` in #(
3411 *the\ am__doit\ target*)
3417 # Now try BSD make style include.
3418 if test "$am__include" = "#"; then
3419 echo '.include "confinc"' > confmf
3420 case `$am_make -s -f confmf 2> /dev/null` in #(
3421 *the\ am__doit\ target*)
3422 am__include=.include
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3431 $as_echo "$_am_result" >&6; }
3432 rm -f confinc confmf
3434 # Check whether --enable-dependency-tracking was given.
3435 if test "${enable_dependency_tracking+set}" = set; then :
3436 enableval=$enable_dependency_tracking;
3439 if test "x$enable_dependency_tracking" != xno; then
3440 am_depcomp="$ac_aux_dir/depcomp"
3443 if test "x$enable_dependency_tracking" != xno; then
3453 depcc="$CC" am_compiler_list=
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3456 $as_echo_n "checking dependency style of $depcc... " >&6; }
3457 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3458 $as_echo_n "(cached) " >&6
3460 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3461 # We make a subdir and do the tests there. Otherwise we can end up
3462 # making bogus files that we don't know about and never remove. For
3463 # instance it was reported that on HP-UX the gcc test will end up
3464 # making a dummy file named `D' -- because `-MD' means `put the output
3467 # Copy depcomp to subdir because otherwise we won't find it if we're
3468 # using a relative directory.
3469 cp "$am_depcomp" conftest.dir
3471 # We will build objects and dependencies in a subdirectory because
3472 # it helps to detect inapplicable dependency modes. For instance
3473 # both Tru64's cc and ICC support -MD to output dependencies as a
3474 # side effect of compilation, but ICC will put the dependencies in
3475 # the current directory while Tru64 will put them in the object
3479 am_cv_CC_dependencies_compiler_type=none
3480 if test "$am_compiler_list" = ""; then
3481 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3484 case " $depcc " in #(
3485 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3488 for depmode in $am_compiler_list; do
3489 # Setup a source with many dependencies, because some compilers
3490 # like to wrap large dependency lists on column 80 (with \), and
3491 # we should not choose a depcomp mode which is confused by this.
3493 # We need to recreate these files for each test, as the compiler may
3494 # overwrite some of them when testing with obscure command lines.
3495 # This happens at least with the AIX C compiler.
3497 for i in 1 2 3 4 5 6; do
3498 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3499 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3500 # Solaris 8's {/usr,}/bin/sh.
3501 touch sub/conftst$i.h
3503 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3505 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3506 # mode. It turns out that the SunPro C++ compiler does not properly
3507 # handle `-M -o', and we need to detect this. Also, some Intel
3508 # versions had trouble with output in subdirs
3509 am__obj=sub/conftest.${OBJEXT-o}
3510 am__minus_obj="-o $am__obj"
3513 # This depmode causes a compiler race in universal mode.
3514 test "$am__universal" = false || continue
3517 # after this tag, mechanisms are not by side-effect, so they'll
3518 # only be used when explicitly requested
3519 if test "x$enable_dependency_tracking" = xyes; then
3525 msvisualcpp | msvcmsys)
3526 # This compiler won't grok `-c -o', but also, the minuso test has
3527 # not run yet. These depmodes are late enough in the game, and
3528 # so weak that their functioning should not be impacted.
3529 am__obj=conftest.${OBJEXT-o}
3534 if depmode=$depmode \
3535 source=sub/conftest.c object=$am__obj \
3536 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3537 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3538 >/dev/null 2>conftest.err &&
3539 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3540 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3541 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3542 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3543 # icc doesn't choke on unknown options, it will just issue warnings
3544 # or remarks (even with -Werror). So we grep stderr for any message
3545 # that says an option was ignored or not supported.
3546 # When given -MP, icc 7.0 and 7.1 complain thusly:
3547 # icc: Command line warning: ignoring option '-M'; no argument required
3548 # The diagnosis changed in icc 8.0:
3549 # icc: Command line remark: option '-MP' not supported
3550 if (grep 'ignoring option' conftest.err ||
3551 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3552 am_cv_CC_dependencies_compiler_type=$depmode
3561 am_cv_CC_dependencies_compiler_type=none
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3566 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3567 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3570 test "x$enable_dependency_tracking" != xno \
3571 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3573 am__fastdepCC_FALSE='#'
3575 am__fastdepCC_TRUE='#'
3576 am__fastdepCC_FALSE=
3580 if test "x$CC" != xcc; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3582 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3585 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3587 set dummy $CC; ac_cc=`$as_echo "$2" |
3588 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3589 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3590 $as_echo_n "(cached) " >&6
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 # Make sure it works both with $CC and with simple cc.
3604 # We do the test twice because some compilers refuse to overwrite an
3605 # existing .o file with -o, though they will create one.
3606 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3608 if { { case "(($ac_try" in
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_try") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; } &&
3618 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_try") 2>&5
3626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627 test $ac_status = 0; };
3629 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3630 if test "x$CC" != xcc; then
3631 # Test first that cc exists at all.
3632 if { ac_try='cc -c conftest.$ac_ext >&5'
3633 { { case "(($ac_try" in
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638 $as_echo "$ac_try_echo"; } >&5
3639 (eval "$ac_try") 2>&5
3641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642 test $ac_status = 0; }; }; then
3643 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3645 if { { case "(($ac_try" in
3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647 *) ac_try_echo=$ac_try;;
3649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3650 $as_echo "$ac_try_echo"; } >&5
3651 (eval "$ac_try") 2>&5
3653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3654 test $ac_status = 0; } &&
3655 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_try") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; };
3669 # cc exists but doesn't like -o.
3670 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3675 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3677 rm -f core conftest*
3680 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3682 $as_echo "yes" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3687 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3691 # FIXME: we rely on the cache variable name because
3692 # there is no other way.
3694 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3695 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3696 if test "$am_t" != yes; then
3697 # Losing compiler, so override with the script.
3698 # FIXME: It is wrong to rewrite CC.
3699 # But if we don't then we get into trouble of one sort or another.
3700 # A longer-term fix would be to have automake use am__CC in this case,
3701 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3702 CC="$am_aux_dir/compile $CC"
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3710 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_RANLIB+:} false; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$RANLIB"; then
3717 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 RANLIB=$ac_cv_prog_RANLIB
3737 if test -n "$RANLIB"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3739 $as_echo "$RANLIB" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3747 if test -z "$ac_cv_prog_RANLIB"; then
3748 ac_ct_RANLIB=$RANLIB
3749 # Extract the first word of "ranlib", so it can be a program name with args.
3750 set dummy ranlib; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$ac_ct_RANLIB"; then
3757 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_ac_ct_RANLIB="ranlib"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3777 if test -n "$ac_ct_RANLIB"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3779 $as_echo "$ac_ct_RANLIB" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3785 if test "x$ac_ct_RANLIB" = x; then
3788 case $cross_compiling:$ac_tool_warned in
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3792 ac_tool_warned=yes ;;
3794 RANLIB=$ac_ct_RANLIB
3797 RANLIB="$ac_cv_prog_RANLIB"
3801 # Checks for header files.
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3809 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3810 # On Suns, sometimes $CPP names a directory.
3811 if test -n "$CPP" && test -d "$CPP"; then
3814 if test -z "$CPP"; then
3815 if ${ac_cv_prog_CPP+:} false; then :
3816 $as_echo_n "(cached) " >&6
3818 # Double quotes because CPP needs to be expanded
3819 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3822 for ac_c_preproc_warn_flag in '' yes
3824 # Use a header file that comes with gcc, so configuring glibc
3825 # with a fresh cross-compiler works.
3826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3827 # <limits.h> exists even on freestanding compilers.
3828 # On the NeXT, cc -E runs the code through the compiler's parser,
3829 # not just through cpp. "Syntax error" is here to catch this case.
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3833 # include <limits.h>
3835 # include <assert.h>
3839 if ac_fn_c_try_cpp "$LINENO"; then :
3842 # Broken: fails on valid input.
3845 rm -f conftest.err conftest.i conftest.$ac_ext
3847 # OK, works on sane cases. Now check whether nonexistent headers
3848 # can be detected and how.
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3851 #include <ac_nonexistent.h>
3853 if ac_fn_c_try_cpp "$LINENO"; then :
3854 # Broken: success on invalid input.
3857 # Passes both tests.
3861 rm -f conftest.err conftest.i conftest.$ac_ext
3864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3865 rm -f conftest.i conftest.err conftest.$ac_ext
3866 if $ac_preproc_ok; then :
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3879 $as_echo "$CPP" >&6; }
3881 for ac_c_preproc_warn_flag in '' yes
3883 # Use a header file that comes with gcc, so configuring glibc
3884 # with a fresh cross-compiler works.
3885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3886 # <limits.h> exists even on freestanding compilers.
3887 # On the NeXT, cc -E runs the code through the compiler's parser,
3888 # not just through cpp. "Syntax error" is here to catch this case.
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3892 # include <limits.h>
3894 # include <assert.h>
3898 if ac_fn_c_try_cpp "$LINENO"; then :
3901 # Broken: fails on valid input.
3904 rm -f conftest.err conftest.i conftest.$ac_ext
3906 # OK, works on sane cases. Now check whether nonexistent headers
3907 # can be detected and how.
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3910 #include <ac_nonexistent.h>
3912 if ac_fn_c_try_cpp "$LINENO"; then :
3913 # Broken: success on invalid input.
3916 # Passes both tests.
3920 rm -f conftest.err conftest.i conftest.$ac_ext
3923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3924 rm -f conftest.i conftest.err conftest.$ac_ext
3925 if $ac_preproc_ok; then :
3928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3930 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3931 See \`config.log' for more details" "$LINENO" 5; }
3935 ac_cpp='$CPP $CPPFLAGS'
3936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3942 $as_echo_n "checking for X... " >&6; }
3945 # Check whether --with-x was given.
3946 if test "${with_x+set}" = set; then :
3950 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3951 if test "x$with_x" = xno; then
3952 # The user explicitly disabled X.
3955 case $x_includes,$x_libraries in #(
3956 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3957 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3958 $as_echo_n "(cached) " >&6
3960 # One or both of the vars are not set, and there is no cached value.
3961 ac_x_includes=no ac_x_libraries=no
3962 rm -f -r conftest.dir
3963 if mkdir conftest.dir; then
3965 cat >Imakefile <<'_ACEOF'
3967 @echo incroot='${INCROOT}'
3969 @echo usrlibdir='${USRLIBDIR}'
3971 @echo libdir='${LIBDIR}'
3973 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3974 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3975 for ac_var in incroot usrlibdir libdir; do
3976 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3978 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3979 for ac_extension in a so sl dylib la dll; do
3980 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3981 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3982 ac_im_usrlibdir=$ac_im_libdir; break
3985 # Screen out bogus values from the imake configuration. They are
3986 # bogus both because they are the default anyway, and because
3987 # using them would break gcc on systems where it needs fixed includes.
3988 case $ac_im_incroot in
3989 /usr/include) ac_x_includes= ;;
3990 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3992 case $ac_im_usrlibdir in
3993 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
3994 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3998 rm -f -r conftest.dir
4001 # Standard set of common directories for X headers.
4002 # Check X11 before X11Rn because it is often a symlink to the current release.
4016 /usr/local/X11/include
4017 /usr/local/X11R7/include
4018 /usr/local/X11R6/include
4019 /usr/local/X11R5/include
4020 /usr/local/X11R4/include
4022 /usr/local/include/X11
4023 /usr/local/include/X11R7
4024 /usr/local/include/X11R6
4025 /usr/local/include/X11R5
4026 /usr/local/include/X11R4
4030 /usr/XFree86/include/X11
4034 /usr/unsupported/include
4036 /usr/local/x11r5/include
4037 /usr/lpp/Xamples/include
4039 /usr/openwin/include
4040 /usr/openwin/share/include'
4042 if test "$ac_x_includes" = no; then
4043 # Guess where to find include files, by looking for Xlib.h.
4044 # First, try using that file with no special directory specified.
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4047 #include <X11/Xlib.h>
4049 if ac_fn_c_try_cpp "$LINENO"; then :
4050 # We can compile using X headers with no special include directory.
4053 for ac_dir in $ac_x_header_dirs; do
4054 if test -r "$ac_dir/X11/Xlib.h"; then
4055 ac_x_includes=$ac_dir
4060 rm -f conftest.err conftest.i conftest.$ac_ext
4061 fi # $ac_x_includes = no
4063 if test "$ac_x_libraries" = no; then
4064 # Check for the libraries.
4065 # See if we find them without any special options.
4066 # Don't add to $LIBS permanently.
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4071 #include <X11/Xlib.h>
4080 if ac_fn_c_try_link "$LINENO"; then :
4082 # We can link X programs with no special library path.
4086 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4088 # Don't even attempt the hair of trying to link an X program!
4089 for ac_extension in a so sl dylib la dll; do
4090 if test -r "$ac_dir/libX11.$ac_extension"; then
4091 ac_x_libraries=$ac_dir
4097 rm -f core conftest.err conftest.$ac_objext \
4098 conftest$ac_exeext conftest.$ac_ext
4099 fi # $ac_x_libraries = no
4101 case $ac_x_includes,$ac_x_libraries in #(
4103 # Didn't find X, or a directory has "'" in its name.
4104 ac_cv_have_x="have_x=no";; #(
4106 # Record where we found X for the cache.
4107 ac_cv_have_x="have_x=yes\
4108 ac_x_includes='$ac_x_includes'\
4109 ac_x_libraries='$ac_x_libraries'"
4115 eval "$ac_cv_have_x"
4118 if test "$have_x" != yes; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4120 $as_echo "$have_x" >&6; }
4123 # If each of the values was on the command line, it overrides each guess.
4124 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4125 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4126 # Update the cache value to reflect the command line values.
4127 ac_cv_have_x="have_x=yes\
4128 ac_x_includes='$x_includes'\
4129 ac_x_libraries='$x_libraries'"
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4131 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4135 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4136 if ${ac_cv_path_GREP+:} false; then :
4137 $as_echo_n "(cached) " >&6
4139 if test -z "$GREP"; then
4140 ac_path_GREP_found=false
4141 # Loop through the user's path and test for each of PROGNAME-LIST
4142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4143 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4146 test -z "$as_dir" && as_dir=.
4147 for ac_prog in grep ggrep; do
4148 for ac_exec_ext in '' $ac_executable_extensions; do
4149 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4150 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4151 # Check for GNU ac_path_GREP and select it if it is found.
4152 # Check for GNU $ac_path_GREP
4153 case `"$ac_path_GREP" --version 2>&1` in
4155 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4158 $as_echo_n 0123456789 >"conftest.in"
4161 cat "conftest.in" "conftest.in" >"conftest.tmp"
4162 mv "conftest.tmp" "conftest.in"
4163 cp "conftest.in" "conftest.nl"
4164 $as_echo 'GREP' >> "conftest.nl"
4165 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4166 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4167 as_fn_arith $ac_count + 1 && ac_count=$as_val
4168 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4169 # Best one so far, save it but keep looking for a better one
4170 ac_cv_path_GREP="$ac_path_GREP"
4171 ac_path_GREP_max=$ac_count
4173 # 10*(2^10) chars as input seems more than enough
4174 test $ac_count -gt 10 && break
4176 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4179 $ac_path_GREP_found && break 3
4184 if test -z "$ac_cv_path_GREP"; then
4185 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4188 ac_cv_path_GREP=$GREP
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4193 $as_echo "$ac_cv_path_GREP" >&6; }
4194 GREP="$ac_cv_path_GREP"
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4198 $as_echo_n "checking for egrep... " >&6; }
4199 if ${ac_cv_path_EGREP+:} false; then :
4200 $as_echo_n "(cached) " >&6
4202 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4203 then ac_cv_path_EGREP="$GREP -E"
4205 if test -z "$EGREP"; then
4206 ac_path_EGREP_found=false
4207 # Loop through the user's path and test for each of PROGNAME-LIST
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4212 test -z "$as_dir" && as_dir=.
4213 for ac_prog in egrep; do
4214 for ac_exec_ext in '' $ac_executable_extensions; do
4215 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4216 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4217 # Check for GNU ac_path_EGREP and select it if it is found.
4218 # Check for GNU $ac_path_EGREP
4219 case `"$ac_path_EGREP" --version 2>&1` in
4221 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4224 $as_echo_n 0123456789 >"conftest.in"
4227 cat "conftest.in" "conftest.in" >"conftest.tmp"
4228 mv "conftest.tmp" "conftest.in"
4229 cp "conftest.in" "conftest.nl"
4230 $as_echo 'EGREP' >> "conftest.nl"
4231 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4232 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4233 as_fn_arith $ac_count + 1 && ac_count=$as_val
4234 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4235 # Best one so far, save it but keep looking for a better one
4236 ac_cv_path_EGREP="$ac_path_EGREP"
4237 ac_path_EGREP_max=$ac_count
4239 # 10*(2^10) chars as input seems more than enough
4240 test $ac_count -gt 10 && break
4242 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4245 $ac_path_EGREP_found && break 3
4250 if test -z "$ac_cv_path_EGREP"; then
4251 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4254 ac_cv_path_EGREP=$EGREP
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4260 $as_echo "$ac_cv_path_EGREP" >&6; }
4261 EGREP="$ac_cv_path_EGREP"
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4265 $as_echo_n "checking for ANSI C header files... " >&6; }
4266 if ${ac_cv_header_stdc+:} false; then :
4267 $as_echo_n "(cached) " >&6
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4284 if ac_fn_c_try_compile "$LINENO"; then :
4285 ac_cv_header_stdc=yes
4287 ac_cv_header_stdc=no
4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 if test $ac_cv_header_stdc = yes; then
4292 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4299 $EGREP "memchr" >/dev/null 2>&1; then :
4302 ac_cv_header_stdc=no
4308 if test $ac_cv_header_stdc = yes; then
4309 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4316 $EGREP "free" >/dev/null 2>&1; then :
4319 ac_cv_header_stdc=no
4325 if test $ac_cv_header_stdc = yes; then
4326 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4327 if test "$cross_compiling" = yes; then :
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4334 #if ((' ' & 0x0FF) == 0x020)
4335 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4336 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4338 # define ISLOWER(c) \
4339 (('a' <= (c) && (c) <= 'i') \
4340 || ('j' <= (c) && (c) <= 'r') \
4341 || ('s' <= (c) && (c) <= 'z'))
4342 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4345 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4350 for (i = 0; i < 256; i++)
4351 if (XOR (islower (i), ISLOWER (i))
4352 || toupper (i) != TOUPPER (i))
4357 if ac_fn_c_try_run "$LINENO"; then :
4360 ac_cv_header_stdc=no
4362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4363 conftest.$ac_objext conftest.beam conftest.$ac_ext
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4369 $as_echo "$ac_cv_header_stdc" >&6; }
4370 if test $ac_cv_header_stdc = yes; then
4372 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4376 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4377 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4378 inttypes.h stdint.h unistd.h
4380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4381 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4384 cat >>confdefs.h <<_ACEOF
4385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4393 for ac_header in getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h
4395 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4396 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4397 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4398 cat >>confdefs.h <<_ACEOF
4399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4415 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4416 if test -n "$ac_tool_prefix"; then
4417 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4418 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4422 $as_echo_n "(cached) " >&6
4426 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4436 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4448 if test -n "$PKG_CONFIG"; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4450 $as_echo "$PKG_CONFIG" >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4453 $as_echo "no" >&6; }
4458 if test -z "$ac_cv_path_PKG_CONFIG"; then
4459 ac_pt_PKG_CONFIG=$PKG_CONFIG
4460 # Extract the first word of "pkg-config", so it can be a program name with args.
4461 set dummy pkg-config; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4465 $as_echo_n "(cached) " >&6
4467 case $ac_pt_PKG_CONFIG in
4469 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4479 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4491 if test -n "$ac_pt_PKG_CONFIG"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4493 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4499 if test "x$ac_pt_PKG_CONFIG" = x; then
4502 case $cross_compiling:$ac_tool_warned in
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4506 ac_tool_warned=yes ;;
4508 PKG_CONFIG=$ac_pt_PKG_CONFIG
4511 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4515 if test -n "$PKG_CONFIG"; then
4516 _pkg_min_version=0.9.0
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4518 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4521 $as_echo "yes" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
4531 $as_echo_n "checking for CURL... " >&6; }
4533 if test -n "$CURL_CFLAGS"; then
4534 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
4535 elif test -n "$PKG_CONFIG"; then
4536 if test -n "$PKG_CONFIG" && \
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
4538 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
4540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4541 test $ac_status = 0; }; then
4542 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl " 2>/dev/null`
4543 test "x$?" != "x0" && pkg_failed=yes
4550 if test -n "$CURL_LIBS"; then
4551 pkg_cv_CURL_LIBS="$CURL_LIBS"
4552 elif test -n "$PKG_CONFIG"; then
4553 if test -n "$PKG_CONFIG" && \
4554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
4555 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
4557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4558 test $ac_status = 0; }; then
4559 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl " 2>/dev/null`
4560 test "x$?" != "x0" && pkg_failed=yes
4570 if test $pkg_failed = yes; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4575 _pkg_short_errors_supported=yes
4577 _pkg_short_errors_supported=no
4579 if test $_pkg_short_errors_supported = yes; then
4580 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl " 2>&1`
4582 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl " 2>&1`
4584 # Put the nasty error message in config.log where it belongs
4585 echo "$CURL_PKG_ERRORS" >&5
4587 as_fn_error $? "Package requirements (libcurl ) were not met:
4591 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4592 installed software in a non-standard prefix.
4594 Alternatively, you may set the environment variables CURL_CFLAGS
4595 and CURL_LIBS to avoid the need to call pkg-config.
4596 See the pkg-config man page for more details." "$LINENO" 5
4597 elif test $pkg_failed = untried; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4602 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4603 is in your PATH or set the PKG_CONFIG environment variable to the full
4606 Alternatively, you may set the environment variables CURL_CFLAGS
4607 and CURL_LIBS to avoid the need to call pkg-config.
4608 See the pkg-config man page for more details.
4610 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4611 See \`config.log' for more details" "$LINENO" 5; }
4613 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
4614 CURL_LIBS=$pkg_cv_CURL_LIBS
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4616 $as_echo "yes" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
4626 $as_echo_n "checking for JSON... " >&6; }
4628 if test -n "$JSON_CFLAGS"; then
4629 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
4630 elif test -n "$PKG_CONFIG"; then
4631 if test -n "$PKG_CONFIG" && \
4632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
4633 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
4635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4636 test $ac_status = 0; }; then
4637 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json " 2>/dev/null`
4638 test "x$?" != "x0" && pkg_failed=yes
4645 if test -n "$JSON_LIBS"; then
4646 pkg_cv_JSON_LIBS="$JSON_LIBS"
4647 elif test -n "$PKG_CONFIG"; then
4648 if test -n "$PKG_CONFIG" && \
4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
4650 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
4652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4653 test $ac_status = 0; }; then
4654 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json " 2>/dev/null`
4655 test "x$?" != "x0" && pkg_failed=yes
4665 if test $pkg_failed = yes; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4670 _pkg_short_errors_supported=yes
4672 _pkg_short_errors_supported=no
4674 if test $_pkg_short_errors_supported = yes; then
4675 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json " 2>&1`
4677 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json " 2>&1`
4679 # Put the nasty error message in config.log where it belongs
4680 echo "$JSON_PKG_ERRORS" >&5
4682 as_fn_error $? "Package requirements (json ) were not met:
4686 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4687 installed software in a non-standard prefix.
4689 Alternatively, you may set the environment variables JSON_CFLAGS
4690 and JSON_LIBS to avoid the need to call pkg-config.
4691 See the pkg-config man page for more details." "$LINENO" 5
4692 elif test $pkg_failed = untried; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4697 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4698 is in your PATH or set the PKG_CONFIG environment variable to the full
4701 Alternatively, you may set the environment variables JSON_CFLAGS
4702 and JSON_LIBS to avoid the need to call pkg-config.
4703 See the pkg-config man page for more details.
4705 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4706 See \`config.log' for more details" "$LINENO" 5; }
4708 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
4709 JSON_LIBS=$pkg_cv_JSON_LIBS
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4711 $as_echo "yes" >&6; }
4717 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile www/Makefile"
4720 for ac_prog in help2man
4722 # Extract the first word of "$ac_prog", so it can be a program name with args.
4723 set dummy $ac_prog; ac_word=$2
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725 $as_echo_n "checking for $ac_word... " >&6; }
4726 if ${ac_cv_prog_HELP2MAN+:} false; then :
4727 $as_echo_n "(cached) " >&6
4729 if test -n "$HELP2MAN"; then
4730 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 test -z "$as_dir" && as_dir=.
4737 for ac_exec_ext in '' $ac_executable_extensions; do
4738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4739 ac_cv_prog_HELP2MAN="$ac_prog"
4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 HELP2MAN=$ac_cv_prog_HELP2MAN
4750 if test -n "$HELP2MAN"; then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
4752 $as_echo "$HELP2MAN" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4759 test -n "$HELP2MAN" && break
4763 cat >confcache <<\_ACEOF
4764 # This file is a shell script that caches the results of configure
4765 # tests run on this system so they can be shared between configure
4766 # scripts and configure runs, see configure's option --config-cache.
4767 # It is not useful on other systems. If it contains results you don't
4768 # want to keep, you may remove or edit it.
4770 # config.status only pays attention to the cache file if you give it
4771 # the --recheck option to rerun configure.
4773 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4774 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4779 # The following way of writing the cache mishandles newlines in values,
4780 # but we know of no workaround that is simple, portable, and efficient.
4781 # So, we kill variables containing newlines.
4782 # Ultrix sh set writes to stderr and can't be redirected directly,
4783 # and sets the high bit in the cache file unless we assign to the vars.
4785 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4786 eval ac_val=\$$ac_var
4790 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4791 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4794 _ | IFS | as_nl) ;; #(
4795 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4796 *) { eval $ac_var=; unset $ac_var;} ;;
4802 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4803 *${as_nl}ac_space=\ *)
4804 # `set' does not quote correctly, so add quotes: double-quote
4805 # substitution turns \\\\ into \\, and sed turns \\ into \.
4808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4811 # `set' quotes correctly as required by POSIX, so do not add quotes.
4812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4821 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4823 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4825 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4826 if test -w "$cache_file"; then
4827 if test "x$cache_file" != "x/dev/null"; then
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4829 $as_echo "$as_me: updating cache $cache_file" >&6;}
4830 if test ! -f "$cache_file" || test -h "$cache_file"; then
4831 cat confcache >"$cache_file"
4833 case $cache_file in #(
4835 mv -f confcache "$cache_file"$$ &&
4836 mv -f "$cache_file"$$ "$cache_file" ;; #(
4838 mv -f confcache "$cache_file" ;;
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4844 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4849 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4850 # Let make expand exec_prefix.
4851 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4853 DEFS=-DHAVE_CONFIG_H
4858 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4859 # 1. Remove the extension, and $U if already installed.
4860 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4861 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4862 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4863 # will be set to the directory where LIBOBJS objects are built.
4864 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4865 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4869 LTLIBOBJS=$ac_ltlibobjs
4872 if test -n "$EXEEXT"; then
4874 am__EXEEXT_FALSE='#'
4880 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4881 as_fn_error $? "conditional \"AMDEP\" was never defined.
4882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4884 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4885 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4889 : "${CONFIG_STATUS=./config.status}"
4891 ac_clean_files_save=$ac_clean_files
4892 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4894 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4896 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4898 # Generated by $as_me.
4899 # Run this file to recreate the current configuration.
4900 # Compiler output produced by configure, useful for debugging
4901 # configure, is in config.log if it exists.
4907 SHELL=\${CONFIG_SHELL-$SHELL}
4910 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4911 ## -------------------- ##
4912 ## M4sh Initialization. ##
4913 ## -------------------- ##
4915 # Be more Bourne compatible
4916 DUALCASE=1; export DUALCASE # for MKS sh
4917 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4920 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4921 # is contrary to our usage. Disable this feature.
4922 alias -g '${1+"$@"}'='"$@"'
4923 setopt NO_GLOB_SUBST
4925 case `(set -o) 2>/dev/null` in #(
4937 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4938 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4939 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4940 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4941 # Prefer a ksh shell builtin over an external printf program on Solaris,
4942 # but without wasting forks for bash or zsh.
4943 if test -z "$BASH_VERSION$ZSH_VERSION" \
4944 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4945 as_echo='print -r --'
4946 as_echo_n='print -rn --'
4947 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4948 as_echo='printf %s\n'
4949 as_echo_n='printf %s'
4951 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4952 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4953 as_echo_n='/usr/ucb/echo -n'
4955 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4956 as_echo_n_body='eval
4960 expr "X$arg" : "X\\(.*\\)$as_nl";
4961 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4963 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4965 export as_echo_n_body
4966 as_echo_n='sh -c $as_echo_n_body as_echo'
4969 as_echo='sh -c $as_echo_body as_echo'
4972 # The user is always right.
4973 if test "${PATH_SEPARATOR+set}" != set; then
4975 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4976 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4983 # We need space, tab and new line, in precisely that order. Quoting is
4984 # there to prevent editors from complaining about space-tab.
4985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4986 # splitting by setting IFS to empty value.)
4989 # Find who we are. Look in the path if we contain no directory separator.
4992 *[\\/]* ) as_myself=$0 ;;
4993 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5004 # We did not find ourselves, most probably we were run as `sh COMMAND'
5005 # in which case we are not to be found in the path.
5006 if test "x$as_myself" = x; then
5009 if test ! -f "$as_myself"; then
5010 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5014 # Unset variables that we do not need and which cause bugs (e.g. in
5015 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5016 # suppresses any "Segmentation fault" message there. '((' could
5017 # trigger a bug in pdksh 5.2.14.
5018 for as_var in BASH_ENV ENV MAIL MAILPATH
5019 do eval test x\${$as_var+set} = xset \
5020 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5033 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5036 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5037 # ----------------------------------------
5038 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5039 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5040 # script with STATUS, using 1 if that was 0.
5043 as_status=$1; test $as_status -eq 0 && as_status=1
5045 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5046 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5048 $as_echo "$as_me: error: $2" >&2
5049 as_fn_exit $as_status
5053 # as_fn_set_status STATUS
5054 # -----------------------
5055 # Set $? to STATUS, without forking.
5059 } # as_fn_set_status
5063 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5073 # Portably unset VAR.
5076 { eval $1=; unset $1;}
5078 as_unset=as_fn_unset
5079 # as_fn_append VAR VALUE
5080 # ----------------------
5081 # Append the text in VALUE to the end of the definition contained in VAR. Take
5082 # advantage of any shell optimizations that allow amortized linear growth over
5083 # repeated appends, instead of the typical quadratic growth present in naive
5085 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5086 eval 'as_fn_append ()
5097 # as_fn_arith ARG...
5098 # ------------------
5099 # Perform arithmetic evaluation on the ARGs, and store the result in the
5100 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5101 # must be portable across $(()) and expr.
5102 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5103 eval 'as_fn_arith ()
5110 as_val=`expr "$@" || test $? -eq 1`
5115 if expr a : '\(a\)' >/dev/null 2>&1 &&
5116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5123 as_basename=basename
5128 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5134 as_me=`$as_basename -- "$0" ||
5135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5136 X"$0" : 'X\(//\)$' \| \
5137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5139 sed '/^.*\/\([^/][^/]*\)\/*$/{
5153 # Avoid depending upon Character Ranges.
5154 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5155 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5156 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5157 as_cr_digits='0123456789'
5158 as_cr_alnum=$as_cr_Letters$as_cr_digits
5160 ECHO_C= ECHO_N= ECHO_T=
5161 case `echo -n x` in #(((((
5163 case `echo 'xy\c'` in
5164 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5166 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5173 rm -f conf$$ conf$$.exe conf$$.file
5174 if test -d conf$$.dir; then
5175 rm -f conf$$.dir/conf$$.file
5178 mkdir conf$$.dir 2>/dev/null
5180 if (echo >conf$$.file) 2>/dev/null; then
5181 if ln -s conf$$.file conf$$ 2>/dev/null; then
5183 # ... but there are two gotchas:
5184 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5185 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5186 # In both cases, we have to default to `cp -p'.
5187 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5189 elif ln conf$$.file conf$$ 2>/dev/null; then
5197 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5198 rmdir conf$$.dir 2>/dev/null
5203 # Create "$as_dir" as a directory, including parents if necessary.
5208 -*) as_dir=./$as_dir;;
5210 test -d "$as_dir" || eval $as_mkdir_p || {
5214 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5215 *) as_qdir=$as_dir;;
5217 as_dirs="'$as_qdir' $as_dirs"
5218 as_dir=`$as_dirname -- "$as_dir" ||
5219 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5220 X"$as_dir" : 'X\(//\)[^/]' \| \
5221 X"$as_dir" : 'X\(//\)$' \| \
5222 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5223 $as_echo X"$as_dir" |
5224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5241 test -d "$as_dir" && break
5243 test -z "$as_dirs" || eval "mkdir $as_dirs"
5244 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5248 if mkdir -p . 2>/dev/null; then
5249 as_mkdir_p='mkdir -p "$as_dir"'
5251 test -d ./-p && rmdir ./-p
5255 if test -x / >/dev/null 2>&1; then
5258 if ls -dL / >/dev/null 2>&1; then
5265 if test -d "$1"; then
5271 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5272 ???[sx]*):;;*)false;;esac;fi
5276 as_executable_p=$as_test_x
5278 # Sed expression to map a string onto a valid CPP name.
5279 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5281 # Sed expression to map a string onto a valid variable name.
5282 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5286 ## ----------------------------------- ##
5287 ## Main body of $CONFIG_STATUS script. ##
5288 ## ----------------------------------- ##
5290 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5293 # Save the log message, to keep $0 and so on meaningful, and to
5294 # report actual input values of CONFIG_FILES etc. instead of their
5295 # values after options handling.
5297 This file was extended by ppastats $as_me 0.0.6, which was
5298 generated by GNU Autoconf 2.68. Invocation command line was
5300 CONFIG_FILES = $CONFIG_FILES
5301 CONFIG_HEADERS = $CONFIG_HEADERS
5302 CONFIG_LINKS = $CONFIG_LINKS
5303 CONFIG_COMMANDS = $CONFIG_COMMANDS
5306 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5311 case $ac_config_files in *"
5312 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5315 case $ac_config_headers in *"
5316 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5321 # Files that config.status was made for.
5322 config_files="$ac_config_files"
5323 config_headers="$ac_config_headers"
5324 config_commands="$ac_config_commands"
5328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5330 \`$as_me' instantiates files and other configuration actions
5331 from templates according to the current configuration. Unless the files
5332 and actions are specified as TAGs, all are instantiated by default.
5334 Usage: $0 [OPTION]... [TAG]...
5336 -h, --help print this help, then exit
5337 -V, --version print version number and configuration settings, then exit
5338 --config print configuration, then exit
5339 -q, --quiet, --silent
5340 do not print progress messages
5341 -d, --debug don't remove temporary files
5342 --recheck update $as_me by reconfiguring in the same conditions
5343 --file=FILE[:TEMPLATE]
5344 instantiate the configuration file FILE
5345 --header=FILE[:TEMPLATE]
5346 instantiate the configuration header FILE
5348 Configuration files:
5351 Configuration headers:
5354 Configuration commands:
5357 Report bugs to <jeanfi@gmail.com>.
5358 ppastats home page: <http://wpitchoune.net/ppastats>."
5361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5362 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5364 ppastats config.status 0.0.6
5365 configured by $0, generated by GNU Autoconf 2.68,
5366 with options \\"\$ac_cs_config\\"
5368 Copyright (C) 2010 Free Software Foundation, Inc.
5369 This config.status script is free software; the Free Software Foundation
5370 gives unlimited permission to copy, distribute and modify it."
5377 test -n "\$AWK" || AWK=awk
5380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5381 # The default lists apply if the user does not specify any file.
5387 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5388 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5392 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5404 # Handling of the options.
5405 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5407 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5408 $as_echo "$ac_cs_version"; exit ;;
5409 --config | --confi | --conf | --con | --co | --c )
5410 $as_echo "$ac_cs_config"; exit ;;
5411 --debug | --debu | --deb | --de | --d | -d )
5413 --file | --fil | --fi | --f )
5416 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5417 '') as_fn_error $? "missing file argument" ;;
5419 as_fn_append CONFIG_FILES " '$ac_optarg'"
5420 ac_need_defaults=false;;
5421 --header | --heade | --head | --hea )
5424 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5426 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5427 ac_need_defaults=false;;
5429 # Conflict between --help and --header
5430 as_fn_error $? "ambiguous option: \`$1'
5431 Try \`$0 --help' for more information.";;
5432 --help | --hel | -h )
5433 $as_echo "$ac_cs_usage"; exit ;;
5434 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5435 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5439 -*) as_fn_error $? "unrecognized option: \`$1'
5440 Try \`$0 --help' for more information." ;;
5442 *) as_fn_append ac_config_targets " $1"
5443 ac_need_defaults=false ;;
5449 ac_configure_extra_args=
5451 if $ac_cs_silent; then
5453 ac_configure_extra_args="$ac_configure_extra_args --silent"
5457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5458 if \$ac_cs_recheck; then
5459 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5461 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5462 CONFIG_SHELL='$SHELL'
5468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5472 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5473 ## Running $as_me. ##
5479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5483 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5489 # Handling of arguments.
5490 for ac_config_target in $ac_config_targets
5492 case $ac_config_target in
5493 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5494 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5495 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5496 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5497 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5498 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
5500 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5505 # If the user did not use the arguments to specify the items to instantiate,
5506 # then the envvar interface is used. Set only those that are not.
5507 # We use the long form for the default assignment because of an extremely
5508 # bizarre bug on SunOS 4.1.3.
5509 if $ac_need_defaults; then
5510 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5511 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5512 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5515 # Have a temporary directory for convenience. Make it in the build tree
5516 # simply because there is no reason against having it here, and in addition,
5517 # creating and moving files from /tmp can sometimes cause problems.
5518 # Hook for its removal unless debugging.
5519 # Note that there is a small window in which the directory will not be cleaned:
5520 # after its creation but before its name has been assigned to `$tmp'.
5524 trap 'exit_status=$?
5526 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5528 trap 'as_fn_exit 1' 1 2 13 15
5530 # Create a (secure) tmp directory for tmp files.
5533 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5537 tmp=./conf$$-$RANDOM
5538 (umask 077 && mkdir "$tmp")
5539 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5542 # Set up the scripts for CONFIG_FILES section.
5543 # No need to generate them if there are no CONFIG_FILES.
5544 # This happens for instance with `./config.status config.h'.
5545 if test -n "$CONFIG_FILES"; then
5548 ac_cr=`echo X | tr X '\015'`
5549 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5550 # But we know of no other shell where ac_cr would be empty at this
5551 # point, so we can use a bashism as a fallback.
5552 if test "x$ac_cr" = x; then
5553 eval ac_cr=\$\'\\r\'
5555 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5556 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5562 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5567 echo "cat >conf$$subs.awk <<_ACEOF" &&
5568 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5571 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5572 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5574 for ac_last_try in false false false false false :; do
5575 . ./conf$$subs.sh ||
5576 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5578 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5579 if test $ac_delim_n = $ac_delim_num; then
5581 elif $ac_last_try; then
5582 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5584 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5590 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5594 s/^/S["/; s/!.*/"]=/
5604 s/\(.\{148\}\)..*/\1/
5606 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5618 s/\(.\{148\}\)..*/\1/
5620 s/["\\]/\\&/g; s/^/"/; s/$/"/
5624 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5629 ' <conf$$subs.awk | sed '
5634 ' >>$CONFIG_STATUS || ac_write_fail=1
5635 rm -f conf$$subs.awk
5636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5638 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5639 for (key in S) S_is_set[key] = 1
5645 nfields = split(line, field, "@")
5647 len = length(field[1])
5648 for (i = 2; i < nfields; i++) {
5650 keylen = length(key)
5651 if (S_is_set[key]) {
5653 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5654 len += length(value) + length(field[++i])
5665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5666 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5667 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5670 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5671 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5674 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5675 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5676 # trailing colons and then remove the whole line if VPATH becomes empty
5677 # (actually we leave an empty line to preserve line numbers).
5678 if test "x$srcdir" = x.; then
5679 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5698 fi # test -n "$CONFIG_FILES"
5700 # Set up the scripts for CONFIG_HEADERS section.
5701 # No need to generate them if there are no CONFIG_HEADERS.
5702 # This happens for instance with `./config.status Makefile'.
5703 if test -n "$CONFIG_HEADERS"; then
5704 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5708 # Transform confdefs.h into an awk script `defines.awk', embedded as
5709 # here-document in config.status, that substitutes the proper values into
5710 # config.h.in to produce config.h.
5712 # Create a delimiter string that does not exist in confdefs.h, to ease
5713 # handling of long lines.
5715 for ac_last_try in false false :; do
5716 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5717 if test -z "$ac_tt"; then
5719 elif $ac_last_try; then
5720 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5726 # For the awk script, D is an array of macro values keyed by name,
5727 # likewise P contains macro parameters if any. Preserve backslash
5728 # newline sequences.
5730 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5732 s/.\{148\}/&'"$ac_delim"'/g
5735 s/^[ ]*#[ ]*define[ ][ ]*/ /
5742 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5744 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5749 D["\1"]=" \3\\\\\\n"\\/p
5751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5756 s/.\{148\}/&'"$ac_delim"'/g
5761 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5764 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5766 ' <confdefs.h | sed '
5767 s/'"$ac_delim"'/"\\\
5768 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5771 for (key in D) D_is_set[key] = 1
5774 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5776 split(line, arg, " ")
5777 if (arg[1] == "#") {
5781 defundef = substr(arg[1], 2)
5784 split(mac1, mac2, "(") #)
5786 prefix = substr(line, 1, index(line, defundef) - 1)
5787 if (D_is_set[macro]) {
5788 # Preserve the white space surrounding the "#".
5789 print prefix "define", macro P[macro] D[macro]
5792 # Replace #undef with comments. This is necessary, for example,
5793 # in the case of _POSIX_SOURCE, which is predefined and required
5794 # on some systems where configure will not decide to define it.
5795 if (defundef == "undef") {
5796 print "/*", prefix defundef, macro, "*/"
5804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5805 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5806 fi # test -n "$CONFIG_HEADERS"
5809 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5814 :[FHLC]) ac_mode=$ac_tag; continue;;
5816 case $ac_mode$ac_tag in
5818 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5819 :[FH]-) ac_tag=-:-;;
5820 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5837 -) ac_f="$ac_tmp/stdin";;
5838 *) # Look for the file first in the build tree, then in the source tree
5839 # (if the path is not absolute). The absolute path cannot be DOS-style,
5840 # because $ac_f cannot contain `:'.
5844 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5846 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5848 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5849 as_fn_append ac_file_inputs " '$ac_f'"
5852 # Let's still pretend it is `configure' which instantiates (i.e., don't
5853 # use $as_me), people would be surprised to read:
5854 # /* config.h. Generated by config.status. */
5855 configure_input='Generated from '`
5856 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5858 if test x"$ac_file" != x-; then
5859 configure_input="$ac_file. $configure_input"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5861 $as_echo "$as_me: creating $ac_file" >&6;}
5863 # Neutralize special characters interpreted by sed in replacement strings.
5864 case $configure_input in #(
5865 *\&* | *\|* | *\\* )
5866 ac_sed_conf_input=`$as_echo "$configure_input" |
5867 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5868 *) ac_sed_conf_input=$configure_input;;
5872 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5878 ac_dir=`$as_dirname -- "$ac_file" ||
5879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5880 X"$ac_file" : 'X\(//\)[^/]' \| \
5881 X"$ac_file" : 'X\(//\)$' \| \
5882 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5883 $as_echo X"$ac_file" |
5884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5901 as_dir="$ac_dir"; as_fn_mkdir_p
5905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5907 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5908 # A ".." for each directory in $ac_dir_suffix.
5909 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5910 case $ac_top_builddir_sub in
5911 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5912 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5915 ac_abs_top_builddir=$ac_pwd
5916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5917 # for backward compatibility:
5918 ac_top_builddir=$ac_top_build_prefix
5921 .) # We are building in place.
5923 ac_top_srcdir=$ac_top_builddir_sub
5924 ac_abs_top_srcdir=$ac_pwd ;;
5925 [\\/]* | ?:[\\/]* ) # Absolute name.
5926 ac_srcdir=$srcdir$ac_dir_suffix;
5927 ac_top_srcdir=$srcdir
5928 ac_abs_top_srcdir=$srcdir ;;
5930 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5931 ac_top_srcdir=$ac_top_build_prefix$srcdir
5932 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5944 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5945 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5949 [\\/$]* | ?:[\\/]* ) ;;
5950 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5955 # If the template does not know about datarootdir, expand it.
5956 # FIXME: This hack should be removed a few years after 2.60.
5957 ac_datarootdir_hack=; ac_datarootdir_seen=
5968 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5969 *datarootdir*) ac_datarootdir_seen=yes;;
5970 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5972 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5975 ac_datarootdir_hack='
5976 s&@datadir@&$datadir&g
5977 s&@docdir@&$docdir&g
5978 s&@infodir@&$infodir&g
5979 s&@localedir@&$localedir&g
5980 s&@mandir@&$mandir&g
5981 s&\\\${datarootdir}&$datarootdir&g' ;;
5985 # Neutralize VPATH when `$srcdir' = `.'.
5986 # Shell code in configure.ac might set extrasub.
5987 # FIXME: do we really want to maintain this feature?
5988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5989 ac_sed_extra="$ac_vpsub
5992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5995 s|@configure_input@|$ac_sed_conf_input|;t t
5996 s&@top_builddir@&$ac_top_builddir_sub&;t t
5997 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5998 s&@srcdir@&$ac_srcdir&;t t
5999 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6000 s&@top_srcdir@&$ac_top_srcdir&;t t
6001 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6002 s&@builddir@&$ac_builddir&;t t
6003 s&@abs_builddir@&$ac_abs_builddir&;t t
6004 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6005 s&@INSTALL@&$ac_INSTALL&;t t
6006 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6007 $ac_datarootdir_hack
6009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6010 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6013 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6015 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6017 which seems to be undefined. Please make sure it is defined" >&5
6018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6019 which seems to be undefined. Please make sure it is defined" >&2;}
6021 rm -f "$ac_tmp/stdin"
6023 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6024 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6032 if test x"$ac_file" != x-; then
6034 $as_echo "/* $configure_input */" \
6035 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6036 } >"$ac_tmp/config.h" \
6037 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6038 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6043 mv "$ac_tmp/config.h" "$ac_file" \
6044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6047 $as_echo "/* $configure_input */" \
6048 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6049 || as_fn_error $? "could not create -" "$LINENO" 5
6051 # Compute "$ac_file"'s index in $config_headers.
6054 for _am_header in $config_headers :; do
6056 $_am_arg | $_am_arg:* )
6059 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6062 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6063 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6064 X"$_am_arg" : 'X\(//\)[^/]' \| \
6065 X"$_am_arg" : 'X\(//\)$' \| \
6066 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6067 $as_echo X"$_am_arg" |
6068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6084 s/.*/./; q'`/stamp-h$_am_stamp_count
6087 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6088 $as_echo "$as_me: executing $ac_file commands" >&6;}
6093 case $ac_file$ac_mode in
6094 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6095 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6096 # are listed without --file. Let's play safe and only enable the eval
6097 # if we detect the quoting.
6098 case $CONFIG_FILES in
6099 *\'*) eval set x "$CONFIG_FILES" ;;
6100 *) set x $CONFIG_FILES ;;
6105 # Strip MF so we end up with the name of the file.
6106 mf=`echo "$mf" | sed -e 's/:.*$//'`
6107 # Check whether this is an Automake generated Makefile or not.
6108 # We used to match only the files named `Makefile.in', but
6109 # some people rename them; so instead we look at the file content.
6110 # Grep'ing the first line is not enough: some people post-process
6111 # each Makefile.in and add a new line on top of each file to say so.
6112 # Grep'ing the whole file is not good either: AIX grep has a line
6113 # limit of 2048, but all sed's we know have understand at least 4000.
6114 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6115 dirpart=`$as_dirname -- "$mf" ||
6116 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6117 X"$mf" : 'X\(//\)[^/]' \| \
6118 X"$mf" : 'X\(//\)$' \| \
6119 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6141 # Extract the definition of DEPDIR, am__include, and am__quote
6142 # from the Makefile without running `make'.
6143 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6144 test -z "$DEPDIR" && continue
6145 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6146 test -z "am__include" && continue
6147 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6148 # When using ansi2knr, U may be empty or an underscore; expand it
6149 U=`sed -n 's/^U = //p' < "$mf"`
6150 # Find all dependency output files, they are included files with
6151 # $(DEPDIR) in their names. We invoke sed twice because it is the
6152 # simplest approach to changing $(DEPDIR) to its actual value in the
6154 for file in `sed -n "
6155 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6156 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6157 # Make sure the directory exists.
6158 test -f "$dirpart/$file" && continue
6159 fdir=`$as_dirname -- "$file" ||
6160 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6161 X"$file" : 'X\(//\)[^/]' \| \
6162 X"$file" : 'X\(//\)$' \| \
6163 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6182 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6183 # echo "creating $dirpart/$file"
6184 echo '# dummy' > "$dirpart/$file"
6196 ac_clean_files=$ac_clean_files_save
6198 test $ac_write_fail = 0 ||
6199 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6202 # configure is writing to config.log, and then calls config.status.
6203 # config.status does its own redirection, appending to config.log.
6204 # Unfortunately, on DOS this fails, as config.log is still kept open
6205 # by configure, so config.status won't be able to write to it; its
6206 # output is simply discarded. So we exec the FD to /dev/null,
6207 # effectively closing config.log, so it can be properly (re)opened and
6208 # appended to by config.status. When coming back to configure, we
6209 # need to make the FD available again.
6210 if test "$no_create" != yes; then
6212 ac_config_status_args=
6213 test "$silent" = yes &&
6214 ac_config_status_args="$ac_config_status_args --quiet"
6216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6219 # would make configure fail if this is the last instruction.
6220 $ac_cs_success || as_fn_exit 1
6222 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6224 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}