2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ppastats 0.0.x.
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.x'
564 PACKAGE_STRING='ppastats 0.0.x'
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
647 INSTALL_STRIP_PROGRAM
689 program_transform_name
702 enable_option_checking
703 enable_dependency_tracking
706 ac_precious_vars='build_alias
725 # Initialize some variables set by options.
727 ac_init_version=false
728 ac_unrecognized_opts=
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
739 program_transform_name=s,x,x,
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir='${exec_prefix}/bin'
754 sbindir='${exec_prefix}/sbin'
755 libexecdir='${exec_prefix}/libexec'
756 datarootdir='${prefix}/share'
757 datadir='${datarootdir}'
758 sysconfdir='${prefix}/etc'
759 sharedstatedir='${prefix}/com'
760 localstatedir='${prefix}/var'
761 includedir='${prefix}/include'
762 oldincludedir='/usr/include'
763 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
764 infodir='${datarootdir}/info'
769 libdir='${exec_prefix}/lib'
770 localedir='${datarootdir}/locale'
771 mandir='${datarootdir}/man'
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\$ac_option
785 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790 # Accept the important Cygnus configure options, so we can diagnose typos.
792 case $ac_dashdash$ac_option in
796 -bindir | --bindir | --bindi | --bind | --bin | --bi)
798 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801 -build | --build | --buil | --bui | --bu)
802 ac_prev=build_alias ;;
803 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804 build_alias=$ac_optarg ;;
806 -cache-file | --cache-file | --cache-fil | --cache-fi \
807 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808 ac_prev=cache_file ;;
809 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811 cache_file=$ac_optarg ;;
814 cache_file=config.cache ;;
816 -datadir | --datadir | --datadi | --datad)
818 -datadir=* | --datadir=* | --datadi=* | --datad=*)
819 datadir=$ac_optarg ;;
821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822 | --dataroo | --dataro | --datar)
823 ac_prev=datarootdir ;;
824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826 datarootdir=$ac_optarg ;;
828 -disable-* | --disable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: $ac_useropt"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
842 eval enable_$ac_useropt=no ;;
844 -docdir | --docdir | --docdi | --doc | --do)
846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
854 -enable-* | --enable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: $ac_useropt"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
868 eval enable_$ac_useropt=\$ac_optarg ;;
870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872 | --exec | --exe | --ex)
873 ac_prev=exec_prefix ;;
874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876 | --exec=* | --exe=* | --ex=*)
877 exec_prefix=$ac_optarg ;;
879 -gas | --gas | --ga | --g)
880 # Obsolete; use --with-gas.
883 -help | --help | --hel | --he | -h)
885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886 ac_init_help=recursive ;;
887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888 ac_init_help=short ;;
890 -host | --host | --hos | --ho)
891 ac_prev=host_alias ;;
892 -host=* | --host=* | --hos=* | --ho=*)
893 host_alias=$ac_optarg ;;
895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
899 htmldir=$ac_optarg ;;
901 -includedir | --includedir | --includedi | --included | --include \
902 | --includ | --inclu | --incl | --inc)
903 ac_prev=includedir ;;
904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905 | --includ=* | --inclu=* | --incl=* | --inc=*)
906 includedir=$ac_optarg ;;
908 -infodir | --infodir | --infodi | --infod | --info | --inf)
910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911 infodir=$ac_optarg ;;
913 -libdir | --libdir | --libdi | --libd)
915 -libdir=* | --libdir=* | --libdi=* | --libd=*)
918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919 | --libexe | --libex | --libe)
920 ac_prev=libexecdir ;;
921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922 | --libexe=* | --libex=* | --libe=*)
923 libexecdir=$ac_optarg ;;
925 -localedir | --localedir | --localedi | --localed | --locale)
927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928 localedir=$ac_optarg ;;
930 -localstatedir | --localstatedir | --localstatedi | --localstated \
931 | --localstate | --localstat | --localsta | --localst | --locals)
932 ac_prev=localstatedir ;;
933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935 localstatedir=$ac_optarg ;;
937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
943 # Obsolete; use --without-fp.
946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947 | --no-cr | --no-c | -n)
950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956 | --oldin | --oldi | --old | --ol | --o)
957 ac_prev=oldincludedir ;;
958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961 oldincludedir=$ac_optarg ;;
963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
968 -program-prefix | --program-prefix | --program-prefi | --program-pref \
969 | --program-pre | --program-pr | --program-p)
970 ac_prev=program_prefix ;;
971 -program-prefix=* | --program-prefix=* | --program-prefi=* \
972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973 program_prefix=$ac_optarg ;;
975 -program-suffix | --program-suffix | --program-suffi | --program-suff \
976 | --program-suf | --program-su | --program-s)
977 ac_prev=program_suffix ;;
978 -program-suffix=* | --program-suffix=* | --program-suffi=* \
979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980 program_suffix=$ac_optarg ;;
982 -program-transform-name | --program-transform-name \
983 | --program-transform-nam | --program-transform-na \
984 | --program-transform-n | --program-transform- \
985 | --program-transform | --program-transfor \
986 | --program-transfo | --program-transf \
987 | --program-trans | --program-tran \
988 | --progr-tra | --program-tr | --program-t)
989 ac_prev=program_transform_name ;;
990 -program-transform-name=* | --program-transform-name=* \
991 | --program-transform-nam=* | --program-transform-na=* \
992 | --program-transform-n=* | --program-transform-=* \
993 | --program-transform=* | --program-transfor=* \
994 | --program-transfo=* | --program-transf=* \
995 | --program-trans=* | --program-tran=* \
996 | --progr-tra=* | --program-tr=* | --program-t=*)
997 program_transform_name=$ac_optarg ;;
999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002 pdfdir=$ac_optarg ;;
1004 -psdir | --psdir | --psdi | --psd | --ps)
1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010 | -silent | --silent | --silen | --sile | --sil)
1013 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1015 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1017 sbindir=$ac_optarg ;;
1019 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1020 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1021 | --sharedst | --shareds | --shared | --share | --shar \
1023 ac_prev=sharedstatedir ;;
1024 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1025 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1026 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1028 sharedstatedir=$ac_optarg ;;
1030 -site | --site | --sit)
1032 -site=* | --site=* | --sit=*)
1035 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1037 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1038 srcdir=$ac_optarg ;;
1040 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1041 | --syscon | --sysco | --sysc | --sys | --sy)
1042 ac_prev=sysconfdir ;;
1043 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1044 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1045 sysconfdir=$ac_optarg ;;
1047 -target | --target | --targe | --targ | --tar | --ta | --t)
1048 ac_prev=target_alias ;;
1049 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1050 target_alias=$ac_optarg ;;
1052 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1055 -version | --version | --versio | --versi | --vers | -V)
1056 ac_init_version=: ;;
1059 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval with_$ac_useropt=\$ac_optarg ;;
1074 -without-* | --without-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=no ;;
1091 # Obsolete; use --with-x.
1094 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1095 | --x-incl | --x-inc | --x-in | --x-i)
1096 ac_prev=x_includes ;;
1097 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1098 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1099 x_includes=$ac_optarg ;;
1101 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1102 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1103 ac_prev=x_libraries ;;
1104 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1105 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1106 x_libraries=$ac_optarg ;;
1108 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1109 Try \`$0 --help' for more information"
1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114 # Reject names that are not valid shell variable names.
1115 case $ac_envvar in #(
1116 '' | [0-9]* | *[!_$as_cr_alnum]* )
1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1119 eval $ac_envvar=\$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133 if test -n "$ac_prev"; then
1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1135 as_fn_error $? "missing argument to $ac_option"
1138 if test -n "$ac_unrecognized_opts"; then
1139 case $enable_option_checking in
1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146 # Check all directory arguments for consistency.
1147 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148 datadir sysconfdir sharedstatedir localstatedir includedir \
1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150 libdir localedir mandir
1152 eval ac_val=\$$ac_var
1153 # Remove trailing slashes.
1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157 eval $ac_var=\$ac_val;;
1159 # Be sure to have absolute directory names.
1161 [\\/$]* | ?:[\\/]* ) continue;;
1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1172 target=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x; then
1176 if test "x$build_alias" = x; then
1177 cross_compiling=maybe
1178 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1179 If a cross compiler is detected then cross compile mode will be used" >&2
1180 elif test "x$build_alias" != "x$host_alias"; then
1186 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188 test "$silent" = yes && exec 6>/dev/null
1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1192 ac_ls_di=`ls -di .` &&
1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1194 as_fn_error $? "working directory cannot be determined"
1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1196 as_fn_error $? "pwd does not report name of working directory"
1199 # Find the source files, if location was not specified.
1200 if test -z "$srcdir"; then
1201 ac_srcdir_defaulted=yes
1202 # Try the directory containing this script, then the parent directory.
1203 ac_confdir=`$as_dirname -- "$as_myself" ||
1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1205 X"$as_myself" : 'X\(//\)[^/]' \| \
1206 X"$as_myself" : 'X\(//\)$' \| \
1207 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1208 $as_echo X"$as_myself" |
1209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1231 ac_srcdir_defaulted=no
1233 if test ! -r "$srcdir/$ac_unique_file"; then
1234 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1235 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1239 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1241 # When building in place, set srcdir=.
1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
1245 # Remove unnecessary trailing slashes from srcdir.
1246 # Double slashes in file names in object file debugging info
1247 # mess up M-x gdb in Emacs.
1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1251 for ac_var in $ac_precious_vars; do
1252 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1253 eval ac_env_${ac_var}_value=\$${ac_var}
1254 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1259 # Report the --help message.
1261 if test "$ac_init_help" = "long"; then
1262 # Omit some internal or obsolete options to make the list less imposing.
1263 # This message is too long to be a string in the A/UX 3.1 sh.
1265 \`configure' configures ppastats 0.0.x to adapt to many kinds of systems.
1267 Usage: $0 [OPTION]... [VAR=VALUE]...
1269 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1270 VAR=VALUE. See below for descriptions of some of the useful variables.
1272 Defaults for the options are specified in brackets.
1275 -h, --help display this help and exit
1276 --help=short display options specific to this package
1277 --help=recursive display the short help of all the included packages
1278 -V, --version display version information and exit
1279 -q, --quiet, --silent do not print \`checking ...' messages
1280 --cache-file=FILE cache test results in FILE [disabled]
1281 -C, --config-cache alias for \`--cache-file=config.cache'
1282 -n, --no-create do not create output files
1283 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1285 Installation directories:
1286 --prefix=PREFIX install architecture-independent files in PREFIX
1287 [$ac_default_prefix]
1288 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1291 By default, \`make install' will install all the files in
1292 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1293 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1294 for instance \`--prefix=\$HOME'.
1296 For better control, use the options below.
1298 Fine tuning of the installation directories:
1299 --bindir=DIR user executables [EPREFIX/bin]
1300 --sbindir=DIR system admin executables [EPREFIX/sbin]
1301 --libexecdir=DIR program executables [EPREFIX/libexec]
1302 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1303 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1304 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1305 --libdir=DIR object code libraries [EPREFIX/lib]
1306 --includedir=DIR C header files [PREFIX/include]
1307 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1310 --infodir=DIR info documentation [DATAROOTDIR/info]
1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1312 --mandir=DIR man documentation [DATAROOTDIR/man]
1313 --docdir=DIR documentation root [DATAROOTDIR/doc/ppastats]
1314 --htmldir=DIR html documentation [DOCDIR]
1315 --dvidir=DIR dvi documentation [DOCDIR]
1316 --pdfdir=DIR pdf documentation [DOCDIR]
1317 --psdir=DIR ps documentation [DOCDIR]
1323 --program-prefix=PREFIX prepend PREFIX to installed program names
1324 --program-suffix=SUFFIX append SUFFIX to installed program names
1325 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1328 --x-includes=DIR X include files are in DIR
1329 --x-libraries=DIR X library files are in DIR
1333 if test -n "$ac_init_help"; then
1334 case $ac_init_help in
1335 short | recursive ) echo "Configuration of ppastats 0.0.x:";;
1340 --disable-option-checking ignore unrecognized --enable/--with options
1341 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1342 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1343 --disable-dependency-tracking speeds up one-time build
1344 --enable-dependency-tracking do not reject slow dependency extractors
1347 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1348 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1349 --with-x use the X Window System
1351 Some influential environment variables:
1352 CC C compiler command
1353 CFLAGS C compiler flags
1354 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1355 nonstandard directory <lib dir>
1356 LIBS libraries to pass to the linker, e.g. -l<library>
1357 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1358 you have headers in a nonstandard directory <include dir>
1359 XMKMF Path to xmkmf, Makefile generator for X Window System
1361 PKG_CONFIG path to pkg-config utility
1363 directories to add to pkg-config's search path
1365 path overriding pkg-config's built-in search path
1366 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1367 CURL_LIBS linker flags for CURL, overriding pkg-config
1368 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1369 JSON_LIBS linker flags for JSON, overriding pkg-config
1371 Use these variables to override the choices made by `configure' or to help
1372 it to find libraries and programs with nonstandard names/locations.
1374 Report bugs to <jeanfi@gmail.com>.
1375 ppastats home page: <http://wpitchoune.net/ppastats>.
1380 if test "$ac_init_help" = "recursive"; then
1381 # If there are subdirs, report their specific --help.
1382 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1383 test -d "$ac_dir" ||
1384 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1389 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1391 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1392 # A ".." for each directory in $ac_dir_suffix.
1393 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1394 case $ac_top_builddir_sub in
1395 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1399 ac_abs_top_builddir=$ac_pwd
1400 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1401 # for backward compatibility:
1402 ac_top_builddir=$ac_top_build_prefix
1405 .) # We are building in place.
1407 ac_top_srcdir=$ac_top_builddir_sub
1408 ac_abs_top_srcdir=$ac_pwd ;;
1409 [\\/]* | ?:[\\/]* ) # Absolute name.
1410 ac_srcdir=$srcdir$ac_dir_suffix;
1411 ac_top_srcdir=$srcdir
1412 ac_abs_top_srcdir=$srcdir ;;
1414 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1415 ac_top_srcdir=$ac_top_build_prefix$srcdir
1416 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1418 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1420 cd "$ac_dir" || { ac_status=$?; continue; }
1421 # Check for guested configure.
1422 if test -f "$ac_srcdir/configure.gnu"; then
1424 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1425 elif test -f "$ac_srcdir/configure"; then
1427 $SHELL "$ac_srcdir/configure" --help=recursive
1429 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1431 cd "$ac_pwd" || { ac_status=$?; break; }
1435 test -n "$ac_init_help" && exit $ac_status
1436 if $ac_init_version; then
1438 ppastats configure 0.0.x
1439 generated by GNU Autoconf 2.68
1441 Copyright (C) 2010 Free Software Foundation, Inc.
1442 This configure script is free software; the Free Software Foundation
1443 gives unlimited permission to copy, distribute and modify it.
1448 ## ------------------------ ##
1449 ## Autoconf initialization. ##
1450 ## ------------------------ ##
1452 # ac_fn_c_try_compile LINENO
1453 # --------------------------
1454 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1455 ac_fn_c_try_compile ()
1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1458 rm -f conftest.$ac_objext
1459 if { { ac_try="$ac_compile"
1461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1462 *) ac_try_echo=$ac_try;;
1464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1465 $as_echo "$ac_try_echo"; } >&5
1466 (eval "$ac_compile") 2>conftest.err
1468 if test -s conftest.err; then
1469 grep -v '^ *+' conftest.err >conftest.er1
1470 cat conftest.er1 >&5
1471 mv -f conftest.er1 conftest.err
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1474 test $ac_status = 0; } && {
1475 test -z "$ac_c_werror_flag" ||
1476 test ! -s conftest.err
1477 } && test -s conftest.$ac_objext; then :
1480 $as_echo "$as_me: failed program was:" >&5
1481 sed 's/^/| /' conftest.$ac_ext >&5
1485 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1486 as_fn_set_status $ac_retval
1488 } # ac_fn_c_try_compile
1490 # ac_fn_c_try_cpp LINENO
1491 # ----------------------
1492 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 if { { ac_try="$ac_cpp conftest.$ac_ext"
1498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1499 *) ac_try_echo=$ac_try;;
1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502 $as_echo "$ac_try_echo"; } >&5
1503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1505 if test -s conftest.err; then
1506 grep -v '^ *+' conftest.err >conftest.er1
1507 cat conftest.er1 >&5
1508 mv -f conftest.er1 conftest.err
1510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511 test $ac_status = 0; } > conftest.i && {
1512 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1513 test ! -s conftest.err
1517 $as_echo "$as_me: failed program was:" >&5
1518 sed 's/^/| /' conftest.$ac_ext >&5
1522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523 as_fn_set_status $ac_retval
1527 # ac_fn_c_try_link LINENO
1528 # -----------------------
1529 # Try to link conftest.$ac_ext, and return whether this succeeded.
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext conftest$ac_exeext
1534 if { { ac_try="$ac_link"
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_link") 2>conftest.err
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest$ac_exeext && {
1553 test "$cross_compiling" = yes ||
1554 $as_test_x conftest$ac_exeext
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1564 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1565 # interfere with the next link command; also delete a directory that is
1566 # left behind by Apple's compiler. We do this before executing the actions.
1567 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569 as_fn_set_status $ac_retval
1571 } # ac_fn_c_try_link
1573 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1574 # -------------------------------------------------------
1575 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1576 # the include files in INCLUDES and setting the cache variable VAR
1578 ac_fn_c_check_header_mongrel ()
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 if eval \${$3+:} false; then :
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1583 $as_echo_n "checking for $2... " >&6; }
1584 if eval \${$3+:} false; then :
1585 $as_echo_n "(cached) " >&6
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 $as_echo "$ac_res" >&6; }
1591 # Is the header compilable?
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1593 $as_echo_n "checking $2 usability... " >&6; }
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595 /* end confdefs.h. */
1599 if ac_fn_c_try_compile "$LINENO"; then :
1600 ac_header_compiler=yes
1602 ac_header_compiler=no
1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1606 $as_echo "$ac_header_compiler" >&6; }
1608 # Is the header present?
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1610 $as_echo_n "checking $2 presence... " >&6; }
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h. */
1615 if ac_fn_c_try_cpp "$LINENO"; then :
1616 ac_header_preproc=yes
1618 ac_header_preproc=no
1620 rm -f conftest.err conftest.i conftest.$ac_ext
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1622 $as_echo "$ac_header_preproc" >&6; }
1624 # So? What about this header?
1625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1628 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1630 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1634 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1636 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1638 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1640 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1643 ( $as_echo "## ------------------------------- ##
1644 ## Report this to jeanfi@gmail.com ##
1645 ## ------------------------------- ##"
1646 ) | sed "s/^/$as_me: WARNING: /" >&2
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if eval \${$3+:} false; then :
1652 $as_echo_n "(cached) " >&6
1654 eval "$3=\$ac_header_compiler"
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658 $as_echo "$ac_res" >&6; }
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 } # ac_fn_c_check_header_mongrel
1664 # ac_fn_c_try_run LINENO
1665 # ----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667 # that executables *can* be run.
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 if { { ac_try="$ac_link"
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_link") 2>&5
1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1682 { { case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_try") 2>&5
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; }; }; then :
1694 $as_echo "$as_me: program exited with status $ac_status" >&5
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1698 ac_retval=$ac_status
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1707 # -------------------------------------------------------
1708 # Tests whether HEADER exists and can be compiled using the include files in
1709 # INCLUDES, setting the cache variable VAR accordingly.
1710 ac_fn_c_check_header_compile ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716 $as_echo_n "(cached) " >&6
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1723 if ac_fn_c_try_compile "$LINENO"; then :
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1732 $as_echo "$ac_res" >&6; }
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 } # ac_fn_c_check_header_compile
1736 cat >config.log <<_ACEOF
1737 This file contains any messages produced by compilers while
1738 running configure, to aid debugging if configure makes a mistake.
1740 It was created by ppastats $as_me 0.0.x, which was
1741 generated by GNU Autoconf 2.68. Invocation command line was
1753 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1754 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1755 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1756 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1757 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1759 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1760 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1762 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1763 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1764 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1765 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1766 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1767 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1768 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 $as_echo "PATH: $as_dir"
1793 # Keep a trace of the command line.
1794 # Strip out --no-create and --no-recursion so they do not pile up.
1795 # Strip out --silent because we don't want to record it for future runs.
1796 # Also quote any args containing shell meta-characters.
1797 # Make two passes to allow for proper duplicate-argument suppression.
1801 ac_must_keep_next=false
1807 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1808 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1809 | -silent | --silent | --silen | --sile | --sil)
1812 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1817 as_fn_append ac_configure_args1 " '$ac_arg'"
1818 if test $ac_must_keep_next = true; then
1819 ac_must_keep_next=false # Got value, back to normal.
1822 *=* | --config-cache | -C | -disable-* | --disable-* \
1823 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1824 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1825 | -with-* | --with-* | -without-* | --without-* | --x)
1826 case "$ac_configure_args0 " in
1827 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1830 -* ) ac_must_keep_next=true ;;
1833 as_fn_append ac_configure_args " '$ac_arg'"
1838 { ac_configure_args0=; unset ac_configure_args0;}
1839 { ac_configure_args1=; unset ac_configure_args1;}
1841 # When interrupted or exit'd, cleanup temporary files, and complete
1842 # config.log. We remove comments because anyway the quotes in there
1843 # would cause problems or look ugly.
1844 # WARNING: Use '\'' to represent an apostrophe within the trap.
1845 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1846 trap 'exit_status=$?
1847 # Save into config.log some information that might help in debugging.
1851 $as_echo "## ---------------- ##
1852 ## Cache variables. ##
1853 ## ---------------- ##"
1855 # The following way of writing the cache mishandles newlines in values,
1857 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1858 eval ac_val=\$$ac_var
1862 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1863 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1866 _ | IFS | as_nl) ;; #(
1867 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1868 *) { eval $ac_var=; unset $ac_var;} ;;
1873 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1874 *${as_nl}ac_space=\ *)
1876 "s/'\''/'\''\\\\'\'''\''/g;
1877 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1880 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1887 $as_echo "## ----------------- ##
1888 ## Output variables. ##
1889 ## ----------------- ##"
1891 for ac_var in $ac_subst_vars
1893 eval ac_val=\$$ac_var
1895 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1897 $as_echo "$ac_var='\''$ac_val'\''"
1901 if test -n "$ac_subst_files"; then
1902 $as_echo "## ------------------- ##
1903 ## File substitutions. ##
1904 ## ------------------- ##"
1906 for ac_var in $ac_subst_files
1908 eval ac_val=\$$ac_var
1910 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1912 $as_echo "$ac_var='\''$ac_val'\''"
1917 if test -s confdefs.h; then
1918 $as_echo "## ----------- ##
1925 test "$ac_signal" != 0 &&
1926 $as_echo "$as_me: caught signal $ac_signal"
1927 $as_echo "$as_me: exit $exit_status"
1929 rm -f core *.core core.conftest.* &&
1930 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1933 for ac_signal in 1 2 13 15; do
1934 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1938 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1939 rm -f -r conftest* confdefs.h
1941 $as_echo "/* confdefs.h */" > confdefs.h
1943 # Predefined preprocessor variables.
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_NAME "$PACKAGE_NAME"
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_STRING "$PACKAGE_STRING"
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_URL "$PACKAGE_URL"
1970 # Let the site file select an alternate cache file if it wants to.
1971 # Prefer an explicitly selected file to automatically selected ones.
1974 if test -n "$CONFIG_SITE"; then
1975 # We do not want a PATH search for config.site.
1976 case $CONFIG_SITE in #((
1977 -*) ac_site_file1=./$CONFIG_SITE;;
1978 */*) ac_site_file1=$CONFIG_SITE;;
1979 *) ac_site_file1=./$CONFIG_SITE;;
1981 elif test "x$prefix" != xNONE; then
1982 ac_site_file1=$prefix/share/config.site
1983 ac_site_file2=$prefix/etc/config.site
1985 ac_site_file1=$ac_default_prefix/share/config.site
1986 ac_site_file2=$ac_default_prefix/etc/config.site
1988 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1990 test "x$ac_site_file" = xNONE && continue
1991 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1993 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1994 sed 's/^/| /' "$ac_site_file" >&5
1996 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1998 as_fn_error $? "failed to load site script $ac_site_file
1999 See \`config.log' for more details" "$LINENO" 5; }
2003 if test -r "$cache_file"; then
2004 # Some versions of bash will fail to source /dev/null (special files
2005 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2006 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2008 $as_echo "$as_me: loading cache $cache_file" >&6;}
2010 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2011 *) . "./$cache_file";;
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2016 $as_echo "$as_me: creating cache $cache_file" >&6;}
2020 # Check that the precious variables saved in the cache have kept the same
2022 ac_cache_corrupted=false
2023 for ac_var in $ac_precious_vars; do
2024 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2025 eval ac_new_set=\$ac_env_${ac_var}_set
2026 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2027 eval ac_new_val=\$ac_env_${ac_var}_value
2028 case $ac_old_set,$ac_new_set in
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2031 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2032 ac_cache_corrupted=: ;;
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2035 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2036 ac_cache_corrupted=: ;;
2039 if test "x$ac_old_val" != "x$ac_new_val"; then
2040 # differences in whitespace do not lead to failure.
2041 ac_old_val_w=`echo x $ac_old_val`
2042 ac_new_val_w=`echo x $ac_new_val`
2043 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2045 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2046 ac_cache_corrupted=:
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2049 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2050 eval $ac_var=\$ac_old_val
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2053 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2055 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2058 # Pass precious variables to config.status.
2059 if test "$ac_new_set" = set; then
2061 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2062 *) ac_arg=$ac_var=$ac_new_val ;;
2064 case " $ac_configure_args " in
2065 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2066 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2070 if $ac_cache_corrupted; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2074 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2075 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2077 ## -------------------- ##
2078 ## Main body of script. ##
2079 ## -------------------- ##
2082 ac_cpp='$CPP $CPPFLAGS'
2083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2089 am__api_version='1.11'
2092 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2093 if test -f "$ac_dir/install-sh"; then
2095 ac_install_sh="$ac_aux_dir/install-sh -c"
2097 elif test -f "$ac_dir/install.sh"; then
2099 ac_install_sh="$ac_aux_dir/install.sh -c"
2101 elif test -f "$ac_dir/shtool"; then
2103 ac_install_sh="$ac_aux_dir/shtool install -c"
2107 if test -z "$ac_aux_dir"; then
2108 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2111 # These three variables are undocumented and unsupported,
2112 # and are intended to be withdrawn in a future Autoconf release.
2113 # They can cause serious problems if a builder's source tree is in a directory
2114 # whose full name contains unusual characters.
2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2117 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2120 # Find a good install program. We prefer a C program (faster),
2121 # so one script is as good as another. But avoid the broken or
2122 # incompatible versions:
2123 # SysV /etc/install, /usr/sbin/install
2124 # SunOS /usr/etc/install
2125 # IRIX /sbin/install
2127 # AmigaOS /C/install, which installs bootblocks on floppy discs
2128 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2129 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2130 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2131 # OS/2's system install, which has a completely different semantic
2132 # ./install, which can be erroneously created by make from ./install.sh.
2133 # Reject install programs that cannot install multiple files.
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2135 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2136 if test -z "$INSTALL"; then
2137 if ${ac_cv_path_install+:} false; then :
2138 $as_echo_n "(cached) " >&6
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir=.
2145 # Account for people who put trailing slashes in PATH elements.
2146 case $as_dir/ in #((
2147 ./ | .// | /[cC]/* | \
2148 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2149 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2152 # OSF1 and SCO ODT 3.0 have their own names for install.
2153 # Don't use installbsd from OSF since it installs stuff as root
2155 for ac_prog in ginstall scoinst install; do
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2158 if test $ac_prog = install &&
2159 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2160 # AIX install. It has an incompatible calling convention.
2162 elif test $ac_prog = install &&
2163 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2164 # program-specific install script used by HP pwplus--don't use.
2167 rm -rf conftest.one conftest.two conftest.dir
2168 echo one > conftest.one
2169 echo two > conftest.two
2171 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2172 test -s conftest.one && test -s conftest.two &&
2173 test -s conftest.dir/conftest.one &&
2174 test -s conftest.dir/conftest.two
2176 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2189 rm -rf conftest.one conftest.two conftest.dir
2192 if test "${ac_cv_path_install+set}" = set; then
2193 INSTALL=$ac_cv_path_install
2195 # As a last resort, use the slow shell script. Don't cache a
2196 # value for INSTALL within a source directory, because that will
2197 # break other packages using the cache if that directory is
2198 # removed, or if the value is a relative name.
2199 INSTALL=$ac_install_sh
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2203 $as_echo "$INSTALL" >&6; }
2205 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2206 # It thinks the first close brace ends the variable substitution.
2207 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2209 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2211 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2214 $as_echo_n "checking whether build environment is sane... " >&6; }
2217 echo timestamp > conftest.file
2218 # Reject unsafe characters in $srcdir or the absolute working directory
2219 # name. Accept space and tab only in the latter.
2223 *[\\\"\#\$\&\'\`$am_lf]*)
2224 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2227 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2228 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2231 # Do `set' in a subshell so we don't clobber the current shell's
2232 # arguments. Must try -L first in case configure is actually a
2233 # symlink; some systems play weird games with the mod time of symlinks
2234 # (eg FreeBSD returns the mod time of the symlink's containing
2237 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2238 if test "$*" = "X"; then
2240 set X `ls -t "$srcdir/configure" conftest.file`
2243 if test "$*" != "X $srcdir/configure conftest.file" \
2244 && test "$*" != "X conftest.file $srcdir/configure"; then
2246 # If neither matched, then we have a broken ls. This can happen
2247 # if, for instance, CONFIG_SHELL is bash and it inherits a
2248 # broken ls alias from the environment. This has actually
2249 # happened. Such a system could not be considered "sane".
2250 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2251 alias in your environment" "$LINENO" 5
2254 test "$2" = conftest.file
2260 as_fn_error $? "newly created file is older than distributed files!
2261 Check your system clock" "$LINENO" 5
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2264 $as_echo "yes" >&6; }
2265 test "$program_prefix" != NONE &&
2266 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2267 # Use a double $ so make ignores it.
2268 test "$program_suffix" != NONE &&
2269 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2270 # Double any \ or $.
2271 # By default was `s,x,x', remove it if useless.
2272 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2273 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2275 # expand $ac_aux_dir to an absolute path
2276 am_aux_dir=`cd $ac_aux_dir && pwd`
2278 if test x"${MISSING+set}" != xset; then
2281 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2283 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2286 # Use eval to expand $SHELL
2287 if eval "$MISSING --run true"; then
2288 am_missing_run="$MISSING --run "
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2292 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2295 if test x"${install_sh}" != xset; then
2298 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2300 install_sh="\${SHELL} $am_aux_dir/install-sh"
2304 # Installed binaries are usually stripped using `strip' when the user
2305 # run `make install-strip'. However `strip' might not be the right
2306 # tool to use in cross-compilation environments, therefore Automake
2307 # will honor the `STRIP' environment variable to overrule this program.
2308 if test "$cross_compiling" != no; then
2309 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}strip; ac_word=$2
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2313 $as_echo_n "checking for $ac_word... " >&6; }
2314 if ${ac_cv_prog_STRIP+:} false; then :
2315 $as_echo_n "(cached) " >&6
2317 if test -n "$STRIP"; then
2318 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 for ac_exec_ext in '' $ac_executable_extensions; do
2326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 STRIP=$ac_cv_prog_STRIP
2338 if test -n "$STRIP"; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2340 $as_echo "$STRIP" >&6; }
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2343 $as_echo "no" >&6; }
2348 if test -z "$ac_cv_prog_STRIP"; then
2350 # Extract the first word of "strip", so it can be a program name with args.
2351 set dummy strip; ac_word=$2
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353 $as_echo_n "checking for $ac_word... " >&6; }
2354 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2355 $as_echo_n "(cached) " >&6
2357 if test -n "$ac_ct_STRIP"; then
2358 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367 ac_cv_prog_ac_ct_STRIP="strip"
2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2378 if test -n "$ac_ct_STRIP"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2380 $as_echo "$ac_ct_STRIP" >&6; }
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383 $as_echo "no" >&6; }
2386 if test "x$ac_ct_STRIP" = x; then
2389 case $cross_compiling:$ac_tool_warned in
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2393 ac_tool_warned=yes ;;
2398 STRIP="$ac_cv_prog_STRIP"
2402 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2405 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2406 if test -z "$MKDIR_P"; then
2407 if ${ac_cv_path_mkdir+:} false; then :
2408 $as_echo_n "(cached) " >&6
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2414 test -z "$as_dir" && as_dir=.
2415 for ac_prog in mkdir gmkdir; do
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2418 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2419 'mkdir (GNU coreutils) '* | \
2420 'mkdir (coreutils) '* | \
2421 'mkdir (fileutils) '4.1*)
2422 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2432 test -d ./--version && rmdir ./--version
2433 if test "${ac_cv_path_mkdir+set}" = set; then
2434 MKDIR_P="$ac_cv_path_mkdir -p"
2436 # As a last resort, use the slow shell script. Don't cache a
2437 # value for MKDIR_P within a source directory, because that will
2438 # break other packages using the cache if that directory is
2439 # removed, or if the value is a relative name.
2440 MKDIR_P="$ac_install_sh -d"
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2444 $as_echo "$MKDIR_P" >&6; }
2448 [\\/$]* | ?:[\\/]*) ;;
2449 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2452 for ac_prog in gawk mawk nawk awk
2454 # Extract the first word of "$ac_prog", so it can be a program name with args.
2455 set dummy $ac_prog; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if ${ac_cv_prog_AWK+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$AWK"; then
2462 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_AWK="$ac_prog"
2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$AWK"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2484 $as_echo "$AWK" >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2491 test -n "$AWK" && break
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2495 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2497 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2498 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2499 $as_echo_n "(cached) " >&6
2501 cat >conftest.make <<\_ACEOF
2504 @echo '@@@%%%=$(MAKE)=@@@%%%'
2506 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2507 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2509 eval ac_cv_prog_make_${ac_make}_set=yes;;
2511 eval ac_cv_prog_make_${ac_make}_set=no;;
2515 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2517 $as_echo "yes" >&6; }
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2522 SET_MAKE="MAKE=${MAKE-make}"
2525 rm -rf .tst 2>/dev/null
2526 mkdir .tst 2>/dev/null
2527 if test -d .tst; then
2532 rmdir .tst 2>/dev/null
2534 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2535 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2536 # is not polluted with repeated "-I."
2537 am__isrc=' -I$(srcdir)'
2538 # test to see if srcdir already configured
2539 if test -f $srcdir/config.status; then
2540 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2544 # test whether we have cygpath
2545 if test -z "$CYGPATH_W"; then
2546 if (cygpath --version) >/dev/null 2>/dev/null; then
2547 CYGPATH_W='cygpath -w'
2554 # Define the identity of the package.
2559 cat >>confdefs.h <<_ACEOF
2560 #define PACKAGE "$PACKAGE"
2564 cat >>confdefs.h <<_ACEOF
2565 #define VERSION "$VERSION"
2568 # Some tools Automake needs.
2570 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2573 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2576 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2579 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2582 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2584 # We need awk for the "check" target. The system "awk" is bad on
2586 # Always define AMTAR for backward compatibility. Yes, it's still used
2587 # in the wild :-( We should find a proper way to deprecate it ...
2590 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2598 ac_config_headers="$ac_config_headers config.h"
2601 # Checks for programs.
2603 ac_cpp='$CPP $CPPFLAGS'
2604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2607 if test -n "$ac_tool_prefix"; then
2608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2609 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if ${ac_cv_prog_CC+:} false; then :
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$CC"; then
2616 ac_cv_prog_CC="$CC" # Let the user override the test.
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir=.
2623 for ac_exec_ext in '' $ac_executable_extensions; do
2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 if test -n "$CC"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2638 $as_echo "$CC" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2646 if test -z "$ac_cv_prog_CC"; then
2648 # Extract the first word of "gcc", so it can be a program name with args.
2649 set dummy gcc; ac_word=$2
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$ac_ct_CC"; then
2656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2665 ac_cv_prog_ac_ct_CC="gcc"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2676 if test -n "$ac_ct_CC"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2678 $as_echo "$ac_ct_CC" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2681 $as_echo "no" >&6; }
2684 if test "x$ac_ct_CC" = x; then
2687 case $cross_compiling:$ac_tool_warned in
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2691 ac_tool_warned=yes ;;
2699 if test -z "$CC"; then
2700 if test -n "$ac_tool_prefix"; then
2701 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2702 set dummy ${ac_tool_prefix}cc; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_CC+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$CC"; then
2709 ac_cv_prog_CC="$CC" # Let the user override the test.
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_CC="${ac_tool_prefix}cc"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$CC"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2731 $as_echo "$CC" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2740 if test -z "$CC"; then
2741 # Extract the first word of "cc", so it can be a program name with args.
2742 set dummy cc; ac_word=$2
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2744 $as_echo_n "checking for $ac_word... " >&6; }
2745 if ${ac_cv_prog_CC+:} false; then :
2746 $as_echo_n "(cached) " >&6
2748 if test -n "$CC"; then
2749 ac_cv_prog_CC="$CC" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2760 ac_prog_rejected=yes
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2771 if test $ac_prog_rejected = yes; then
2772 # We found a bogon in the path, so make sure we never use it.
2773 set dummy $ac_cv_prog_CC
2775 if test $# != 0; then
2776 # We chose a different compiler from the bogus one.
2777 # However, it has the same basename, so the bogon will be chosen
2778 # first if we set CC to just the basename; use the full file name.
2780 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2786 if test -n "$CC"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2788 $as_echo "$CC" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2796 if test -z "$CC"; then
2797 if test -n "$ac_tool_prefix"; then
2798 for ac_prog in cl.exe
2800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_CC+:} false; then :
2805 $as_echo_n "(cached) " >&6
2807 if test -n "$CC"; then
2808 ac_cv_prog_CC="$CC" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2817 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 if test -n "$CC"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2830 $as_echo "$CC" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2837 test -n "$CC" && break
2840 if test -z "$CC"; then
2842 for ac_prog in cl.exe
2844 # Extract the first word of "$ac_prog", so it can be a program name with args.
2845 set dummy $ac_prog; ac_word=$2
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847 $as_echo_n "checking for $ac_word... " >&6; }
2848 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2849 $as_echo_n "(cached) " >&6
2851 if test -n "$ac_ct_CC"; then
2852 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2861 ac_cv_prog_ac_ct_CC="$ac_prog"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2872 if test -n "$ac_ct_CC"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2874 $as_echo "$ac_ct_CC" >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 $as_echo "no" >&6; }
2881 test -n "$ac_ct_CC" && break
2884 if test "x$ac_ct_CC" = x; then
2887 case $cross_compiling:$ac_tool_warned in
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2891 ac_tool_warned=yes ;;
2900 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2902 as_fn_error $? "no acceptable C compiler found in \$PATH
2903 See \`config.log' for more details" "$LINENO" 5; }
2905 # Provide some information about the compiler.
2906 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2909 for ac_option in --version -v -V -qversion; do
2910 { { ac_try="$ac_compiler $ac_option >&5"
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916 $as_echo "$ac_try_echo"; } >&5
2917 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2919 if test -s conftest.err; then
2921 ... rest of stderr output deleted ...
2922 10q' conftest.err >conftest.er1
2923 cat conftest.er1 >&5
2925 rm -f conftest.er1 conftest.err
2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; }
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2941 ac_clean_files_save=$ac_clean_files
2942 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2943 # Try to create an executable without -o first, disregard a.out.
2944 # It will help us diagnose broken compilers, and finding out an intuition
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2947 $as_echo_n "checking whether the C compiler works... " >&6; }
2948 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2950 # The possible output files:
2951 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2954 for ac_file in $ac_files
2957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2958 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2963 if { { ac_try="$ac_link_default"
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link_default") 2>&5
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; }; then :
2974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2976 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2977 # so that the user can short-circuit this test for compilers unknown to
2979 for ac_file in $ac_files ''
2981 test -f "$ac_file" || continue
2983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2986 # We found the default executable, but exeext='' is most
2990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2992 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2994 # We set ac_cv_exeext here because the later test for it is not
2995 # safe: cross compilers may not add the suffix if given an `-o'
2996 # argument, so we may need to know it at that point already.
2997 # Even if this section looks crufty: it has the advantage of
3004 test "$ac_cv_exeext" = no && ac_cv_exeext=
3009 if test -z "$ac_file"; then :
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3012 $as_echo "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3017 as_fn_error 77 "C compiler cannot create executables
3018 See \`config.log' for more details" "$LINENO" 5; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3021 $as_echo "yes" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3024 $as_echo_n "checking for C compiler default output file name... " >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3026 $as_echo "$ac_file" >&6; }
3027 ac_exeext=$ac_cv_exeext
3029 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3030 ac_clean_files=$ac_clean_files_save
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3032 $as_echo_n "checking for suffix of executables... " >&6; }
3033 if { { ac_try="$ac_link"
3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3039 $as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_link") 2>&5
3042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043 test $ac_status = 0; }; then :
3044 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3045 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3046 # work properly (i.e., refer to `conftest.exe'), while it won't with
3048 for ac_file in conftest.exe conftest conftest.*; do
3049 test -f "$ac_file" || continue
3051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3052 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3060 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3061 See \`config.log' for more details" "$LINENO" 5; }
3063 rm -f conftest conftest$ac_cv_exeext
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3065 $as_echo "$ac_cv_exeext" >&6; }
3067 rm -f conftest.$ac_ext
3068 EXEEXT=$ac_cv_exeext
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3076 FILE *f = fopen ("conftest.out", "w");
3077 return ferror (f) || fclose (f) != 0;
3083 ac_clean_files="$ac_clean_files conftest.out"
3084 # Check that the compiler produces executables we can run. If not, either
3085 # the compiler is broken, or we cross compile.
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3087 $as_echo_n "checking whether we are cross compiling... " >&6; }
3088 if test "$cross_compiling" != yes; then
3089 { { ac_try="$ac_link"
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_link") 2>&5
3098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099 test $ac_status = 0; }
3100 if { ac_try='./conftest$ac_cv_exeext'
3101 { { case "(($ac_try" in
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_try") 2>&5
3109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3110 test $ac_status = 0; }; }; then
3113 if test "$cross_compiling" = maybe; then
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $? "cannot run C compiled programs.
3119 If you meant to cross compile, use \`--host'.
3120 See \`config.log' for more details" "$LINENO" 5; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3125 $as_echo "$cross_compiling" >&6; }
3127 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3128 ac_clean_files=$ac_clean_files_save
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3130 $as_echo_n "checking for suffix of object files... " >&6; }
3131 if ${ac_cv_objext+:} false; then :
3132 $as_echo_n "(cached) " >&6
3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135 /* end confdefs.h. */
3145 rm -f conftest.o conftest.obj
3146 if { { ac_try="$ac_compile"
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3152 $as_echo "$ac_try_echo"; } >&5
3153 (eval "$ac_compile") 2>&5
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }; then :
3157 for ac_file in conftest.o conftest.obj conftest.*; do
3158 test -f "$ac_file" || continue;
3160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3161 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3166 $as_echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3171 as_fn_error $? "cannot compute suffix of object files: cannot compile
3172 See \`config.log' for more details" "$LINENO" 5; }
3174 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3177 $as_echo "$ac_cv_objext" >&6; }
3178 OBJEXT=$ac_cv_objext
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3181 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3182 if ${ac_cv_c_compiler_gnu+:} false; then :
3183 $as_echo_n "(cached) " >&6
3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3199 if ac_fn_c_try_compile "$LINENO"; then :
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3209 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3210 if test $ac_compiler_gnu = yes; then
3215 ac_test_CFLAGS=${CFLAGS+set}
3216 ac_save_CFLAGS=$CFLAGS
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3218 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3219 if ${ac_cv_prog_cc_g+:} false; then :
3220 $as_echo_n "(cached) " >&6
3222 ac_save_c_werror_flag=$ac_c_werror_flag
3223 ac_c_werror_flag=yes
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3237 if ac_fn_c_try_compile "$LINENO"; then :
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3252 if ac_fn_c_try_compile "$LINENO"; then :
3255 ac_c_werror_flag=$ac_save_c_werror_flag
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3268 if ac_fn_c_try_compile "$LINENO"; then :
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 ac_c_werror_flag=$ac_save_c_werror_flag
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3279 $as_echo "$ac_cv_prog_cc_g" >&6; }
3280 if test "$ac_test_CFLAGS" = set; then
3281 CFLAGS=$ac_save_CFLAGS
3282 elif test $ac_cv_prog_cc_g = yes; then
3283 if test "$GCC" = yes; then
3289 if test "$GCC" = yes; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3296 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3297 if ${ac_cv_prog_cc_c89+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 ac_cv_prog_cc_c89=no
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3306 #include <sys/types.h>
3307 #include <sys/stat.h>
3308 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3309 struct buf { int x; };
3310 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3311 static char *e (p, i)
3317 static char *f (char * (*g) (char **, int), char **p, ...)
3322 s = g (p, va_arg (v,int));
3327 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3328 function prototypes and stuff, but not '\xHH' hex character constants.
3329 These don't provoke an error unfortunately, instead are silently treated
3330 as 'x'. The following induces an error, until -std is added to get
3331 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3332 array size at least. It's necessary to write '\x00'==0 to get something
3333 that's true only with -std. */
3334 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3336 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3337 inside strings and character constants. */
3339 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3341 int test (int i, double x);
3342 struct s1 {int (*f) (int a);};
3343 struct s2 {int (*f) (double a);};
3344 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3350 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3355 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3356 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3358 CC="$ac_save_CC $ac_arg"
3359 if ac_fn_c_try_compile "$LINENO"; then :
3360 ac_cv_prog_cc_c89=$ac_arg
3362 rm -f core conftest.err conftest.$ac_objext
3363 test "x$ac_cv_prog_cc_c89" != "xno" && break
3365 rm -f conftest.$ac_ext
3370 case "x$ac_cv_prog_cc_c89" in
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3373 $as_echo "none needed" >&6; } ;;
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3376 $as_echo "unsupported" >&6; } ;;
3378 CC="$CC $ac_cv_prog_cc_c89"
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3380 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3382 if test "x$ac_cv_prog_cc_c89" != xno; then :
3387 ac_cpp='$CPP $CPPFLAGS'
3388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3391 DEPDIR="${am__leading_dot}deps"
3393 ac_config_commands="$ac_config_commands depfiles"
3396 am_make=${MAKE-make}
3397 cat > confinc << 'END'
3399 @echo this is the am__doit target
3402 # If we don't find an include directive, just comment out the code.
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3404 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3408 # First try GNU make style include.
3409 echo "include confinc" > confmf
3410 # Ignore all kinds of additional output from `make'.
3411 case `$am_make -s -f confmf 2> /dev/null` in #(
3412 *the\ am__doit\ target*)
3418 # Now try BSD make style include.
3419 if test "$am__include" = "#"; then
3420 echo '.include "confinc"' > confmf
3421 case `$am_make -s -f confmf 2> /dev/null` in #(
3422 *the\ am__doit\ target*)
3423 am__include=.include
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3432 $as_echo "$_am_result" >&6; }
3433 rm -f confinc confmf
3435 # Check whether --enable-dependency-tracking was given.
3436 if test "${enable_dependency_tracking+set}" = set; then :
3437 enableval=$enable_dependency_tracking;
3440 if test "x$enable_dependency_tracking" != xno; then
3441 am_depcomp="$ac_aux_dir/depcomp"
3445 if test "x$enable_dependency_tracking" != xno; then
3455 depcc="$CC" am_compiler_list=
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3458 $as_echo_n "checking dependency style of $depcc... " >&6; }
3459 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3463 # We make a subdir and do the tests there. Otherwise we can end up
3464 # making bogus files that we don't know about and never remove. For
3465 # instance it was reported that on HP-UX the gcc test will end up
3466 # making a dummy file named `D' -- because `-MD' means `put the output
3470 # Copy depcomp to subdir because otherwise we won't find it if we're
3471 # using a relative directory.
3472 cp "$am_depcomp" conftest.dir
3474 # We will build objects and dependencies in a subdirectory because
3475 # it helps to detect inapplicable dependency modes. For instance
3476 # both Tru64's cc and ICC support -MD to output dependencies as a
3477 # side effect of compilation, but ICC will put the dependencies in
3478 # the current directory while Tru64 will put them in the object
3482 am_cv_CC_dependencies_compiler_type=none
3483 if test "$am_compiler_list" = ""; then
3484 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3487 case " $depcc " in #(
3488 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3491 for depmode in $am_compiler_list; do
3492 # Setup a source with many dependencies, because some compilers
3493 # like to wrap large dependency lists on column 80 (with \), and
3494 # we should not choose a depcomp mode which is confused by this.
3496 # We need to recreate these files for each test, as the compiler may
3497 # overwrite some of them when testing with obscure command lines.
3498 # This happens at least with the AIX C compiler.
3500 for i in 1 2 3 4 5 6; do
3501 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3502 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3503 # Solaris 8's {/usr,}/bin/sh.
3504 touch sub/conftst$i.h
3506 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3508 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3509 # mode. It turns out that the SunPro C++ compiler does not properly
3510 # handle `-M -o', and we need to detect this. Also, some Intel
3511 # versions had trouble with output in subdirs
3512 am__obj=sub/conftest.${OBJEXT-o}
3513 am__minus_obj="-o $am__obj"
3516 # This depmode causes a compiler race in universal mode.
3517 test "$am__universal" = false || continue
3520 # after this tag, mechanisms are not by side-effect, so they'll
3521 # only be used when explicitly requested
3522 if test "x$enable_dependency_tracking" = xyes; then
3528 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3529 # This compiler won't grok `-c -o', but also, the minuso test has
3530 # not run yet. These depmodes are late enough in the game, and
3531 # so weak that their functioning should not be impacted.
3532 am__obj=conftest.${OBJEXT-o}
3537 if depmode=$depmode \
3538 source=sub/conftest.c object=$am__obj \
3539 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3540 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3541 >/dev/null 2>conftest.err &&
3542 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3543 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3544 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3545 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3546 # icc doesn't choke on unknown options, it will just issue warnings
3547 # or remarks (even with -Werror). So we grep stderr for any message
3548 # that says an option was ignored or not supported.
3549 # When given -MP, icc 7.0 and 7.1 complain thusly:
3550 # icc: Command line warning: ignoring option '-M'; no argument required
3551 # The diagnosis changed in icc 8.0:
3552 # icc: Command line remark: option '-MP' not supported
3553 if (grep 'ignoring option' conftest.err ||
3554 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3555 am_cv_CC_dependencies_compiler_type=$depmode
3564 am_cv_CC_dependencies_compiler_type=none
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3569 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3570 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3573 test "x$enable_dependency_tracking" != xno \
3574 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3576 am__fastdepCC_FALSE='#'
3578 am__fastdepCC_TRUE='#'
3579 am__fastdepCC_FALSE=
3583 if test "x$CC" != xcc; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3585 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3588 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3590 set dummy $CC; ac_cc=`$as_echo "$2" |
3591 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3592 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3593 $as_echo_n "(cached) " >&6
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3606 # Make sure it works both with $CC and with simple cc.
3607 # We do the test twice because some compilers refuse to overwrite an
3608 # existing .o file with -o, though they will create one.
3609 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3611 if { { case "(($ac_try" in
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3616 $as_echo "$ac_try_echo"; } >&5
3617 (eval "$ac_try") 2>&5
3619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3620 test $ac_status = 0; } &&
3621 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623 *) ac_try_echo=$ac_try;;
3625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; };
3632 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3633 if test "x$CC" != xcc; then
3634 # Test first that cc exists at all.
3635 if { ac_try='cc -c conftest.$ac_ext >&5'
3636 { { case "(($ac_try" in
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641 $as_echo "$ac_try_echo"; } >&5
3642 (eval "$ac_try") 2>&5
3644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }; }; then
3646 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3648 if { { case "(($ac_try" in
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653 $as_echo "$ac_try_echo"; } >&5
3654 (eval "$ac_try") 2>&5
3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657 test $ac_status = 0; } &&
3658 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3660 *) ac_try_echo=$ac_try;;
3662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3663 $as_echo "$ac_try_echo"; } >&5
3664 (eval "$ac_try") 2>&5
3666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3667 test $ac_status = 0; };
3672 # cc exists but doesn't like -o.
3673 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3678 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3680 rm -f core conftest*
3683 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3685 $as_echo "yes" >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3690 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3694 # FIXME: we rely on the cache variable name because
3695 # there is no other way.
3697 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3698 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3699 if test "$am_t" != yes; then
3700 # Losing compiler, so override with the script.
3701 # FIXME: It is wrong to rewrite CC.
3702 # But if we don't then we get into trouble of one sort or another.
3703 # A longer-term fix would be to have automake use am__CC in this case,
3704 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3705 CC="$am_aux_dir/compile $CC"
3711 if test -n "$ac_tool_prefix"; then
3712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3713 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3715 $as_echo_n "checking for $ac_word... " >&6; }
3716 if ${ac_cv_prog_RANLIB+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -n "$RANLIB"; then
3720 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 RANLIB=$ac_cv_prog_RANLIB
3740 if test -n "$RANLIB"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3742 $as_echo "$RANLIB" >&6; }
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3745 $as_echo "no" >&6; }
3750 if test -z "$ac_cv_prog_RANLIB"; then
3751 ac_ct_RANLIB=$RANLIB
3752 # Extract the first word of "ranlib", so it can be a program name with args.
3753 set dummy ranlib; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 if test -n "$ac_ct_RANLIB"; then
3760 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_ac_ct_RANLIB="ranlib"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3780 if test -n "$ac_ct_RANLIB"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3782 $as_echo "$ac_ct_RANLIB" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3788 if test "x$ac_ct_RANLIB" = x; then
3791 case $cross_compiling:$ac_tool_warned in
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3795 ac_tool_warned=yes ;;
3797 RANLIB=$ac_ct_RANLIB
3800 RANLIB="$ac_cv_prog_RANLIB"
3804 # Checks for header files.
3807 ac_cpp='$CPP $CPPFLAGS'
3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3812 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3813 # On Suns, sometimes $CPP names a directory.
3814 if test -n "$CPP" && test -d "$CPP"; then
3817 if test -z "$CPP"; then
3818 if ${ac_cv_prog_CPP+:} false; then :
3819 $as_echo_n "(cached) " >&6
3821 # Double quotes because CPP needs to be expanded
3822 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3825 for ac_c_preproc_warn_flag in '' yes
3827 # Use a header file that comes with gcc, so configuring glibc
3828 # with a fresh cross-compiler works.
3829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3830 # <limits.h> exists even on freestanding compilers.
3831 # On the NeXT, cc -E runs the code through the compiler's parser,
3832 # not just through cpp. "Syntax error" is here to catch this case.
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3836 # include <limits.h>
3838 # include <assert.h>
3842 if ac_fn_c_try_cpp "$LINENO"; then :
3845 # Broken: fails on valid input.
3848 rm -f conftest.err conftest.i conftest.$ac_ext
3850 # OK, works on sane cases. Now check whether nonexistent headers
3851 # can be detected and how.
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3854 #include <ac_nonexistent.h>
3856 if ac_fn_c_try_cpp "$LINENO"; then :
3857 # Broken: success on invalid input.
3860 # Passes both tests.
3864 rm -f conftest.err conftest.i conftest.$ac_ext
3867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3868 rm -f conftest.i conftest.err conftest.$ac_ext
3869 if $ac_preproc_ok; then :
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3882 $as_echo "$CPP" >&6; }
3884 for ac_c_preproc_warn_flag in '' yes
3886 # Use a header file that comes with gcc, so configuring glibc
3887 # with a fresh cross-compiler works.
3888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3889 # <limits.h> exists even on freestanding compilers.
3890 # On the NeXT, cc -E runs the code through the compiler's parser,
3891 # not just through cpp. "Syntax error" is here to catch this case.
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3895 # include <limits.h>
3897 # include <assert.h>
3901 if ac_fn_c_try_cpp "$LINENO"; then :
3904 # Broken: fails on valid input.
3907 rm -f conftest.err conftest.i conftest.$ac_ext
3909 # OK, works on sane cases. Now check whether nonexistent headers
3910 # can be detected and how.
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3913 #include <ac_nonexistent.h>
3915 if ac_fn_c_try_cpp "$LINENO"; then :
3916 # Broken: success on invalid input.
3919 # Passes both tests.
3923 rm -f conftest.err conftest.i conftest.$ac_ext
3926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3927 rm -f conftest.i conftest.err conftest.$ac_ext
3928 if $ac_preproc_ok; then :
3931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3934 See \`config.log' for more details" "$LINENO" 5; }
3938 ac_cpp='$CPP $CPPFLAGS'
3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3945 $as_echo_n "checking for X... " >&6; }
3948 # Check whether --with-x was given.
3949 if test "${with_x+set}" = set; then :
3953 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3954 if test "x$with_x" = xno; then
3955 # The user explicitly disabled X.
3958 case $x_includes,$x_libraries in #(
3959 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3960 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3961 $as_echo_n "(cached) " >&6
3963 # One or both of the vars are not set, and there is no cached value.
3964 ac_x_includes=no ac_x_libraries=no
3965 rm -f -r conftest.dir
3966 if mkdir conftest.dir; then
3968 cat >Imakefile <<'_ACEOF'
3970 @echo incroot='${INCROOT}'
3972 @echo usrlibdir='${USRLIBDIR}'
3974 @echo libdir='${LIBDIR}'
3976 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3977 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3978 for ac_var in incroot usrlibdir libdir; do
3979 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3981 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3982 for ac_extension in a so sl dylib la dll; do
3983 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3984 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3985 ac_im_usrlibdir=$ac_im_libdir; break
3988 # Screen out bogus values from the imake configuration. They are
3989 # bogus both because they are the default anyway, and because
3990 # using them would break gcc on systems where it needs fixed includes.
3991 case $ac_im_incroot in
3992 /usr/include) ac_x_includes= ;;
3993 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3995 case $ac_im_usrlibdir in
3996 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
3997 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4001 rm -f -r conftest.dir
4004 # Standard set of common directories for X headers.
4005 # Check X11 before X11Rn because it is often a symlink to the current release.
4019 /usr/local/X11/include
4020 /usr/local/X11R7/include
4021 /usr/local/X11R6/include
4022 /usr/local/X11R5/include
4023 /usr/local/X11R4/include
4025 /usr/local/include/X11
4026 /usr/local/include/X11R7
4027 /usr/local/include/X11R6
4028 /usr/local/include/X11R5
4029 /usr/local/include/X11R4
4033 /usr/XFree86/include/X11
4037 /usr/unsupported/include
4039 /usr/local/x11r5/include
4040 /usr/lpp/Xamples/include
4042 /usr/openwin/include
4043 /usr/openwin/share/include'
4045 if test "$ac_x_includes" = no; then
4046 # Guess where to find include files, by looking for Xlib.h.
4047 # First, try using that file with no special directory specified.
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4050 #include <X11/Xlib.h>
4052 if ac_fn_c_try_cpp "$LINENO"; then :
4053 # We can compile using X headers with no special include directory.
4056 for ac_dir in $ac_x_header_dirs; do
4057 if test -r "$ac_dir/X11/Xlib.h"; then
4058 ac_x_includes=$ac_dir
4063 rm -f conftest.err conftest.i conftest.$ac_ext
4064 fi # $ac_x_includes = no
4066 if test "$ac_x_libraries" = no; then
4067 # Check for the libraries.
4068 # See if we find them without any special options.
4069 # Don't add to $LIBS permanently.
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4074 #include <X11/Xlib.h>
4083 if ac_fn_c_try_link "$LINENO"; then :
4085 # We can link X programs with no special library path.
4089 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4091 # Don't even attempt the hair of trying to link an X program!
4092 for ac_extension in a so sl dylib la dll; do
4093 if test -r "$ac_dir/libX11.$ac_extension"; then
4094 ac_x_libraries=$ac_dir
4100 rm -f core conftest.err conftest.$ac_objext \
4101 conftest$ac_exeext conftest.$ac_ext
4102 fi # $ac_x_libraries = no
4104 case $ac_x_includes,$ac_x_libraries in #(
4106 # Didn't find X, or a directory has "'" in its name.
4107 ac_cv_have_x="have_x=no";; #(
4109 # Record where we found X for the cache.
4110 ac_cv_have_x="have_x=yes\
4111 ac_x_includes='$ac_x_includes'\
4112 ac_x_libraries='$ac_x_libraries'"
4118 eval "$ac_cv_have_x"
4121 if test "$have_x" != yes; then
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4123 $as_echo "$have_x" >&6; }
4126 # If each of the values was on the command line, it overrides each guess.
4127 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4128 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4129 # Update the cache value to reflect the command line values.
4130 ac_cv_have_x="have_x=yes\
4131 ac_x_includes='$x_includes'\
4132 ac_x_libraries='$x_libraries'"
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4134 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4138 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4139 if ${ac_cv_path_GREP+:} false; then :
4140 $as_echo_n "(cached) " >&6
4142 if test -z "$GREP"; then
4143 ac_path_GREP_found=false
4144 # Loop through the user's path and test for each of PROGNAME-LIST
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4149 test -z "$as_dir" && as_dir=.
4150 for ac_prog in grep ggrep; do
4151 for ac_exec_ext in '' $ac_executable_extensions; do
4152 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4153 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4154 # Check for GNU ac_path_GREP and select it if it is found.
4155 # Check for GNU $ac_path_GREP
4156 case `"$ac_path_GREP" --version 2>&1` in
4158 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4161 $as_echo_n 0123456789 >"conftest.in"
4164 cat "conftest.in" "conftest.in" >"conftest.tmp"
4165 mv "conftest.tmp" "conftest.in"
4166 cp "conftest.in" "conftest.nl"
4167 $as_echo 'GREP' >> "conftest.nl"
4168 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4170 as_fn_arith $ac_count + 1 && ac_count=$as_val
4171 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4172 # Best one so far, save it but keep looking for a better one
4173 ac_cv_path_GREP="$ac_path_GREP"
4174 ac_path_GREP_max=$ac_count
4176 # 10*(2^10) chars as input seems more than enough
4177 test $ac_count -gt 10 && break
4179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4182 $ac_path_GREP_found && break 3
4187 if test -z "$ac_cv_path_GREP"; then
4188 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4191 ac_cv_path_GREP=$GREP
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4196 $as_echo "$ac_cv_path_GREP" >&6; }
4197 GREP="$ac_cv_path_GREP"
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4201 $as_echo_n "checking for egrep... " >&6; }
4202 if ${ac_cv_path_EGREP+:} false; then :
4203 $as_echo_n "(cached) " >&6
4205 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4206 then ac_cv_path_EGREP="$GREP -E"
4208 if test -z "$EGREP"; then
4209 ac_path_EGREP_found=false
4210 # Loop through the user's path and test for each of PROGNAME-LIST
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4215 test -z "$as_dir" && as_dir=.
4216 for ac_prog in egrep; do
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4219 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4220 # Check for GNU ac_path_EGREP and select it if it is found.
4221 # Check for GNU $ac_path_EGREP
4222 case `"$ac_path_EGREP" --version 2>&1` in
4224 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4227 $as_echo_n 0123456789 >"conftest.in"
4230 cat "conftest.in" "conftest.in" >"conftest.tmp"
4231 mv "conftest.tmp" "conftest.in"
4232 cp "conftest.in" "conftest.nl"
4233 $as_echo 'EGREP' >> "conftest.nl"
4234 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4235 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4236 as_fn_arith $ac_count + 1 && ac_count=$as_val
4237 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4238 # Best one so far, save it but keep looking for a better one
4239 ac_cv_path_EGREP="$ac_path_EGREP"
4240 ac_path_EGREP_max=$ac_count
4242 # 10*(2^10) chars as input seems more than enough
4243 test $ac_count -gt 10 && break
4245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4248 $ac_path_EGREP_found && break 3
4253 if test -z "$ac_cv_path_EGREP"; then
4254 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4257 ac_cv_path_EGREP=$EGREP
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4263 $as_echo "$ac_cv_path_EGREP" >&6; }
4264 EGREP="$ac_cv_path_EGREP"
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4268 $as_echo_n "checking for ANSI C header files... " >&6; }
4269 if ${ac_cv_header_stdc+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4287 if ac_fn_c_try_compile "$LINENO"; then :
4288 ac_cv_header_stdc=yes
4290 ac_cv_header_stdc=no
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 if test $ac_cv_header_stdc = yes; then
4295 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4302 $EGREP "memchr" >/dev/null 2>&1; then :
4305 ac_cv_header_stdc=no
4311 if test $ac_cv_header_stdc = yes; then
4312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4319 $EGREP "free" >/dev/null 2>&1; then :
4322 ac_cv_header_stdc=no
4328 if test $ac_cv_header_stdc = yes; then
4329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4330 if test "$cross_compiling" = yes; then :
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4337 #if ((' ' & 0x0FF) == 0x020)
4338 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4339 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4341 # define ISLOWER(c) \
4342 (('a' <= (c) && (c) <= 'i') \
4343 || ('j' <= (c) && (c) <= 'r') \
4344 || ('s' <= (c) && (c) <= 'z'))
4345 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4348 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4353 for (i = 0; i < 256; i++)
4354 if (XOR (islower (i), ISLOWER (i))
4355 || toupper (i) != TOUPPER (i))
4360 if ac_fn_c_try_run "$LINENO"; then :
4363 ac_cv_header_stdc=no
4365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4366 conftest.$ac_objext conftest.beam conftest.$ac_ext
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4372 $as_echo "$ac_cv_header_stdc" >&6; }
4373 if test $ac_cv_header_stdc = yes; then
4375 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4379 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4380 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4381 inttypes.h stdint.h unistd.h
4383 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4384 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4386 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4387 cat >>confdefs.h <<_ACEOF
4388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4396 for ac_header in getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h
4398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4399 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4400 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4401 cat >>confdefs.h <<_ACEOF
4402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4418 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4419 if test -n "$ac_tool_prefix"; then
4420 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4421 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4425 $as_echo_n "(cached) " >&6
4429 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir=.
4437 for ac_exec_ext in '' $ac_executable_extensions; do
4438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4439 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4451 if test -n "$PKG_CONFIG"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4453 $as_echo "$PKG_CONFIG" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4461 if test -z "$ac_cv_path_PKG_CONFIG"; then
4462 ac_pt_PKG_CONFIG=$PKG_CONFIG
4463 # Extract the first word of "pkg-config", so it can be a program name with args.
4464 set dummy pkg-config; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4468 $as_echo_n "(cached) " >&6
4470 case $ac_pt_PKG_CONFIG in
4472 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4482 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4494 if test -n "$ac_pt_PKG_CONFIG"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4496 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4502 if test "x$ac_pt_PKG_CONFIG" = x; then
4505 case $cross_compiling:$ac_tool_warned in
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4509 ac_tool_warned=yes ;;
4511 PKG_CONFIG=$ac_pt_PKG_CONFIG
4514 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4518 if test -n "$PKG_CONFIG"; then
4519 _pkg_min_version=0.9.0
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4521 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4522 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4524 $as_echo "yes" >&6; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
4534 $as_echo_n "checking for CURL... " >&6; }
4536 if test -n "$CURL_CFLAGS"; then
4537 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
4538 elif test -n "$PKG_CONFIG"; then
4539 if test -n "$PKG_CONFIG" && \
4540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
4541 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }; then
4545 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl " 2>/dev/null`
4546 test "x$?" != "x0" && pkg_failed=yes
4553 if test -n "$CURL_LIBS"; then
4554 pkg_cv_CURL_LIBS="$CURL_LIBS"
4555 elif test -n "$PKG_CONFIG"; then
4556 if test -n "$PKG_CONFIG" && \
4557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
4558 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
4560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4561 test $ac_status = 0; }; then
4562 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl " 2>/dev/null`
4563 test "x$?" != "x0" && pkg_failed=yes
4573 if test $pkg_failed = yes; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4577 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4578 _pkg_short_errors_supported=yes
4580 _pkg_short_errors_supported=no
4582 if test $_pkg_short_errors_supported = yes; then
4583 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl " 2>&1`
4585 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl " 2>&1`
4587 # Put the nasty error message in config.log where it belongs
4588 echo "$CURL_PKG_ERRORS" >&5
4590 as_fn_error $? "Package requirements (libcurl ) were not met:
4594 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4595 installed software in a non-standard prefix.
4597 Alternatively, you may set the environment variables CURL_CFLAGS
4598 and CURL_LIBS to avoid the need to call pkg-config.
4599 See the pkg-config man page for more details." "$LINENO" 5
4600 elif test $pkg_failed = untried; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4605 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4606 is in your PATH or set the PKG_CONFIG environment variable to the full
4609 Alternatively, you may set the environment variables CURL_CFLAGS
4610 and CURL_LIBS to avoid the need to call pkg-config.
4611 See the pkg-config man page for more details.
4613 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4614 See \`config.log' for more details" "$LINENO" 5; }
4616 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
4617 CURL_LIBS=$pkg_cv_CURL_LIBS
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4619 $as_echo "yes" >&6; }
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
4629 $as_echo_n "checking for JSON... " >&6; }
4631 if test -n "$JSON_CFLAGS"; then
4632 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
4633 elif test -n "$PKG_CONFIG"; then
4634 if test -n "$PKG_CONFIG" && \
4635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
4636 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
4638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4639 test $ac_status = 0; }; then
4640 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json " 2>/dev/null`
4641 test "x$?" != "x0" && pkg_failed=yes
4648 if test -n "$JSON_LIBS"; then
4649 pkg_cv_JSON_LIBS="$JSON_LIBS"
4650 elif test -n "$PKG_CONFIG"; then
4651 if test -n "$PKG_CONFIG" && \
4652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
4653 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
4655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4656 test $ac_status = 0; }; then
4657 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json " 2>/dev/null`
4658 test "x$?" != "x0" && pkg_failed=yes
4668 if test $pkg_failed = yes; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4673 _pkg_short_errors_supported=yes
4675 _pkg_short_errors_supported=no
4677 if test $_pkg_short_errors_supported = yes; then
4678 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json " 2>&1`
4680 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json " 2>&1`
4682 # Put the nasty error message in config.log where it belongs
4683 echo "$JSON_PKG_ERRORS" >&5
4685 as_fn_error $? "Package requirements (json ) were not met:
4689 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4690 installed software in a non-standard prefix.
4692 Alternatively, you may set the environment variables JSON_CFLAGS
4693 and JSON_LIBS to avoid the need to call pkg-config.
4694 See the pkg-config man page for more details." "$LINENO" 5
4695 elif test $pkg_failed = untried; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4700 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4701 is in your PATH or set the PKG_CONFIG environment variable to the full
4704 Alternatively, you may set the environment variables JSON_CFLAGS
4705 and JSON_LIBS to avoid the need to call pkg-config.
4706 See the pkg-config man page for more details.
4708 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4709 See \`config.log' for more details" "$LINENO" 5; }
4711 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
4712 JSON_LIBS=$pkg_cv_JSON_LIBS
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4714 $as_echo "yes" >&6; }
4720 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile www/Makefile"
4723 for ac_prog in help2man
4725 # Extract the first word of "$ac_prog", so it can be a program name with args.
4726 set dummy $ac_prog; ac_word=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if ${ac_cv_prog_HELP2MAN+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 if test -n "$HELP2MAN"; then
4733 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 test -z "$as_dir" && as_dir=.
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4742 ac_cv_prog_HELP2MAN="$ac_prog"
4743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4752 HELP2MAN=$ac_cv_prog_HELP2MAN
4753 if test -n "$HELP2MAN"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
4755 $as_echo "$HELP2MAN" >&6; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4762 test -n "$HELP2MAN" && break
4766 cat >confcache <<\_ACEOF
4767 # This file is a shell script that caches the results of configure
4768 # tests run on this system so they can be shared between configure
4769 # scripts and configure runs, see configure's option --config-cache.
4770 # It is not useful on other systems. If it contains results you don't
4771 # want to keep, you may remove or edit it.
4773 # config.status only pays attention to the cache file if you give it
4774 # the --recheck option to rerun configure.
4776 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4777 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4782 # The following way of writing the cache mishandles newlines in values,
4783 # but we know of no workaround that is simple, portable, and efficient.
4784 # So, we kill variables containing newlines.
4785 # Ultrix sh set writes to stderr and can't be redirected directly,
4786 # and sets the high bit in the cache file unless we assign to the vars.
4788 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4789 eval ac_val=\$$ac_var
4793 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4794 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4797 _ | IFS | as_nl) ;; #(
4798 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4799 *) { eval $ac_var=; unset $ac_var;} ;;
4805 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4806 *${as_nl}ac_space=\ *)
4807 # `set' does not quote correctly, so add quotes: double-quote
4808 # substitution turns \\\\ into \\, and sed turns \\ into \.
4811 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4814 # `set' quotes correctly as required by POSIX, so do not add quotes.
4815 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4824 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4826 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4828 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4829 if test -w "$cache_file"; then
4830 if test "x$cache_file" != "x/dev/null"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4832 $as_echo "$as_me: updating cache $cache_file" >&6;}
4833 if test ! -f "$cache_file" || test -h "$cache_file"; then
4834 cat confcache >"$cache_file"
4836 case $cache_file in #(
4838 mv -f confcache "$cache_file"$$ &&
4839 mv -f "$cache_file"$$ "$cache_file" ;; #(
4841 mv -f confcache "$cache_file" ;;
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4847 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4852 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4853 # Let make expand exec_prefix.
4854 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4856 DEFS=-DHAVE_CONFIG_H
4861 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4862 # 1. Remove the extension, and $U if already installed.
4863 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4864 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4865 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4866 # will be set to the directory where LIBOBJS objects are built.
4867 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4868 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4872 LTLIBOBJS=$ac_ltlibobjs
4875 if test -n "$EXEEXT"; then
4877 am__EXEEXT_FALSE='#'
4883 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4884 as_fn_error $? "conditional \"AMDEP\" was never defined.
4885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4887 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4888 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4892 : "${CONFIG_STATUS=./config.status}"
4894 ac_clean_files_save=$ac_clean_files
4895 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4897 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4899 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4901 # Generated by $as_me.
4902 # Run this file to recreate the current configuration.
4903 # Compiler output produced by configure, useful for debugging
4904 # configure, is in config.log if it exists.
4910 SHELL=\${CONFIG_SHELL-$SHELL}
4913 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4914 ## -------------------- ##
4915 ## M4sh Initialization. ##
4916 ## -------------------- ##
4918 # Be more Bourne compatible
4919 DUALCASE=1; export DUALCASE # for MKS sh
4920 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4923 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4924 # is contrary to our usage. Disable this feature.
4925 alias -g '${1+"$@"}'='"$@"'
4926 setopt NO_GLOB_SUBST
4928 case `(set -o) 2>/dev/null` in #(
4940 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4941 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4942 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4943 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4944 # Prefer a ksh shell builtin over an external printf program on Solaris,
4945 # but without wasting forks for bash or zsh.
4946 if test -z "$BASH_VERSION$ZSH_VERSION" \
4947 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4948 as_echo='print -r --'
4949 as_echo_n='print -rn --'
4950 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4951 as_echo='printf %s\n'
4952 as_echo_n='printf %s'
4954 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4955 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4956 as_echo_n='/usr/ucb/echo -n'
4958 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4959 as_echo_n_body='eval
4963 expr "X$arg" : "X\\(.*\\)$as_nl";
4964 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4966 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4968 export as_echo_n_body
4969 as_echo_n='sh -c $as_echo_n_body as_echo'
4972 as_echo='sh -c $as_echo_body as_echo'
4975 # The user is always right.
4976 if test "${PATH_SEPARATOR+set}" != set; then
4978 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4979 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4986 # We need space, tab and new line, in precisely that order. Quoting is
4987 # there to prevent editors from complaining about space-tab.
4988 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4989 # splitting by setting IFS to empty value.)
4992 # Find who we are. Look in the path if we contain no directory separator.
4995 *[\\/]* ) as_myself=$0 ;;
4996 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir=.
5001 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5007 # We did not find ourselves, most probably we were run as `sh COMMAND'
5008 # in which case we are not to be found in the path.
5009 if test "x$as_myself" = x; then
5012 if test ! -f "$as_myself"; then
5013 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5017 # Unset variables that we do not need and which cause bugs (e.g. in
5018 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5019 # suppresses any "Segmentation fault" message there. '((' could
5020 # trigger a bug in pdksh 5.2.14.
5021 for as_var in BASH_ENV ENV MAIL MAILPATH
5022 do eval test x\${$as_var+set} = xset \
5023 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5036 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5039 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5040 # ----------------------------------------
5041 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5042 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5043 # script with STATUS, using 1 if that was 0.
5046 as_status=$1; test $as_status -eq 0 && as_status=1
5048 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5049 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5051 $as_echo "$as_me: error: $2" >&2
5052 as_fn_exit $as_status
5056 # as_fn_set_status STATUS
5057 # -----------------------
5058 # Set $? to STATUS, without forking.
5062 } # as_fn_set_status
5066 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5076 # Portably unset VAR.
5079 { eval $1=; unset $1;}
5081 as_unset=as_fn_unset
5082 # as_fn_append VAR VALUE
5083 # ----------------------
5084 # Append the text in VALUE to the end of the definition contained in VAR. Take
5085 # advantage of any shell optimizations that allow amortized linear growth over
5086 # repeated appends, instead of the typical quadratic growth present in naive
5088 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5089 eval 'as_fn_append ()
5100 # as_fn_arith ARG...
5101 # ------------------
5102 # Perform arithmetic evaluation on the ARGs, and store the result in the
5103 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5104 # must be portable across $(()) and expr.
5105 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5106 eval 'as_fn_arith ()
5113 as_val=`expr "$@" || test $? -eq 1`
5118 if expr a : '\(a\)' >/dev/null 2>&1 &&
5119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5126 as_basename=basename
5131 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5137 as_me=`$as_basename -- "$0" ||
5138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5139 X"$0" : 'X\(//\)$' \| \
5140 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5142 sed '/^.*\/\([^/][^/]*\)\/*$/{
5156 # Avoid depending upon Character Ranges.
5157 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5158 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5159 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5160 as_cr_digits='0123456789'
5161 as_cr_alnum=$as_cr_Letters$as_cr_digits
5163 ECHO_C= ECHO_N= ECHO_T=
5164 case `echo -n x` in #(((((
5166 case `echo 'xy\c'` in
5167 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5169 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5176 rm -f conf$$ conf$$.exe conf$$.file
5177 if test -d conf$$.dir; then
5178 rm -f conf$$.dir/conf$$.file
5181 mkdir conf$$.dir 2>/dev/null
5183 if (echo >conf$$.file) 2>/dev/null; then
5184 if ln -s conf$$.file conf$$ 2>/dev/null; then
5186 # ... but there are two gotchas:
5187 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5188 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5189 # In both cases, we have to default to `cp -p'.
5190 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5192 elif ln conf$$.file conf$$ 2>/dev/null; then
5200 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5201 rmdir conf$$.dir 2>/dev/null
5206 # Create "$as_dir" as a directory, including parents if necessary.
5211 -*) as_dir=./$as_dir;;
5213 test -d "$as_dir" || eval $as_mkdir_p || {
5217 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5218 *) as_qdir=$as_dir;;
5220 as_dirs="'$as_qdir' $as_dirs"
5221 as_dir=`$as_dirname -- "$as_dir" ||
5222 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5223 X"$as_dir" : 'X\(//\)[^/]' \| \
5224 X"$as_dir" : 'X\(//\)$' \| \
5225 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5226 $as_echo X"$as_dir" |
5227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5244 test -d "$as_dir" && break
5246 test -z "$as_dirs" || eval "mkdir $as_dirs"
5247 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5251 if mkdir -p . 2>/dev/null; then
5252 as_mkdir_p='mkdir -p "$as_dir"'
5254 test -d ./-p && rmdir ./-p
5258 if test -x / >/dev/null 2>&1; then
5261 if ls -dL / >/dev/null 2>&1; then
5268 if test -d "$1"; then
5274 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5275 ???[sx]*):;;*)false;;esac;fi
5279 as_executable_p=$as_test_x
5281 # Sed expression to map a string onto a valid CPP name.
5282 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5284 # Sed expression to map a string onto a valid variable name.
5285 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5289 ## ----------------------------------- ##
5290 ## Main body of $CONFIG_STATUS script. ##
5291 ## ----------------------------------- ##
5293 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5296 # Save the log message, to keep $0 and so on meaningful, and to
5297 # report actual input values of CONFIG_FILES etc. instead of their
5298 # values after options handling.
5300 This file was extended by ppastats $as_me 0.0.x, which was
5301 generated by GNU Autoconf 2.68. Invocation command line was
5303 CONFIG_FILES = $CONFIG_FILES
5304 CONFIG_HEADERS = $CONFIG_HEADERS
5305 CONFIG_LINKS = $CONFIG_LINKS
5306 CONFIG_COMMANDS = $CONFIG_COMMANDS
5309 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5314 case $ac_config_files in *"
5315 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5318 case $ac_config_headers in *"
5319 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5324 # Files that config.status was made for.
5325 config_files="$ac_config_files"
5326 config_headers="$ac_config_headers"
5327 config_commands="$ac_config_commands"
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5333 \`$as_me' instantiates files and other configuration actions
5334 from templates according to the current configuration. Unless the files
5335 and actions are specified as TAGs, all are instantiated by default.
5337 Usage: $0 [OPTION]... [TAG]...
5339 -h, --help print this help, then exit
5340 -V, --version print version number and configuration settings, then exit
5341 --config print configuration, then exit
5342 -q, --quiet, --silent
5343 do not print progress messages
5344 -d, --debug don't remove temporary files
5345 --recheck update $as_me by reconfiguring in the same conditions
5346 --file=FILE[:TEMPLATE]
5347 instantiate the configuration file FILE
5348 --header=FILE[:TEMPLATE]
5349 instantiate the configuration header FILE
5351 Configuration files:
5354 Configuration headers:
5357 Configuration commands:
5360 Report bugs to <jeanfi@gmail.com>.
5361 ppastats home page: <http://wpitchoune.net/ppastats>."
5364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5365 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5367 ppastats config.status 0.0.x
5368 configured by $0, generated by GNU Autoconf 2.68,
5369 with options \\"\$ac_cs_config\\"
5371 Copyright (C) 2010 Free Software Foundation, Inc.
5372 This config.status script is free software; the Free Software Foundation
5373 gives unlimited permission to copy, distribute and modify it."
5380 test -n "\$AWK" || AWK=awk
5383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5384 # The default lists apply if the user does not specify any file.
5390 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5391 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5395 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5407 # Handling of the options.
5408 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5410 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5411 $as_echo "$ac_cs_version"; exit ;;
5412 --config | --confi | --conf | --con | --co | --c )
5413 $as_echo "$ac_cs_config"; exit ;;
5414 --debug | --debu | --deb | --de | --d | -d )
5416 --file | --fil | --fi | --f )
5419 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5420 '') as_fn_error $? "missing file argument" ;;
5422 as_fn_append CONFIG_FILES " '$ac_optarg'"
5423 ac_need_defaults=false;;
5424 --header | --heade | --head | --hea )
5427 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5429 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5430 ac_need_defaults=false;;
5432 # Conflict between --help and --header
5433 as_fn_error $? "ambiguous option: \`$1'
5434 Try \`$0 --help' for more information.";;
5435 --help | --hel | -h )
5436 $as_echo "$ac_cs_usage"; exit ;;
5437 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5438 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5442 -*) as_fn_error $? "unrecognized option: \`$1'
5443 Try \`$0 --help' for more information." ;;
5445 *) as_fn_append ac_config_targets " $1"
5446 ac_need_defaults=false ;;
5452 ac_configure_extra_args=
5454 if $ac_cs_silent; then
5456 ac_configure_extra_args="$ac_configure_extra_args --silent"
5460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5461 if \$ac_cs_recheck; then
5462 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5464 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5465 CONFIG_SHELL='$SHELL'
5471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5475 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5476 ## Running $as_me. ##
5482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5486 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5492 # Handling of arguments.
5493 for ac_config_target in $ac_config_targets
5495 case $ac_config_target in
5496 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5497 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5498 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5499 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5500 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5501 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
5503 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5508 # If the user did not use the arguments to specify the items to instantiate,
5509 # then the envvar interface is used. Set only those that are not.
5510 # We use the long form for the default assignment because of an extremely
5511 # bizarre bug on SunOS 4.1.3.
5512 if $ac_need_defaults; then
5513 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5514 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5515 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5518 # Have a temporary directory for convenience. Make it in the build tree
5519 # simply because there is no reason against having it here, and in addition,
5520 # creating and moving files from /tmp can sometimes cause problems.
5521 # Hook for its removal unless debugging.
5522 # Note that there is a small window in which the directory will not be cleaned:
5523 # after its creation but before its name has been assigned to `$tmp'.
5527 trap 'exit_status=$?
5529 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5531 trap 'as_fn_exit 1' 1 2 13 15
5533 # Create a (secure) tmp directory for tmp files.
5536 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5540 tmp=./conf$$-$RANDOM
5541 (umask 077 && mkdir "$tmp")
5542 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5545 # Set up the scripts for CONFIG_FILES section.
5546 # No need to generate them if there are no CONFIG_FILES.
5547 # This happens for instance with `./config.status config.h'.
5548 if test -n "$CONFIG_FILES"; then
5551 ac_cr=`echo X | tr X '\015'`
5552 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5553 # But we know of no other shell where ac_cr would be empty at this
5554 # point, so we can use a bashism as a fallback.
5555 if test "x$ac_cr" = x; then
5556 eval ac_cr=\$\'\\r\'
5558 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5559 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5565 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5570 echo "cat >conf$$subs.awk <<_ACEOF" &&
5571 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5574 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5575 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5577 for ac_last_try in false false false false false :; do
5578 . ./conf$$subs.sh ||
5579 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5581 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5582 if test $ac_delim_n = $ac_delim_num; then
5584 elif $ac_last_try; then
5585 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5587 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5593 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5597 s/^/S["/; s/!.*/"]=/
5607 s/\(.\{148\}\)..*/\1/
5609 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5614 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5621 s/\(.\{148\}\)..*/\1/
5623 s/["\\]/\\&/g; s/^/"/; s/$/"/
5627 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5632 ' <conf$$subs.awk | sed '
5637 ' >>$CONFIG_STATUS || ac_write_fail=1
5638 rm -f conf$$subs.awk
5639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5641 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5642 for (key in S) S_is_set[key] = 1
5648 nfields = split(line, field, "@")
5650 len = length(field[1])
5651 for (i = 2; i < nfields; i++) {
5653 keylen = length(key)
5654 if (S_is_set[key]) {
5656 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5657 len += length(value) + length(field[++i])
5668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5669 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5670 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5673 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5674 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5677 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5678 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5679 # trailing colons and then remove the whole line if VPATH becomes empty
5680 # (actually we leave an empty line to preserve line numbers).
5681 if test "x$srcdir" = x.; then
5682 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5701 fi # test -n "$CONFIG_FILES"
5703 # Set up the scripts for CONFIG_HEADERS section.
5704 # No need to generate them if there are no CONFIG_HEADERS.
5705 # This happens for instance with `./config.status Makefile'.
5706 if test -n "$CONFIG_HEADERS"; then
5707 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5711 # Transform confdefs.h into an awk script `defines.awk', embedded as
5712 # here-document in config.status, that substitutes the proper values into
5713 # config.h.in to produce config.h.
5715 # Create a delimiter string that does not exist in confdefs.h, to ease
5716 # handling of long lines.
5718 for ac_last_try in false false :; do
5719 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5720 if test -z "$ac_tt"; then
5722 elif $ac_last_try; then
5723 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5725 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5729 # For the awk script, D is an array of macro values keyed by name,
5730 # likewise P contains macro parameters if any. Preserve backslash
5731 # newline sequences.
5733 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5735 s/.\{148\}/&'"$ac_delim"'/g
5738 s/^[ ]*#[ ]*define[ ][ ]*/ /
5745 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5747 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5751 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5752 D["\1"]=" \3\\\\\\n"\\/p
5754 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5759 s/.\{148\}/&'"$ac_delim"'/g
5764 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5767 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5769 ' <confdefs.h | sed '
5770 s/'"$ac_delim"'/"\\\
5771 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5774 for (key in D) D_is_set[key] = 1
5777 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5779 split(line, arg, " ")
5780 if (arg[1] == "#") {
5784 defundef = substr(arg[1], 2)
5787 split(mac1, mac2, "(") #)
5789 prefix = substr(line, 1, index(line, defundef) - 1)
5790 if (D_is_set[macro]) {
5791 # Preserve the white space surrounding the "#".
5792 print prefix "define", macro P[macro] D[macro]
5795 # Replace #undef with comments. This is necessary, for example,
5796 # in the case of _POSIX_SOURCE, which is predefined and required
5797 # on some systems where configure will not decide to define it.
5798 if (defundef == "undef") {
5799 print "/*", prefix defundef, macro, "*/"
5807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5808 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5809 fi # test -n "$CONFIG_HEADERS"
5812 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5817 :[FHLC]) ac_mode=$ac_tag; continue;;
5819 case $ac_mode$ac_tag in
5821 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5822 :[FH]-) ac_tag=-:-;;
5823 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5840 -) ac_f="$ac_tmp/stdin";;
5841 *) # Look for the file first in the build tree, then in the source tree
5842 # (if the path is not absolute). The absolute path cannot be DOS-style,
5843 # because $ac_f cannot contain `:'.
5847 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5849 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5851 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5852 as_fn_append ac_file_inputs " '$ac_f'"
5855 # Let's still pretend it is `configure' which instantiates (i.e., don't
5856 # use $as_me), people would be surprised to read:
5857 # /* config.h. Generated by config.status. */
5858 configure_input='Generated from '`
5859 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5861 if test x"$ac_file" != x-; then
5862 configure_input="$ac_file. $configure_input"
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5864 $as_echo "$as_me: creating $ac_file" >&6;}
5866 # Neutralize special characters interpreted by sed in replacement strings.
5867 case $configure_input in #(
5868 *\&* | *\|* | *\\* )
5869 ac_sed_conf_input=`$as_echo "$configure_input" |
5870 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5871 *) ac_sed_conf_input=$configure_input;;
5875 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5881 ac_dir=`$as_dirname -- "$ac_file" ||
5882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5883 X"$ac_file" : 'X\(//\)[^/]' \| \
5884 X"$ac_file" : 'X\(//\)$' \| \
5885 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5886 $as_echo X"$ac_file" |
5887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5904 as_dir="$ac_dir"; as_fn_mkdir_p
5908 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5910 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5911 # A ".." for each directory in $ac_dir_suffix.
5912 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5913 case $ac_top_builddir_sub in
5914 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5915 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5918 ac_abs_top_builddir=$ac_pwd
5919 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5920 # for backward compatibility:
5921 ac_top_builddir=$ac_top_build_prefix
5924 .) # We are building in place.
5926 ac_top_srcdir=$ac_top_builddir_sub
5927 ac_abs_top_srcdir=$ac_pwd ;;
5928 [\\/]* | ?:[\\/]* ) # Absolute name.
5929 ac_srcdir=$srcdir$ac_dir_suffix;
5930 ac_top_srcdir=$srcdir
5931 ac_abs_top_srcdir=$srcdir ;;
5933 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5934 ac_top_srcdir=$ac_top_build_prefix$srcdir
5935 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5937 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5947 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5948 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5952 [\\/$]* | ?:[\\/]* ) ;;
5953 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5958 # If the template does not know about datarootdir, expand it.
5959 # FIXME: This hack should be removed a few years after 2.60.
5960 ac_datarootdir_hack=; ac_datarootdir_seen=
5971 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5972 *datarootdir*) ac_datarootdir_seen=yes;;
5973 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5975 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5978 ac_datarootdir_hack='
5979 s&@datadir@&$datadir&g
5980 s&@docdir@&$docdir&g
5981 s&@infodir@&$infodir&g
5982 s&@localedir@&$localedir&g
5983 s&@mandir@&$mandir&g
5984 s&\\\${datarootdir}&$datarootdir&g' ;;
5988 # Neutralize VPATH when `$srcdir' = `.'.
5989 # Shell code in configure.ac might set extrasub.
5990 # FIXME: do we really want to maintain this feature?
5991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5992 ac_sed_extra="$ac_vpsub
5995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5998 s|@configure_input@|$ac_sed_conf_input|;t t
5999 s&@top_builddir@&$ac_top_builddir_sub&;t t
6000 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6001 s&@srcdir@&$ac_srcdir&;t t
6002 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6003 s&@top_srcdir@&$ac_top_srcdir&;t t
6004 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6005 s&@builddir@&$ac_builddir&;t t
6006 s&@abs_builddir@&$ac_abs_builddir&;t t
6007 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6008 s&@INSTALL@&$ac_INSTALL&;t t
6009 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6010 $ac_datarootdir_hack
6012 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6013 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6016 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6018 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6020 which seems to be undefined. Please make sure it is defined" >&5
6021 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6022 which seems to be undefined. Please make sure it is defined" >&2;}
6024 rm -f "$ac_tmp/stdin"
6026 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6027 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6029 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6035 if test x"$ac_file" != x-; then
6037 $as_echo "/* $configure_input */" \
6038 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6039 } >"$ac_tmp/config.h" \
6040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6041 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6043 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6046 mv "$ac_tmp/config.h" "$ac_file" \
6047 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6050 $as_echo "/* $configure_input */" \
6051 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6052 || as_fn_error $? "could not create -" "$LINENO" 5
6054 # Compute "$ac_file"'s index in $config_headers.
6057 for _am_header in $config_headers :; do
6059 $_am_arg | $_am_arg:* )
6062 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6065 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6066 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6067 X"$_am_arg" : 'X\(//\)[^/]' \| \
6068 X"$_am_arg" : 'X\(//\)$' \| \
6069 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6070 $as_echo X"$_am_arg" |
6071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6087 s/.*/./; q'`/stamp-h$_am_stamp_count
6090 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6091 $as_echo "$as_me: executing $ac_file commands" >&6;}
6096 case $ac_file$ac_mode in
6097 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6098 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6099 # are listed without --file. Let's play safe and only enable the eval
6100 # if we detect the quoting.
6101 case $CONFIG_FILES in
6102 *\'*) eval set x "$CONFIG_FILES" ;;
6103 *) set x $CONFIG_FILES ;;
6108 # Strip MF so we end up with the name of the file.
6109 mf=`echo "$mf" | sed -e 's/:.*$//'`
6110 # Check whether this is an Automake generated Makefile or not.
6111 # We used to match only the files named `Makefile.in', but
6112 # some people rename them; so instead we look at the file content.
6113 # Grep'ing the first line is not enough: some people post-process
6114 # each Makefile.in and add a new line on top of each file to say so.
6115 # Grep'ing the whole file is not good either: AIX grep has a line
6116 # limit of 2048, but all sed's we know have understand at least 4000.
6117 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6118 dirpart=`$as_dirname -- "$mf" ||
6119 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6120 X"$mf" : 'X\(//\)[^/]' \| \
6121 X"$mf" : 'X\(//\)$' \| \
6122 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6144 # Extract the definition of DEPDIR, am__include, and am__quote
6145 # from the Makefile without running `make'.
6146 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6147 test -z "$DEPDIR" && continue
6148 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6149 test -z "am__include" && continue
6150 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6151 # When using ansi2knr, U may be empty or an underscore; expand it
6152 U=`sed -n 's/^U = //p' < "$mf"`
6153 # Find all dependency output files, they are included files with
6154 # $(DEPDIR) in their names. We invoke sed twice because it is the
6155 # simplest approach to changing $(DEPDIR) to its actual value in the
6157 for file in `sed -n "
6158 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6159 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6160 # Make sure the directory exists.
6161 test -f "$dirpart/$file" && continue
6162 fdir=`$as_dirname -- "$file" ||
6163 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6164 X"$file" : 'X\(//\)[^/]' \| \
6165 X"$file" : 'X\(//\)$' \| \
6166 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6185 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6186 # echo "creating $dirpart/$file"
6187 echo '# dummy' > "$dirpart/$file"
6199 ac_clean_files=$ac_clean_files_save
6201 test $ac_write_fail = 0 ||
6202 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6205 # configure is writing to config.log, and then calls config.status.
6206 # config.status does its own redirection, appending to config.log.
6207 # Unfortunately, on DOS this fails, as config.log is still kept open
6208 # by configure, so config.status won't be able to write to it; its
6209 # output is simply discarded. So we exec the FD to /dev/null,
6210 # effectively closing config.log, so it can be properly (re)opened and
6211 # appended to by config.status. When coming back to configure, we
6212 # need to make the FD available again.
6213 if test "$no_create" != yes; then
6215 ac_config_status_args=
6216 test "$silent" = yes &&
6217 ac_config_status_args="$ac_config_status_args --quiet"
6219 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6221 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6222 # would make configure fail if this is the last instruction.
6223 $ac_cs_success || as_fn_exit 1
6225 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6227 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}