2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for ppastats 0.0.1.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
553 PACKAGE_NAME='ppastats'
554 PACKAGE_TARNAME='ppastats'
555 PACKAGE_VERSION='0.0.1'
556 PACKAGE_STRING='ppastats 0.0.1'
557 PACKAGE_BUGREPORT='jeanfi@gmail.com'
558 PACKAGE_URL='http://wpitchoune.net/ppastats'
560 ac_unique_file="src/main.c"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars='am__EXEEXT_FALSE
638 INSTALL_STRIP_PROGRAM
680 program_transform_name
693 enable_option_checking
694 enable_dependency_tracking
697 ac_precious_vars='build_alias
716 # Initialize some variables set by options.
718 ac_init_version=false
719 ac_unrecognized_opts=
721 # The variables have the same names as the options, with
722 # dashes changed to underlines.
730 program_transform_name=s,x,x,
738 # Installation directory options.
739 # These are left unexpanded so users can "make install exec_prefix=/foo"
740 # and all the variables that are supposed to be based on exec_prefix
741 # by default will actually change.
742 # Use braces instead of parens because sh, perl, etc. also accept them.
743 # (The list follows the same order as the GNU Coding Standards.)
744 bindir='${exec_prefix}/bin'
745 sbindir='${exec_prefix}/sbin'
746 libexecdir='${exec_prefix}/libexec'
747 datarootdir='${prefix}/share'
748 datadir='${datarootdir}'
749 sysconfdir='${prefix}/etc'
750 sharedstatedir='${prefix}/com'
751 localstatedir='${prefix}/var'
752 includedir='${prefix}/include'
753 oldincludedir='/usr/include'
754 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
755 infodir='${datarootdir}/info'
760 libdir='${exec_prefix}/lib'
761 localedir='${datarootdir}/locale'
762 mandir='${datarootdir}/man'
768 # If the previous option needs an argument, assign it.
769 if test -n "$ac_prev"; then
770 eval $ac_prev=\$ac_option
776 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 # Accept the important Cygnus configure options, so we can diagnose typos.
783 case $ac_dashdash$ac_option in
787 -bindir | --bindir | --bindi | --bind | --bin | --bi)
789 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
792 -build | --build | --buil | --bui | --bu)
793 ac_prev=build_alias ;;
794 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
795 build_alias=$ac_optarg ;;
797 -cache-file | --cache-file | --cache-fil | --cache-fi \
798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
799 ac_prev=cache_file ;;
800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
802 cache_file=$ac_optarg ;;
805 cache_file=config.cache ;;
807 -datadir | --datadir | --datadi | --datad)
809 -datadir=* | --datadir=* | --datadi=* | --datad=*)
810 datadir=$ac_optarg ;;
812 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
813 | --dataroo | --dataro | --datar)
814 ac_prev=datarootdir ;;
815 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
816 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
817 datarootdir=$ac_optarg ;;
819 -disable-* | --disable-*)
820 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823 as_fn_error $? "invalid feature name: $ac_useropt"
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
833 eval enable_$ac_useropt=no ;;
835 -docdir | --docdir | --docdi | --doc | --do)
837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
845 -enable-* | --enable-*)
846 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
849 as_fn_error $? "invalid feature name: $ac_useropt"
850 ac_useropt_orig=$ac_useropt
851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 case $ac_user_opts in
856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
857 ac_unrecognized_sep=', ';;
859 eval enable_$ac_useropt=\$ac_optarg ;;
861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863 | --exec | --exe | --ex)
864 ac_prev=exec_prefix ;;
865 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
866 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
867 | --exec=* | --exe=* | --ex=*)
868 exec_prefix=$ac_optarg ;;
870 -gas | --gas | --ga | --g)
871 # Obsolete; use --with-gas.
874 -help | --help | --hel | --he | -h)
876 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
877 ac_init_help=recursive ;;
878 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
879 ac_init_help=short ;;
881 -host | --host | --hos | --ho)
882 ac_prev=host_alias ;;
883 -host=* | --host=* | --hos=* | --ho=*)
884 host_alias=$ac_optarg ;;
886 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
888 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
890 htmldir=$ac_optarg ;;
892 -includedir | --includedir | --includedi | --included | --include \
893 | --includ | --inclu | --incl | --inc)
894 ac_prev=includedir ;;
895 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
896 | --includ=* | --inclu=* | --incl=* | --inc=*)
897 includedir=$ac_optarg ;;
899 -infodir | --infodir | --infodi | --infod | --info | --inf)
901 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
902 infodir=$ac_optarg ;;
904 -libdir | --libdir | --libdi | --libd)
906 -libdir=* | --libdir=* | --libdi=* | --libd=*)
909 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
910 | --libexe | --libex | --libe)
911 ac_prev=libexecdir ;;
912 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
913 | --libexe=* | --libex=* | --libe=*)
914 libexecdir=$ac_optarg ;;
916 -localedir | --localedir | --localedi | --localed | --locale)
918 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
919 localedir=$ac_optarg ;;
921 -localstatedir | --localstatedir | --localstatedi | --localstated \
922 | --localstate | --localstat | --localsta | --localst | --locals)
923 ac_prev=localstatedir ;;
924 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
925 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
926 localstatedir=$ac_optarg ;;
928 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
930 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934 # Obsolete; use --without-fp.
937 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
938 | --no-cr | --no-c | -n)
941 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
942 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
945 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
946 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
947 | --oldin | --oldi | --old | --ol | --o)
948 ac_prev=oldincludedir ;;
949 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
950 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
951 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
952 oldincludedir=$ac_optarg ;;
954 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
956 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
959 -program-prefix | --program-prefix | --program-prefi | --program-pref \
960 | --program-pre | --program-pr | --program-p)
961 ac_prev=program_prefix ;;
962 -program-prefix=* | --program-prefix=* | --program-prefi=* \
963 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
964 program_prefix=$ac_optarg ;;
966 -program-suffix | --program-suffix | --program-suffi | --program-suff \
967 | --program-suf | --program-su | --program-s)
968 ac_prev=program_suffix ;;
969 -program-suffix=* | --program-suffix=* | --program-suffi=* \
970 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
971 program_suffix=$ac_optarg ;;
973 -program-transform-name | --program-transform-name \
974 | --program-transform-nam | --program-transform-na \
975 | --program-transform-n | --program-transform- \
976 | --program-transform | --program-transfor \
977 | --program-transfo | --program-transf \
978 | --program-trans | --program-tran \
979 | --progr-tra | --program-tr | --program-t)
980 ac_prev=program_transform_name ;;
981 -program-transform-name=* | --program-transform-name=* \
982 | --program-transform-nam=* | --program-transform-na=* \
983 | --program-transform-n=* | --program-transform-=* \
984 | --program-transform=* | --program-transfor=* \
985 | --program-transfo=* | --program-transf=* \
986 | --program-trans=* | --program-tran=* \
987 | --progr-tra=* | --program-tr=* | --program-t=*)
988 program_transform_name=$ac_optarg ;;
990 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
992 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
995 -psdir | --psdir | --psdi | --psd | --ps)
997 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1001 | -silent | --silent | --silen | --sile | --sil)
1004 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1006 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1008 sbindir=$ac_optarg ;;
1010 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1011 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1012 | --sharedst | --shareds | --shared | --share | --shar \
1014 ac_prev=sharedstatedir ;;
1015 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1016 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1017 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1019 sharedstatedir=$ac_optarg ;;
1021 -site | --site | --sit)
1023 -site=* | --site=* | --sit=*)
1026 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1028 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1029 srcdir=$ac_optarg ;;
1031 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1032 | --syscon | --sysco | --sysc | --sys | --sy)
1033 ac_prev=sysconfdir ;;
1034 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1035 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1036 sysconfdir=$ac_optarg ;;
1038 -target | --target | --targe | --targ | --tar | --ta | --t)
1039 ac_prev=target_alias ;;
1040 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1041 target_alias=$ac_optarg ;;
1043 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1046 -version | --version | --versio | --versi | --vers | -V)
1047 ac_init_version=: ;;
1050 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error $? "invalid package name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1063 eval with_$ac_useropt=\$ac_optarg ;;
1065 -without-* | --without-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 as_fn_error $? "invalid package name: $ac_useropt"
1070 ac_useropt_orig=$ac_useropt
1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1079 eval with_$ac_useropt=no ;;
1082 # Obsolete; use --with-x.
1085 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1086 | --x-incl | --x-inc | --x-in | --x-i)
1087 ac_prev=x_includes ;;
1088 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1089 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1090 x_includes=$ac_optarg ;;
1092 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1093 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1094 ac_prev=x_libraries ;;
1095 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1096 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1097 x_libraries=$ac_optarg ;;
1099 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1100 Try \`$0 --help' for more information"
1104 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1105 # Reject names that are not valid shell variable names.
1106 case $ac_envvar in #(
1107 '' | [0-9]* | *[!_$as_cr_alnum]* )
1108 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1110 eval $ac_envvar=\$ac_optarg
1111 export $ac_envvar ;;
1114 # FIXME: should be removed in autoconf 3.0.
1115 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1117 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1124 if test -n "$ac_prev"; then
1125 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1126 as_fn_error $? "missing argument to $ac_option"
1129 if test -n "$ac_unrecognized_opts"; then
1130 case $enable_option_checking in
1132 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1133 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137 # Check all directory arguments for consistency.
1138 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1139 datadir sysconfdir sharedstatedir localstatedir includedir \
1140 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1141 libdir localedir mandir
1143 eval ac_val=\$$ac_var
1144 # Remove trailing slashes.
1147 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1148 eval $ac_var=\$ac_val;;
1150 # Be sure to have absolute directory names.
1152 [\\/$]* | ?:[\\/]* ) continue;;
1153 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1155 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1158 # There might be people who depend on the old broken behavior: `$host'
1159 # used to hold the argument of --host etc.
1160 # FIXME: To remove some day.
1163 target=$target_alias
1165 # FIXME: To remove some day.
1166 if test "x$host_alias" != x; then
1167 if test "x$build_alias" = x; then
1168 cross_compiling=maybe
1169 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1170 If a cross compiler is detected then cross compile mode will be used" >&2
1171 elif test "x$build_alias" != "x$host_alias"; then
1177 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1179 test "$silent" = yes && exec 6>/dev/null
1182 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1183 ac_ls_di=`ls -di .` &&
1184 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1185 as_fn_error $? "working directory cannot be determined"
1186 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187 as_fn_error $? "pwd does not report name of working directory"
1190 # Find the source files, if location was not specified.
1191 if test -z "$srcdir"; then
1192 ac_srcdir_defaulted=yes
1193 # Try the directory containing this script, then the parent directory.
1194 ac_confdir=`$as_dirname -- "$as_myself" ||
1195 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196 X"$as_myself" : 'X\(//\)[^/]' \| \
1197 X"$as_myself" : 'X\(//\)$' \| \
1198 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1199 $as_echo X"$as_myself" |
1200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1222 ac_srcdir_defaulted=no
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1225 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1226 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1228 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1230 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1232 # When building in place, set srcdir=.
1233 if test "$ac_abs_confdir" = "$ac_pwd"; then
1236 # Remove unnecessary trailing slashes from srcdir.
1237 # Double slashes in file names in object file debugging info
1238 # mess up M-x gdb in Emacs.
1240 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 for ac_var in $ac_precious_vars; do
1243 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1244 eval ac_env_${ac_var}_value=\$${ac_var}
1245 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1246 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1250 # Report the --help message.
1252 if test "$ac_init_help" = "long"; then
1253 # Omit some internal or obsolete options to make the list less imposing.
1254 # This message is too long to be a string in the A/UX 3.1 sh.
1256 \`configure' configures ppastats 0.0.1 to adapt to many kinds of systems.
1258 Usage: $0 [OPTION]... [VAR=VALUE]...
1260 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1261 VAR=VALUE. See below for descriptions of some of the useful variables.
1263 Defaults for the options are specified in brackets.
1266 -h, --help display this help and exit
1267 --help=short display options specific to this package
1268 --help=recursive display the short help of all the included packages
1269 -V, --version display version information and exit
1270 -q, --quiet, --silent do not print \`checking ...' messages
1271 --cache-file=FILE cache test results in FILE [disabled]
1272 -C, --config-cache alias for \`--cache-file=config.cache'
1273 -n, --no-create do not create output files
1274 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1276 Installation directories:
1277 --prefix=PREFIX install architecture-independent files in PREFIX
1278 [$ac_default_prefix]
1279 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1282 By default, \`make install' will install all the files in
1283 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1284 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1285 for instance \`--prefix=\$HOME'.
1287 For better control, use the options below.
1289 Fine tuning of the installation directories:
1290 --bindir=DIR user executables [EPREFIX/bin]
1291 --sbindir=DIR system admin executables [EPREFIX/sbin]
1292 --libexecdir=DIR program executables [EPREFIX/libexec]
1293 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1294 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1295 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1296 --libdir=DIR object code libraries [EPREFIX/lib]
1297 --includedir=DIR C header files [PREFIX/include]
1298 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1299 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1300 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1301 --infodir=DIR info documentation [DATAROOTDIR/info]
1302 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1303 --mandir=DIR man documentation [DATAROOTDIR/man]
1304 --docdir=DIR documentation root [DATAROOTDIR/doc/ppastats]
1305 --htmldir=DIR html documentation [DOCDIR]
1306 --dvidir=DIR dvi documentation [DOCDIR]
1307 --pdfdir=DIR pdf documentation [DOCDIR]
1308 --psdir=DIR ps documentation [DOCDIR]
1314 --program-prefix=PREFIX prepend PREFIX to installed program names
1315 --program-suffix=SUFFIX append SUFFIX to installed program names
1316 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1319 --x-includes=DIR X include files are in DIR
1320 --x-libraries=DIR X library files are in DIR
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive ) echo "Configuration of ppastats 0.0.1:";;
1331 --disable-option-checking ignore unrecognized --enable/--with options
1332 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1333 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1334 --disable-dependency-tracking speeds up one-time build
1335 --enable-dependency-tracking do not reject slow dependency extractors
1338 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1339 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1340 --with-x use the X Window System
1342 Some influential environment variables:
1343 CC C compiler command
1344 CFLAGS C compiler flags
1345 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1346 nonstandard directory <lib dir>
1347 LIBS libraries to pass to the linker, e.g. -l<library>
1348 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1349 you have headers in a nonstandard directory <include dir>
1350 XMKMF Path to xmkmf, Makefile generator for X Window System
1352 PKG_CONFIG path to pkg-config utility
1354 directories to add to pkg-config's search path
1356 path overriding pkg-config's built-in search path
1357 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1358 CURL_LIBS linker flags for CURL, overriding pkg-config
1359 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1360 JSON_LIBS linker flags for JSON, overriding pkg-config
1362 Use these variables to override the choices made by `configure' or to help
1363 it to find libraries and programs with nonstandard names/locations.
1365 Report bugs to <jeanfi@gmail.com>.
1366 ppastats home page: <http://wpitchoune.net/ppastats>.
1371 if test "$ac_init_help" = "recursive"; then
1372 # If there are subdirs, report their specific --help.
1373 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1374 test -d "$ac_dir" ||
1375 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1380 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1383 # A ".." for each directory in $ac_dir_suffix.
1384 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1385 case $ac_top_builddir_sub in
1386 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1390 ac_abs_top_builddir=$ac_pwd
1391 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1392 # for backward compatibility:
1393 ac_top_builddir=$ac_top_build_prefix
1396 .) # We are building in place.
1398 ac_top_srcdir=$ac_top_builddir_sub
1399 ac_abs_top_srcdir=$ac_pwd ;;
1400 [\\/]* | ?:[\\/]* ) # Absolute name.
1401 ac_srcdir=$srcdir$ac_dir_suffix;
1402 ac_top_srcdir=$srcdir
1403 ac_abs_top_srcdir=$srcdir ;;
1405 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1406 ac_top_srcdir=$ac_top_build_prefix$srcdir
1407 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1409 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1411 cd "$ac_dir" || { ac_status=$?; continue; }
1412 # Check for guested configure.
1413 if test -f "$ac_srcdir/configure.gnu"; then
1415 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1416 elif test -f "$ac_srcdir/configure"; then
1418 $SHELL "$ac_srcdir/configure" --help=recursive
1420 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1422 cd "$ac_pwd" || { ac_status=$?; break; }
1426 test -n "$ac_init_help" && exit $ac_status
1427 if $ac_init_version; then
1429 ppastats configure 0.0.1
1430 generated by GNU Autoconf 2.67
1432 Copyright (C) 2010 Free Software Foundation, Inc.
1433 This configure script is free software; the Free Software Foundation
1434 gives unlimited permission to copy, distribute and modify it.
1439 ## ------------------------ ##
1440 ## Autoconf initialization. ##
1441 ## ------------------------ ##
1443 # ac_fn_c_try_compile LINENO
1444 # --------------------------
1445 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1446 ac_fn_c_try_compile ()
1448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1449 rm -f conftest.$ac_objext
1450 if { { ac_try="$ac_compile"
1452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1453 *) ac_try_echo=$ac_try;;
1455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1456 $as_echo "$ac_try_echo"; } >&5
1457 (eval "$ac_compile") 2>conftest.err
1459 if test -s conftest.err; then
1460 grep -v '^ *+' conftest.err >conftest.er1
1461 cat conftest.er1 >&5
1462 mv -f conftest.er1 conftest.err
1464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1465 test $ac_status = 0; } && {
1466 test -z "$ac_c_werror_flag" ||
1467 test ! -s conftest.err
1468 } && test -s conftest.$ac_objext; then :
1471 $as_echo "$as_me: failed program was:" >&5
1472 sed 's/^/| /' conftest.$ac_ext >&5
1476 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1477 as_fn_set_status $ac_retval
1479 } # ac_fn_c_try_compile
1481 # ac_fn_c_try_cpp LINENO
1482 # ----------------------
1483 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487 if { { ac_try="$ac_cpp conftest.$ac_ext"
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } > conftest.i && {
1503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1508 $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1513 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1514 as_fn_set_status $ac_retval
1518 # ac_fn_c_try_link LINENO
1519 # -----------------------
1520 # Try to link conftest.$ac_ext, and return whether this succeeded.
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524 rm -f conftest.$ac_objext conftest$ac_exeext
1525 if { { ac_try="$ac_link"
1527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528 *) ac_try_echo=$ac_try;;
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532 (eval "$ac_link") 2>conftest.err
1534 if test -s conftest.err; then
1535 grep -v '^ *+' conftest.err >conftest.er1
1536 cat conftest.er1 >&5
1537 mv -f conftest.er1 conftest.err
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && {
1541 test -z "$ac_c_werror_flag" ||
1542 test ! -s conftest.err
1543 } && test -s conftest$ac_exeext && {
1544 test "$cross_compiling" = yes ||
1545 $as_test_x conftest$ac_exeext
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1554 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1555 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1556 # interfere with the next link command; also delete a directory that is
1557 # left behind by Apple's compiler. We do this before executing the actions.
1558 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1560 as_fn_set_status $ac_retval
1562 } # ac_fn_c_try_link
1564 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1565 # -------------------------------------------------------
1566 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1567 # the include files in INCLUDES and setting the cache variable VAR
1569 ac_fn_c_check_header_mongrel ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 if eval "test \"\${$3+set}\"" = set; then :
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1574 $as_echo_n "checking for $2... " >&6; }
1575 if eval "test \"\${$3+set}\"" = set; then :
1576 $as_echo_n "(cached) " >&6
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1580 $as_echo "$ac_res" >&6; }
1582 # Is the header compilable?
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1584 $as_echo_n "checking $2 usability... " >&6; }
1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1586 /* end confdefs.h. */
1590 if ac_fn_c_try_compile "$LINENO"; then :
1591 ac_header_compiler=yes
1593 ac_header_compiler=no
1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1597 $as_echo "$ac_header_compiler" >&6; }
1599 # Is the header present?
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1601 $as_echo_n "checking $2 presence... " >&6; }
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1606 if ac_fn_c_try_cpp "$LINENO"; then :
1607 ac_header_preproc=yes
1609 ac_header_preproc=no
1611 rm -f conftest.err conftest.i conftest.$ac_ext
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1613 $as_echo "$ac_header_preproc" >&6; }
1615 # So? What about this header?
1616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1619 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1625 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1627 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1629 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1631 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1634 ( $as_echo "## ------------------------------- ##
1635 ## Report this to jeanfi@gmail.com ##
1636 ## ------------------------------- ##"
1637 ) | sed "s/^/$as_me: WARNING: /" >&2
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 $as_echo_n "checking for $2... " >&6; }
1642 if eval "test \"\${$3+set}\"" = set; then :
1643 $as_echo_n "(cached) " >&6
1645 eval "$3=\$ac_header_compiler"
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1653 } # ac_fn_c_check_header_mongrel
1655 # ac_fn_c_try_run LINENO
1656 # ----------------------
1657 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1658 # that executables *can* be run.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if { { ac_try="$ac_link"
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_link") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1673 { { case "(($ac_try" in
1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_try") 2>&5
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; }; }; then :
1685 $as_echo "$as_me: program exited with status $ac_status" >&5
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1689 ac_retval=$ac_status
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693 as_fn_set_status $ac_retval
1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists and can be compiled using the include files in
1700 # INCLUDES, setting the cache variable VAR accordingly.
1701 ac_fn_c_check_header_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if eval "test \"\${$3+set}\"" = set; then :
1707 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 } # ac_fn_c_check_header_compile
1727 cat >config.log <<_ACEOF
1728 This file contains any messages produced by compilers while
1729 running configure, to aid debugging if configure makes a mistake.
1731 It was created by ppastats $as_me 0.0.1, which was
1732 generated by GNU Autoconf 2.67. Invocation command line was
1744 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1745 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1746 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1747 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1748 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1750 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1751 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1753 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1754 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1755 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1756 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1757 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1758 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1759 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir=.
1768 $as_echo "PATH: $as_dir"
1784 # Keep a trace of the command line.
1785 # Strip out --no-create and --no-recursion so they do not pile up.
1786 # Strip out --silent because we don't want to record it for future runs.
1787 # Also quote any args containing shell meta-characters.
1788 # Make two passes to allow for proper duplicate-argument suppression.
1792 ac_must_keep_next=false
1798 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1799 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1800 | -silent | --silent | --silen | --sile | --sil)
1803 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1806 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1808 as_fn_append ac_configure_args1 " '$ac_arg'"
1809 if test $ac_must_keep_next = true; then
1810 ac_must_keep_next=false # Got value, back to normal.
1813 *=* | --config-cache | -C | -disable-* | --disable-* \
1814 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1815 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1816 | -with-* | --with-* | -without-* | --without-* | --x)
1817 case "$ac_configure_args0 " in
1818 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1821 -* ) ac_must_keep_next=true ;;
1824 as_fn_append ac_configure_args " '$ac_arg'"
1829 { ac_configure_args0=; unset ac_configure_args0;}
1830 { ac_configure_args1=; unset ac_configure_args1;}
1832 # When interrupted or exit'd, cleanup temporary files, and complete
1833 # config.log. We remove comments because anyway the quotes in there
1834 # would cause problems or look ugly.
1835 # WARNING: Use '\'' to represent an apostrophe within the trap.
1836 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1837 trap 'exit_status=$?
1838 # Save into config.log some information that might help in debugging.
1842 $as_echo "## ---------------- ##
1843 ## Cache variables. ##
1844 ## ---------------- ##"
1846 # The following way of writing the cache mishandles newlines in values,
1848 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1849 eval ac_val=\$$ac_var
1853 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1857 _ | IFS | as_nl) ;; #(
1858 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1859 *) { eval $ac_var=; unset $ac_var;} ;;
1864 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1865 *${as_nl}ac_space=\ *)
1867 "s/'\''/'\''\\\\'\'''\''/g;
1868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1878 $as_echo "## ----------------- ##
1879 ## Output variables. ##
1880 ## ----------------- ##"
1882 for ac_var in $ac_subst_vars
1884 eval ac_val=\$$ac_var
1886 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1888 $as_echo "$ac_var='\''$ac_val'\''"
1892 if test -n "$ac_subst_files"; then
1893 $as_echo "## ------------------- ##
1894 ## File substitutions. ##
1895 ## ------------------- ##"
1897 for ac_var in $ac_subst_files
1899 eval ac_val=\$$ac_var
1901 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1903 $as_echo "$ac_var='\''$ac_val'\''"
1908 if test -s confdefs.h; then
1909 $as_echo "## ----------- ##
1916 test "$ac_signal" != 0 &&
1917 $as_echo "$as_me: caught signal $ac_signal"
1918 $as_echo "$as_me: exit $exit_status"
1920 rm -f core *.core core.conftest.* &&
1921 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1924 for ac_signal in 1 2 13 15; do
1925 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1929 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1930 rm -f -r conftest* confdefs.h
1932 $as_echo "/* confdefs.h */" > confdefs.h
1934 # Predefined preprocessor variables.
1936 cat >>confdefs.h <<_ACEOF
1937 #define PACKAGE_NAME "$PACKAGE_NAME"
1940 cat >>confdefs.h <<_ACEOF
1941 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1948 cat >>confdefs.h <<_ACEOF
1949 #define PACKAGE_STRING "$PACKAGE_STRING"
1952 cat >>confdefs.h <<_ACEOF
1953 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1956 cat >>confdefs.h <<_ACEOF
1957 #define PACKAGE_URL "$PACKAGE_URL"
1961 # Let the site file select an alternate cache file if it wants to.
1962 # Prefer an explicitly selected file to automatically selected ones.
1965 if test -n "$CONFIG_SITE"; then
1966 # We do not want a PATH search for config.site.
1967 case $CONFIG_SITE in #((
1968 -*) ac_site_file1=./$CONFIG_SITE;;
1969 */*) ac_site_file1=$CONFIG_SITE;;
1970 *) ac_site_file1=./$CONFIG_SITE;;
1972 elif test "x$prefix" != xNONE; then
1973 ac_site_file1=$prefix/share/config.site
1974 ac_site_file2=$prefix/etc/config.site
1976 ac_site_file1=$ac_default_prefix/share/config.site
1977 ac_site_file2=$ac_default_prefix/etc/config.site
1979 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1981 test "x$ac_site_file" = xNONE && continue
1982 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1984 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1985 sed 's/^/| /' "$ac_site_file" >&5
1987 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1989 as_fn_error $? "failed to load site script $ac_site_file
1990 See \`config.log' for more details" "$LINENO" 5 ; }
1994 if test -r "$cache_file"; then
1995 # Some versions of bash will fail to source /dev/null (special files
1996 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1997 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1999 $as_echo "$as_me: loading cache $cache_file" >&6;}
2001 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2002 *) . "./$cache_file";;
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2007 $as_echo "$as_me: creating cache $cache_file" >&6;}
2011 # Check that the precious variables saved in the cache have kept the same
2013 ac_cache_corrupted=false
2014 for ac_var in $ac_precious_vars; do
2015 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2016 eval ac_new_set=\$ac_env_${ac_var}_set
2017 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2018 eval ac_new_val=\$ac_env_${ac_var}_value
2019 case $ac_old_set,$ac_new_set in
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2022 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2023 ac_cache_corrupted=: ;;
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2026 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2027 ac_cache_corrupted=: ;;
2030 if test "x$ac_old_val" != "x$ac_new_val"; then
2031 # differences in whitespace do not lead to failure.
2032 ac_old_val_w=`echo x $ac_old_val`
2033 ac_new_val_w=`echo x $ac_new_val`
2034 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2036 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2037 ac_cache_corrupted=:
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2040 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2041 eval $ac_var=\$ac_old_val
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2044 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2046 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2049 # Pass precious variables to config.status.
2050 if test "$ac_new_set" = set; then
2052 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2053 *) ac_arg=$ac_var=$ac_new_val ;;
2055 case " $ac_configure_args " in
2056 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2057 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2061 if $ac_cache_corrupted; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2065 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2066 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2068 ## -------------------- ##
2069 ## Main body of script. ##
2070 ## -------------------- ##
2073 ac_cpp='$CPP $CPPFLAGS'
2074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2080 am__api_version='1.11'
2083 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2084 if test -f "$ac_dir/install-sh"; then
2086 ac_install_sh="$ac_aux_dir/install-sh -c"
2088 elif test -f "$ac_dir/install.sh"; then
2090 ac_install_sh="$ac_aux_dir/install.sh -c"
2092 elif test -f "$ac_dir/shtool"; then
2094 ac_install_sh="$ac_aux_dir/shtool install -c"
2098 if test -z "$ac_aux_dir"; then
2099 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2102 # These three variables are undocumented and unsupported,
2103 # and are intended to be withdrawn in a future Autoconf release.
2104 # They can cause serious problems if a builder's source tree is in a directory
2105 # whose full name contains unusual characters.
2106 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2107 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2108 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2111 # Find a good install program. We prefer a C program (faster),
2112 # so one script is as good as another. But avoid the broken or
2113 # incompatible versions:
2114 # SysV /etc/install, /usr/sbin/install
2115 # SunOS /usr/etc/install
2116 # IRIX /sbin/install
2118 # AmigaOS /C/install, which installs bootblocks on floppy discs
2119 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2120 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2121 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2122 # OS/2's system install, which has a completely different semantic
2123 # ./install, which can be erroneously created by make from ./install.sh.
2124 # Reject install programs that cannot install multiple files.
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2126 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2127 if test -z "$INSTALL"; then
2128 if test "${ac_cv_path_install+set}" = set; then :
2129 $as_echo_n "(cached) " >&6
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir=.
2136 # Account for people who put trailing slashes in PATH elements.
2137 case $as_dir/ in #((
2138 ./ | .// | /[cC]/* | \
2139 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2140 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2143 # OSF1 and SCO ODT 3.0 have their own names for install.
2144 # Don't use installbsd from OSF since it installs stuff as root
2146 for ac_prog in ginstall scoinst install; do
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2149 if test $ac_prog = install &&
2150 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2151 # AIX install. It has an incompatible calling convention.
2153 elif test $ac_prog = install &&
2154 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2155 # program-specific install script used by HP pwplus--don't use.
2158 rm -rf conftest.one conftest.two conftest.dir
2159 echo one > conftest.one
2160 echo two > conftest.two
2162 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2163 test -s conftest.one && test -s conftest.two &&
2164 test -s conftest.dir/conftest.one &&
2165 test -s conftest.dir/conftest.two
2167 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2180 rm -rf conftest.one conftest.two conftest.dir
2183 if test "${ac_cv_path_install+set}" = set; then
2184 INSTALL=$ac_cv_path_install
2186 # As a last resort, use the slow shell script. Don't cache a
2187 # value for INSTALL within a source directory, because that will
2188 # break other packages using the cache if that directory is
2189 # removed, or if the value is a relative name.
2190 INSTALL=$ac_install_sh
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2194 $as_echo "$INSTALL" >&6; }
2196 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2197 # It thinks the first close brace ends the variable substitution.
2198 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2200 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2202 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2205 $as_echo_n "checking whether build environment is sane... " >&6; }
2208 echo timestamp > conftest.file
2209 # Reject unsafe characters in $srcdir or the absolute working directory
2210 # name. Accept space and tab only in the latter.
2214 *[\\\"\#\$\&\'\`$am_lf]*)
2215 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2218 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2219 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2222 # Do `set' in a subshell so we don't clobber the current shell's
2223 # arguments. Must try -L first in case configure is actually a
2224 # symlink; some systems play weird games with the mod time of symlinks
2225 # (eg FreeBSD returns the mod time of the symlink's containing
2228 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2229 if test "$*" = "X"; then
2231 set X `ls -t "$srcdir/configure" conftest.file`
2234 if test "$*" != "X $srcdir/configure conftest.file" \
2235 && test "$*" != "X conftest.file $srcdir/configure"; then
2237 # If neither matched, then we have a broken ls. This can happen
2238 # if, for instance, CONFIG_SHELL is bash and it inherits a
2239 # broken ls alias from the environment. This has actually
2240 # happened. Such a system could not be considered "sane".
2241 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2242 alias in your environment" "$LINENO" 5
2245 test "$2" = conftest.file
2251 as_fn_error $? "newly created file is older than distributed files!
2252 Check your system clock" "$LINENO" 5
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2255 $as_echo "yes" >&6; }
2256 test "$program_prefix" != NONE &&
2257 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2258 # Use a double $ so make ignores it.
2259 test "$program_suffix" != NONE &&
2260 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2261 # Double any \ or $.
2262 # By default was `s,x,x', remove it if useless.
2263 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2264 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2266 # expand $ac_aux_dir to an absolute path
2267 am_aux_dir=`cd $ac_aux_dir && pwd`
2269 if test x"${MISSING+set}" != xset; then
2272 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2274 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2277 # Use eval to expand $SHELL
2278 if eval "$MISSING --run true"; then
2279 am_missing_run="$MISSING --run "
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2283 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2286 if test x"${install_sh}" != xset; then
2289 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2291 install_sh="\${SHELL} $am_aux_dir/install-sh"
2295 # Installed binaries are usually stripped using `strip' when the user
2296 # run `make install-strip'. However `strip' might not be the right
2297 # tool to use in cross-compilation environments, therefore Automake
2298 # will honor the `STRIP' environment variable to overrule this program.
2299 if test "$cross_compiling" != no; then
2300 if test -n "$ac_tool_prefix"; then
2301 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2302 set dummy ${ac_tool_prefix}strip; ac_word=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if test "${ac_cv_prog_STRIP+set}" = set; then :
2306 $as_echo_n "(cached) " >&6
2308 if test -n "$STRIP"; then
2309 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 STRIP=$ac_cv_prog_STRIP
2329 if test -n "$STRIP"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2331 $as_echo "$STRIP" >&6; }
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2339 if test -z "$ac_cv_prog_STRIP"; then
2341 # Extract the first word of "strip", so it can be a program name with args.
2342 set dummy strip; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$ac_ct_STRIP"; then
2349 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_ac_ct_STRIP="strip"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2369 if test -n "$ac_ct_STRIP"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2371 $as_echo "$ac_ct_STRIP" >&6; }
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2377 if test "x$ac_ct_STRIP" = x; then
2380 case $cross_compiling:$ac_tool_warned in
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2384 ac_tool_warned=yes ;;
2389 STRIP="$ac_cv_prog_STRIP"
2393 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2396 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2397 if test -z "$MKDIR_P"; then
2398 if test "${ac_cv_path_mkdir+set}" = set; then :
2399 $as_echo_n "(cached) " >&6
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2405 test -z "$as_dir" && as_dir=.
2406 for ac_prog in mkdir gmkdir; do
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2409 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2410 'mkdir (GNU coreutils) '* | \
2411 'mkdir (coreutils) '* | \
2412 'mkdir (fileutils) '4.1*)
2413 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2423 test -d ./--version && rmdir ./--version
2424 if test "${ac_cv_path_mkdir+set}" = set; then
2425 MKDIR_P="$ac_cv_path_mkdir -p"
2427 # As a last resort, use the slow shell script. Don't cache a
2428 # value for MKDIR_P within a source directory, because that will
2429 # break other packages using the cache if that directory is
2430 # removed, or if the value is a relative name.
2431 MKDIR_P="$ac_install_sh -d"
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2435 $as_echo "$MKDIR_P" >&6; }
2439 [\\/$]* | ?:[\\/]*) ;;
2440 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2443 for ac_prog in gawk mawk nawk awk
2445 # Extract the first word of "$ac_prog", so it can be a program name with args.
2446 set dummy $ac_prog; ac_word=$2
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2448 $as_echo_n "checking for $ac_word... " >&6; }
2449 if test "${ac_cv_prog_AWK+set}" = set; then :
2450 $as_echo_n "(cached) " >&6
2452 if test -n "$AWK"; then
2453 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir=.
2460 for ac_exec_ext in '' $ac_executable_extensions; do
2461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2462 ac_cv_prog_AWK="$ac_prog"
2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 if test -n "$AWK"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2475 $as_echo "$AWK" >&6; }
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2478 $as_echo "no" >&6; }
2482 test -n "$AWK" && break
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2486 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2488 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2489 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2490 $as_echo_n "(cached) " >&6
2492 cat >conftest.make <<\_ACEOF
2495 @echo '@@@%%%=$(MAKE)=@@@%%%'
2497 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2498 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2500 eval ac_cv_prog_make_${ac_make}_set=yes;;
2502 eval ac_cv_prog_make_${ac_make}_set=no;;
2506 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2508 $as_echo "yes" >&6; }
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512 $as_echo "no" >&6; }
2513 SET_MAKE="MAKE=${MAKE-make}"
2516 rm -rf .tst 2>/dev/null
2517 mkdir .tst 2>/dev/null
2518 if test -d .tst; then
2523 rmdir .tst 2>/dev/null
2525 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2526 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2527 # is not polluted with repeated "-I."
2528 am__isrc=' -I$(srcdir)'
2529 # test to see if srcdir already configured
2530 if test -f $srcdir/config.status; then
2531 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2535 # test whether we have cygpath
2536 if test -z "$CYGPATH_W"; then
2537 if (cygpath --version) >/dev/null 2>/dev/null; then
2538 CYGPATH_W='cygpath -w'
2545 # Define the identity of the package.
2550 cat >>confdefs.h <<_ACEOF
2551 #define PACKAGE "$PACKAGE"
2555 cat >>confdefs.h <<_ACEOF
2556 #define VERSION "$VERSION"
2559 # Some tools Automake needs.
2561 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2564 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2567 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2570 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2573 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2575 # We need awk for the "check" target. The system "awk" is bad on
2577 # Always define AMTAR for backward compatibility.
2579 AMTAR=${AMTAR-"${am_missing_run}tar"}
2581 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2589 ac_config_headers="$ac_config_headers config.h"
2592 # Checks for programs.
2594 ac_cpp='$CPP $CPPFLAGS'
2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598 if test -n "$ac_tool_prefix"; then
2599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2602 $as_echo_n "checking for $ac_word... " >&6; }
2603 if test "${ac_cv_prog_CC+set}" = set; then :
2604 $as_echo_n "(cached) " >&6
2606 if test -n "$CC"; then
2607 ac_cv_prog_CC="$CC" # Let the user override the test.
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2616 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 if test -n "$CC"; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2629 $as_echo "$CC" >&6; }
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2632 $as_echo "no" >&6; }
2637 if test -z "$ac_cv_prog_CC"; then
2639 # Extract the first word of "gcc", so it can be a program name with args.
2640 set dummy gcc; ac_word=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2646 if test -n "$ac_ct_CC"; then
2647 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656 ac_cv_prog_ac_ct_CC="gcc"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2669 $as_echo "$ac_ct_CC" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2675 if test "x$ac_ct_CC" = x; then
2678 case $cross_compiling:$ac_tool_warned in
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2682 ac_tool_warned=yes ;;
2690 if test -z "$CC"; then
2691 if test -n "$ac_tool_prefix"; then
2692 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2693 set dummy ${ac_tool_prefix}cc; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if test "${ac_cv_prog_CC+set}" = set; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$CC"; then
2700 ac_cv_prog_CC="$CC" # Let the user override the test.
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 ac_cv_prog_CC="${ac_tool_prefix}cc"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test -n "$CC"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2722 $as_echo "$CC" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2731 if test -z "$CC"; then
2732 # Extract the first word of "cc", so it can be a program name with args.
2733 set dummy cc; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if test "${ac_cv_prog_CC+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$CC"; then
2740 ac_cv_prog_CC="$CC" # Let the user override the test.
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir=.
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2751 ac_prog_rejected=yes
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 if test $ac_prog_rejected = yes; then
2763 # We found a bogon in the path, so make sure we never use it.
2764 set dummy $ac_cv_prog_CC
2766 if test $# != 0; then
2767 # We chose a different compiler from the bogus one.
2768 # However, it has the same basename, so the bogon will be chosen
2769 # first if we set CC to just the basename; use the full file name.
2771 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2777 if test -n "$CC"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2779 $as_echo "$CC" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2787 if test -z "$CC"; then
2788 if test -n "$ac_tool_prefix"; then
2789 for ac_prog in cl.exe
2791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2792 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if test "${ac_cv_prog_CC+set}" = set; then :
2796 $as_echo_n "(cached) " >&6
2798 if test -n "$CC"; then
2799 ac_cv_prog_CC="$CC" # Let the user override the test.
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 for ac_exec_ext in '' $ac_executable_extensions; do
2807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test -n "$CC"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2821 $as_echo "$CC" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2828 test -n "$CC" && break
2831 if test -z "$CC"; then
2833 for ac_prog in cl.exe
2835 # Extract the first word of "$ac_prog", so it can be a program name with args.
2836 set dummy $ac_prog; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$ac_ct_CC"; then
2843 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir=.
2850 for ac_exec_ext in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 ac_cv_prog_ac_ct_CC="$ac_prog"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2863 if test -n "$ac_ct_CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2865 $as_echo "$ac_ct_CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2872 test -n "$ac_ct_CC" && break
2875 if test "x$ac_ct_CC" = x; then
2878 case $cross_compiling:$ac_tool_warned in
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned=yes ;;
2891 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2893 as_fn_error $? "no acceptable C compiler found in \$PATH
2894 See \`config.log' for more details" "$LINENO" 5 ; }
2896 # Provide some information about the compiler.
2897 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2900 for ac_option in --version -v -V -qversion; do
2901 { { ac_try="$ac_compiler $ac_option >&5"
2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2907 $as_echo "$ac_try_echo"; } >&5
2908 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2910 if test -s conftest.err; then
2912 ... rest of stderr output deleted ...
2913 10q' conftest.err >conftest.er1
2914 cat conftest.er1 >&5
2916 rm -f conftest.er1 conftest.err
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; }
2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2932 ac_clean_files_save=$ac_clean_files
2933 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2934 # Try to create an executable without -o first, disregard a.out.
2935 # It will help us diagnose broken compilers, and finding out an intuition
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2938 $as_echo_n "checking whether the C compiler works... " >&6; }
2939 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2941 # The possible output files:
2942 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2945 for ac_file in $ac_files
2948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2949 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2954 if { { ac_try="$ac_link_default"
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2960 $as_echo "$ac_try_echo"; } >&5
2961 (eval "$ac_link_default") 2>&5
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; }; then :
2965 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2966 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2967 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2968 # so that the user can short-circuit this test for compilers unknown to
2970 for ac_file in $ac_files ''
2972 test -f "$ac_file" || continue
2974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2977 # We found the default executable, but exeext='' is most
2981 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2983 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2985 # We set ac_cv_exeext here because the later test for it is not
2986 # safe: cross compilers may not add the suffix if given an `-o'
2987 # argument, so we may need to know it at that point already.
2988 # Even if this section looks crufty: it has the advantage of
2995 test "$ac_cv_exeext" = no && ac_cv_exeext=
3000 if test -z "$ac_file"; then :
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002 $as_echo "no" >&6; }
3003 $as_echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3008 as_fn_error 77 "C compiler cannot create executables
3009 See \`config.log' for more details" "$LINENO" 5 ; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3012 $as_echo "yes" >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3015 $as_echo_n "checking for C compiler default output file name... " >&6; }
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3017 $as_echo "$ac_file" >&6; }
3018 ac_exeext=$ac_cv_exeext
3020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3021 ac_clean_files=$ac_clean_files_save
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3023 $as_echo_n "checking for suffix of executables... " >&6; }
3024 if { { ac_try="$ac_link"
3026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030 $as_echo "$ac_try_echo"; } >&5
3031 (eval "$ac_link") 2>&5
3033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3034 test $ac_status = 0; }; then :
3035 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3036 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3037 # work properly (i.e., refer to `conftest.exe'), while it won't with
3039 for ac_file in conftest.exe conftest conftest.*; do
3040 test -f "$ac_file" || continue
3042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3043 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3052 See \`config.log' for more details" "$LINENO" 5 ; }
3054 rm -f conftest conftest$ac_cv_exeext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3056 $as_echo "$ac_cv_exeext" >&6; }
3058 rm -f conftest.$ac_ext
3059 EXEEXT=$ac_cv_exeext
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3067 FILE *f = fopen ("conftest.out", "w");
3068 return ferror (f) || fclose (f) != 0;
3074 ac_clean_files="$ac_clean_files conftest.out"
3075 # Check that the compiler produces executables we can run. If not, either
3076 # the compiler is broken, or we cross compile.
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3078 $as_echo_n "checking whether we are cross compiling... " >&6; }
3079 if test "$cross_compiling" != yes; then
3080 { { ac_try="$ac_link"
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_link") 2>&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; }
3091 if { ac_try='./conftest$ac_cv_exeext'
3092 { { case "(($ac_try" in
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3097 $as_echo "$ac_try_echo"; } >&5
3098 (eval "$ac_try") 2>&5
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; }; }; then
3104 if test "$cross_compiling" = maybe; then
3107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3109 as_fn_error $? "cannot run C compiled programs.
3110 If you meant to cross compile, use \`--host'.
3111 See \`config.log' for more details" "$LINENO" 5 ; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3116 $as_echo "$cross_compiling" >&6; }
3118 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3119 ac_clean_files=$ac_clean_files_save
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3121 $as_echo_n "checking for suffix of object files... " >&6; }
3122 if test "${ac_cv_objext+set}" = set; then :
3123 $as_echo_n "(cached) " >&6
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3136 rm -f conftest.o conftest.obj
3137 if { { ac_try="$ac_compile"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_compile") 2>&5
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; }; then :
3148 for ac_file in conftest.o conftest.obj conftest.*; do
3149 test -f "$ac_file" || continue;
3151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3152 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3157 $as_echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3162 as_fn_error $? "cannot compute suffix of object files: cannot compile
3163 See \`config.log' for more details" "$LINENO" 5 ; }
3165 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3168 $as_echo "$ac_cv_objext" >&6; }
3169 OBJEXT=$ac_cv_objext
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3172 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3173 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3174 $as_echo_n "(cached) " >&6
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3190 if ac_fn_c_try_compile "$LINENO"; then :
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3200 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3201 if test $ac_compiler_gnu = yes; then
3206 ac_test_CFLAGS=${CFLAGS+set}
3207 ac_save_CFLAGS=$CFLAGS
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3209 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3210 if test "${ac_cv_prog_cc_g+set}" = set; then :
3211 $as_echo_n "(cached) " >&6
3213 ac_save_c_werror_flag=$ac_c_werror_flag
3214 ac_c_werror_flag=yes
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 if ac_fn_c_try_compile "$LINENO"; then :
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3243 if ac_fn_c_try_compile "$LINENO"; then :
3246 ac_c_werror_flag=$ac_save_c_werror_flag
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3259 if ac_fn_c_try_compile "$LINENO"; then :
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 ac_c_werror_flag=$ac_save_c_werror_flag
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3270 $as_echo "$ac_cv_prog_cc_g" >&6; }
3271 if test "$ac_test_CFLAGS" = set; then
3272 CFLAGS=$ac_save_CFLAGS
3273 elif test $ac_cv_prog_cc_g = yes; then
3274 if test "$GCC" = yes; then
3280 if test "$GCC" = yes; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3287 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3288 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3291 ac_cv_prog_cc_c89=no
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3297 #include <sys/types.h>
3298 #include <sys/stat.h>
3299 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3300 struct buf { int x; };
3301 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3302 static char *e (p, i)
3308 static char *f (char * (*g) (char **, int), char **p, ...)
3313 s = g (p, va_arg (v,int));
3318 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3319 function prototypes and stuff, but not '\xHH' hex character constants.
3320 These don't provoke an error unfortunately, instead are silently treated
3321 as 'x'. The following induces an error, until -std is added to get
3322 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3323 array size at least. It's necessary to write '\x00'==0 to get something
3324 that's true only with -std. */
3325 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3327 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3328 inside strings and character constants. */
3330 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3332 int test (int i, double x);
3333 struct s1 {int (*f) (int a);};
3334 struct s2 {int (*f) (double a);};
3335 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3341 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3346 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3347 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3349 CC="$ac_save_CC $ac_arg"
3350 if ac_fn_c_try_compile "$LINENO"; then :
3351 ac_cv_prog_cc_c89=$ac_arg
3353 rm -f core conftest.err conftest.$ac_objext
3354 test "x$ac_cv_prog_cc_c89" != "xno" && break
3356 rm -f conftest.$ac_ext
3361 case "x$ac_cv_prog_cc_c89" in
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3364 $as_echo "none needed" >&6; } ;;
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3367 $as_echo "unsupported" >&6; } ;;
3369 CC="$CC $ac_cv_prog_cc_c89"
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3371 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3373 if test "x$ac_cv_prog_cc_c89" != xno; then :
3378 ac_cpp='$CPP $CPPFLAGS'
3379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3382 DEPDIR="${am__leading_dot}deps"
3384 ac_config_commands="$ac_config_commands depfiles"
3387 am_make=${MAKE-make}
3388 cat > confinc << 'END'
3390 @echo this is the am__doit target
3393 # If we don't find an include directive, just comment out the code.
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3395 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3399 # First try GNU make style include.
3400 echo "include confinc" > confmf
3401 # Ignore all kinds of additional output from `make'.
3402 case `$am_make -s -f confmf 2> /dev/null` in #(
3403 *the\ am__doit\ target*)
3409 # Now try BSD make style include.
3410 if test "$am__include" = "#"; then
3411 echo '.include "confinc"' > confmf
3412 case `$am_make -s -f confmf 2> /dev/null` in #(
3413 *the\ am__doit\ target*)
3414 am__include=.include
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3423 $as_echo "$_am_result" >&6; }
3424 rm -f confinc confmf
3426 # Check whether --enable-dependency-tracking was given.
3427 if test "${enable_dependency_tracking+set}" = set; then :
3428 enableval=$enable_dependency_tracking;
3431 if test "x$enable_dependency_tracking" != xno; then
3432 am_depcomp="$ac_aux_dir/depcomp"
3435 if test "x$enable_dependency_tracking" != xno; then
3445 depcc="$CC" am_compiler_list=
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3448 $as_echo_n "checking dependency style of $depcc... " >&6; }
3449 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3453 # We make a subdir and do the tests there. Otherwise we can end up
3454 # making bogus files that we don't know about and never remove. For
3455 # instance it was reported that on HP-UX the gcc test will end up
3456 # making a dummy file named `D' -- because `-MD' means `put the output
3459 # Copy depcomp to subdir because otherwise we won't find it if we're
3460 # using a relative directory.
3461 cp "$am_depcomp" conftest.dir
3463 # We will build objects and dependencies in a subdirectory because
3464 # it helps to detect inapplicable dependency modes. For instance
3465 # both Tru64's cc and ICC support -MD to output dependencies as a
3466 # side effect of compilation, but ICC will put the dependencies in
3467 # the current directory while Tru64 will put them in the object
3471 am_cv_CC_dependencies_compiler_type=none
3472 if test "$am_compiler_list" = ""; then
3473 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3476 case " $depcc " in #(
3477 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3480 for depmode in $am_compiler_list; do
3481 # Setup a source with many dependencies, because some compilers
3482 # like to wrap large dependency lists on column 80 (with \), and
3483 # we should not choose a depcomp mode which is confused by this.
3485 # We need to recreate these files for each test, as the compiler may
3486 # overwrite some of them when testing with obscure command lines.
3487 # This happens at least with the AIX C compiler.
3489 for i in 1 2 3 4 5 6; do
3490 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3491 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3492 # Solaris 8's {/usr,}/bin/sh.
3493 touch sub/conftst$i.h
3495 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3497 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3498 # mode. It turns out that the SunPro C++ compiler does not properly
3499 # handle `-M -o', and we need to detect this. Also, some Intel
3500 # versions had trouble with output in subdirs
3501 am__obj=sub/conftest.${OBJEXT-o}
3502 am__minus_obj="-o $am__obj"
3505 # This depmode causes a compiler race in universal mode.
3506 test "$am__universal" = false || continue
3509 # after this tag, mechanisms are not by side-effect, so they'll
3510 # only be used when explicitly requested
3511 if test "x$enable_dependency_tracking" = xyes; then
3517 msvisualcpp | msvcmsys)
3518 # This compiler won't grok `-c -o', but also, the minuso test has
3519 # not run yet. These depmodes are late enough in the game, and
3520 # so weak that their functioning should not be impacted.
3521 am__obj=conftest.${OBJEXT-o}
3526 if depmode=$depmode \
3527 source=sub/conftest.c object=$am__obj \
3528 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3529 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3530 >/dev/null 2>conftest.err &&
3531 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3532 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3533 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3534 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3535 # icc doesn't choke on unknown options, it will just issue warnings
3536 # or remarks (even with -Werror). So we grep stderr for any message
3537 # that says an option was ignored or not supported.
3538 # When given -MP, icc 7.0 and 7.1 complain thusly:
3539 # icc: Command line warning: ignoring option '-M'; no argument required
3540 # The diagnosis changed in icc 8.0:
3541 # icc: Command line remark: option '-MP' not supported
3542 if (grep 'ignoring option' conftest.err ||
3543 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3544 am_cv_CC_dependencies_compiler_type=$depmode
3553 am_cv_CC_dependencies_compiler_type=none
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3558 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3559 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3562 test "x$enable_dependency_tracking" != xno \
3563 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3565 am__fastdepCC_FALSE='#'
3567 am__fastdepCC_TRUE='#'
3568 am__fastdepCC_FALSE=
3572 if test "x$CC" != xcc; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3574 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3577 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3579 set dummy $CC; ac_cc=`$as_echo "$2" |
3580 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3581 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3582 $as_echo_n "(cached) " >&6
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 # Make sure it works both with $CC and with simple cc.
3596 # We do the test twice because some compilers refuse to overwrite an
3597 # existing .o file with -o, though they will create one.
3598 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3600 if { { case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3605 $as_echo "$ac_try_echo"; } >&5
3606 (eval "$ac_try") 2>&5
3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 test $ac_status = 0; } &&
3610 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_try") 2>&5
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; };
3621 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3622 if test "x$CC" != xcc; then
3623 # Test first that cc exists at all.
3624 if { ac_try='cc -c conftest.$ac_ext >&5'
3625 { { case "(($ac_try" in
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3630 $as_echo "$ac_try_echo"; } >&5
3631 (eval "$ac_try") 2>&5
3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3634 test $ac_status = 0; }; }; then
3635 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3637 if { { case "(($ac_try" in
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_try") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; } &&
3647 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649 *) ac_try_echo=$ac_try;;
3651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652 $as_echo "$ac_try_echo"; } >&5
3653 (eval "$ac_try") 2>&5
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; };
3661 # cc exists but doesn't like -o.
3662 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3667 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3669 rm -f core conftest*
3672 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3674 $as_echo "yes" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3679 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3683 # FIXME: we rely on the cache variable name because
3684 # there is no other way.
3686 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3687 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3688 if test "$am_t" != yes; then
3689 # Losing compiler, so override with the script.
3690 # FIXME: It is wrong to rewrite CC.
3691 # But if we don't then we get into trouble of one sort or another.
3692 # A longer-term fix would be to have automake use am__CC in this case,
3693 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3694 CC="$am_aux_dir/compile $CC"
3700 if test -n "$ac_tool_prefix"; then
3701 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3702 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -n "$RANLIB"; then
3709 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 RANLIB=$ac_cv_prog_RANLIB
3729 if test -n "$RANLIB"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3731 $as_echo "$RANLIB" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3739 if test -z "$ac_cv_prog_RANLIB"; then
3740 ac_ct_RANLIB=$RANLIB
3741 # Extract the first word of "ranlib", so it can be a program name with args.
3742 set dummy ranlib; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$ac_ct_RANLIB"; then
3749 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir=.
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3758 ac_cv_prog_ac_ct_RANLIB="ranlib"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3769 if test -n "$ac_ct_RANLIB"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3771 $as_echo "$ac_ct_RANLIB" >&6; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3777 if test "x$ac_ct_RANLIB" = x; then
3780 case $cross_compiling:$ac_tool_warned in
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3784 ac_tool_warned=yes ;;
3786 RANLIB=$ac_ct_RANLIB
3789 RANLIB="$ac_cv_prog_RANLIB"
3793 # Checks for header files.
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3801 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3802 # On Suns, sometimes $CPP names a directory.
3803 if test -n "$CPP" && test -d "$CPP"; then
3806 if test -z "$CPP"; then
3807 if test "${ac_cv_prog_CPP+set}" = set; then :
3808 $as_echo_n "(cached) " >&6
3810 # Double quotes because CPP needs to be expanded
3811 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3814 for ac_c_preproc_warn_flag in '' yes
3816 # Use a header file that comes with gcc, so configuring glibc
3817 # with a fresh cross-compiler works.
3818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3819 # <limits.h> exists even on freestanding compilers.
3820 # On the NeXT, cc -E runs the code through the compiler's parser,
3821 # not just through cpp. "Syntax error" is here to catch this case.
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3825 # include <limits.h>
3827 # include <assert.h>
3831 if ac_fn_c_try_cpp "$LINENO"; then :
3834 # Broken: fails on valid input.
3837 rm -f conftest.err conftest.i conftest.$ac_ext
3839 # OK, works on sane cases. Now check whether nonexistent headers
3840 # can be detected and how.
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3843 #include <ac_nonexistent.h>
3845 if ac_fn_c_try_cpp "$LINENO"; then :
3846 # Broken: success on invalid input.
3849 # Passes both tests.
3853 rm -f conftest.err conftest.i conftest.$ac_ext
3856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3857 rm -f conftest.i conftest.err conftest.$ac_ext
3858 if $ac_preproc_ok; then :
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3871 $as_echo "$CPP" >&6; }
3873 for ac_c_preproc_warn_flag in '' yes
3875 # Use a header file that comes with gcc, so configuring glibc
3876 # with a fresh cross-compiler works.
3877 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3878 # <limits.h> exists even on freestanding compilers.
3879 # On the NeXT, cc -E runs the code through the compiler's parser,
3880 # not just through cpp. "Syntax error" is here to catch this case.
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3884 # include <limits.h>
3886 # include <assert.h>
3890 if ac_fn_c_try_cpp "$LINENO"; then :
3893 # Broken: fails on valid input.
3896 rm -f conftest.err conftest.i conftest.$ac_ext
3898 # OK, works on sane cases. Now check whether nonexistent headers
3899 # can be detected and how.
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3902 #include <ac_nonexistent.h>
3904 if ac_fn_c_try_cpp "$LINENO"; then :
3905 # Broken: success on invalid input.
3908 # Passes both tests.
3912 rm -f conftest.err conftest.i conftest.$ac_ext
3915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3916 rm -f conftest.i conftest.err conftest.$ac_ext
3917 if $ac_preproc_ok; then :
3920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3922 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3923 See \`config.log' for more details" "$LINENO" 5 ; }
3927 ac_cpp='$CPP $CPPFLAGS'
3928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3934 $as_echo_n "checking for X... " >&6; }
3937 # Check whether --with-x was given.
3938 if test "${with_x+set}" = set; then :
3942 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3943 if test "x$with_x" = xno; then
3944 # The user explicitly disabled X.
3947 case $x_includes,$x_libraries in #(
3948 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
3949 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
3950 $as_echo_n "(cached) " >&6
3952 # One or both of the vars are not set, and there is no cached value.
3953 ac_x_includes=no ac_x_libraries=no
3954 rm -f -r conftest.dir
3955 if mkdir conftest.dir; then
3957 cat >Imakefile <<'_ACEOF'
3959 @echo incroot='${INCROOT}'
3961 @echo usrlibdir='${USRLIBDIR}'
3963 @echo libdir='${LIBDIR}'
3965 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3966 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3967 for ac_var in incroot usrlibdir libdir; do
3968 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3970 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3971 for ac_extension in a so sl dylib la dll; do
3972 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3973 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3974 ac_im_usrlibdir=$ac_im_libdir; break
3977 # Screen out bogus values from the imake configuration. They are
3978 # bogus both because they are the default anyway, and because
3979 # using them would break gcc on systems where it needs fixed includes.
3980 case $ac_im_incroot in
3981 /usr/include) ac_x_includes= ;;
3982 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3984 case $ac_im_usrlibdir in
3985 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
3986 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3990 rm -f -r conftest.dir
3993 # Standard set of common directories for X headers.
3994 # Check X11 before X11Rn because it is often a symlink to the current release.
4008 /usr/local/X11/include
4009 /usr/local/X11R7/include
4010 /usr/local/X11R6/include
4011 /usr/local/X11R5/include
4012 /usr/local/X11R4/include
4014 /usr/local/include/X11
4015 /usr/local/include/X11R7
4016 /usr/local/include/X11R6
4017 /usr/local/include/X11R5
4018 /usr/local/include/X11R4
4022 /usr/XFree86/include/X11
4026 /usr/unsupported/include
4028 /usr/local/x11r5/include
4029 /usr/lpp/Xamples/include
4031 /usr/openwin/include
4032 /usr/openwin/share/include'
4034 if test "$ac_x_includes" = no; then
4035 # Guess where to find include files, by looking for Xlib.h.
4036 # First, try using that file with no special directory specified.
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4039 #include <X11/Xlib.h>
4041 if ac_fn_c_try_cpp "$LINENO"; then :
4042 # We can compile using X headers with no special include directory.
4045 for ac_dir in $ac_x_header_dirs; do
4046 if test -r "$ac_dir/X11/Xlib.h"; then
4047 ac_x_includes=$ac_dir
4052 rm -f conftest.err conftest.i conftest.$ac_ext
4053 fi # $ac_x_includes = no
4055 if test "$ac_x_libraries" = no; then
4056 # Check for the libraries.
4057 # See if we find them without any special options.
4058 # Don't add to $LIBS permanently.
4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4063 #include <X11/Xlib.h>
4072 if ac_fn_c_try_link "$LINENO"; then :
4074 # We can link X programs with no special library path.
4078 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4080 # Don't even attempt the hair of trying to link an X program!
4081 for ac_extension in a so sl dylib la dll; do
4082 if test -r "$ac_dir/libX11.$ac_extension"; then
4083 ac_x_libraries=$ac_dir
4089 rm -f core conftest.err conftest.$ac_objext \
4090 conftest$ac_exeext conftest.$ac_ext
4091 fi # $ac_x_libraries = no
4093 case $ac_x_includes,$ac_x_libraries in #(
4095 # Didn't find X, or a directory has "'" in its name.
4096 ac_cv_have_x="have_x=no";; #(
4098 # Record where we found X for the cache.
4099 ac_cv_have_x="have_x=yes\
4100 ac_x_includes='$ac_x_includes'\
4101 ac_x_libraries='$ac_x_libraries'"
4107 eval "$ac_cv_have_x"
4110 if test "$have_x" != yes; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
4112 $as_echo "$have_x" >&6; }
4115 # If each of the values was on the command line, it overrides each guess.
4116 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4117 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4118 # Update the cache value to reflect the command line values.
4119 ac_cv_have_x="have_x=yes\
4120 ac_x_includes='$x_includes'\
4121 ac_x_libraries='$x_libraries'"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4123 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4127 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4128 if test "${ac_cv_path_GREP+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4131 if test -z "$GREP"; then
4132 ac_path_GREP_found=false
4133 # Loop through the user's path and test for each of PROGNAME-LIST
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4138 test -z "$as_dir" && as_dir=.
4139 for ac_prog in grep ggrep; do
4140 for ac_exec_ext in '' $ac_executable_extensions; do
4141 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4142 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4143 # Check for GNU ac_path_GREP and select it if it is found.
4144 # Check for GNU $ac_path_GREP
4145 case `"$ac_path_GREP" --version 2>&1` in
4147 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4150 $as_echo_n 0123456789 >"conftest.in"
4153 cat "conftest.in" "conftest.in" >"conftest.tmp"
4154 mv "conftest.tmp" "conftest.in"
4155 cp "conftest.in" "conftest.nl"
4156 $as_echo 'GREP' >> "conftest.nl"
4157 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4158 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4159 as_fn_arith $ac_count + 1 && ac_count=$as_val
4160 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4161 # Best one so far, save it but keep looking for a better one
4162 ac_cv_path_GREP="$ac_path_GREP"
4163 ac_path_GREP_max=$ac_count
4165 # 10*(2^10) chars as input seems more than enough
4166 test $ac_count -gt 10 && break
4168 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4171 $ac_path_GREP_found && break 3
4176 if test -z "$ac_cv_path_GREP"; then
4177 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4180 ac_cv_path_GREP=$GREP
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4185 $as_echo "$ac_cv_path_GREP" >&6; }
4186 GREP="$ac_cv_path_GREP"
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4190 $as_echo_n "checking for egrep... " >&6; }
4191 if test "${ac_cv_path_EGREP+set}" = set; then :
4192 $as_echo_n "(cached) " >&6
4194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4195 then ac_cv_path_EGREP="$GREP -E"
4197 if test -z "$EGREP"; then
4198 ac_path_EGREP_found=false
4199 # Loop through the user's path and test for each of PROGNAME-LIST
4200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4204 test -z "$as_dir" && as_dir=.
4205 for ac_prog in egrep; do
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4208 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4209 # Check for GNU ac_path_EGREP and select it if it is found.
4210 # Check for GNU $ac_path_EGREP
4211 case `"$ac_path_EGREP" --version 2>&1` in
4213 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4216 $as_echo_n 0123456789 >"conftest.in"
4219 cat "conftest.in" "conftest.in" >"conftest.tmp"
4220 mv "conftest.tmp" "conftest.in"
4221 cp "conftest.in" "conftest.nl"
4222 $as_echo 'EGREP' >> "conftest.nl"
4223 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4225 as_fn_arith $ac_count + 1 && ac_count=$as_val
4226 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4227 # Best one so far, save it but keep looking for a better one
4228 ac_cv_path_EGREP="$ac_path_EGREP"
4229 ac_path_EGREP_max=$ac_count
4231 # 10*(2^10) chars as input seems more than enough
4232 test $ac_count -gt 10 && break
4234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4237 $ac_path_EGREP_found && break 3
4242 if test -z "$ac_cv_path_EGREP"; then
4243 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4246 ac_cv_path_EGREP=$EGREP
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4252 $as_echo "$ac_cv_path_EGREP" >&6; }
4253 EGREP="$ac_cv_path_EGREP"
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4257 $as_echo_n "checking for ANSI C header files... " >&6; }
4258 if test "${ac_cv_header_stdc+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4276 if ac_fn_c_try_compile "$LINENO"; then :
4277 ac_cv_header_stdc=yes
4279 ac_cv_header_stdc=no
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 if test $ac_cv_header_stdc = yes; then
4284 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4291 $EGREP "memchr" >/dev/null 2>&1; then :
4294 ac_cv_header_stdc=no
4300 if test $ac_cv_header_stdc = yes; then
4301 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4308 $EGREP "free" >/dev/null 2>&1; then :
4311 ac_cv_header_stdc=no
4317 if test $ac_cv_header_stdc = yes; then
4318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4319 if test "$cross_compiling" = yes; then :
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4326 #if ((' ' & 0x0FF) == 0x020)
4327 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4328 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4330 # define ISLOWER(c) \
4331 (('a' <= (c) && (c) <= 'i') \
4332 || ('j' <= (c) && (c) <= 'r') \
4333 || ('s' <= (c) && (c) <= 'z'))
4334 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4337 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4342 for (i = 0; i < 256; i++)
4343 if (XOR (islower (i), ISLOWER (i))
4344 || toupper (i) != TOUPPER (i))
4349 if ac_fn_c_try_run "$LINENO"; then :
4352 ac_cv_header_stdc=no
4354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4355 conftest.$ac_objext conftest.beam conftest.$ac_ext
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4361 $as_echo "$ac_cv_header_stdc" >&6; }
4362 if test $ac_cv_header_stdc = yes; then
4364 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4368 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4369 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4370 inttypes.h stdint.h unistd.h
4372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4373 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4375 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4376 cat >>confdefs.h <<_ACEOF
4377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4385 for ac_header in stdlib.h getopt.h
4387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4388 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4389 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4390 cat >>confdefs.h <<_ACEOF
4391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4406 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4407 if test -n "$ac_tool_prefix"; then
4408 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4409 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4417 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4427 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4439 if test -n "$PKG_CONFIG"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4441 $as_echo "$PKG_CONFIG" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4449 if test -z "$ac_cv_path_PKG_CONFIG"; then
4450 ac_pt_PKG_CONFIG=$PKG_CONFIG
4451 # Extract the first word of "pkg-config", so it can be a program name with args.
4452 set dummy pkg-config; ac_word=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4456 $as_echo_n "(cached) " >&6
4458 case $ac_pt_PKG_CONFIG in
4460 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 test -z "$as_dir" && as_dir=.
4468 for ac_exec_ext in '' $ac_executable_extensions; do
4469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4470 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4482 if test -n "$ac_pt_PKG_CONFIG"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4484 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4490 if test "x$ac_pt_PKG_CONFIG" = x; then
4493 case $cross_compiling:$ac_tool_warned in
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4497 ac_tool_warned=yes ;;
4499 PKG_CONFIG=$ac_pt_PKG_CONFIG
4502 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4506 if test -n "$PKG_CONFIG"; then
4507 _pkg_min_version=0.9.0
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4509 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4510 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4512 $as_echo "yes" >&6; }
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
4522 $as_echo_n "checking for CURL... " >&6; }
4524 if test -n "$CURL_CFLAGS"; then
4525 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
4526 elif test -n "$PKG_CONFIG"; then
4527 if test -n "$PKG_CONFIG" && \
4528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
4529 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4532 test $ac_status = 0; }; then
4533 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl " 2>/dev/null`
4540 if test -n "$CURL_LIBS"; then
4541 pkg_cv_CURL_LIBS="$CURL_LIBS"
4542 elif test -n "$PKG_CONFIG"; then
4543 if test -n "$PKG_CONFIG" && \
4544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
4545 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
4547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4548 test $ac_status = 0; }; then
4549 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl " 2>/dev/null`
4559 if test $pkg_failed = yes; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4564 _pkg_short_errors_supported=yes
4566 _pkg_short_errors_supported=no
4568 if test $_pkg_short_errors_supported = yes; then
4569 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl " 2>&1`
4571 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl " 2>&1`
4573 # Put the nasty error message in config.log where it belongs
4574 echo "$CURL_PKG_ERRORS" >&5
4576 as_fn_error $? "Package requirements (libcurl ) were not met:
4580 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4581 installed software in a non-standard prefix.
4583 Alternatively, you may set the environment variables CURL_CFLAGS
4584 and CURL_LIBS to avoid the need to call pkg-config.
4585 See the pkg-config man page for more details." "$LINENO" 5
4586 elif test $pkg_failed = untried; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4592 is in your PATH or set the PKG_CONFIG environment variable to the full
4595 Alternatively, you may set the environment variables CURL_CFLAGS
4596 and CURL_LIBS to avoid the need to call pkg-config.
4597 See the pkg-config man page for more details.
4599 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4600 See \`config.log' for more details" "$LINENO" 5 ; }
4602 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
4603 CURL_LIBS=$pkg_cv_CURL_LIBS
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4605 $as_echo "yes" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
4615 $as_echo_n "checking for JSON... " >&6; }
4617 if test -n "$JSON_CFLAGS"; then
4618 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
4619 elif test -n "$PKG_CONFIG"; then
4620 if test -n "$PKG_CONFIG" && \
4621 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
4622 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
4624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4625 test $ac_status = 0; }; then
4626 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json " 2>/dev/null`
4633 if test -n "$JSON_LIBS"; then
4634 pkg_cv_JSON_LIBS="$JSON_LIBS"
4635 elif test -n "$PKG_CONFIG"; then
4636 if test -n "$PKG_CONFIG" && \
4637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
4638 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
4640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4641 test $ac_status = 0; }; then
4642 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json " 2>/dev/null`
4652 if test $pkg_failed = yes; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4657 _pkg_short_errors_supported=yes
4659 _pkg_short_errors_supported=no
4661 if test $_pkg_short_errors_supported = yes; then
4662 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "json " 2>&1`
4664 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors "json " 2>&1`
4666 # Put the nasty error message in config.log where it belongs
4667 echo "$JSON_PKG_ERRORS" >&5
4669 as_fn_error $? "Package requirements (json ) were not met:
4673 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4674 installed software in a non-standard prefix.
4676 Alternatively, you may set the environment variables JSON_CFLAGS
4677 and JSON_LIBS to avoid the need to call pkg-config.
4678 See the pkg-config man page for more details." "$LINENO" 5
4679 elif test $pkg_failed = untried; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4685 is in your PATH or set the PKG_CONFIG environment variable to the full
4688 Alternatively, you may set the environment variables JSON_CFLAGS
4689 and JSON_LIBS to avoid the need to call pkg-config.
4690 See the pkg-config man page for more details.
4692 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4693 See \`config.log' for more details" "$LINENO" 5 ; }
4695 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
4696 JSON_LIBS=$pkg_cv_JSON_LIBS
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4698 $as_echo "yes" >&6; }
4705 ac_config_files="$ac_config_files Makefile src/Makefile"
4708 for ac_prog in help2man
4710 # Extract the first word of "$ac_prog", so it can be a program name with args.
4711 set dummy $ac_prog; ac_word=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if test "${ac_cv_prog_HELP2MAN+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 if test -n "$HELP2MAN"; then
4718 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 test -z "$as_dir" && as_dir=.
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4727 ac_cv_prog_HELP2MAN="$ac_prog"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 HELP2MAN=$ac_cv_prog_HELP2MAN
4738 if test -n "$HELP2MAN"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
4740 $as_echo "$HELP2MAN" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4747 test -n "$HELP2MAN" && break
4751 cat >confcache <<\_ACEOF
4752 # This file is a shell script that caches the results of configure
4753 # tests run on this system so they can be shared between configure
4754 # scripts and configure runs, see configure's option --config-cache.
4755 # It is not useful on other systems. If it contains results you don't
4756 # want to keep, you may remove or edit it.
4758 # config.status only pays attention to the cache file if you give it
4759 # the --recheck option to rerun configure.
4761 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4762 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4767 # The following way of writing the cache mishandles newlines in values,
4768 # but we know of no workaround that is simple, portable, and efficient.
4769 # So, we kill variables containing newlines.
4770 # Ultrix sh set writes to stderr and can't be redirected directly,
4771 # and sets the high bit in the cache file unless we assign to the vars.
4773 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4774 eval ac_val=\$$ac_var
4778 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4779 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4782 _ | IFS | as_nl) ;; #(
4783 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4784 *) { eval $ac_var=; unset $ac_var;} ;;
4790 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4791 *${as_nl}ac_space=\ *)
4792 # `set' does not quote correctly, so add quotes: double-quote
4793 # substitution turns \\\\ into \\, and sed turns \\ into \.
4796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4799 # `set' quotes correctly as required by POSIX, so do not add quotes.
4800 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4809 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4811 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4813 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4814 if test -w "$cache_file"; then
4815 test "x$cache_file" != "x/dev/null" &&
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4817 $as_echo "$as_me: updating cache $cache_file" >&6;}
4818 cat confcache >$cache_file
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4821 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4826 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4827 # Let make expand exec_prefix.
4828 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4830 DEFS=-DHAVE_CONFIG_H
4835 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4836 # 1. Remove the extension, and $U if already installed.
4837 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4838 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4839 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4840 # will be set to the directory where LIBOBJS objects are built.
4841 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4842 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4846 LTLIBOBJS=$ac_ltlibobjs
4849 if test -n "$EXEEXT"; then
4851 am__EXEEXT_FALSE='#'
4857 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4858 as_fn_error $? "conditional \"AMDEP\" was never defined.
4859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4861 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4862 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4866 : ${CONFIG_STATUS=./config.status}
4868 ac_clean_files_save=$ac_clean_files
4869 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4871 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4873 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4875 # Generated by $as_me.
4876 # Run this file to recreate the current configuration.
4877 # Compiler output produced by configure, useful for debugging
4878 # configure, is in config.log if it exists.
4884 SHELL=\${CONFIG_SHELL-$SHELL}
4887 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4888 ## -------------------- ##
4889 ## M4sh Initialization. ##
4890 ## -------------------- ##
4892 # Be more Bourne compatible
4893 DUALCASE=1; export DUALCASE # for MKS sh
4894 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4897 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4898 # is contrary to our usage. Disable this feature.
4899 alias -g '${1+"$@"}'='"$@"'
4900 setopt NO_GLOB_SUBST
4902 case `(set -o) 2>/dev/null` in #(
4914 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4915 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4916 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4918 # Prefer a ksh shell builtin over an external printf program on Solaris,
4919 # but without wasting forks for bash or zsh.
4920 if test -z "$BASH_VERSION$ZSH_VERSION" \
4921 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4922 as_echo='print -r --'
4923 as_echo_n='print -rn --'
4924 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4925 as_echo='printf %s\n'
4926 as_echo_n='printf %s'
4928 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4929 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4930 as_echo_n='/usr/ucb/echo -n'
4932 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4933 as_echo_n_body='eval
4937 expr "X$arg" : "X\\(.*\\)$as_nl";
4938 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4940 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4942 export as_echo_n_body
4943 as_echo_n='sh -c $as_echo_n_body as_echo'
4946 as_echo='sh -c $as_echo_body as_echo'
4949 # The user is always right.
4950 if test "${PATH_SEPARATOR+set}" != set; then
4952 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4953 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4960 # We need space, tab and new line, in precisely that order. Quoting is
4961 # there to prevent editors from complaining about space-tab.
4962 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4963 # splitting by setting IFS to empty value.)
4966 # Find who we are. Look in the path if we contain no directory separator.
4968 *[\\/]* ) as_myself=$0 ;;
4969 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir=.
4974 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4980 # We did not find ourselves, most probably we were run as `sh COMMAND'
4981 # in which case we are not to be found in the path.
4982 if test "x$as_myself" = x; then
4985 if test ! -f "$as_myself"; then
4986 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4990 # Unset variables that we do not need and which cause bugs (e.g. in
4991 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4992 # suppresses any "Segmentation fault" message there. '((' could
4993 # trigger a bug in pdksh 5.2.14.
4994 for as_var in BASH_ENV ENV MAIL MAILPATH
4995 do eval test x\${$as_var+set} = xset \
4996 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5009 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5012 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5013 # ----------------------------------------
5014 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5015 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5016 # script with STATUS, using 1 if that was 0.
5019 as_status=$1; test $as_status -eq 0 && as_status=1
5021 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5022 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5024 $as_echo "$as_me: error: $2" >&2
5025 as_fn_exit $as_status
5029 # as_fn_set_status STATUS
5030 # -----------------------
5031 # Set $? to STATUS, without forking.
5035 } # as_fn_set_status
5039 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5049 # Portably unset VAR.
5052 { eval $1=; unset $1;}
5054 as_unset=as_fn_unset
5055 # as_fn_append VAR VALUE
5056 # ----------------------
5057 # Append the text in VALUE to the end of the definition contained in VAR. Take
5058 # advantage of any shell optimizations that allow amortized linear growth over
5059 # repeated appends, instead of the typical quadratic growth present in naive
5061 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5062 eval 'as_fn_append ()
5073 # as_fn_arith ARG...
5074 # ------------------
5075 # Perform arithmetic evaluation on the ARGs, and store the result in the
5076 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5077 # must be portable across $(()) and expr.
5078 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5079 eval 'as_fn_arith ()
5086 as_val=`expr "$@" || test $? -eq 1`
5091 if expr a : '\(a\)' >/dev/null 2>&1 &&
5092 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5098 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5099 as_basename=basename
5104 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5110 as_me=`$as_basename -- "$0" ||
5111 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5112 X"$0" : 'X\(//\)$' \| \
5113 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5115 sed '/^.*\/\([^/][^/]*\)\/*$/{
5129 # Avoid depending upon Character Ranges.
5130 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5131 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5132 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5133 as_cr_digits='0123456789'
5134 as_cr_alnum=$as_cr_Letters$as_cr_digits
5136 ECHO_C= ECHO_N= ECHO_T=
5137 case `echo -n x` in #(((((
5139 case `echo 'xy\c'` in
5140 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5142 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5149 rm -f conf$$ conf$$.exe conf$$.file
5150 if test -d conf$$.dir; then
5151 rm -f conf$$.dir/conf$$.file
5154 mkdir conf$$.dir 2>/dev/null
5156 if (echo >conf$$.file) 2>/dev/null; then
5157 if ln -s conf$$.file conf$$ 2>/dev/null; then
5159 # ... but there are two gotchas:
5160 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5161 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5162 # In both cases, we have to default to `cp -p'.
5163 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5165 elif ln conf$$.file conf$$ 2>/dev/null; then
5173 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5174 rmdir conf$$.dir 2>/dev/null
5179 # Create "$as_dir" as a directory, including parents if necessary.
5184 -*) as_dir=./$as_dir;;
5186 test -d "$as_dir" || eval $as_mkdir_p || {
5190 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5191 *) as_qdir=$as_dir;;
5193 as_dirs="'$as_qdir' $as_dirs"
5194 as_dir=`$as_dirname -- "$as_dir" ||
5195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5196 X"$as_dir" : 'X\(//\)[^/]' \| \
5197 X"$as_dir" : 'X\(//\)$' \| \
5198 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5199 $as_echo X"$as_dir" |
5200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5217 test -d "$as_dir" && break
5219 test -z "$as_dirs" || eval "mkdir $as_dirs"
5220 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5224 if mkdir -p . 2>/dev/null; then
5225 as_mkdir_p='mkdir -p "$as_dir"'
5227 test -d ./-p && rmdir ./-p
5231 if test -x / >/dev/null 2>&1; then
5234 if ls -dL / >/dev/null 2>&1; then
5241 if test -d "$1"; then
5247 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5248 ???[sx]*):;;*)false;;esac;fi
5252 as_executable_p=$as_test_x
5254 # Sed expression to map a string onto a valid CPP name.
5255 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5257 # Sed expression to map a string onto a valid variable name.
5258 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5262 ## ----------------------------------- ##
5263 ## Main body of $CONFIG_STATUS script. ##
5264 ## ----------------------------------- ##
5266 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5269 # Save the log message, to keep $0 and so on meaningful, and to
5270 # report actual input values of CONFIG_FILES etc. instead of their
5271 # values after options handling.
5273 This file was extended by ppastats $as_me 0.0.1, which was
5274 generated by GNU Autoconf 2.67. Invocation command line was
5276 CONFIG_FILES = $CONFIG_FILES
5277 CONFIG_HEADERS = $CONFIG_HEADERS
5278 CONFIG_LINKS = $CONFIG_LINKS
5279 CONFIG_COMMANDS = $CONFIG_COMMANDS
5282 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5287 case $ac_config_files in *"
5288 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5291 case $ac_config_headers in *"
5292 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5297 # Files that config.status was made for.
5298 config_files="$ac_config_files"
5299 config_headers="$ac_config_headers"
5300 config_commands="$ac_config_commands"
5304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5306 \`$as_me' instantiates files and other configuration actions
5307 from templates according to the current configuration. Unless the files
5308 and actions are specified as TAGs, all are instantiated by default.
5310 Usage: $0 [OPTION]... [TAG]...
5312 -h, --help print this help, then exit
5313 -V, --version print version number and configuration settings, then exit
5314 --config print configuration, then exit
5315 -q, --quiet, --silent
5316 do not print progress messages
5317 -d, --debug don't remove temporary files
5318 --recheck update $as_me by reconfiguring in the same conditions
5319 --file=FILE[:TEMPLATE]
5320 instantiate the configuration file FILE
5321 --header=FILE[:TEMPLATE]
5322 instantiate the configuration header FILE
5324 Configuration files:
5327 Configuration headers:
5330 Configuration commands:
5333 Report bugs to <jeanfi@gmail.com>.
5334 ppastats home page: <http://wpitchoune.net/ppastats>."
5337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5338 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5340 ppastats config.status 0.0.1
5341 configured by $0, generated by GNU Autoconf 2.67,
5342 with options \\"\$ac_cs_config\\"
5344 Copyright (C) 2010 Free Software Foundation, Inc.
5345 This config.status script is free software; the Free Software Foundation
5346 gives unlimited permission to copy, distribute and modify it."
5353 test -n "\$AWK" || AWK=awk
5356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5357 # The default lists apply if the user does not specify any file.
5363 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5364 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5368 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5380 # Handling of the options.
5381 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5383 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5384 $as_echo "$ac_cs_version"; exit ;;
5385 --config | --confi | --conf | --con | --co | --c )
5386 $as_echo "$ac_cs_config"; exit ;;
5387 --debug | --debu | --deb | --de | --d | -d )
5389 --file | --fil | --fi | --f )
5392 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5393 '') as_fn_error $? "missing file argument" ;;
5395 as_fn_append CONFIG_FILES " '$ac_optarg'"
5396 ac_need_defaults=false;;
5397 --header | --heade | --head | --hea )
5400 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5402 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5403 ac_need_defaults=false;;
5405 # Conflict between --help and --header
5406 as_fn_error $? "ambiguous option: \`$1'
5407 Try \`$0 --help' for more information.";;
5408 --help | --hel | -h )
5409 $as_echo "$ac_cs_usage"; exit ;;
5410 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5411 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5415 -*) as_fn_error $? "unrecognized option: \`$1'
5416 Try \`$0 --help' for more information." ;;
5418 *) as_fn_append ac_config_targets " $1"
5419 ac_need_defaults=false ;;
5425 ac_configure_extra_args=
5427 if $ac_cs_silent; then
5429 ac_configure_extra_args="$ac_configure_extra_args --silent"
5433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5434 if \$ac_cs_recheck; then
5435 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5437 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5438 CONFIG_SHELL='$SHELL'
5444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5448 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5449 ## Running $as_me. ##
5455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5459 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5465 # Handling of arguments.
5466 for ac_config_target in $ac_config_targets
5468 case $ac_config_target in
5469 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5470 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5471 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5472 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5474 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5479 # If the user did not use the arguments to specify the items to instantiate,
5480 # then the envvar interface is used. Set only those that are not.
5481 # We use the long form for the default assignment because of an extremely
5482 # bizarre bug on SunOS 4.1.3.
5483 if $ac_need_defaults; then
5484 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5485 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5486 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5489 # Have a temporary directory for convenience. Make it in the build tree
5490 # simply because there is no reason against having it here, and in addition,
5491 # creating and moving files from /tmp can sometimes cause problems.
5492 # Hook for its removal unless debugging.
5493 # Note that there is a small window in which the directory will not be cleaned:
5494 # after its creation but before its name has been assigned to `$tmp'.
5498 trap 'exit_status=$?
5499 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5501 trap 'as_fn_exit 1' 1 2 13 15
5503 # Create a (secure) tmp directory for tmp files.
5506 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5507 test -n "$tmp" && test -d "$tmp"
5510 tmp=./conf$$-$RANDOM
5511 (umask 077 && mkdir "$tmp")
5512 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5514 # Set up the scripts for CONFIG_FILES section.
5515 # No need to generate them if there are no CONFIG_FILES.
5516 # This happens for instance with `./config.status config.h'.
5517 if test -n "$CONFIG_FILES"; then
5520 ac_cr=`echo X | tr X '\015'`
5521 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5522 # But we know of no other shell where ac_cr would be empty at this
5523 # point, so we can use a bashism as a fallback.
5524 if test "x$ac_cr" = x; then
5525 eval ac_cr=\$\'\\r\'
5527 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5534 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5539 echo "cat >conf$$subs.awk <<_ACEOF" &&
5540 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5543 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5544 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5546 for ac_last_try in false false false false false :; do
5547 . ./conf$$subs.sh ||
5548 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5550 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5551 if test $ac_delim_n = $ac_delim_num; then
5553 elif $ac_last_try; then
5554 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5556 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5562 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5566 s/^/S["/; s/!.*/"]=/
5576 s/\(.\{148\}\)..*/\1/
5578 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5590 s/\(.\{148\}\)..*/\1/
5592 s/["\\]/\\&/g; s/^/"/; s/$/"/
5596 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5601 ' <conf$$subs.awk | sed '
5606 ' >>$CONFIG_STATUS || ac_write_fail=1
5607 rm -f conf$$subs.awk
5608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5610 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5611 for (key in S) S_is_set[key] = 1
5617 nfields = split(line, field, "@")
5619 len = length(field[1])
5620 for (i = 2; i < nfields; i++) {
5622 keylen = length(key)
5623 if (S_is_set[key]) {
5625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5626 len += length(value) + length(field[++i])
5637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5638 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5639 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5642 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5643 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5646 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5647 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5648 # trailing colons and then remove the whole line if VPATH becomes empty
5649 # (actually we leave an empty line to preserve line numbers).
5650 if test "x$srcdir" = x.; then
5651 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5670 fi # test -n "$CONFIG_FILES"
5672 # Set up the scripts for CONFIG_HEADERS section.
5673 # No need to generate them if there are no CONFIG_HEADERS.
5674 # This happens for instance with `./config.status Makefile'.
5675 if test -n "$CONFIG_HEADERS"; then
5676 cat >"$tmp/defines.awk" <<\_ACAWK ||
5680 # Transform confdefs.h into an awk script `defines.awk', embedded as
5681 # here-document in config.status, that substitutes the proper values into
5682 # config.h.in to produce config.h.
5684 # Create a delimiter string that does not exist in confdefs.h, to ease
5685 # handling of long lines.
5687 for ac_last_try in false false :; do
5688 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5689 if test -z "$ac_t"; then
5691 elif $ac_last_try; then
5692 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5694 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5698 # For the awk script, D is an array of macro values keyed by name,
5699 # likewise P contains macro parameters if any. Preserve backslash
5700 # newline sequences.
5702 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5704 s/.\{148\}/&'"$ac_delim"'/g
5707 s/^[ ]*#[ ]*define[ ][ ]*/ /
5714 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5716 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5720 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5721 D["\1"]=" \3\\\\\\n"\\/p
5723 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5728 s/.\{148\}/&'"$ac_delim"'/g
5733 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5736 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5738 ' <confdefs.h | sed '
5739 s/'"$ac_delim"'/"\\\
5740 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5743 for (key in D) D_is_set[key] = 1
5746 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5748 split(line, arg, " ")
5749 if (arg[1] == "#") {
5753 defundef = substr(arg[1], 2)
5756 split(mac1, mac2, "(") #)
5758 prefix = substr(line, 1, index(line, defundef) - 1)
5759 if (D_is_set[macro]) {
5760 # Preserve the white space surrounding the "#".
5761 print prefix "define", macro P[macro] D[macro]
5764 # Replace #undef with comments. This is necessary, for example,
5765 # in the case of _POSIX_SOURCE, which is predefined and required
5766 # on some systems where configure will not decide to define it.
5767 if (defundef == "undef") {
5768 print "/*", prefix defundef, macro, "*/"
5776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5777 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5778 fi # test -n "$CONFIG_HEADERS"
5781 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5786 :[FHLC]) ac_mode=$ac_tag; continue;;
5788 case $ac_mode$ac_tag in
5790 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
5791 :[FH]-) ac_tag=-:-;;
5792 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5809 -) ac_f="$tmp/stdin";;
5810 *) # Look for the file first in the build tree, then in the source tree
5811 # (if the path is not absolute). The absolute path cannot be DOS-style,
5812 # because $ac_f cannot contain `:'.
5816 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5818 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
5820 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5821 as_fn_append ac_file_inputs " '$ac_f'"
5824 # Let's still pretend it is `configure' which instantiates (i.e., don't
5825 # use $as_me), people would be surprised to read:
5826 # /* config.h. Generated by config.status. */
5827 configure_input='Generated from '`
5828 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5830 if test x"$ac_file" != x-; then
5831 configure_input="$ac_file. $configure_input"
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5833 $as_echo "$as_me: creating $ac_file" >&6;}
5835 # Neutralize special characters interpreted by sed in replacement strings.
5836 case $configure_input in #(
5837 *\&* | *\|* | *\\* )
5838 ac_sed_conf_input=`$as_echo "$configure_input" |
5839 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5840 *) ac_sed_conf_input=$configure_input;;
5844 *:-:* | *:-) cat >"$tmp/stdin" \
5845 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5850 ac_dir=`$as_dirname -- "$ac_file" ||
5851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5852 X"$ac_file" : 'X\(//\)[^/]' \| \
5853 X"$ac_file" : 'X\(//\)$' \| \
5854 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5855 $as_echo X"$ac_file" |
5856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5873 as_dir="$ac_dir"; as_fn_mkdir_p
5877 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5879 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5880 # A ".." for each directory in $ac_dir_suffix.
5881 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5882 case $ac_top_builddir_sub in
5883 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5884 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5887 ac_abs_top_builddir=$ac_pwd
5888 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5889 # for backward compatibility:
5890 ac_top_builddir=$ac_top_build_prefix
5893 .) # We are building in place.
5895 ac_top_srcdir=$ac_top_builddir_sub
5896 ac_abs_top_srcdir=$ac_pwd ;;
5897 [\\/]* | ?:[\\/]* ) # Absolute name.
5898 ac_srcdir=$srcdir$ac_dir_suffix;
5899 ac_top_srcdir=$srcdir
5900 ac_abs_top_srcdir=$srcdir ;;
5902 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5903 ac_top_srcdir=$ac_top_build_prefix$srcdir
5904 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5906 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5916 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5917 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5921 [\\/$]* | ?:[\\/]* ) ;;
5922 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5927 # If the template does not know about datarootdir, expand it.
5928 # FIXME: This hack should be removed a few years after 2.60.
5929 ac_datarootdir_hack=; ac_datarootdir_seen=
5940 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5941 *datarootdir*) ac_datarootdir_seen=yes;;
5942 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5944 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5947 ac_datarootdir_hack='
5948 s&@datadir@&$datadir&g
5949 s&@docdir@&$docdir&g
5950 s&@infodir@&$infodir&g
5951 s&@localedir@&$localedir&g
5952 s&@mandir@&$mandir&g
5953 s&\\\${datarootdir}&$datarootdir&g' ;;
5957 # Neutralize VPATH when `$srcdir' = `.'.
5958 # Shell code in configure.ac might set extrasub.
5959 # FIXME: do we really want to maintain this feature?
5960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5961 ac_sed_extra="$ac_vpsub
5964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5966 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5967 s|@configure_input@|$ac_sed_conf_input|;t t
5968 s&@top_builddir@&$ac_top_builddir_sub&;t t
5969 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5970 s&@srcdir@&$ac_srcdir&;t t
5971 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5972 s&@top_srcdir@&$ac_top_srcdir&;t t
5973 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5974 s&@builddir@&$ac_builddir&;t t
5975 s&@abs_builddir@&$ac_abs_builddir&;t t
5976 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5977 s&@INSTALL@&$ac_INSTALL&;t t
5978 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5979 $ac_datarootdir_hack
5981 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5982 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5984 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5985 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5986 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5988 which seems to be undefined. Please make sure it is defined" >&5
5989 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5990 which seems to be undefined. Please make sure it is defined" >&2;}
5994 -) cat "$tmp/out" && rm -f "$tmp/out";;
5995 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6003 if test x"$ac_file" != x-; then
6005 $as_echo "/* $configure_input */" \
6006 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6007 } >"$tmp/config.h" \
6008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6009 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6011 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6014 mv "$tmp/config.h" "$ac_file" \
6015 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6018 $as_echo "/* $configure_input */" \
6019 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6020 || as_fn_error $? "could not create -" "$LINENO" 5
6022 # Compute "$ac_file"'s index in $config_headers.
6025 for _am_header in $config_headers :; do
6027 $_am_arg | $_am_arg:* )
6030 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6033 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6034 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6035 X"$_am_arg" : 'X\(//\)[^/]' \| \
6036 X"$_am_arg" : 'X\(//\)$' \| \
6037 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6038 $as_echo X"$_am_arg" |
6039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6055 s/.*/./; q'`/stamp-h$_am_stamp_count
6058 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6059 $as_echo "$as_me: executing $ac_file commands" >&6;}
6064 case $ac_file$ac_mode in
6065 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6066 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6067 # are listed without --file. Let's play safe and only enable the eval
6068 # if we detect the quoting.
6069 case $CONFIG_FILES in
6070 *\'*) eval set x "$CONFIG_FILES" ;;
6071 *) set x $CONFIG_FILES ;;
6076 # Strip MF so we end up with the name of the file.
6077 mf=`echo "$mf" | sed -e 's/:.*$//'`
6078 # Check whether this is an Automake generated Makefile or not.
6079 # We used to match only the files named `Makefile.in', but
6080 # some people rename them; so instead we look at the file content.
6081 # Grep'ing the first line is not enough: some people post-process
6082 # each Makefile.in and add a new line on top of each file to say so.
6083 # Grep'ing the whole file is not good either: AIX grep has a line
6084 # limit of 2048, but all sed's we know have understand at least 4000.
6085 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6086 dirpart=`$as_dirname -- "$mf" ||
6087 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6088 X"$mf" : 'X\(//\)[^/]' \| \
6089 X"$mf" : 'X\(//\)$' \| \
6090 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6112 # Extract the definition of DEPDIR, am__include, and am__quote
6113 # from the Makefile without running `make'.
6114 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6115 test -z "$DEPDIR" && continue
6116 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6117 test -z "am__include" && continue
6118 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6119 # When using ansi2knr, U may be empty or an underscore; expand it
6120 U=`sed -n 's/^U = //p' < "$mf"`
6121 # Find all dependency output files, they are included files with
6122 # $(DEPDIR) in their names. We invoke sed twice because it is the
6123 # simplest approach to changing $(DEPDIR) to its actual value in the
6125 for file in `sed -n "
6126 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6127 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6128 # Make sure the directory exists.
6129 test -f "$dirpart/$file" && continue
6130 fdir=`$as_dirname -- "$file" ||
6131 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6132 X"$file" : 'X\(//\)[^/]' \| \
6133 X"$file" : 'X\(//\)$' \| \
6134 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6153 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6154 # echo "creating $dirpart/$file"
6155 echo '# dummy' > "$dirpart/$file"
6167 ac_clean_files=$ac_clean_files_save
6169 test $ac_write_fail = 0 ||
6170 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6173 # configure is writing to config.log, and then calls config.status.
6174 # config.status does its own redirection, appending to config.log.
6175 # Unfortunately, on DOS this fails, as config.log is still kept open
6176 # by configure, so config.status won't be able to write to it; its
6177 # output is simply discarded. So we exec the FD to /dev/null,
6178 # effectively closing config.log, so it can be properly (re)opened and
6179 # appended to by config.status. When coming back to configure, we
6180 # need to make the FD available again.
6181 if test "$no_create" != yes; then
6183 ac_config_status_args=
6184 test "$silent" = yes &&
6185 ac_config_status_args="$ac_config_status_args --quiet"
6187 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6189 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6190 # would make configure fail if this is the last instruction.
6191 $ac_cs_success || as_fn_exit 1
6193 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6195 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}