2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ppastats 0.0.7.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='ppastats'
562 PACKAGE_TARNAME='ppastats'
563 PACKAGE_VERSION='0.0.7'
564 PACKAGE_STRING='ppastats 0.0.7'
565 PACKAGE_BUGREPORT='jeanfi@gmail.com'
566 PACKAGE_URL='http://wpitchoune.net/ppastats'
568 ac_unique_file="src/main.c"
570 # Factoring default headers for most tests.
571 ac_includes_default="\
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
583 # ifdef HAVE_STDLIB_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
606 ac_subst_vars='am__EXEEXT_FALSE
637 XGETTEXT_EXTRA_OPTIONS
645 GETTEXT_MACRO_VERSION
673 INSTALL_STRIP_PROGRAM
715 program_transform_name
728 enable_option_checking
729 enable_dependency_tracking
737 ac_precious_vars='build_alias
756 # Initialize some variables set by options.
758 ac_init_version=false
759 ac_unrecognized_opts=
761 # The variables have the same names as the options, with
762 # dashes changed to underlines.
770 program_transform_name=s,x,x,
778 # Installation directory options.
779 # These are left unexpanded so users can "make install exec_prefix=/foo"
780 # and all the variables that are supposed to be based on exec_prefix
781 # by default will actually change.
782 # Use braces instead of parens because sh, perl, etc. also accept them.
783 # (The list follows the same order as the GNU Coding Standards.)
784 bindir='${exec_prefix}/bin'
785 sbindir='${exec_prefix}/sbin'
786 libexecdir='${exec_prefix}/libexec'
787 datarootdir='${prefix}/share'
788 datadir='${datarootdir}'
789 sysconfdir='${prefix}/etc'
790 sharedstatedir='${prefix}/com'
791 localstatedir='${prefix}/var'
792 includedir='${prefix}/include'
793 oldincludedir='/usr/include'
794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
795 infodir='${datarootdir}/info'
800 libdir='${exec_prefix}/lib'
801 localedir='${datarootdir}/locale'
802 mandir='${datarootdir}/man'
808 # If the previous option needs an argument, assign it.
809 if test -n "$ac_prev"; then
810 eval $ac_prev=\$ac_option
816 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821 # Accept the important Cygnus configure options, so we can diagnose typos.
823 case $ac_dashdash$ac_option in
827 -bindir | --bindir | --bindi | --bind | --bin | --bi)
829 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
832 -build | --build | --buil | --bui | --bu)
833 ac_prev=build_alias ;;
834 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835 build_alias=$ac_optarg ;;
837 -cache-file | --cache-file | --cache-fil | --cache-fi \
838 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839 ac_prev=cache_file ;;
840 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842 cache_file=$ac_optarg ;;
845 cache_file=config.cache ;;
847 -datadir | --datadir | --datadi | --datad)
849 -datadir=* | --datadir=* | --datadi=* | --datad=*)
850 datadir=$ac_optarg ;;
852 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853 | --dataroo | --dataro | --datar)
854 ac_prev=datarootdir ;;
855 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857 datarootdir=$ac_optarg ;;
859 -disable-* | --disable-*)
860 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error $? "invalid feature name: $ac_useropt"
864 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871 ac_unrecognized_sep=', ';;
873 eval enable_$ac_useropt=no ;;
875 -docdir | --docdir | --docdi | --doc | --do)
877 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
880 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
882 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
885 -enable-* | --enable-*)
886 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889 as_fn_error $? "invalid feature name: $ac_useropt"
890 ac_useropt_orig=$ac_useropt
891 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897 ac_unrecognized_sep=', ';;
899 eval enable_$ac_useropt=\$ac_optarg ;;
901 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903 | --exec | --exe | --ex)
904 ac_prev=exec_prefix ;;
905 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907 | --exec=* | --exe=* | --ex=*)
908 exec_prefix=$ac_optarg ;;
910 -gas | --gas | --ga | --g)
911 # Obsolete; use --with-gas.
914 -help | --help | --hel | --he | -h)
916 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917 ac_init_help=recursive ;;
918 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919 ac_init_help=short ;;
921 -host | --host | --hos | --ho)
922 ac_prev=host_alias ;;
923 -host=* | --host=* | --hos=* | --ho=*)
924 host_alias=$ac_optarg ;;
926 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
928 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
930 htmldir=$ac_optarg ;;
932 -includedir | --includedir | --includedi | --included | --include \
933 | --includ | --inclu | --incl | --inc)
934 ac_prev=includedir ;;
935 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936 | --includ=* | --inclu=* | --incl=* | --inc=*)
937 includedir=$ac_optarg ;;
939 -infodir | --infodir | --infodi | --infod | --info | --inf)
941 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942 infodir=$ac_optarg ;;
944 -libdir | --libdir | --libdi | --libd)
946 -libdir=* | --libdir=* | --libdi=* | --libd=*)
949 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950 | --libexe | --libex | --libe)
951 ac_prev=libexecdir ;;
952 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953 | --libexe=* | --libex=* | --libe=*)
954 libexecdir=$ac_optarg ;;
956 -localedir | --localedir | --localedi | --localed | --locale)
958 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959 localedir=$ac_optarg ;;
961 -localstatedir | --localstatedir | --localstatedi | --localstated \
962 | --localstate | --localstat | --localsta | --localst | --locals)
963 ac_prev=localstatedir ;;
964 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966 localstatedir=$ac_optarg ;;
968 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
970 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
974 # Obsolete; use --without-fp.
977 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978 | --no-cr | --no-c | -n)
981 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
985 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987 | --oldin | --oldi | --old | --ol | --o)
988 ac_prev=oldincludedir ;;
989 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992 oldincludedir=$ac_optarg ;;
994 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
996 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
999 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000 | --program-pre | --program-pr | --program-p)
1001 ac_prev=program_prefix ;;
1002 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004 program_prefix=$ac_optarg ;;
1006 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007 | --program-suf | --program-su | --program-s)
1008 ac_prev=program_suffix ;;
1009 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011 program_suffix=$ac_optarg ;;
1013 -program-transform-name | --program-transform-name \
1014 | --program-transform-nam | --program-transform-na \
1015 | --program-transform-n | --program-transform- \
1016 | --program-transform | --program-transfor \
1017 | --program-transfo | --program-transf \
1018 | --program-trans | --program-tran \
1019 | --progr-tra | --program-tr | --program-t)
1020 ac_prev=program_transform_name ;;
1021 -program-transform-name=* | --program-transform-name=* \
1022 | --program-transform-nam=* | --program-transform-na=* \
1023 | --program-transform-n=* | --program-transform-=* \
1024 | --program-transform=* | --program-transfor=* \
1025 | --program-transfo=* | --program-transf=* \
1026 | --program-trans=* | --program-tran=* \
1027 | --progr-tra=* | --program-tr=* | --program-t=*)
1028 program_transform_name=$ac_optarg ;;
1030 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1032 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033 pdfdir=$ac_optarg ;;
1035 -psdir | --psdir | --psdi | --psd | --ps)
1037 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041 | -silent | --silent | --silen | --sile | --sil)
1044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1048 sbindir=$ac_optarg ;;
1050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052 | --sharedst | --shareds | --shared | --share | --shar \
1054 ac_prev=sharedstatedir ;;
1055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1059 sharedstatedir=$ac_optarg ;;
1061 -site | --site | --sit)
1063 -site=* | --site=* | --sit=*)
1066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069 srcdir=$ac_optarg ;;
1071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072 | --syscon | --sysco | --sysc | --sys | --sy)
1073 ac_prev=sysconfdir ;;
1074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076 sysconfdir=$ac_optarg ;;
1078 -target | --target | --targe | --targ | --tar | --ta | --t)
1079 ac_prev=target_alias ;;
1080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081 target_alias=$ac_optarg ;;
1083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1086 -version | --version | --versio | --versi | --vers | -V)
1087 ac_init_version=: ;;
1090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid package name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 as_fn_error $? "invalid package name: $ac_useropt"
1110 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117 ac_unrecognized_sep=', ';;
1119 eval with_$ac_useropt=no ;;
1122 # Obsolete; use --with-x.
1125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126 | --x-incl | --x-inc | --x-in | --x-i)
1127 ac_prev=x_includes ;;
1128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130 x_includes=$ac_optarg ;;
1132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134 ac_prev=x_libraries ;;
1135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137 x_libraries=$ac_optarg ;;
1139 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1140 Try \`$0 --help' for more information"
1144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145 # Reject names that are not valid shell variable names.
1146 case $ac_envvar in #(
1147 '' | [0-9]* | *[!_$as_cr_alnum]* )
1148 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1150 eval $ac_envvar=\$ac_optarg
1151 export $ac_envvar ;;
1154 # FIXME: should be removed in autoconf 3.0.
1155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1164 if test -n "$ac_prev"; then
1165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166 as_fn_error $? "missing argument to $ac_option"
1169 if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
1172 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1177 # Check all directory arguments for consistency.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 # Remove trailing slashes.
1187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188 eval $ac_var=\$ac_val;;
1190 # Be sure to have absolute directory names.
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used" >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219 test "$silent" = yes && exec 6>/dev/null
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 as_fn_error $? "working directory cannot be determined"
1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227 as_fn_error $? "pwd does not report name of working directory"
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$as_myself" ||
1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$as_myself" : 'X\(//\)[^/]' \| \
1237 X"$as_myself" : 'X\(//\)$' \| \
1238 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239 $as_echo X"$as_myself" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures ppastats 0.0.7 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking ...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/ppastats]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1359 --x-includes=DIR X include files are in DIR
1360 --x-libraries=DIR X library files are in DIR
1363 --build=BUILD configure for building on BUILD [guessed]
1364 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive ) echo "Configuration of ppastats 0.0.7:";;
1375 --disable-option-checking ignore unrecognized --enable/--with options
1376 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1377 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1378 --disable-dependency-tracking speeds up one-time build
1379 --enable-dependency-tracking do not reject slow dependency extractors
1380 --disable-nls do not use Native Language Support
1381 --disable-rpath do not hardcode runtime library paths
1384 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1385 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1386 --with-gnu-ld assume the C compiler uses GNU ld default=no
1387 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1388 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1389 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1390 --without-libintl-prefix don't search for libintl in includedir and libdir
1391 --with-x use the X Window System
1393 Some influential environment variables:
1394 CC C compiler command
1395 CFLAGS C compiler flags
1396 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1397 nonstandard directory <lib dir>
1398 LIBS libraries to pass to the linker, e.g. -l<library>
1399 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1400 you have headers in a nonstandard directory <include dir>
1402 XMKMF Path to xmkmf, Makefile generator for X Window System
1403 PKG_CONFIG path to pkg-config utility
1405 directories to add to pkg-config's search path
1407 path overriding pkg-config's built-in search path
1408 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1409 CURL_LIBS linker flags for CURL, overriding pkg-config
1410 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1411 JSON_LIBS linker flags for JSON, overriding pkg-config
1413 Use these variables to override the choices made by `configure' or to help
1414 it to find libraries and programs with nonstandard names/locations.
1416 Report bugs to <jeanfi@gmail.com>.
1417 ppastats home page: <http://wpitchoune.net/ppastats>.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" ||
1426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1434 # A ".." for each directory in $ac_dir_suffix.
1435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1436 case $ac_top_builddir_sub in
1437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1441 ac_abs_top_builddir=$ac_pwd
1442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443 # for backward compatibility:
1444 ac_top_builddir=$ac_top_build_prefix
1447 .) # We are building in place.
1449 ac_top_srcdir=$ac_top_builddir_sub
1450 ac_abs_top_srcdir=$ac_pwd ;;
1451 [\\/]* | ?:[\\/]* ) # Absolute name.
1452 ac_srcdir=$srcdir$ac_dir_suffix;
1453 ac_top_srcdir=$srcdir
1454 ac_abs_top_srcdir=$srcdir ;;
1456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457 ac_top_srcdir=$ac_top_build_prefix$srcdir
1458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462 cd "$ac_dir" || { ac_status=$?; continue; }
1463 # Check for guested configure.
1464 if test -f "$ac_srcdir/configure.gnu"; then
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif test -f "$ac_srcdir/configure"; then
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1477 test -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1480 ppastats configure 0.0.7
1481 generated by GNU Autoconf 2.68
1483 Copyright (C) 2010 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compile ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rm -f conftest.$ac_objext
1501 if { { ac_try="$ac_compile"
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest.$ac_objext; then :
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1530 } # ac_fn_c_try_compile
1532 # ac_fn_c_try_cpp LINENO
1533 # ----------------------
1534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 if { { ac_try="$ac_cpp conftest.$ac_ext"
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } > conftest.i && {
1554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1569 # ac_fn_c_try_link LINENO
1570 # -----------------------
1571 # Try to link conftest.$ac_ext, and return whether this succeeded.
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 rm -f conftest.$ac_objext conftest$ac_exeext
1576 if { { ac_try="$ac_link"
1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1579 *) ac_try_echo=$ac_try;;
1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_link") 2>conftest.err
1585 if test -s conftest.err; then
1586 grep -v '^ *+' conftest.err >conftest.er1
1587 cat conftest.er1 >&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } && {
1592 test -z "$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1594 } && test -s conftest$ac_exeext && {
1595 test "$cross_compiling" = yes ||
1596 $as_test_x conftest$ac_exeext
1600 $as_echo "$as_me: failed program was:" >&5
1601 sed 's/^/| /' conftest.$ac_ext >&5
1605 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1606 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1607 # interfere with the next link command; also delete a directory that is
1608 # left behind by Apple's compiler. We do this before executing the actions.
1609 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_status $ac_retval
1613 } # ac_fn_c_try_link
1615 # ac_fn_c_try_run LINENO
1616 # ----------------------
1617 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1618 # that executables *can* be run.
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if { { ac_try="$ac_link"
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_link") 2>&5
1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1633 { { case "(($ac_try" in
1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_try") 2>&5
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; }; }; then :
1645 $as_echo "$as_me: program exited with status $ac_status" >&5
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1649 ac_retval=$ac_status
1651 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 as_fn_set_status $ac_retval
1657 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1658 # -------------------------------------------------------
1659 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1660 # the include files in INCLUDES and setting the cache variable VAR
1662 ac_fn_c_check_header_mongrel ()
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if eval \${$3+:} false; then :
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if eval \${$3+:} false; then :
1669 $as_echo_n "(cached) " >&6
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673 $as_echo "$ac_res" >&6; }
1675 # Is the header compilable?
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1677 $as_echo_n "checking $2 usability... " >&6; }
1678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h. */
1683 if ac_fn_c_try_compile "$LINENO"; then :
1684 ac_header_compiler=yes
1686 ac_header_compiler=no
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1690 $as_echo "$ac_header_compiler" >&6; }
1692 # Is the header present?
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1694 $as_echo_n "checking $2 presence... " >&6; }
1695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1696 /* end confdefs.h. */
1699 if ac_fn_c_try_cpp "$LINENO"; then :
1700 ac_header_preproc=yes
1702 ac_header_preproc=no
1704 rm -f conftest.err conftest.i conftest.$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1706 $as_echo "$ac_header_preproc" >&6; }
1708 # So? What about this header?
1709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1712 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1714 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1718 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1720 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1722 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1724 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1726 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727 ( $as_echo "## ------------------------------- ##
1728 ## Report this to jeanfi@gmail.com ##
1729 ## ------------------------------- ##"
1730 ) | sed "s/^/$as_me: WARNING: /" >&2
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734 $as_echo_n "checking for $2... " >&6; }
1735 if eval \${$3+:} false; then :
1736 $as_echo_n "(cached) " >&6
1738 eval "$3=\$ac_header_compiler"
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 } # ac_fn_c_check_header_mongrel
1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 # -------------------------------------------------------
1750 # Tests whether HEADER exists and can be compiled using the include files in
1751 # INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1765 if ac_fn_c_try_compile "$LINENO"; then :
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } # ac_fn_c_check_header_compile
1778 cat >config.log <<_ACEOF
1779 This file contains any messages produced by compilers while
1780 running configure, to aid debugging if configure makes a mistake.
1782 It was created by ppastats $as_me 0.0.7, which was
1783 generated by GNU Autoconf 2.68. Invocation command line was
1795 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1796 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1797 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1798 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1799 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1801 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1802 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1804 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1805 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1806 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1807 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1808 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1809 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1810 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir=.
1819 $as_echo "PATH: $as_dir"
1835 # Keep a trace of the command line.
1836 # Strip out --no-create and --no-recursion so they do not pile up.
1837 # Strip out --silent because we don't want to record it for future runs.
1838 # Also quote any args containing shell meta-characters.
1839 # Make two passes to allow for proper duplicate-argument suppression.
1843 ac_must_keep_next=false
1849 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1850 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1851 | -silent | --silent | --silen | --sile | --sil)
1854 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1857 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1859 as_fn_append ac_configure_args1 " '$ac_arg'"
1860 if test $ac_must_keep_next = true; then
1861 ac_must_keep_next=false # Got value, back to normal.
1864 *=* | --config-cache | -C | -disable-* | --disable-* \
1865 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1866 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1867 | -with-* | --with-* | -without-* | --without-* | --x)
1868 case "$ac_configure_args0 " in
1869 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1872 -* ) ac_must_keep_next=true ;;
1875 as_fn_append ac_configure_args " '$ac_arg'"
1880 { ac_configure_args0=; unset ac_configure_args0;}
1881 { ac_configure_args1=; unset ac_configure_args1;}
1883 # When interrupted or exit'd, cleanup temporary files, and complete
1884 # config.log. We remove comments because anyway the quotes in there
1885 # would cause problems or look ugly.
1886 # WARNING: Use '\'' to represent an apostrophe within the trap.
1887 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1888 trap 'exit_status=$?
1889 # Save into config.log some information that might help in debugging.
1893 $as_echo "## ---------------- ##
1894 ## Cache variables. ##
1895 ## ---------------- ##"
1897 # The following way of writing the cache mishandles newlines in values,
1899 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1900 eval ac_val=\$$ac_var
1904 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1908 _ | IFS | as_nl) ;; #(
1909 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1910 *) { eval $ac_var=; unset $ac_var;} ;;
1915 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1916 *${as_nl}ac_space=\ *)
1918 "s/'\''/'\''\\\\'\'''\''/g;
1919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1929 $as_echo "## ----------------- ##
1930 ## Output variables. ##
1931 ## ----------------- ##"
1933 for ac_var in $ac_subst_vars
1935 eval ac_val=\$$ac_var
1937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1939 $as_echo "$ac_var='\''$ac_val'\''"
1943 if test -n "$ac_subst_files"; then
1944 $as_echo "## ------------------- ##
1945 ## File substitutions. ##
1946 ## ------------------- ##"
1948 for ac_var in $ac_subst_files
1950 eval ac_val=\$$ac_var
1952 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1954 $as_echo "$ac_var='\''$ac_val'\''"
1959 if test -s confdefs.h; then
1960 $as_echo "## ----------- ##
1967 test "$ac_signal" != 0 &&
1968 $as_echo "$as_me: caught signal $ac_signal"
1969 $as_echo "$as_me: exit $exit_status"
1971 rm -f core *.core core.conftest.* &&
1972 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1975 for ac_signal in 1 2 13 15; do
1976 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1980 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1981 rm -f -r conftest* confdefs.h
1983 $as_echo "/* confdefs.h */" > confdefs.h
1985 # Predefined preprocessor variables.
1987 cat >>confdefs.h <<_ACEOF
1988 #define PACKAGE_NAME "$PACKAGE_NAME"
1991 cat >>confdefs.h <<_ACEOF
1992 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1995 cat >>confdefs.h <<_ACEOF
1996 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1999 cat >>confdefs.h <<_ACEOF
2000 #define PACKAGE_STRING "$PACKAGE_STRING"
2003 cat >>confdefs.h <<_ACEOF
2004 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2007 cat >>confdefs.h <<_ACEOF
2008 #define PACKAGE_URL "$PACKAGE_URL"
2012 # Let the site file select an alternate cache file if it wants to.
2013 # Prefer an explicitly selected file to automatically selected ones.
2016 if test -n "$CONFIG_SITE"; then
2017 # We do not want a PATH search for config.site.
2018 case $CONFIG_SITE in #((
2019 -*) ac_site_file1=./$CONFIG_SITE;;
2020 */*) ac_site_file1=$CONFIG_SITE;;
2021 *) ac_site_file1=./$CONFIG_SITE;;
2023 elif test "x$prefix" != xNONE; then
2024 ac_site_file1=$prefix/share/config.site
2025 ac_site_file2=$prefix/etc/config.site
2027 ac_site_file1=$ac_default_prefix/share/config.site
2028 ac_site_file2=$ac_default_prefix/etc/config.site
2030 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2032 test "x$ac_site_file" = xNONE && continue
2033 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2035 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2036 sed 's/^/| /' "$ac_site_file" >&5
2038 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2040 as_fn_error $? "failed to load site script $ac_site_file
2041 See \`config.log' for more details" "$LINENO" 5; }
2045 if test -r "$cache_file"; then
2046 # Some versions of bash will fail to source /dev/null (special files
2047 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2048 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2050 $as_echo "$as_me: loading cache $cache_file" >&6;}
2052 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2053 *) . "./$cache_file";;
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2058 $as_echo "$as_me: creating cache $cache_file" >&6;}
2062 gt_needs="$gt_needs "
2063 # Check that the precious variables saved in the cache have kept the same
2065 ac_cache_corrupted=false
2066 for ac_var in $ac_precious_vars; do
2067 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2068 eval ac_new_set=\$ac_env_${ac_var}_set
2069 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2070 eval ac_new_val=\$ac_env_${ac_var}_value
2071 case $ac_old_set,$ac_new_set in
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2074 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2075 ac_cache_corrupted=: ;;
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2078 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2079 ac_cache_corrupted=: ;;
2082 if test "x$ac_old_val" != "x$ac_new_val"; then
2083 # differences in whitespace do not lead to failure.
2084 ac_old_val_w=`echo x $ac_old_val`
2085 ac_new_val_w=`echo x $ac_new_val`
2086 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2088 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2089 ac_cache_corrupted=:
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2092 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2093 eval $ac_var=\$ac_old_val
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2096 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2098 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2101 # Pass precious variables to config.status.
2102 if test "$ac_new_set" = set; then
2104 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 *) ac_arg=$ac_var=$ac_new_val ;;
2107 case " $ac_configure_args " in
2108 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2109 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2113 if $ac_cache_corrupted; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2117 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2118 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2120 ## -------------------- ##
2121 ## Main body of script. ##
2122 ## -------------------- ##
2125 ac_cpp='$CPP $CPPFLAGS'
2126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2132 am__api_version='1.11'
2135 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2136 if test -f "$ac_dir/install-sh"; then
2138 ac_install_sh="$ac_aux_dir/install-sh -c"
2140 elif test -f "$ac_dir/install.sh"; then
2142 ac_install_sh="$ac_aux_dir/install.sh -c"
2144 elif test -f "$ac_dir/shtool"; then
2146 ac_install_sh="$ac_aux_dir/shtool install -c"
2150 if test -z "$ac_aux_dir"; then
2151 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2154 # These three variables are undocumented and unsupported,
2155 # and are intended to be withdrawn in a future Autoconf release.
2156 # They can cause serious problems if a builder's source tree is in a directory
2157 # whose full name contains unusual characters.
2158 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2159 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2160 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2163 # Find a good install program. We prefer a C program (faster),
2164 # so one script is as good as another. But avoid the broken or
2165 # incompatible versions:
2166 # SysV /etc/install, /usr/sbin/install
2167 # SunOS /usr/etc/install
2168 # IRIX /sbin/install
2170 # AmigaOS /C/install, which installs bootblocks on floppy discs
2171 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2172 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2173 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2174 # OS/2's system install, which has a completely different semantic
2175 # ./install, which can be erroneously created by make from ./install.sh.
2176 # Reject install programs that cannot install multiple files.
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2178 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2179 if test -z "$INSTALL"; then
2180 if ${ac_cv_path_install+:} false; then :
2181 $as_echo_n "(cached) " >&6
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir=.
2188 # Account for people who put trailing slashes in PATH elements.
2189 case $as_dir/ in #((
2190 ./ | .// | /[cC]/* | \
2191 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2192 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2195 # OSF1 and SCO ODT 3.0 have their own names for install.
2196 # Don't use installbsd from OSF since it installs stuff as root
2198 for ac_prog in ginstall scoinst install; do
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2201 if test $ac_prog = install &&
2202 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2203 # AIX install. It has an incompatible calling convention.
2205 elif test $ac_prog = install &&
2206 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2207 # program-specific install script used by HP pwplus--don't use.
2210 rm -rf conftest.one conftest.two conftest.dir
2211 echo one > conftest.one
2212 echo two > conftest.two
2214 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2215 test -s conftest.one && test -s conftest.two &&
2216 test -s conftest.dir/conftest.one &&
2217 test -s conftest.dir/conftest.two
2219 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2232 rm -rf conftest.one conftest.two conftest.dir
2235 if test "${ac_cv_path_install+set}" = set; then
2236 INSTALL=$ac_cv_path_install
2238 # As a last resort, use the slow shell script. Don't cache a
2239 # value for INSTALL within a source directory, because that will
2240 # break other packages using the cache if that directory is
2241 # removed, or if the value is a relative name.
2242 INSTALL=$ac_install_sh
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2246 $as_echo "$INSTALL" >&6; }
2248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2249 # It thinks the first close brace ends the variable substitution.
2250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2254 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2257 $as_echo_n "checking whether build environment is sane... " >&6; }
2260 echo timestamp > conftest.file
2261 # Reject unsafe characters in $srcdir or the absolute working directory
2262 # name. Accept space and tab only in the latter.
2266 *[\\\"\#\$\&\'\`$am_lf]*)
2267 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2270 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2271 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2274 # Do `set' in a subshell so we don't clobber the current shell's
2275 # arguments. Must try -L first in case configure is actually a
2276 # symlink; some systems play weird games with the mod time of symlinks
2277 # (eg FreeBSD returns the mod time of the symlink's containing
2280 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2281 if test "$*" = "X"; then
2283 set X `ls -t "$srcdir/configure" conftest.file`
2286 if test "$*" != "X $srcdir/configure conftest.file" \
2287 && test "$*" != "X conftest.file $srcdir/configure"; then
2289 # If neither matched, then we have a broken ls. This can happen
2290 # if, for instance, CONFIG_SHELL is bash and it inherits a
2291 # broken ls alias from the environment. This has actually
2292 # happened. Such a system could not be considered "sane".
2293 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2294 alias in your environment" "$LINENO" 5
2297 test "$2" = conftest.file
2303 as_fn_error $? "newly created file is older than distributed files!
2304 Check your system clock" "$LINENO" 5
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2307 $as_echo "yes" >&6; }
2308 test "$program_prefix" != NONE &&
2309 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2310 # Use a double $ so make ignores it.
2311 test "$program_suffix" != NONE &&
2312 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2313 # Double any \ or $.
2314 # By default was `s,x,x', remove it if useless.
2315 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2316 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2318 # expand $ac_aux_dir to an absolute path
2319 am_aux_dir=`cd $ac_aux_dir && pwd`
2321 if test x"${MISSING+set}" != xset; then
2324 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2326 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2329 # Use eval to expand $SHELL
2330 if eval "$MISSING --run true"; then
2331 am_missing_run="$MISSING --run "
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2335 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2338 if test x"${install_sh}" != xset; then
2341 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2343 install_sh="\${SHELL} $am_aux_dir/install-sh"
2347 # Installed binaries are usually stripped using `strip' when the user
2348 # run `make install-strip'. However `strip' might not be the right
2349 # tool to use in cross-compilation environments, therefore Automake
2350 # will honor the `STRIP' environment variable to overrule this program.
2351 if test "$cross_compiling" != no; then
2352 if test -n "$ac_tool_prefix"; then
2353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2354 set dummy ${ac_tool_prefix}strip; ac_word=$2
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2356 $as_echo_n "checking for $ac_word... " >&6; }
2357 if ${ac_cv_prog_STRIP+:} false; then :
2358 $as_echo_n "(cached) " >&6
2360 if test -n "$STRIP"; then
2361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 STRIP=$ac_cv_prog_STRIP
2381 if test -n "$STRIP"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2383 $as_echo "$STRIP" >&6; }
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2386 $as_echo "no" >&6; }
2391 if test -z "$ac_cv_prog_STRIP"; then
2393 # Extract the first word of "strip", so it can be a program name with args.
2394 set dummy strip; ac_word=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2398 $as_echo_n "(cached) " >&6
2400 if test -n "$ac_ct_STRIP"; then
2401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_ac_ct_STRIP="strip"
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2421 if test -n "$ac_ct_STRIP"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2423 $as_echo "$ac_ct_STRIP" >&6; }
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2429 if test "x$ac_ct_STRIP" = x; then
2432 case $cross_compiling:$ac_tool_warned in
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2436 ac_tool_warned=yes ;;
2441 STRIP="$ac_cv_prog_STRIP"
2445 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2448 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2449 if test -z "$MKDIR_P"; then
2450 if ${ac_cv_path_mkdir+:} false; then :
2451 $as_echo_n "(cached) " >&6
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2457 test -z "$as_dir" && as_dir=.
2458 for ac_prog in mkdir gmkdir; do
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2461 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2462 'mkdir (GNU coreutils) '* | \
2463 'mkdir (coreutils) '* | \
2464 'mkdir (fileutils) '4.1*)
2465 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2475 test -d ./--version && rmdir ./--version
2476 if test "${ac_cv_path_mkdir+set}" = set; then
2477 MKDIR_P="$ac_cv_path_mkdir -p"
2479 # As a last resort, use the slow shell script. Don't cache a
2480 # value for MKDIR_P within a source directory, because that will
2481 # break other packages using the cache if that directory is
2482 # removed, or if the value is a relative name.
2483 MKDIR_P="$ac_install_sh -d"
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2487 $as_echo "$MKDIR_P" >&6; }
2491 [\\/$]* | ?:[\\/]*) ;;
2492 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2495 for ac_prog in gawk mawk nawk awk
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy $ac_prog; ac_word=$2
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if ${ac_cv_prog_AWK+:} false; then :
2502 $as_echo_n "(cached) " >&6
2504 if test -n "$AWK"; then
2505 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_AWK="$ac_prog"
2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 if test -n "$AWK"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2527 $as_echo "$AWK" >&6; }
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2534 test -n "$AWK" && break
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2538 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2540 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2541 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 cat >conftest.make <<\_ACEOF
2547 @echo '@@@%%%=$(MAKE)=@@@%%%'
2549 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2550 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2552 eval ac_cv_prog_make_${ac_make}_set=yes;;
2554 eval ac_cv_prog_make_${ac_make}_set=no;;
2558 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2560 $as_echo "yes" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2565 SET_MAKE="MAKE=${MAKE-make}"
2568 rm -rf .tst 2>/dev/null
2569 mkdir .tst 2>/dev/null
2570 if test -d .tst; then
2575 rmdir .tst 2>/dev/null
2577 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2578 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2579 # is not polluted with repeated "-I."
2580 am__isrc=' -I$(srcdir)'
2581 # test to see if srcdir already configured
2582 if test -f $srcdir/config.status; then
2583 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2587 # test whether we have cygpath
2588 if test -z "$CYGPATH_W"; then
2589 if (cygpath --version) >/dev/null 2>/dev/null; then
2590 CYGPATH_W='cygpath -w'
2597 # Define the identity of the package.
2602 cat >>confdefs.h <<_ACEOF
2603 #define PACKAGE "$PACKAGE"
2607 cat >>confdefs.h <<_ACEOF
2608 #define VERSION "$VERSION"
2611 # Some tools Automake needs.
2613 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2616 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2619 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2622 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2625 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2627 # We need awk for the "check" target. The system "awk" is bad on
2629 # Always define AMTAR for backward compatibility. Yes, it's still used
2630 # in the wild :-( We should find a proper way to deprecate it ...
2633 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2641 ac_config_headers="$ac_config_headers config.h"
2644 # Checks for programs.
2646 ac_cpp='$CPP $CPPFLAGS'
2647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2650 if test -n "$ac_tool_prefix"; then
2651 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2652 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_CC+:} false; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC="$CC" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$CC"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2681 $as_echo "$CC" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2689 if test -z "$ac_cv_prog_CC"; then
2691 # Extract the first word of "gcc", so it can be a program name with args.
2692 set dummy gcc; ac_word=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$ac_ct_CC"; then
2699 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir=.
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_ac_ct_CC="gcc"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2719 if test -n "$ac_ct_CC"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2721 $as_echo "$ac_ct_CC" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2727 if test "x$ac_ct_CC" = x; then
2730 case $cross_compiling:$ac_tool_warned in
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2734 ac_tool_warned=yes ;;
2742 if test -z "$CC"; then
2743 if test -n "$ac_tool_prefix"; then
2744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2745 set dummy ${ac_tool_prefix}cc; ac_word=$2
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747 $as_echo_n "checking for $ac_word... " >&6; }
2748 if ${ac_cv_prog_CC+:} false; then :
2749 $as_echo_n "(cached) " >&6
2751 if test -n "$CC"; then
2752 ac_cv_prog_CC="$CC" # Let the user override the test.
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir=.
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 ac_cv_prog_CC="${ac_tool_prefix}cc"
2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 if test -n "$CC"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2774 $as_echo "$CC" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2783 if test -z "$CC"; then
2784 # Extract the first word of "cc", so it can be a program name with args.
2785 set dummy cc; ac_word=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if ${ac_cv_prog_CC+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$CC"; then
2792 ac_cv_prog_CC="$CC" # Let the user override the test.
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir=.
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2802 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2803 ac_prog_rejected=yes
2807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test $ac_prog_rejected = yes; then
2815 # We found a bogon in the path, so make sure we never use it.
2816 set dummy $ac_cv_prog_CC
2818 if test $# != 0; then
2819 # We chose a different compiler from the bogus one.
2820 # However, it has the same basename, so the bogon will be chosen
2821 # first if we set CC to just the basename; use the full file name.
2823 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2829 if test -n "$CC"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2831 $as_echo "$CC" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2839 if test -z "$CC"; then
2840 if test -n "$ac_tool_prefix"; then
2841 for ac_prog in cl.exe
2843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if ${ac_cv_prog_CC+:} false; then :
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$CC"; then
2851 ac_cv_prog_CC="$CC" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 if test -n "$CC"; then
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2873 $as_echo "$CC" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2880 test -n "$CC" && break
2883 if test -z "$CC"; then
2885 for ac_prog in cl.exe
2887 # Extract the first word of "$ac_prog", so it can be a program name with args.
2888 set dummy $ac_prog; ac_word=$2
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890 $as_echo_n "checking for $ac_word... " >&6; }
2891 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2892 $as_echo_n "(cached) " >&6
2894 if test -n "$ac_ct_CC"; then
2895 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2901 test -z "$as_dir" && as_dir=.
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2904 ac_cv_prog_ac_ct_CC="$ac_prog"
2905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2915 if test -n "$ac_ct_CC"; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2917 $as_echo "$ac_ct_CC" >&6; }
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2924 test -n "$ac_ct_CC" && break
2927 if test "x$ac_ct_CC" = x; then
2930 case $cross_compiling:$ac_tool_warned in
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2934 ac_tool_warned=yes ;;
2943 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2945 as_fn_error $? "no acceptable C compiler found in \$PATH
2946 See \`config.log' for more details" "$LINENO" 5; }
2948 # Provide some information about the compiler.
2949 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2952 for ac_option in --version -v -V -qversion; do
2953 { { ac_try="$ac_compiler $ac_option >&5"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959 $as_echo "$ac_try_echo"; } >&5
2960 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2962 if test -s conftest.err; then
2964 ... rest of stderr output deleted ...
2965 10q' conftest.err >conftest.er1
2966 cat conftest.er1 >&5
2968 rm -f conftest.er1 conftest.err
2969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2970 test $ac_status = 0; }
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2984 ac_clean_files_save=$ac_clean_files
2985 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2986 # Try to create an executable without -o first, disregard a.out.
2987 # It will help us diagnose broken compilers, and finding out an intuition
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2990 $as_echo_n "checking whether the C compiler works... " >&6; }
2991 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2993 # The possible output files:
2994 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2997 for ac_file in $ac_files
3000 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3001 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3006 if { { ac_try="$ac_link_default"
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012 $as_echo "$ac_try_echo"; } >&5
3013 (eval "$ac_link_default") 2>&5
3015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016 test $ac_status = 0; }; then :
3017 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3018 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3019 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3020 # so that the user can short-circuit this test for compilers unknown to
3022 for ac_file in $ac_files ''
3024 test -f "$ac_file" || continue
3026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3029 # We found the default executable, but exeext='' is most
3033 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3035 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3037 # We set ac_cv_exeext here because the later test for it is not
3038 # safe: cross compilers may not add the suffix if given an `-o'
3039 # argument, so we may need to know it at that point already.
3040 # Even if this section looks crufty: it has the advantage of
3047 test "$ac_cv_exeext" = no && ac_cv_exeext=
3052 if test -z "$ac_file"; then :
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3055 $as_echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3060 as_fn_error 77 "C compiler cannot create executables
3061 See \`config.log' for more details" "$LINENO" 5; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3064 $as_echo "yes" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3067 $as_echo_n "checking for C compiler default output file name... " >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3069 $as_echo "$ac_file" >&6; }
3070 ac_exeext=$ac_cv_exeext
3072 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3073 ac_clean_files=$ac_clean_files_save
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3075 $as_echo_n "checking for suffix of executables... " >&6; }
3076 if { { ac_try="$ac_link"
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_link") 2>&5
3085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3086 test $ac_status = 0; }; then :
3087 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3088 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3089 # work properly (i.e., refer to `conftest.exe'), while it won't with
3091 for ac_file in conftest.exe conftest conftest.*; do
3092 test -f "$ac_file" || continue
3094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3095 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3104 See \`config.log' for more details" "$LINENO" 5; }
3106 rm -f conftest conftest$ac_cv_exeext
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3108 $as_echo "$ac_cv_exeext" >&6; }
3110 rm -f conftest.$ac_ext
3111 EXEEXT=$ac_cv_exeext
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3119 FILE *f = fopen ("conftest.out", "w");
3120 return ferror (f) || fclose (f) != 0;
3126 ac_clean_files="$ac_clean_files conftest.out"
3127 # Check that the compiler produces executables we can run. If not, either
3128 # the compiler is broken, or we cross compile.
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3130 $as_echo_n "checking whether we are cross compiling... " >&6; }
3131 if test "$cross_compiling" != yes; then
3132 { { ac_try="$ac_link"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_link") 2>&5
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; }
3143 if { ac_try='./conftest$ac_cv_exeext'
3144 { { case "(($ac_try" in
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3149 $as_echo "$ac_try_echo"; } >&5
3150 (eval "$ac_try") 2>&5
3152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3153 test $ac_status = 0; }; }; then
3156 if test "$cross_compiling" = maybe; then
3159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 as_fn_error $? "cannot run C compiled programs.
3162 If you meant to cross compile, use \`--host'.
3163 See \`config.log' for more details" "$LINENO" 5; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3168 $as_echo "$cross_compiling" >&6; }
3170 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3171 ac_clean_files=$ac_clean_files_save
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3173 $as_echo_n "checking for suffix of object files... " >&6; }
3174 if ${ac_cv_objext+:} false; then :
3175 $as_echo_n "(cached) " >&6
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3188 rm -f conftest.o conftest.obj
3189 if { { ac_try="$ac_compile"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_compile") 2>&5
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; then :
3200 for ac_file in conftest.o conftest.obj conftest.*; do
3201 test -f "$ac_file" || continue;
3203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3204 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3209 $as_echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error $? "cannot compute suffix of object files: cannot compile
3215 See \`config.log' for more details" "$LINENO" 5; }
3217 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3220 $as_echo "$ac_cv_objext" >&6; }
3221 OBJEXT=$ac_cv_objext
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3224 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3225 if ${ac_cv_c_compiler_gnu+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3242 if ac_fn_c_try_compile "$LINENO"; then :
3247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3248 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3252 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3253 if test $ac_compiler_gnu = yes; then
3258 ac_test_CFLAGS=${CFLAGS+set}
3259 ac_save_CFLAGS=$CFLAGS
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3261 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3262 if ${ac_cv_prog_cc_g+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 ac_save_c_werror_flag=$ac_c_werror_flag
3266 ac_c_werror_flag=yes
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3280 if ac_fn_c_try_compile "$LINENO"; then :
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 if ac_fn_c_try_compile "$LINENO"; then :
3298 ac_c_werror_flag=$ac_save_c_werror_flag
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3311 if ac_fn_c_try_compile "$LINENO"; then :
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 ac_c_werror_flag=$ac_save_c_werror_flag
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3322 $as_echo "$ac_cv_prog_cc_g" >&6; }
3323 if test "$ac_test_CFLAGS" = set; then
3324 CFLAGS=$ac_save_CFLAGS
3325 elif test $ac_cv_prog_cc_g = yes; then
3326 if test "$GCC" = yes; then
3332 if test "$GCC" = yes; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3339 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3340 if ${ac_cv_prog_cc_c89+:} false; then :
3341 $as_echo_n "(cached) " >&6
3343 ac_cv_prog_cc_c89=no
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3349 #include <sys/types.h>
3350 #include <sys/stat.h>
3351 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3352 struct buf { int x; };
3353 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3354 static char *e (p, i)
3360 static char *f (char * (*g) (char **, int), char **p, ...)
3365 s = g (p, va_arg (v,int));
3370 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3371 function prototypes and stuff, but not '\xHH' hex character constants.
3372 These don't provoke an error unfortunately, instead are silently treated
3373 as 'x'. The following induces an error, until -std is added to get
3374 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3375 array size at least. It's necessary to write '\x00'==0 to get something
3376 that's true only with -std. */
3377 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3379 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3380 inside strings and character constants. */
3382 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3384 int test (int i, double x);
3385 struct s1 {int (*f) (int a);};
3386 struct s2 {int (*f) (double a);};
3387 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3393 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3398 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3399 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3401 CC="$ac_save_CC $ac_arg"
3402 if ac_fn_c_try_compile "$LINENO"; then :
3403 ac_cv_prog_cc_c89=$ac_arg
3405 rm -f core conftest.err conftest.$ac_objext
3406 test "x$ac_cv_prog_cc_c89" != "xno" && break
3408 rm -f conftest.$ac_ext
3413 case "x$ac_cv_prog_cc_c89" in
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3416 $as_echo "none needed" >&6; } ;;
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3419 $as_echo "unsupported" >&6; } ;;
3421 CC="$CC $ac_cv_prog_cc_c89"
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3423 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3425 if test "x$ac_cv_prog_cc_c89" != xno; then :
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 DEPDIR="${am__leading_dot}deps"
3436 ac_config_commands="$ac_config_commands depfiles"
3439 am_make=${MAKE-make}
3440 cat > confinc << 'END'
3442 @echo this is the am__doit target
3445 # If we don't find an include directive, just comment out the code.
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3447 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3451 # First try GNU make style include.
3452 echo "include confinc" > confmf
3453 # Ignore all kinds of additional output from `make'.
3454 case `$am_make -s -f confmf 2> /dev/null` in #(
3455 *the\ am__doit\ target*)
3461 # Now try BSD make style include.
3462 if test "$am__include" = "#"; then
3463 echo '.include "confinc"' > confmf
3464 case `$am_make -s -f confmf 2> /dev/null` in #(
3465 *the\ am__doit\ target*)
3466 am__include=.include
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3475 $as_echo "$_am_result" >&6; }
3476 rm -f confinc confmf
3478 # Check whether --enable-dependency-tracking was given.
3479 if test "${enable_dependency_tracking+set}" = set; then :
3480 enableval=$enable_dependency_tracking;
3483 if test "x$enable_dependency_tracking" != xno; then
3484 am_depcomp="$ac_aux_dir/depcomp"
3488 if test "x$enable_dependency_tracking" != xno; then
3498 depcc="$CC" am_compiler_list=
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3501 $as_echo_n "checking dependency style of $depcc... " >&6; }
3502 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3503 $as_echo_n "(cached) " >&6
3505 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3506 # We make a subdir and do the tests there. Otherwise we can end up
3507 # making bogus files that we don't know about and never remove. For
3508 # instance it was reported that on HP-UX the gcc test will end up
3509 # making a dummy file named `D' -- because `-MD' means `put the output
3513 # Copy depcomp to subdir because otherwise we won't find it if we're
3514 # using a relative directory.
3515 cp "$am_depcomp" conftest.dir
3517 # We will build objects and dependencies in a subdirectory because
3518 # it helps to detect inapplicable dependency modes. For instance
3519 # both Tru64's cc and ICC support -MD to output dependencies as a
3520 # side effect of compilation, but ICC will put the dependencies in
3521 # the current directory while Tru64 will put them in the object
3525 am_cv_CC_dependencies_compiler_type=none
3526 if test "$am_compiler_list" = ""; then
3527 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3530 case " $depcc " in #(
3531 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3534 for depmode in $am_compiler_list; do
3535 # Setup a source with many dependencies, because some compilers
3536 # like to wrap large dependency lists on column 80 (with \), and
3537 # we should not choose a depcomp mode which is confused by this.
3539 # We need to recreate these files for each test, as the compiler may
3540 # overwrite some of them when testing with obscure command lines.
3541 # This happens at least with the AIX C compiler.
3543 for i in 1 2 3 4 5 6; do
3544 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3545 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3546 # Solaris 8's {/usr,}/bin/sh.
3547 touch sub/conftst$i.h
3549 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3551 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3552 # mode. It turns out that the SunPro C++ compiler does not properly
3553 # handle `-M -o', and we need to detect this. Also, some Intel
3554 # versions had trouble with output in subdirs
3555 am__obj=sub/conftest.${OBJEXT-o}
3556 am__minus_obj="-o $am__obj"
3559 # This depmode causes a compiler race in universal mode.
3560 test "$am__universal" = false || continue
3563 # after this tag, mechanisms are not by side-effect, so they'll
3564 # only be used when explicitly requested
3565 if test "x$enable_dependency_tracking" = xyes; then
3571 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3572 # This compiler won't grok `-c -o', but also, the minuso test has
3573 # not run yet. These depmodes are late enough in the game, and
3574 # so weak that their functioning should not be impacted.
3575 am__obj=conftest.${OBJEXT-o}
3580 if depmode=$depmode \
3581 source=sub/conftest.c object=$am__obj \
3582 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3583 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3584 >/dev/null 2>conftest.err &&
3585 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3586 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3587 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3588 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3589 # icc doesn't choke on unknown options, it will just issue warnings
3590 # or remarks (even with -Werror). So we grep stderr for any message
3591 # that says an option was ignored or not supported.
3592 # When given -MP, icc 7.0 and 7.1 complain thusly:
3593 # icc: Command line warning: ignoring option '-M'; no argument required
3594 # The diagnosis changed in icc 8.0:
3595 # icc: Command line remark: option '-MP' not supported
3596 if (grep 'ignoring option' conftest.err ||
3597 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3598 am_cv_CC_dependencies_compiler_type=$depmode
3607 am_cv_CC_dependencies_compiler_type=none
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3612 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3613 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3616 test "x$enable_dependency_tracking" != xno \
3617 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3619 am__fastdepCC_FALSE='#'
3621 am__fastdepCC_TRUE='#'
3622 am__fastdepCC_FALSE=
3626 if test "x$CC" != xcc; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3628 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3631 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3633 set dummy $CC; ac_cc=`$as_echo "$2" |
3634 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3635 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3636 $as_echo_n "(cached) " >&6
3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3649 # Make sure it works both with $CC and with simple cc.
3650 # We do the test twice because some compilers refuse to overwrite an
3651 # existing .o file with -o, though they will create one.
3652 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3654 if { { case "(($ac_try" in
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659 $as_echo "$ac_try_echo"; } >&5
3660 (eval "$ac_try") 2>&5
3662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663 test $ac_status = 0; } &&
3664 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_try") 2>&5
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; };
3675 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3676 if test "x$CC" != xcc; then
3677 # Test first that cc exists at all.
3678 if { ac_try='cc -c conftest.$ac_ext >&5'
3679 { { case "(($ac_try" in
3680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3684 $as_echo "$ac_try_echo"; } >&5
3685 (eval "$ac_try") 2>&5
3687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3688 test $ac_status = 0; }; }; then
3689 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3691 if { { case "(($ac_try" in
3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693 *) ac_try_echo=$ac_try;;
3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696 $as_echo "$ac_try_echo"; } >&5
3697 (eval "$ac_try") 2>&5
3699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3700 test $ac_status = 0; } &&
3701 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3706 $as_echo "$ac_try_echo"; } >&5
3707 (eval "$ac_try") 2>&5
3709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3710 test $ac_status = 0; };
3715 # cc exists but doesn't like -o.
3716 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3721 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3723 rm -f core conftest*
3726 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3728 $as_echo "yes" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3733 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3737 # FIXME: we rely on the cache variable name because
3738 # there is no other way.
3740 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3741 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3742 if test "$am_t" != yes; then
3743 # Losing compiler, so override with the script.
3744 # FIXME: It is wrong to rewrite CC.
3745 # But if we don't then we get into trouble of one sort or another.
3746 # A longer-term fix would be to have automake use am__CC in this case,
3747 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3748 CC="$am_aux_dir/compile $CC"
3754 if test -n "$ac_tool_prefix"; then
3755 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3756 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 $as_echo_n "checking for $ac_word... " >&6; }
3759 if ${ac_cv_prog_RANLIB+:} false; then :
3760 $as_echo_n "(cached) " >&6
3762 if test -n "$RANLIB"; then
3763 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3769 test -z "$as_dir" && as_dir=.
3770 for ac_exec_ext in '' $ac_executable_extensions; do
3771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3772 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 RANLIB=$ac_cv_prog_RANLIB
3783 if test -n "$RANLIB"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3785 $as_echo "$RANLIB" >&6; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3793 if test -z "$ac_cv_prog_RANLIB"; then
3794 ac_ct_RANLIB=$RANLIB
3795 # Extract the first word of "ranlib", so it can be a program name with args.
3796 set dummy ranlib; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$ac_ct_RANLIB"; then
3803 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 ac_cv_prog_ac_ct_RANLIB="ranlib"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3823 if test -n "$ac_ct_RANLIB"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3825 $as_echo "$ac_ct_RANLIB" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3831 if test "x$ac_ct_RANLIB" = x; then
3834 case $cross_compiling:$ac_tool_warned in
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3838 ac_tool_warned=yes ;;
3840 RANLIB=$ac_ct_RANLIB
3843 RANLIB="$ac_cv_prog_RANLIB"
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3851 $as_echo_n "checking whether NLS is requested... " >&6; }
3852 # Check whether --enable-nls was given.
3853 if test "${enable_nls+set}" = set; then :
3854 enableval=$enable_nls; USE_NLS=$enableval
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3860 $as_echo "$USE_NLS" >&6; }
3865 GETTEXT_MACRO_VERSION=0.18
3870 # Prepare PATH_SEPARATOR.
3871 # The user is always right.
3872 if test "${PATH_SEPARATOR+set}" != set; then
3873 echo "#! /bin/sh" >conf$$.sh
3874 echo "exit 0" >>conf$$.sh
3876 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3884 # Find out how to test for executable files. Don't use a zero-byte file,
3885 # as systems may use methods other than mode bits to determine executability.
3886 cat >conf$$.file <<_ASEOF
3890 chmod +x conf$$.file
3891 if test -x conf$$.file >/dev/null 2>&1; then
3892 ac_executable_p="test -x"
3894 ac_executable_p="test -f"
3898 # Extract the first word of "msgfmt", so it can be a program name with args.
3899 set dummy msgfmt; ac_word=$2
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 $as_echo_n "checking for $ac_word... " >&6; }
3902 if ${ac_cv_path_MSGFMT+:} false; then :
3903 $as_echo_n "(cached) " >&6
3907 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3910 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3911 for ac_dir in $PATH; do
3913 test -z "$ac_dir" && ac_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3916 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3917 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3918 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3919 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3926 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3930 MSGFMT="$ac_cv_path_MSGFMT"
3931 if test "$MSGFMT" != ":"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3933 $as_echo "$MSGFMT" >&6; }
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3939 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3940 set dummy gmsgfmt; ac_word=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if ${ac_cv_path_GMSGFMT+:} false; then :
3944 $as_echo_n "(cached) " >&6
3948 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 test -z "$as_dir" && as_dir=.
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3958 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3970 GMSGFMT=$ac_cv_path_GMSGFMT
3971 if test -n "$GMSGFMT"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3973 $as_echo "$GMSGFMT" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3981 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3982 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3983 *) MSGFMT_015=$MSGFMT ;;
3986 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3987 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3988 *) GMSGFMT_015=$GMSGFMT ;;
3993 # Prepare PATH_SEPARATOR.
3994 # The user is always right.
3995 if test "${PATH_SEPARATOR+set}" != set; then
3996 echo "#! /bin/sh" >conf$$.sh
3997 echo "exit 0" >>conf$$.sh
3999 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4007 # Find out how to test for executable files. Don't use a zero-byte file,
4008 # as systems may use methods other than mode bits to determine executability.
4009 cat >conf$$.file <<_ASEOF
4013 chmod +x conf$$.file
4014 if test -x conf$$.file >/dev/null 2>&1; then
4015 ac_executable_p="test -x"
4017 ac_executable_p="test -f"
4021 # Extract the first word of "xgettext", so it can be a program name with args.
4022 set dummy xgettext; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_path_XGETTEXT+:} false; then :
4026 $as_echo_n "(cached) " >&6
4030 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4033 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4034 for ac_dir in $PATH; do
4036 test -z "$ac_dir" && ac_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4039 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4040 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4041 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4042 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4049 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4053 XGETTEXT="$ac_cv_path_XGETTEXT"
4054 if test "$XGETTEXT" != ":"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4056 $as_echo "$XGETTEXT" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4064 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4065 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4066 *) XGETTEXT_015=$XGETTEXT ;;
4071 # Prepare PATH_SEPARATOR.
4072 # The user is always right.
4073 if test "${PATH_SEPARATOR+set}" != set; then
4074 echo "#! /bin/sh" >conf$$.sh
4075 echo "exit 0" >>conf$$.sh
4077 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4085 # Find out how to test for executable files. Don't use a zero-byte file,
4086 # as systems may use methods other than mode bits to determine executability.
4087 cat >conf$$.file <<_ASEOF
4091 chmod +x conf$$.file
4092 if test -x conf$$.file >/dev/null 2>&1; then
4093 ac_executable_p="test -x"
4095 ac_executable_p="test -f"
4099 # Extract the first word of "msgmerge", so it can be a program name with args.
4100 set dummy msgmerge; ac_word=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_path_MSGMERGE+:} false; then :
4104 $as_echo_n "(cached) " >&6
4108 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4111 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4112 for ac_dir in $PATH; do
4114 test -z "$ac_dir" && ac_dir=.
4115 for ac_exec_ext in '' $ac_executable_extensions; do
4116 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4117 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4118 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4119 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4126 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4130 MSGMERGE="$ac_cv_path_MSGMERGE"
4131 if test "$MSGMERGE" != ":"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4133 $as_echo "$MSGMERGE" >&6; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4140 test -n "$localedir" || localedir='${datadir}/locale'
4143 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4146 ac_config_commands="$ac_config_commands po-directories"
4150 if test "X$prefix" = "XNONE"; then
4151 acl_final_prefix="$ac_default_prefix"
4153 acl_final_prefix="$prefix"
4155 if test "X$exec_prefix" = "XNONE"; then
4156 acl_final_exec_prefix='${prefix}'
4158 acl_final_exec_prefix="$exec_prefix"
4160 acl_save_prefix="$prefix"
4161 prefix="$acl_final_prefix"
4162 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4163 prefix="$acl_save_prefix"
4165 # Make sure we can run config.sub.
4166 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4167 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4170 $as_echo_n "checking build system type... " >&6; }
4171 if ${ac_cv_build+:} false; then :
4172 $as_echo_n "(cached) " >&6
4174 ac_build_alias=$build_alias
4175 test "x$ac_build_alias" = x &&
4176 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4177 test "x$ac_build_alias" = x &&
4178 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4179 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4180 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4184 $as_echo "$ac_cv_build" >&6; }
4185 case $ac_cv_build in
4187 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4190 ac_save_IFS=$IFS; IFS='-'
4196 # Remember, the first character of IFS is used to create $*,
4197 # except with old shells:
4200 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4204 $as_echo_n "checking host system type... " >&6; }
4205 if ${ac_cv_host+:} false; then :
4206 $as_echo_n "(cached) " >&6
4208 if test "x$host_alias" = x; then
4209 ac_cv_host=$ac_cv_build
4211 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4212 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4217 $as_echo "$ac_cv_host" >&6; }
4220 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4223 ac_save_IFS=$IFS; IFS='-'
4229 # Remember, the first character of IFS is used to create $*,
4230 # except with old shells:
4233 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4237 # Check whether --with-gnu-ld was given.
4238 if test "${with_gnu_ld+set}" = set; then :
4239 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4244 # Prepare PATH_SEPARATOR.
4245 # The user is always right.
4246 if test "${PATH_SEPARATOR+set}" != set; then
4247 echo "#! /bin/sh" >conf$$.sh
4248 echo "exit 0" >>conf$$.sh
4250 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4258 if test "$GCC" = yes; then
4259 # Check if gcc -print-prog-name=ld gives a path.
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4261 $as_echo_n "checking for ld used by GCC... " >&6; }
4264 # gcc leaves a trailing carriage return which upsets mingw
4265 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4267 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4270 # Accept absolute paths.
4271 [\\/]* | [A-Za-z]:[\\/]*)
4272 re_direlt='/[^/][^/]*/\.\./'
4273 # Canonicalize the path of ld
4274 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4275 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4276 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4278 test -z "$LD" && LD="$ac_prog"
4281 # If it fails, then pretend we aren't using GCC.
4285 # If it is relative, then search for the first ld in PATH.
4289 elif test "$with_gnu_ld" = yes; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4291 $as_echo_n "checking for GNU ld... " >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4294 $as_echo_n "checking for non-GNU ld... " >&6; }
4296 if ${acl_cv_path_LD+:} false; then :
4297 $as_echo_n "(cached) " >&6
4299 if test -z "$LD"; then
4300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4301 for ac_dir in $PATH; do
4302 test -z "$ac_dir" && ac_dir=.
4303 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4304 acl_cv_path_LD="$ac_dir/$ac_prog"
4305 # Check to see if the program is GNU ld. I'd rather use --version,
4306 # but apparently some GNU ld's only accept -v.
4307 # Break only if it was the GNU/non-GNU ld that we prefer.
4308 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4309 *GNU* | *'with BFD'*)
4310 test "$with_gnu_ld" != no && break ;;
4312 test "$with_gnu_ld" != yes && break ;;
4318 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4322 LD="$acl_cv_path_LD"
4323 if test -n "$LD"; then
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4325 $as_echo "$LD" >&6; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4330 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4332 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4333 if ${acl_cv_prog_gnu_ld+:} false; then :
4334 $as_echo_n "(cached) " >&6
4336 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4337 case `$LD -v 2>&1 </dev/null` in
4338 *GNU* | *'with BFD'*)
4339 acl_cv_prog_gnu_ld=yes ;;
4341 acl_cv_prog_gnu_ld=no ;;
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4345 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4346 with_gnu_ld=$acl_cv_prog_gnu_ld
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4352 $as_echo_n "checking for shared library run path origin... " >&6; }
4353 if ${acl_cv_rpath+:} false; then :
4354 $as_echo_n "(cached) " >&6
4357 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4358 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4365 $as_echo "$acl_cv_rpath" >&6; }
4367 acl_libext="$acl_cv_libext"
4368 acl_shlibext="$acl_cv_shlibext"
4369 acl_libname_spec="$acl_cv_libname_spec"
4370 acl_library_names_spec="$acl_cv_library_names_spec"
4371 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4372 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4373 acl_hardcode_direct="$acl_cv_hardcode_direct"
4374 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4375 # Check whether --enable-rpath was given.
4376 if test "${enable_rpath+set}" = set; then :
4377 enableval=$enable_rpath; :
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4390 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4391 # On Suns, sometimes $CPP names a directory.
4392 if test -n "$CPP" && test -d "$CPP"; then
4395 if test -z "$CPP"; then
4396 if ${ac_cv_prog_CPP+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 # Double quotes because CPP needs to be expanded
4400 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4403 for ac_c_preproc_warn_flag in '' yes
4405 # Use a header file that comes with gcc, so configuring glibc
4406 # with a fresh cross-compiler works.
4407 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4408 # <limits.h> exists even on freestanding compilers.
4409 # On the NeXT, cc -E runs the code through the compiler's parser,
4410 # not just through cpp. "Syntax error" is here to catch this case.
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4414 # include <limits.h>
4416 # include <assert.h>
4420 if ac_fn_c_try_cpp "$LINENO"; then :
4423 # Broken: fails on valid input.
4426 rm -f conftest.err conftest.i conftest.$ac_ext
4428 # OK, works on sane cases. Now check whether nonexistent headers
4429 # can be detected and how.
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4432 #include <ac_nonexistent.h>
4434 if ac_fn_c_try_cpp "$LINENO"; then :
4435 # Broken: success on invalid input.
4438 # Passes both tests.
4442 rm -f conftest.err conftest.i conftest.$ac_ext
4445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4446 rm -f conftest.i conftest.err conftest.$ac_ext
4447 if $ac_preproc_ok; then :
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4460 $as_echo "$CPP" >&6; }
4462 for ac_c_preproc_warn_flag in '' yes
4464 # Use a header file that comes with gcc, so configuring glibc
4465 # with a fresh cross-compiler works.
4466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4467 # <limits.h> exists even on freestanding compilers.
4468 # On the NeXT, cc -E runs the code through the compiler's parser,
4469 # not just through cpp. "Syntax error" is here to catch this case.
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4473 # include <limits.h>
4475 # include <assert.h>
4479 if ac_fn_c_try_cpp "$LINENO"; then :
4482 # Broken: fails on valid input.
4485 rm -f conftest.err conftest.i conftest.$ac_ext
4487 # OK, works on sane cases. Now check whether nonexistent headers
4488 # can be detected and how.
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4491 #include <ac_nonexistent.h>
4493 if ac_fn_c_try_cpp "$LINENO"; then :
4494 # Broken: success on invalid input.
4497 # Passes both tests.
4501 rm -f conftest.err conftest.i conftest.$ac_ext
4504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4505 rm -f conftest.i conftest.err conftest.$ac_ext
4506 if $ac_preproc_ok; then :
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4512 See \`config.log' for more details" "$LINENO" 5; }
4516 ac_cpp='$CPP $CPPFLAGS'
4517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4523 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4524 if ${ac_cv_path_GREP+:} false; then :
4525 $as_echo_n "(cached) " >&6
4527 if test -z "$GREP"; then
4528 ac_path_GREP_found=false
4529 # Loop through the user's path and test for each of PROGNAME-LIST
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4534 test -z "$as_dir" && as_dir=.
4535 for ac_prog in grep ggrep; do
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4538 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4539 # Check for GNU ac_path_GREP and select it if it is found.
4540 # Check for GNU $ac_path_GREP
4541 case `"$ac_path_GREP" --version 2>&1` in
4543 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4546 $as_echo_n 0123456789 >"conftest.in"
4549 cat "conftest.in" "conftest.in" >"conftest.tmp"
4550 mv "conftest.tmp" "conftest.in"
4551 cp "conftest.in" "conftest.nl"
4552 $as_echo 'GREP' >> "conftest.nl"
4553 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555 as_fn_arith $ac_count + 1 && ac_count=$as_val
4556 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4557 # Best one so far, save it but keep looking for a better one
4558 ac_cv_path_GREP="$ac_path_GREP"
4559 ac_path_GREP_max=$ac_count
4561 # 10*(2^10) chars as input seems more than enough
4562 test $ac_count -gt 10 && break
4564 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4567 $ac_path_GREP_found && break 3
4572 if test -z "$ac_cv_path_GREP"; then
4573 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4576 ac_cv_path_GREP=$GREP
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4581 $as_echo "$ac_cv_path_GREP" >&6; }
4582 GREP="$ac_cv_path_GREP"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4586 $as_echo_n "checking for egrep... " >&6; }
4587 if ${ac_cv_path_EGREP+:} false; then :
4588 $as_echo_n "(cached) " >&6
4590 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4591 then ac_cv_path_EGREP="$GREP -E"
4593 if test -z "$EGREP"; then
4594 ac_path_EGREP_found=false
4595 # Loop through the user's path and test for each of PROGNAME-LIST
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4600 test -z "$as_dir" && as_dir=.
4601 for ac_prog in egrep; do
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4604 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4605 # Check for GNU ac_path_EGREP and select it if it is found.
4606 # Check for GNU $ac_path_EGREP
4607 case `"$ac_path_EGREP" --version 2>&1` in
4609 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4612 $as_echo_n 0123456789 >"conftest.in"
4615 cat "conftest.in" "conftest.in" >"conftest.tmp"
4616 mv "conftest.tmp" "conftest.in"
4617 cp "conftest.in" "conftest.nl"
4618 $as_echo 'EGREP' >> "conftest.nl"
4619 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4620 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4621 as_fn_arith $ac_count + 1 && ac_count=$as_val
4622 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4623 # Best one so far, save it but keep looking for a better one
4624 ac_cv_path_EGREP="$ac_path_EGREP"
4625 ac_path_EGREP_max=$ac_count
4627 # 10*(2^10) chars as input seems more than enough
4628 test $ac_count -gt 10 && break
4630 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4633 $ac_path_EGREP_found && break 3
4638 if test -z "$ac_cv_path_EGREP"; then
4639 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4642 ac_cv_path_EGREP=$EGREP
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4648 $as_echo "$ac_cv_path_EGREP" >&6; }
4649 EGREP="$ac_cv_path_EGREP"
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4659 $as_echo_n "checking for 64-bit host... " >&6; }
4660 if ${gl_cv_solaris_64bit+:} false; then :
4661 $as_echo_n "(cached) " >&6
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4672 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4673 gl_cv_solaris_64bit=yes
4675 gl_cv_solaris_64bit=no
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4682 $as_echo "$gl_cv_solaris_64bit" >&6; }
4683 if test $gl_cv_solaris_64bit = yes; then
4684 acl_libdirstem=lib/64
4686 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4687 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4692 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4693 if test -n "$searchpath"; then
4694 acl_save_IFS="${IFS= }"; IFS=":"
4695 for searchdir in $searchpath; do
4696 if test -d "$searchdir"; then
4697 case "$searchdir" in
4698 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4700 # Better ignore directories of this form. They are misleading.
4702 *) searchdir=`cd "$searchdir" && pwd`
4703 case "$searchdir" in
4704 */lib64 ) acl_libdirstem=lib64 ;;
4713 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4728 acl_save_prefix="$prefix"
4729 prefix="$acl_final_prefix"
4730 acl_save_exec_prefix="$exec_prefix"
4731 exec_prefix="$acl_final_exec_prefix"
4733 eval additional_includedir=\"$includedir\"
4734 eval additional_libdir=\"$libdir\"
4736 exec_prefix="$acl_save_exec_prefix"
4737 prefix="$acl_save_prefix"
4740 # Check whether --with-libiconv-prefix was given.
4741 if test "${with_libiconv_prefix+set}" = set; then :
4742 withval=$with_libiconv_prefix;
4743 if test "X$withval" = "Xno"; then
4746 if test "X$withval" = "X"; then
4748 acl_save_prefix="$prefix"
4749 prefix="$acl_final_prefix"
4750 acl_save_exec_prefix="$exec_prefix"
4751 exec_prefix="$acl_final_exec_prefix"
4753 eval additional_includedir=\"$includedir\"
4754 eval additional_libdir=\"$libdir\"
4756 exec_prefix="$acl_save_exec_prefix"
4757 prefix="$acl_save_prefix"
4760 additional_includedir="$withval/include"
4761 additional_libdir="$withval/$acl_libdirstem"
4762 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4763 && ! test -d "$withval/$acl_libdirstem"; then
4764 additional_libdir="$withval/$acl_libdirstem2"
4778 names_already_handled=
4779 names_next_round='iconv '
4780 while test -n "$names_next_round"; do
4781 names_this_round="$names_next_round"
4783 for name in $names_this_round; do
4785 for n in $names_already_handled; do
4786 if test "$n" = "$name"; then
4791 if test -z "$already_handled"; then
4792 names_already_handled="$names_already_handled $name"
4793 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4794 eval value=\"\$HAVE_LIB$uppername\"
4795 if test -n "$value"; then
4796 if test "$value" = yes; then
4797 eval value=\"\$LIB$uppername\"
4798 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4799 eval value=\"\$LTLIB$uppername\"
4800 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4809 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4810 if test -n "$acl_shlibext"; then
4811 shrext=".$acl_shlibext" # typically: shrext=.so
4815 if test $use_additional = yes; then
4816 dir="$additional_libdir"
4817 if test -n "$acl_shlibext"; then
4818 if test -f "$dir/$libname$shrext"; then
4820 found_so="$dir/$libname$shrext"
4822 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4823 ver=`(cd "$dir" && \
4824 for f in "$libname$shrext".*; do echo "$f"; done \
4825 | sed -e "s,^$libname$shrext\\\\.,," \
4826 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4827 | sed 1q ) 2>/dev/null`
4828 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4830 found_so="$dir/$libname$shrext.$ver"
4833 eval library_names=\"$acl_library_names_spec\"
4834 for f in $library_names; do
4835 if test -f "$dir/$f"; then
4844 if test "X$found_dir" = "X"; then
4845 if test -f "$dir/$libname.$acl_libext"; then
4847 found_a="$dir/$libname.$acl_libext"
4850 if test "X$found_dir" != "X"; then
4851 if test -f "$dir/$libname.la"; then
4852 found_la="$dir/$libname.la"
4856 if test "X$found_dir" = "X"; then
4857 for x in $LDFLAGS $LTLIBICONV; do
4859 acl_save_prefix="$prefix"
4860 prefix="$acl_final_prefix"
4861 acl_save_exec_prefix="$exec_prefix"
4862 exec_prefix="$acl_final_exec_prefix"
4864 exec_prefix="$acl_save_exec_prefix"
4865 prefix="$acl_save_prefix"
4869 dir=`echo "X$x" | sed -e 's/^X-L//'`
4870 if test -n "$acl_shlibext"; then
4871 if test -f "$dir/$libname$shrext"; then
4873 found_so="$dir/$libname$shrext"
4875 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4876 ver=`(cd "$dir" && \
4877 for f in "$libname$shrext".*; do echo "$f"; done \
4878 | sed -e "s,^$libname$shrext\\\\.,," \
4879 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4880 | sed 1q ) 2>/dev/null`
4881 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4883 found_so="$dir/$libname$shrext.$ver"
4886 eval library_names=\"$acl_library_names_spec\"
4887 for f in $library_names; do
4888 if test -f "$dir/$f"; then
4897 if test "X$found_dir" = "X"; then
4898 if test -f "$dir/$libname.$acl_libext"; then
4900 found_a="$dir/$libname.$acl_libext"
4903 if test "X$found_dir" != "X"; then
4904 if test -f "$dir/$libname.la"; then
4905 found_la="$dir/$libname.la"
4910 if test "X$found_dir" != "X"; then
4915 if test "X$found_dir" != "X"; then
4916 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4917 if test "X$found_so" != "X"; then
4918 if test "$enable_rpath" = no \
4919 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
4920 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
4921 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4924 for x in $ltrpathdirs; do
4925 if test "X$x" = "X$found_dir"; then
4930 if test -z "$haveit"; then
4931 ltrpathdirs="$ltrpathdirs $found_dir"
4933 if test "$acl_hardcode_direct" = yes; then
4934 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4936 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4937 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4939 for x in $rpathdirs; do
4940 if test "X$x" = "X$found_dir"; then
4945 if test -z "$haveit"; then
4946 rpathdirs="$rpathdirs $found_dir"
4950 for x in $LDFLAGS $LIBICONV; do
4952 acl_save_prefix="$prefix"
4953 prefix="$acl_final_prefix"
4954 acl_save_exec_prefix="$exec_prefix"
4955 exec_prefix="$acl_final_exec_prefix"
4957 exec_prefix="$acl_save_exec_prefix"
4958 prefix="$acl_save_prefix"
4960 if test "X$x" = "X-L$found_dir"; then
4965 if test -z "$haveit"; then
4966 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4968 if test "$acl_hardcode_minus_L" != no; then
4969 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4971 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4977 if test "X$found_a" != "X"; then
4978 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4980 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4983 additional_includedir=
4984 case "$found_dir" in
4985 */$acl_libdirstem | */$acl_libdirstem/)
4986 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4987 if test "$name" = 'iconv'; then
4988 LIBICONV_PREFIX="$basedir"
4990 additional_includedir="$basedir/include"
4992 */$acl_libdirstem2 | */$acl_libdirstem2/)
4993 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
4994 if test "$name" = 'iconv'; then
4995 LIBICONV_PREFIX="$basedir"
4997 additional_includedir="$basedir/include"
5000 if test "X$additional_includedir" != "X"; then
5001 if test "X$additional_includedir" != "X/usr/include"; then
5003 if test "X$additional_includedir" = "X/usr/local/include"; then
5004 if test -n "$GCC"; then
5006 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5010 if test -z "$haveit"; then
5011 for x in $CPPFLAGS $INCICONV; do
5013 acl_save_prefix="$prefix"
5014 prefix="$acl_final_prefix"
5015 acl_save_exec_prefix="$exec_prefix"
5016 exec_prefix="$acl_final_exec_prefix"
5018 exec_prefix="$acl_save_exec_prefix"
5019 prefix="$acl_save_prefix"
5021 if test "X$x" = "X-I$additional_includedir"; then
5026 if test -z "$haveit"; then
5027 if test -d "$additional_includedir"; then
5028 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5034 if test -n "$found_la"; then
5035 save_libdir="$libdir"
5037 */* | *\\*) . "$found_la" ;;
5038 *) . "./$found_la" ;;
5040 libdir="$save_libdir"
5041 for dep in $dependency_libs; do
5044 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5045 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5046 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5048 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5049 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5050 if test -n "$GCC"; then
5052 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5056 if test -z "$haveit"; then
5058 for x in $LDFLAGS $LIBICONV; do
5060 acl_save_prefix="$prefix"
5061 prefix="$acl_final_prefix"
5062 acl_save_exec_prefix="$exec_prefix"
5063 exec_prefix="$acl_final_exec_prefix"
5065 exec_prefix="$acl_save_exec_prefix"
5066 prefix="$acl_save_prefix"
5068 if test "X$x" = "X-L$additional_libdir"; then
5073 if test -z "$haveit"; then
5074 if test -d "$additional_libdir"; then
5075 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5079 for x in $LDFLAGS $LTLIBICONV; do
5081 acl_save_prefix="$prefix"
5082 prefix="$acl_final_prefix"
5083 acl_save_exec_prefix="$exec_prefix"
5084 exec_prefix="$acl_final_exec_prefix"
5086 exec_prefix="$acl_save_exec_prefix"
5087 prefix="$acl_save_prefix"
5089 if test "X$x" = "X-L$additional_libdir"; then
5094 if test -z "$haveit"; then
5095 if test -d "$additional_libdir"; then
5096 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5103 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5104 if test "$enable_rpath" != no; then
5106 for x in $rpathdirs; do
5107 if test "X$x" = "X$dir"; then
5112 if test -z "$haveit"; then
5113 rpathdirs="$rpathdirs $dir"
5116 for x in $ltrpathdirs; do
5117 if test "X$x" = "X$dir"; then
5122 if test -z "$haveit"; then
5123 ltrpathdirs="$ltrpathdirs $dir"
5128 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5131 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5134 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5135 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5141 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5142 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5148 if test "X$rpathdirs" != "X"; then
5149 if test -n "$acl_hardcode_libdir_separator"; then
5151 for found_dir in $rpathdirs; do
5152 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5154 acl_save_libdir="$libdir"
5156 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5157 libdir="$acl_save_libdir"
5158 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5160 for found_dir in $rpathdirs; do
5161 acl_save_libdir="$libdir"
5163 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5164 libdir="$acl_save_libdir"
5165 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5169 if test "X$ltrpathdirs" != "X"; then
5170 for found_dir in $ltrpathdirs; do
5171 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5206 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5207 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5208 $as_echo_n "(cached) " >&6
5210 gt_save_LIBS="$LIBS"
5211 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5214 #include <CoreFoundation/CFPreferences.h>
5218 CFPreferencesCopyAppValue(NULL, NULL)
5223 if ac_fn_c_try_link "$LINENO"; then :
5224 gt_cv_func_CFPreferencesCopyAppValue=yes
5226 gt_cv_func_CFPreferencesCopyAppValue=no
5228 rm -f core conftest.err conftest.$ac_objext \
5229 conftest$ac_exeext conftest.$ac_ext
5230 LIBS="$gt_save_LIBS"
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5233 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5234 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5236 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5240 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5241 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5242 $as_echo_n "(cached) " >&6
5244 gt_save_LIBS="$LIBS"
5245 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5248 #include <CoreFoundation/CFLocale.h>
5252 CFLocaleCopyCurrent();
5257 if ac_fn_c_try_link "$LINENO"; then :
5258 gt_cv_func_CFLocaleCopyCurrent=yes
5260 gt_cv_func_CFLocaleCopyCurrent=no
5262 rm -f core conftest.err conftest.$ac_objext \
5263 conftest$ac_exeext conftest.$ac_ext
5264 LIBS="$gt_save_LIBS"
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5267 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5268 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5270 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5274 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5275 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5287 case " $gt_needs " in
5288 *" need-formatstring-macros "*) gt_api_version=3 ;;
5289 *" need-ngettext "*) gt_api_version=2 ;;
5290 *) gt_api_version=1 ;;
5292 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5293 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5295 if test "$USE_NLS" = "yes"; then
5296 gt_use_preinstalled_gnugettext=no
5299 if test $gt_api_version -ge 3; then
5300 gt_revision_test_code='
5301 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5302 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5304 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5307 gt_revision_test_code=
5309 if test $gt_api_version -ge 2; then
5310 gt_expression_test_code=' + * ngettext ("", "", 0)'
5312 gt_expression_test_code=
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5316 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5317 if eval \${$gt_func_gnugettext_libc+:} false; then :
5318 $as_echo_n "(cached) " >&6
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5322 #include <libintl.h>
5323 $gt_revision_test_code
5324 extern int _nl_msg_cat_cntr;
5325 extern int *_nl_domain_bindings;
5329 bindtextdomain ("", "");
5330 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5335 if ac_fn_c_try_link "$LINENO"; then :
5336 eval "$gt_func_gnugettext_libc=yes"
5338 eval "$gt_func_gnugettext_libc=no"
5340 rm -f core conftest.err conftest.$ac_objext \
5341 conftest$ac_exeext conftest.$ac_ext
5343 eval ac_res=\$$gt_func_gnugettext_libc
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5345 $as_echo "$ac_res" >&6; }
5347 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5353 am_save_CPPFLAGS="$CPPFLAGS"
5355 for element in $INCICONV; do
5357 for x in $CPPFLAGS; do
5359 acl_save_prefix="$prefix"
5360 prefix="$acl_final_prefix"
5361 acl_save_exec_prefix="$exec_prefix"
5362 exec_prefix="$acl_final_exec_prefix"
5364 exec_prefix="$acl_save_exec_prefix"
5365 prefix="$acl_save_prefix"
5367 if test "X$x" = "X$element"; then
5372 if test -z "$haveit"; then
5373 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5379 $as_echo_n "checking for iconv... " >&6; }
5380 if ${am_cv_func_iconv+:} false; then :
5381 $as_echo_n "(cached) " >&6
5384 am_cv_func_iconv="no, consider installing GNU libiconv"
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5393 iconv_t cd = iconv_open("","");
5394 iconv(cd,NULL,NULL,NULL,NULL);
5400 if ac_fn_c_try_link "$LINENO"; then :
5401 am_cv_func_iconv=yes
5403 rm -f core conftest.err conftest.$ac_objext \
5404 conftest$ac_exeext conftest.$ac_ext
5405 if test "$am_cv_func_iconv" != yes; then
5406 am_save_LIBS="$LIBS"
5407 LIBS="$LIBS $LIBICONV"
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5415 iconv_t cd = iconv_open("","");
5416 iconv(cd,NULL,NULL,NULL,NULL);
5422 if ac_fn_c_try_link "$LINENO"; then :
5424 am_cv_func_iconv=yes
5426 rm -f core conftest.err conftest.$ac_objext \
5427 conftest$ac_exeext conftest.$ac_ext
5428 LIBS="$am_save_LIBS"
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5433 $as_echo "$am_cv_func_iconv" >&6; }
5434 if test "$am_cv_func_iconv" = yes; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5436 $as_echo_n "checking for working iconv... " >&6; }
5437 if ${am_cv_func_iconv_works+:} false; then :
5438 $as_echo_n "(cached) " >&6
5441 am_save_LIBS="$LIBS"
5442 if test $am_cv_lib_iconv = yes; then
5443 LIBS="$LIBS $LIBICONV"
5445 if test "$cross_compiling" = yes; then :
5447 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5448 *) am_cv_func_iconv_works="guessing yes" ;;
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5458 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5461 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5462 if (cd_utf8_to_88591 != (iconv_t)(-1))
5464 static const char input[] = "\342\202\254"; /* EURO SIGN */
5466 const char *inptr = input;
5467 size_t inbytesleft = strlen (input);
5469 size_t outbytesleft = sizeof (buf);
5470 size_t res = iconv (cd_utf8_to_88591,
5471 (char **) &inptr, &inbytesleft,
5472 &outptr, &outbytesleft);
5477 /* Test against Solaris 10 bug: Failures are not distinguishable from
5478 successful returns. */
5480 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5481 if (cd_ascii_to_88591 != (iconv_t)(-1))
5483 static const char input[] = "\263";
5485 const char *inptr = input;
5486 size_t inbytesleft = strlen (input);
5488 size_t outbytesleft = sizeof (buf);
5489 size_t res = iconv (cd_ascii_to_88591,
5490 (char **) &inptr, &inbytesleft,
5491 &outptr, &outbytesleft);
5496 #if 0 /* This bug could be worked around by the caller. */
5497 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5499 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5500 if (cd_88591_to_utf8 != (iconv_t)(-1))
5502 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5504 const char *inptr = input;
5505 size_t inbytesleft = strlen (input);
5507 size_t outbytesleft = sizeof (buf);
5508 size_t res = iconv (cd_88591_to_utf8,
5509 (char **) &inptr, &inbytesleft,
5510 &outptr, &outbytesleft);
5516 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5518 if (/* Try standardized names. */
5519 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5520 /* Try IRIX, OSF/1 names. */
5521 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5522 /* Try AIX names. */
5523 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5524 /* Try HP-UX names. */
5525 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5530 if ac_fn_c_try_run "$LINENO"; then :
5531 am_cv_func_iconv_works=yes
5533 am_cv_func_iconv_works=no
5535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5536 conftest.$ac_objext conftest.beam conftest.$ac_ext
5539 LIBS="$am_save_LIBS"
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5543 $as_echo "$am_cv_func_iconv_works" >&6; }
5544 case "$am_cv_func_iconv_works" in
5545 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5546 *) am_func_iconv=yes ;;
5549 am_func_iconv=no am_cv_lib_iconv=no
5551 if test "$am_func_iconv" = yes; then
5553 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5556 if test "$am_cv_lib_iconv" = yes; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5558 $as_echo_n "checking how to link with libiconv... " >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5560 $as_echo "$LIBICONV" >&6; }
5562 CPPFLAGS="$am_save_CPPFLAGS"
5579 acl_save_prefix="$prefix"
5580 prefix="$acl_final_prefix"
5581 acl_save_exec_prefix="$exec_prefix"
5582 exec_prefix="$acl_final_exec_prefix"
5584 eval additional_includedir=\"$includedir\"
5585 eval additional_libdir=\"$libdir\"
5587 exec_prefix="$acl_save_exec_prefix"
5588 prefix="$acl_save_prefix"
5591 # Check whether --with-libintl-prefix was given.
5592 if test "${with_libintl_prefix+set}" = set; then :
5593 withval=$with_libintl_prefix;
5594 if test "X$withval" = "Xno"; then
5597 if test "X$withval" = "X"; then
5599 acl_save_prefix="$prefix"
5600 prefix="$acl_final_prefix"
5601 acl_save_exec_prefix="$exec_prefix"
5602 exec_prefix="$acl_final_exec_prefix"
5604 eval additional_includedir=\"$includedir\"
5605 eval additional_libdir=\"$libdir\"
5607 exec_prefix="$acl_save_exec_prefix"
5608 prefix="$acl_save_prefix"
5611 additional_includedir="$withval/include"
5612 additional_libdir="$withval/$acl_libdirstem"
5613 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5614 && ! test -d "$withval/$acl_libdirstem"; then
5615 additional_libdir="$withval/$acl_libdirstem2"
5629 names_already_handled=
5630 names_next_round='intl '
5631 while test -n "$names_next_round"; do
5632 names_this_round="$names_next_round"
5634 for name in $names_this_round; do
5636 for n in $names_already_handled; do
5637 if test "$n" = "$name"; then
5642 if test -z "$already_handled"; then
5643 names_already_handled="$names_already_handled $name"
5644 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5645 eval value=\"\$HAVE_LIB$uppername\"
5646 if test -n "$value"; then
5647 if test "$value" = yes; then
5648 eval value=\"\$LIB$uppername\"
5649 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5650 eval value=\"\$LTLIB$uppername\"
5651 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5660 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5661 if test -n "$acl_shlibext"; then
5662 shrext=".$acl_shlibext" # typically: shrext=.so
5666 if test $use_additional = yes; then
5667 dir="$additional_libdir"
5668 if test -n "$acl_shlibext"; then
5669 if test -f "$dir/$libname$shrext"; then
5671 found_so="$dir/$libname$shrext"
5673 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5674 ver=`(cd "$dir" && \
5675 for f in "$libname$shrext".*; do echo "$f"; done \
5676 | sed -e "s,^$libname$shrext\\\\.,," \
5677 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5678 | sed 1q ) 2>/dev/null`
5679 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5681 found_so="$dir/$libname$shrext.$ver"
5684 eval library_names=\"$acl_library_names_spec\"
5685 for f in $library_names; do
5686 if test -f "$dir/$f"; then
5695 if test "X$found_dir" = "X"; then
5696 if test -f "$dir/$libname.$acl_libext"; then
5698 found_a="$dir/$libname.$acl_libext"
5701 if test "X$found_dir" != "X"; then
5702 if test -f "$dir/$libname.la"; then
5703 found_la="$dir/$libname.la"
5707 if test "X$found_dir" = "X"; then
5708 for x in $LDFLAGS $LTLIBINTL; do
5710 acl_save_prefix="$prefix"
5711 prefix="$acl_final_prefix"
5712 acl_save_exec_prefix="$exec_prefix"
5713 exec_prefix="$acl_final_exec_prefix"
5715 exec_prefix="$acl_save_exec_prefix"
5716 prefix="$acl_save_prefix"
5720 dir=`echo "X$x" | sed -e 's/^X-L//'`
5721 if test -n "$acl_shlibext"; then
5722 if test -f "$dir/$libname$shrext"; then
5724 found_so="$dir/$libname$shrext"
5726 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5727 ver=`(cd "$dir" && \
5728 for f in "$libname$shrext".*; do echo "$f"; done \
5729 | sed -e "s,^$libname$shrext\\\\.,," \
5730 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5731 | sed 1q ) 2>/dev/null`
5732 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5734 found_so="$dir/$libname$shrext.$ver"
5737 eval library_names=\"$acl_library_names_spec\"
5738 for f in $library_names; do
5739 if test -f "$dir/$f"; then
5748 if test "X$found_dir" = "X"; then
5749 if test -f "$dir/$libname.$acl_libext"; then
5751 found_a="$dir/$libname.$acl_libext"
5754 if test "X$found_dir" != "X"; then
5755 if test -f "$dir/$libname.la"; then
5756 found_la="$dir/$libname.la"
5761 if test "X$found_dir" != "X"; then
5766 if test "X$found_dir" != "X"; then
5767 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5768 if test "X$found_so" != "X"; then
5769 if test "$enable_rpath" = no \
5770 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5771 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5772 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5775 for x in $ltrpathdirs; do
5776 if test "X$x" = "X$found_dir"; then
5781 if test -z "$haveit"; then
5782 ltrpathdirs="$ltrpathdirs $found_dir"
5784 if test "$acl_hardcode_direct" = yes; then
5785 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5787 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5788 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5790 for x in $rpathdirs; do
5791 if test "X$x" = "X$found_dir"; then
5796 if test -z "$haveit"; then
5797 rpathdirs="$rpathdirs $found_dir"
5801 for x in $LDFLAGS $LIBINTL; do
5803 acl_save_prefix="$prefix"
5804 prefix="$acl_final_prefix"
5805 acl_save_exec_prefix="$exec_prefix"
5806 exec_prefix="$acl_final_exec_prefix"
5808 exec_prefix="$acl_save_exec_prefix"
5809 prefix="$acl_save_prefix"
5811 if test "X$x" = "X-L$found_dir"; then
5816 if test -z "$haveit"; then
5817 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5819 if test "$acl_hardcode_minus_L" != no; then
5820 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5822 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5828 if test "X$found_a" != "X"; then
5829 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5831 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5834 additional_includedir=
5835 case "$found_dir" in
5836 */$acl_libdirstem | */$acl_libdirstem/)
5837 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5838 if test "$name" = 'intl'; then
5839 LIBINTL_PREFIX="$basedir"
5841 additional_includedir="$basedir/include"
5843 */$acl_libdirstem2 | */$acl_libdirstem2/)
5844 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5845 if test "$name" = 'intl'; then
5846 LIBINTL_PREFIX="$basedir"
5848 additional_includedir="$basedir/include"
5851 if test "X$additional_includedir" != "X"; then
5852 if test "X$additional_includedir" != "X/usr/include"; then
5854 if test "X$additional_includedir" = "X/usr/local/include"; then
5855 if test -n "$GCC"; then
5857 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5861 if test -z "$haveit"; then
5862 for x in $CPPFLAGS $INCINTL; do
5864 acl_save_prefix="$prefix"
5865 prefix="$acl_final_prefix"
5866 acl_save_exec_prefix="$exec_prefix"
5867 exec_prefix="$acl_final_exec_prefix"
5869 exec_prefix="$acl_save_exec_prefix"
5870 prefix="$acl_save_prefix"
5872 if test "X$x" = "X-I$additional_includedir"; then
5877 if test -z "$haveit"; then
5878 if test -d "$additional_includedir"; then
5879 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5885 if test -n "$found_la"; then
5886 save_libdir="$libdir"
5888 */* | *\\*) . "$found_la" ;;
5889 *) . "./$found_la" ;;
5891 libdir="$save_libdir"
5892 for dep in $dependency_libs; do
5895 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5896 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5897 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5899 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5900 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5901 if test -n "$GCC"; then
5903 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5907 if test -z "$haveit"; then
5909 for x in $LDFLAGS $LIBINTL; do
5911 acl_save_prefix="$prefix"
5912 prefix="$acl_final_prefix"
5913 acl_save_exec_prefix="$exec_prefix"
5914 exec_prefix="$acl_final_exec_prefix"
5916 exec_prefix="$acl_save_exec_prefix"
5917 prefix="$acl_save_prefix"
5919 if test "X$x" = "X-L$additional_libdir"; then
5924 if test -z "$haveit"; then
5925 if test -d "$additional_libdir"; then
5926 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5930 for x in $LDFLAGS $LTLIBINTL; do
5932 acl_save_prefix="$prefix"
5933 prefix="$acl_final_prefix"
5934 acl_save_exec_prefix="$exec_prefix"
5935 exec_prefix="$acl_final_exec_prefix"
5937 exec_prefix="$acl_save_exec_prefix"
5938 prefix="$acl_save_prefix"
5940 if test "X$x" = "X-L$additional_libdir"; then
5945 if test -z "$haveit"; then
5946 if test -d "$additional_libdir"; then
5947 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5954 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5955 if test "$enable_rpath" != no; then
5957 for x in $rpathdirs; do
5958 if test "X$x" = "X$dir"; then
5963 if test -z "$haveit"; then
5964 rpathdirs="$rpathdirs $dir"
5967 for x in $ltrpathdirs; do
5968 if test "X$x" = "X$dir"; then
5973 if test -z "$haveit"; then
5974 ltrpathdirs="$ltrpathdirs $dir"
5979 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5982 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5985 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5986 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5992 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5993 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5999 if test "X$rpathdirs" != "X"; then
6000 if test -n "$acl_hardcode_libdir_separator"; then
6002 for found_dir in $rpathdirs; do
6003 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6005 acl_save_libdir="$libdir"
6007 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6008 libdir="$acl_save_libdir"
6009 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6011 for found_dir in $rpathdirs; do
6012 acl_save_libdir="$libdir"
6014 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6015 libdir="$acl_save_libdir"
6016 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6020 if test "X$ltrpathdirs" != "X"; then
6021 for found_dir in $ltrpathdirs; do
6022 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6032 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6033 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6034 $as_echo_n "(cached) " >&6
6036 gt_save_CPPFLAGS="$CPPFLAGS"
6037 CPPFLAGS="$CPPFLAGS $INCINTL"
6038 gt_save_LIBS="$LIBS"
6039 LIBS="$LIBS $LIBINTL"
6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6042 #include <libintl.h>
6043 $gt_revision_test_code
6044 extern int _nl_msg_cat_cntr;
6049 const char *_nl_expand_alias (const char *);
6053 bindtextdomain ("", "");
6054 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6059 if ac_fn_c_try_link "$LINENO"; then :
6060 eval "$gt_func_gnugettext_libintl=yes"
6062 eval "$gt_func_gnugettext_libintl=no"
6064 rm -f core conftest.err conftest.$ac_objext \
6065 conftest$ac_exeext conftest.$ac_ext
6066 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6067 LIBS="$LIBS $LIBICONV"
6068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6070 #include <libintl.h>
6071 $gt_revision_test_code
6072 extern int _nl_msg_cat_cntr;
6077 const char *_nl_expand_alias (const char *);
6081 bindtextdomain ("", "");
6082 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6087 if ac_fn_c_try_link "$LINENO"; then :
6088 LIBINTL="$LIBINTL $LIBICONV"
6089 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6090 eval "$gt_func_gnugettext_libintl=yes"
6093 rm -f core conftest.err conftest.$ac_objext \
6094 conftest$ac_exeext conftest.$ac_ext
6096 CPPFLAGS="$gt_save_CPPFLAGS"
6097 LIBS="$gt_save_LIBS"
6099 eval ac_res=\$$gt_func_gnugettext_libintl
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6101 $as_echo "$ac_res" >&6; }
6104 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6105 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6106 && test "$PACKAGE" != gettext-runtime \
6107 && test "$PACKAGE" != gettext-tools; }; then
6108 gt_use_preinstalled_gnugettext=yes
6117 if test -n "$INTL_MACOSX_LIBS"; then
6118 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6119 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6120 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6121 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6125 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6126 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6128 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6136 $as_echo_n "checking whether to use NLS... " >&6; }
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6138 $as_echo "$USE_NLS" >&6; }
6139 if test "$USE_NLS" = "yes"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6141 $as_echo_n "checking where the gettext function comes from... " >&6; }
6142 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6143 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6144 gt_source="external libintl"
6149 gt_source="included intl directory"
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6152 $as_echo "$gt_source" >&6; }
6155 if test "$USE_NLS" = "yes"; then
6157 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6158 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6160 $as_echo_n "checking how to link with libintl... " >&6; }
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6162 $as_echo "$LIBINTL" >&6; }
6164 for element in $INCINTL; do
6166 for x in $CPPFLAGS; do
6168 acl_save_prefix="$prefix"
6169 prefix="$acl_final_prefix"
6170 acl_save_exec_prefix="$exec_prefix"
6171 exec_prefix="$acl_final_exec_prefix"
6173 exec_prefix="$acl_save_exec_prefix"
6174 prefix="$acl_save_prefix"
6176 if test "X$x" = "X$element"; then
6181 if test -z "$haveit"; then
6182 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6189 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6192 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6209 # Checks for header files.
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
6211 $as_echo_n "checking for X... " >&6; }
6214 # Check whether --with-x was given.
6215 if test "${with_x+set}" = set; then :
6219 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6220 if test "x$with_x" = xno; then
6221 # The user explicitly disabled X.
6224 case $x_includes,$x_libraries in #(
6225 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
6226 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
6227 $as_echo_n "(cached) " >&6
6229 # One or both of the vars are not set, and there is no cached value.
6230 ac_x_includes=no ac_x_libraries=no
6231 rm -f -r conftest.dir
6232 if mkdir conftest.dir; then
6234 cat >Imakefile <<'_ACEOF'
6236 @echo incroot='${INCROOT}'
6238 @echo usrlibdir='${USRLIBDIR}'
6240 @echo libdir='${LIBDIR}'
6242 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
6243 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6244 for ac_var in incroot usrlibdir libdir; do
6245 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6247 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6248 for ac_extension in a so sl dylib la dll; do
6249 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
6250 test -f "$ac_im_libdir/libX11.$ac_extension"; then
6251 ac_im_usrlibdir=$ac_im_libdir; break
6254 # Screen out bogus values from the imake configuration. They are
6255 # bogus both because they are the default anyway, and because
6256 # using them would break gcc on systems where it needs fixed includes.
6257 case $ac_im_incroot in
6258 /usr/include) ac_x_includes= ;;
6259 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
6261 case $ac_im_usrlibdir in
6262 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
6263 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
6267 rm -f -r conftest.dir
6270 # Standard set of common directories for X headers.
6271 # Check X11 before X11Rn because it is often a symlink to the current release.
6285 /usr/local/X11/include
6286 /usr/local/X11R7/include
6287 /usr/local/X11R6/include
6288 /usr/local/X11R5/include
6289 /usr/local/X11R4/include
6291 /usr/local/include/X11
6292 /usr/local/include/X11R7
6293 /usr/local/include/X11R6
6294 /usr/local/include/X11R5
6295 /usr/local/include/X11R4
6299 /usr/XFree86/include/X11
6303 /usr/unsupported/include
6305 /usr/local/x11r5/include
6306 /usr/lpp/Xamples/include
6308 /usr/openwin/include
6309 /usr/openwin/share/include'
6311 if test "$ac_x_includes" = no; then
6312 # Guess where to find include files, by looking for Xlib.h.
6313 # First, try using that file with no special directory specified.
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6316 #include <X11/Xlib.h>
6318 if ac_fn_c_try_cpp "$LINENO"; then :
6319 # We can compile using X headers with no special include directory.
6322 for ac_dir in $ac_x_header_dirs; do
6323 if test -r "$ac_dir/X11/Xlib.h"; then
6324 ac_x_includes=$ac_dir
6329 rm -f conftest.err conftest.i conftest.$ac_ext
6330 fi # $ac_x_includes = no
6332 if test "$ac_x_libraries" = no; then
6333 # Check for the libraries.
6334 # See if we find them without any special options.
6335 # Don't add to $LIBS permanently.
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6340 #include <X11/Xlib.h>
6349 if ac_fn_c_try_link "$LINENO"; then :
6351 # We can link X programs with no special library path.
6355 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6357 # Don't even attempt the hair of trying to link an X program!
6358 for ac_extension in a so sl dylib la dll; do
6359 if test -r "$ac_dir/libX11.$ac_extension"; then
6360 ac_x_libraries=$ac_dir
6366 rm -f core conftest.err conftest.$ac_objext \
6367 conftest$ac_exeext conftest.$ac_ext
6368 fi # $ac_x_libraries = no
6370 case $ac_x_includes,$ac_x_libraries in #(
6372 # Didn't find X, or a directory has "'" in its name.
6373 ac_cv_have_x="have_x=no";; #(
6375 # Record where we found X for the cache.
6376 ac_cv_have_x="have_x=yes\
6377 ac_x_includes='$ac_x_includes'\
6378 ac_x_libraries='$ac_x_libraries'"
6384 eval "$ac_cv_have_x"
6387 if test "$have_x" != yes; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
6389 $as_echo "$have_x" >&6; }
6392 # If each of the values was on the command line, it overrides each guess.
6393 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
6394 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
6395 # Update the cache value to reflect the command line values.
6396 ac_cv_have_x="have_x=yes\
6397 ac_x_includes='$x_includes'\
6398 ac_x_libraries='$x_libraries'"
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
6400 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6404 $as_echo_n "checking for ANSI C header files... " >&6; }
6405 if ${ac_cv_header_stdc+:} false; then :
6406 $as_echo_n "(cached) " >&6
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6423 if ac_fn_c_try_compile "$LINENO"; then :
6424 ac_cv_header_stdc=yes
6426 ac_cv_header_stdc=no
6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6430 if test $ac_cv_header_stdc = yes; then
6431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6433 /* end confdefs.h. */
6437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6438 $EGREP "memchr" >/dev/null 2>&1; then :
6441 ac_cv_header_stdc=no
6447 if test $ac_cv_header_stdc = yes; then
6448 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6455 $EGREP "free" >/dev/null 2>&1; then :
6458 ac_cv_header_stdc=no
6464 if test $ac_cv_header_stdc = yes; then
6465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6466 if test "$cross_compiling" = yes; then :
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6473 #if ((' ' & 0x0FF) == 0x020)
6474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6477 # define ISLOWER(c) \
6478 (('a' <= (c) && (c) <= 'i') \
6479 || ('j' <= (c) && (c) <= 'r') \
6480 || ('s' <= (c) && (c) <= 'z'))
6481 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6484 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6489 for (i = 0; i < 256; i++)
6490 if (XOR (islower (i), ISLOWER (i))
6491 || toupper (i) != TOUPPER (i))
6496 if ac_fn_c_try_run "$LINENO"; then :
6499 ac_cv_header_stdc=no
6501 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6502 conftest.$ac_objext conftest.beam conftest.$ac_ext
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6508 $as_echo "$ac_cv_header_stdc" >&6; }
6509 if test $ac_cv_header_stdc = yes; then
6511 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6515 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6516 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6517 inttypes.h stdint.h unistd.h
6519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6520 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6522 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6523 cat >>confdefs.h <<_ACEOF
6524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6532 for ac_header in getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h
6534 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6535 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6536 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6537 cat >>confdefs.h <<_ACEOF
6538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6555 if test -n "$ac_tool_prefix"; then
6556 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6557 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559 $as_echo_n "checking for $ac_word... " >&6; }
6560 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6561 $as_echo_n "(cached) " >&6
6565 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6587 if test -n "$PKG_CONFIG"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6589 $as_echo "$PKG_CONFIG" >&6; }
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6597 if test -z "$ac_cv_path_PKG_CONFIG"; then
6598 ac_pt_PKG_CONFIG=$PKG_CONFIG
6599 # Extract the first word of "pkg-config", so it can be a program name with args.
6600 set dummy pkg-config; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6604 $as_echo_n "(cached) " >&6
6606 case $ac_pt_PKG_CONFIG in
6608 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6630 if test -n "$ac_pt_PKG_CONFIG"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6632 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6638 if test "x$ac_pt_PKG_CONFIG" = x; then
6641 case $cross_compiling:$ac_tool_warned in
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6645 ac_tool_warned=yes ;;
6647 PKG_CONFIG=$ac_pt_PKG_CONFIG
6650 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6654 if test -n "$PKG_CONFIG"; then
6655 _pkg_min_version=0.9.0
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6657 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6658 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6660 $as_echo "yes" >&6; }
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
6670 $as_echo_n "checking for CURL... " >&6; }
6672 if test -n "$CURL_CFLAGS"; then
6673 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
6674 elif test -n "$PKG_CONFIG"; then
6675 if test -n "$PKG_CONFIG" && \
6676 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6677 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6680 test $ac_status = 0; }; then
6681 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl " 2>/dev/null`
6682 test "x$?" != "x0" && pkg_failed=yes
6689 if test -n "$CURL_LIBS"; then
6690 pkg_cv_CURL_LIBS="$CURL_LIBS"
6691 elif test -n "$PKG_CONFIG"; then
6692 if test -n "$PKG_CONFIG" && \
6693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6694 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6697 test $ac_status = 0; }; then
6698 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl " 2>/dev/null`
6699 test "x$?" != "x0" && pkg_failed=yes
6709 if test $pkg_failed = yes; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 $as_echo "no" >&6; }
6713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6714 _pkg_short_errors_supported=yes
6716 _pkg_short_errors_supported=no
6718 if test $_pkg_short_errors_supported = yes; then
6719 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl " 2>&1`
6721 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl " 2>&1`
6723 # Put the nasty error message in config.log where it belongs
6724 echo "$CURL_PKG_ERRORS" >&5
6726 as_fn_error $? "Package requirements (libcurl ) were not met:
6730 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6731 installed software in a non-standard prefix.
6733 Alternatively, you may set the environment variables CURL_CFLAGS
6734 and CURL_LIBS to avoid the need to call pkg-config.
6735 See the pkg-config man page for more details." "$LINENO" 5
6736 elif test $pkg_failed = untried; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 $as_echo "no" >&6; }
6739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6741 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6742 is in your PATH or set the PKG_CONFIG environment variable to the full
6745 Alternatively, you may set the environment variables CURL_CFLAGS
6746 and CURL_LIBS to avoid the need to call pkg-config.
6747 See the pkg-config man page for more details.
6749 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6750 See \`config.log' for more details" "$LINENO" 5; }
6752 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
6753 CURL_LIBS=$pkg_cv_CURL_LIBS
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6755 $as_echo "yes" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6765 $as_echo_n "checking for JSON... " >&6; }
6767 if test -n "$JSON_CFLAGS"; then
6768 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6769 elif test -n "$PKG_CONFIG"; then
6770 if test -n "$PKG_CONFIG" && \
6771 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
6772 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
6774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6775 test $ac_status = 0; }; then
6776 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json " 2>/dev/null`
6777 test "x$?" != "x0" && pkg_failed=yes
6784 if test -n "$JSON_LIBS"; then
6785 pkg_cv_JSON_LIBS="$JSON_LIBS"
6786 elif test -n "$PKG_CONFIG"; then
6787 if test -n "$PKG_CONFIG" && \
6788 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json \""; } >&5
6789 ($PKG_CONFIG --exists --print-errors "json ") 2>&5
6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792 test $ac_status = 0; }; then
6793 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json " 2>/dev/null`
6794 test "x$?" != "x0" && pkg_failed=yes
6804 if test $pkg_failed = yes; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6806 $as_echo "no" >&6; }
6808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6809 _pkg_short_errors_supported=yes
6811 _pkg_short_errors_supported=no
6813 if test $_pkg_short_errors_supported = yes; then
6814 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json " 2>&1`
6816 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json " 2>&1`
6818 # Put the nasty error message in config.log where it belongs
6819 echo "$JSON_PKG_ERRORS" >&5
6821 as_fn_error $? "Package requirements (json ) were not met:
6825 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6826 installed software in a non-standard prefix.
6828 Alternatively, you may set the environment variables JSON_CFLAGS
6829 and JSON_LIBS to avoid the need to call pkg-config.
6830 See the pkg-config man page for more details." "$LINENO" 5
6831 elif test $pkg_failed = untried; then
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6836 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6837 is in your PATH or set the PKG_CONFIG environment variable to the full
6840 Alternatively, you may set the environment variables JSON_CFLAGS
6841 and JSON_LIBS to avoid the need to call pkg-config.
6842 See the pkg-config man page for more details.
6844 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6845 See \`config.log' for more details" "$LINENO" 5; }
6847 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
6848 JSON_LIBS=$pkg_cv_JSON_LIBS
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6850 $as_echo "yes" >&6; }
6856 ac_config_files="$ac_config_files po/Makefile.in Makefile src/Makefile tests/Makefile www/footer.tpl www/Makefile"
6859 for ac_prog in help2man
6861 # Extract the first word of "$ac_prog", so it can be a program name with args.
6862 set dummy $ac_prog; ac_word=$2
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 $as_echo_n "checking for $ac_word... " >&6; }
6865 if ${ac_cv_prog_HELP2MAN+:} false; then :
6866 $as_echo_n "(cached) " >&6
6868 if test -n "$HELP2MAN"; then
6869 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 test -z "$as_dir" && as_dir=.
6876 for ac_exec_ext in '' $ac_executable_extensions; do
6877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6878 ac_cv_prog_HELP2MAN="$ac_prog"
6879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888 HELP2MAN=$ac_cv_prog_HELP2MAN
6889 if test -n "$HELP2MAN"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
6891 $as_echo "$HELP2MAN" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6894 $as_echo "no" >&6; }
6898 test -n "$HELP2MAN" && break
6902 cat >confcache <<\_ACEOF
6903 # This file is a shell script that caches the results of configure
6904 # tests run on this system so they can be shared between configure
6905 # scripts and configure runs, see configure's option --config-cache.
6906 # It is not useful on other systems. If it contains results you don't
6907 # want to keep, you may remove or edit it.
6909 # config.status only pays attention to the cache file if you give it
6910 # the --recheck option to rerun configure.
6912 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6913 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6918 # The following way of writing the cache mishandles newlines in values,
6919 # but we know of no workaround that is simple, portable, and efficient.
6920 # So, we kill variables containing newlines.
6921 # Ultrix sh set writes to stderr and can't be redirected directly,
6922 # and sets the high bit in the cache file unless we assign to the vars.
6924 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6925 eval ac_val=\$$ac_var
6929 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6930 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6933 _ | IFS | as_nl) ;; #(
6934 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6935 *) { eval $ac_var=; unset $ac_var;} ;;
6941 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6942 *${as_nl}ac_space=\ *)
6943 # `set' does not quote correctly, so add quotes: double-quote
6944 # substitution turns \\\\ into \\, and sed turns \\ into \.
6947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6950 # `set' quotes correctly as required by POSIX, so do not add quotes.
6951 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6960 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6962 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6964 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6965 if test -w "$cache_file"; then
6966 if test "x$cache_file" != "x/dev/null"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6968 $as_echo "$as_me: updating cache $cache_file" >&6;}
6969 if test ! -f "$cache_file" || test -h "$cache_file"; then
6970 cat confcache >"$cache_file"
6972 case $cache_file in #(
6974 mv -f confcache "$cache_file"$$ &&
6975 mv -f "$cache_file"$$ "$cache_file" ;; #(
6977 mv -f confcache "$cache_file" ;;
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6983 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6988 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6989 # Let make expand exec_prefix.
6990 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6992 DEFS=-DHAVE_CONFIG_H
6997 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6998 # 1. Remove the extension, and $U if already installed.
6999 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7000 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7001 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7002 # will be set to the directory where LIBOBJS objects are built.
7003 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7004 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7008 LTLIBOBJS=$ac_ltlibobjs
7011 if test -n "$EXEEXT"; then
7013 am__EXEEXT_FALSE='#'
7019 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7020 as_fn_error $? "conditional \"AMDEP\" was never defined.
7021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7023 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7024 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7028 : "${CONFIG_STATUS=./config.status}"
7030 ac_clean_files_save=$ac_clean_files
7031 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7033 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7035 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7037 # Generated by $as_me.
7038 # Run this file to recreate the current configuration.
7039 # Compiler output produced by configure, useful for debugging
7040 # configure, is in config.log if it exists.
7046 SHELL=\${CONFIG_SHELL-$SHELL}
7049 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7050 ## -------------------- ##
7051 ## M4sh Initialization. ##
7052 ## -------------------- ##
7054 # Be more Bourne compatible
7055 DUALCASE=1; export DUALCASE # for MKS sh
7056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7059 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7060 # is contrary to our usage. Disable this feature.
7061 alias -g '${1+"$@"}'='"$@"'
7062 setopt NO_GLOB_SUBST
7064 case `(set -o) 2>/dev/null` in #(
7076 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7077 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7078 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7080 # Prefer a ksh shell builtin over an external printf program on Solaris,
7081 # but without wasting forks for bash or zsh.
7082 if test -z "$BASH_VERSION$ZSH_VERSION" \
7083 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7084 as_echo='print -r --'
7085 as_echo_n='print -rn --'
7086 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7087 as_echo='printf %s\n'
7088 as_echo_n='printf %s'
7090 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7091 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7092 as_echo_n='/usr/ucb/echo -n'
7094 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7095 as_echo_n_body='eval
7099 expr "X$arg" : "X\\(.*\\)$as_nl";
7100 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7102 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7104 export as_echo_n_body
7105 as_echo_n='sh -c $as_echo_n_body as_echo'
7108 as_echo='sh -c $as_echo_body as_echo'
7111 # The user is always right.
7112 if test "${PATH_SEPARATOR+set}" != set; then
7114 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7115 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7122 # We need space, tab and new line, in precisely that order. Quoting is
7123 # there to prevent editors from complaining about space-tab.
7124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7125 # splitting by setting IFS to empty value.)
7128 # Find who we are. Look in the path if we contain no directory separator.
7131 *[\\/]* ) as_myself=$0 ;;
7132 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7143 # We did not find ourselves, most probably we were run as `sh COMMAND'
7144 # in which case we are not to be found in the path.
7145 if test "x$as_myself" = x; then
7148 if test ! -f "$as_myself"; then
7149 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7153 # Unset variables that we do not need and which cause bugs (e.g. in
7154 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7155 # suppresses any "Segmentation fault" message there. '((' could
7156 # trigger a bug in pdksh 5.2.14.
7157 for as_var in BASH_ENV ENV MAIL MAILPATH
7158 do eval test x\${$as_var+set} = xset \
7159 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7172 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7175 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7176 # ----------------------------------------
7177 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7178 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7179 # script with STATUS, using 1 if that was 0.
7182 as_status=$1; test $as_status -eq 0 && as_status=1
7184 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7185 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7187 $as_echo "$as_me: error: $2" >&2
7188 as_fn_exit $as_status
7192 # as_fn_set_status STATUS
7193 # -----------------------
7194 # Set $? to STATUS, without forking.
7198 } # as_fn_set_status
7202 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7212 # Portably unset VAR.
7215 { eval $1=; unset $1;}
7217 as_unset=as_fn_unset
7218 # as_fn_append VAR VALUE
7219 # ----------------------
7220 # Append the text in VALUE to the end of the definition contained in VAR. Take
7221 # advantage of any shell optimizations that allow amortized linear growth over
7222 # repeated appends, instead of the typical quadratic growth present in naive
7224 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7225 eval 'as_fn_append ()
7236 # as_fn_arith ARG...
7237 # ------------------
7238 # Perform arithmetic evaluation on the ARGs, and store the result in the
7239 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7240 # must be portable across $(()) and expr.
7241 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7242 eval 'as_fn_arith ()
7249 as_val=`expr "$@" || test $? -eq 1`
7254 if expr a : '\(a\)' >/dev/null 2>&1 &&
7255 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7261 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7262 as_basename=basename
7267 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7273 as_me=`$as_basename -- "$0" ||
7274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7275 X"$0" : 'X\(//\)$' \| \
7276 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7278 sed '/^.*\/\([^/][^/]*\)\/*$/{
7292 # Avoid depending upon Character Ranges.
7293 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7294 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7295 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7296 as_cr_digits='0123456789'
7297 as_cr_alnum=$as_cr_Letters$as_cr_digits
7299 ECHO_C= ECHO_N= ECHO_T=
7300 case `echo -n x` in #(((((
7302 case `echo 'xy\c'` in
7303 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7305 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7312 rm -f conf$$ conf$$.exe conf$$.file
7313 if test -d conf$$.dir; then
7314 rm -f conf$$.dir/conf$$.file
7317 mkdir conf$$.dir 2>/dev/null
7319 if (echo >conf$$.file) 2>/dev/null; then
7320 if ln -s conf$$.file conf$$ 2>/dev/null; then
7322 # ... but there are two gotchas:
7323 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7324 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7325 # In both cases, we have to default to `cp -p'.
7326 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7328 elif ln conf$$.file conf$$ 2>/dev/null; then
7336 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7337 rmdir conf$$.dir 2>/dev/null
7342 # Create "$as_dir" as a directory, including parents if necessary.
7347 -*) as_dir=./$as_dir;;
7349 test -d "$as_dir" || eval $as_mkdir_p || {
7353 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7354 *) as_qdir=$as_dir;;
7356 as_dirs="'$as_qdir' $as_dirs"
7357 as_dir=`$as_dirname -- "$as_dir" ||
7358 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7359 X"$as_dir" : 'X\(//\)[^/]' \| \
7360 X"$as_dir" : 'X\(//\)$' \| \
7361 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7362 $as_echo X"$as_dir" |
7363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7380 test -d "$as_dir" && break
7382 test -z "$as_dirs" || eval "mkdir $as_dirs"
7383 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7387 if mkdir -p . 2>/dev/null; then
7388 as_mkdir_p='mkdir -p "$as_dir"'
7390 test -d ./-p && rmdir ./-p
7394 if test -x / >/dev/null 2>&1; then
7397 if ls -dL / >/dev/null 2>&1; then
7404 if test -d "$1"; then
7410 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7411 ???[sx]*):;;*)false;;esac;fi
7415 as_executable_p=$as_test_x
7417 # Sed expression to map a string onto a valid CPP name.
7418 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7420 # Sed expression to map a string onto a valid variable name.
7421 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7425 ## ----------------------------------- ##
7426 ## Main body of $CONFIG_STATUS script. ##
7427 ## ----------------------------------- ##
7429 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7432 # Save the log message, to keep $0 and so on meaningful, and to
7433 # report actual input values of CONFIG_FILES etc. instead of their
7434 # values after options handling.
7436 This file was extended by ppastats $as_me 0.0.7, which was
7437 generated by GNU Autoconf 2.68. Invocation command line was
7439 CONFIG_FILES = $CONFIG_FILES
7440 CONFIG_HEADERS = $CONFIG_HEADERS
7441 CONFIG_LINKS = $CONFIG_LINKS
7442 CONFIG_COMMANDS = $CONFIG_COMMANDS
7445 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7450 case $ac_config_files in *"
7451 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7454 case $ac_config_headers in *"
7455 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7460 # Files that config.status was made for.
7461 config_files="$ac_config_files"
7462 config_headers="$ac_config_headers"
7463 config_commands="$ac_config_commands"
7467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7469 \`$as_me' instantiates files and other configuration actions
7470 from templates according to the current configuration. Unless the files
7471 and actions are specified as TAGs, all are instantiated by default.
7473 Usage: $0 [OPTION]... [TAG]...
7475 -h, --help print this help, then exit
7476 -V, --version print version number and configuration settings, then exit
7477 --config print configuration, then exit
7478 -q, --quiet, --silent
7479 do not print progress messages
7480 -d, --debug don't remove temporary files
7481 --recheck update $as_me by reconfiguring in the same conditions
7482 --file=FILE[:TEMPLATE]
7483 instantiate the configuration file FILE
7484 --header=FILE[:TEMPLATE]
7485 instantiate the configuration header FILE
7487 Configuration files:
7490 Configuration headers:
7493 Configuration commands:
7496 Report bugs to <jeanfi@gmail.com>.
7497 ppastats home page: <http://wpitchoune.net/ppastats>."
7500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7501 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7503 ppastats config.status 0.0.7
7504 configured by $0, generated by GNU Autoconf 2.68,
7505 with options \\"\$ac_cs_config\\"
7507 Copyright (C) 2010 Free Software Foundation, Inc.
7508 This config.status script is free software; the Free Software Foundation
7509 gives unlimited permission to copy, distribute and modify it."
7516 test -n "\$AWK" || AWK=awk
7519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7520 # The default lists apply if the user does not specify any file.
7526 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7527 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7531 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7543 # Handling of the options.
7544 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7546 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7547 $as_echo "$ac_cs_version"; exit ;;
7548 --config | --confi | --conf | --con | --co | --c )
7549 $as_echo "$ac_cs_config"; exit ;;
7550 --debug | --debu | --deb | --de | --d | -d )
7552 --file | --fil | --fi | --f )
7555 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7556 '') as_fn_error $? "missing file argument" ;;
7558 as_fn_append CONFIG_FILES " '$ac_optarg'"
7559 ac_need_defaults=false;;
7560 --header | --heade | --head | --hea )
7563 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7565 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7566 ac_need_defaults=false;;
7568 # Conflict between --help and --header
7569 as_fn_error $? "ambiguous option: \`$1'
7570 Try \`$0 --help' for more information.";;
7571 --help | --hel | -h )
7572 $as_echo "$ac_cs_usage"; exit ;;
7573 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7574 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7578 -*) as_fn_error $? "unrecognized option: \`$1'
7579 Try \`$0 --help' for more information." ;;
7581 *) as_fn_append ac_config_targets " $1"
7582 ac_need_defaults=false ;;
7588 ac_configure_extra_args=
7590 if $ac_cs_silent; then
7592 ac_configure_extra_args="$ac_configure_extra_args --silent"
7596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7597 if \$ac_cs_recheck; then
7598 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7600 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7601 CONFIG_SHELL='$SHELL'
7607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7612 ## Running $as_me. ##
7618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7622 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7623 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7624 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7625 # from automake < 1.5.
7626 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7627 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7628 LINGUAS="${LINGUAS-%UNSET%}"
7633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7635 # Handling of arguments.
7636 for ac_config_target in $ac_config_targets
7638 case $ac_config_target in
7639 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7640 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7641 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7642 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7643 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7644 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7645 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7646 "www/footer.tpl") CONFIG_FILES="$CONFIG_FILES www/footer.tpl" ;;
7647 "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
7649 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7654 # If the user did not use the arguments to specify the items to instantiate,
7655 # then the envvar interface is used. Set only those that are not.
7656 # We use the long form for the default assignment because of an extremely
7657 # bizarre bug on SunOS 4.1.3.
7658 if $ac_need_defaults; then
7659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7660 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7661 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7664 # Have a temporary directory for convenience. Make it in the build tree
7665 # simply because there is no reason against having it here, and in addition,
7666 # creating and moving files from /tmp can sometimes cause problems.
7667 # Hook for its removal unless debugging.
7668 # Note that there is a small window in which the directory will not be cleaned:
7669 # after its creation but before its name has been assigned to `$tmp'.
7673 trap 'exit_status=$?
7675 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7677 trap 'as_fn_exit 1' 1 2 13 15
7679 # Create a (secure) tmp directory for tmp files.
7682 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7686 tmp=./conf$$-$RANDOM
7687 (umask 077 && mkdir "$tmp")
7688 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7691 # Set up the scripts for CONFIG_FILES section.
7692 # No need to generate them if there are no CONFIG_FILES.
7693 # This happens for instance with `./config.status config.h'.
7694 if test -n "$CONFIG_FILES"; then
7697 ac_cr=`echo X | tr X '\015'`
7698 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7699 # But we know of no other shell where ac_cr would be empty at this
7700 # point, so we can use a bashism as a fallback.
7701 if test "x$ac_cr" = x; then
7702 eval ac_cr=\$\'\\r\'
7704 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7705 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7711 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7716 echo "cat >conf$$subs.awk <<_ACEOF" &&
7717 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7720 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7721 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7723 for ac_last_try in false false false false false :; do
7724 . ./conf$$subs.sh ||
7725 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7727 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7728 if test $ac_delim_n = $ac_delim_num; then
7730 elif $ac_last_try; then
7731 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7733 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7739 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7743 s/^/S["/; s/!.*/"]=/
7753 s/\(.\{148\}\)..*/\1/
7755 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7760 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7767 s/\(.\{148\}\)..*/\1/
7769 s/["\\]/\\&/g; s/^/"/; s/$/"/
7773 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7778 ' <conf$$subs.awk | sed '
7783 ' >>$CONFIG_STATUS || ac_write_fail=1
7784 rm -f conf$$subs.awk
7785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7787 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7788 for (key in S) S_is_set[key] = 1
7794 nfields = split(line, field, "@")
7796 len = length(field[1])
7797 for (i = 2; i < nfields; i++) {
7799 keylen = length(key)
7800 if (S_is_set[key]) {
7802 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7803 len += length(value) + length(field[++i])
7814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7815 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7816 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7819 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7820 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7823 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7824 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7825 # trailing colons and then remove the whole line if VPATH becomes empty
7826 # (actually we leave an empty line to preserve line numbers).
7827 if test "x$srcdir" = x.; then
7828 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7847 fi # test -n "$CONFIG_FILES"
7849 # Set up the scripts for CONFIG_HEADERS section.
7850 # No need to generate them if there are no CONFIG_HEADERS.
7851 # This happens for instance with `./config.status Makefile'.
7852 if test -n "$CONFIG_HEADERS"; then
7853 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7857 # Transform confdefs.h into an awk script `defines.awk', embedded as
7858 # here-document in config.status, that substitutes the proper values into
7859 # config.h.in to produce config.h.
7861 # Create a delimiter string that does not exist in confdefs.h, to ease
7862 # handling of long lines.
7864 for ac_last_try in false false :; do
7865 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7866 if test -z "$ac_tt"; then
7868 elif $ac_last_try; then
7869 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7871 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7875 # For the awk script, D is an array of macro values keyed by name,
7876 # likewise P contains macro parameters if any. Preserve backslash
7877 # newline sequences.
7879 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7881 s/.\{148\}/&'"$ac_delim"'/g
7884 s/^[ ]*#[ ]*define[ ][ ]*/ /
7891 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7893 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7897 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7898 D["\1"]=" \3\\\\\\n"\\/p
7900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7905 s/.\{148\}/&'"$ac_delim"'/g
7910 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7913 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7915 ' <confdefs.h | sed '
7916 s/'"$ac_delim"'/"\\\
7917 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7920 for (key in D) D_is_set[key] = 1
7923 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7925 split(line, arg, " ")
7926 if (arg[1] == "#") {
7930 defundef = substr(arg[1], 2)
7933 split(mac1, mac2, "(") #)
7935 prefix = substr(line, 1, index(line, defundef) - 1)
7936 if (D_is_set[macro]) {
7937 # Preserve the white space surrounding the "#".
7938 print prefix "define", macro P[macro] D[macro]
7941 # Replace #undef with comments. This is necessary, for example,
7942 # in the case of _POSIX_SOURCE, which is predefined and required
7943 # on some systems where configure will not decide to define it.
7944 if (defundef == "undef") {
7945 print "/*", prefix defundef, macro, "*/"
7953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7954 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7955 fi # test -n "$CONFIG_HEADERS"
7958 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7963 :[FHLC]) ac_mode=$ac_tag; continue;;
7965 case $ac_mode$ac_tag in
7967 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7968 :[FH]-) ac_tag=-:-;;
7969 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7986 -) ac_f="$ac_tmp/stdin";;
7987 *) # Look for the file first in the build tree, then in the source tree
7988 # (if the path is not absolute). The absolute path cannot be DOS-style,
7989 # because $ac_f cannot contain `:'.
7993 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7995 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7997 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7998 as_fn_append ac_file_inputs " '$ac_f'"
8001 # Let's still pretend it is `configure' which instantiates (i.e., don't
8002 # use $as_me), people would be surprised to read:
8003 # /* config.h. Generated by config.status. */
8004 configure_input='Generated from '`
8005 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8007 if test x"$ac_file" != x-; then
8008 configure_input="$ac_file. $configure_input"
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8010 $as_echo "$as_me: creating $ac_file" >&6;}
8012 # Neutralize special characters interpreted by sed in replacement strings.
8013 case $configure_input in #(
8014 *\&* | *\|* | *\\* )
8015 ac_sed_conf_input=`$as_echo "$configure_input" |
8016 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8017 *) ac_sed_conf_input=$configure_input;;
8021 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8022 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8027 ac_dir=`$as_dirname -- "$ac_file" ||
8028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8029 X"$ac_file" : 'X\(//\)[^/]' \| \
8030 X"$ac_file" : 'X\(//\)$' \| \
8031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8032 $as_echo X"$ac_file" |
8033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8050 as_dir="$ac_dir"; as_fn_mkdir_p
8054 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8056 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8057 # A ".." for each directory in $ac_dir_suffix.
8058 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8059 case $ac_top_builddir_sub in
8060 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8061 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8064 ac_abs_top_builddir=$ac_pwd
8065 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8066 # for backward compatibility:
8067 ac_top_builddir=$ac_top_build_prefix
8070 .) # We are building in place.
8072 ac_top_srcdir=$ac_top_builddir_sub
8073 ac_abs_top_srcdir=$ac_pwd ;;
8074 [\\/]* | ?:[\\/]* ) # Absolute name.
8075 ac_srcdir=$srcdir$ac_dir_suffix;
8076 ac_top_srcdir=$srcdir
8077 ac_abs_top_srcdir=$srcdir ;;
8079 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8080 ac_top_srcdir=$ac_top_build_prefix$srcdir
8081 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8083 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8093 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8094 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8098 [\\/$]* | ?:[\\/]* ) ;;
8099 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8104 # If the template does not know about datarootdir, expand it.
8105 # FIXME: This hack should be removed a few years after 2.60.
8106 ac_datarootdir_hack=; ac_datarootdir_seen=
8117 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8118 *datarootdir*) ac_datarootdir_seen=yes;;
8119 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8121 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8124 ac_datarootdir_hack='
8125 s&@datadir@&$datadir&g
8126 s&@docdir@&$docdir&g
8127 s&@infodir@&$infodir&g
8128 s&@localedir@&$localedir&g
8129 s&@mandir@&$mandir&g
8130 s&\\\${datarootdir}&$datarootdir&g' ;;
8134 # Neutralize VPATH when `$srcdir' = `.'.
8135 # Shell code in configure.ac might set extrasub.
8136 # FIXME: do we really want to maintain this feature?
8137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8138 ac_sed_extra="$ac_vpsub
8141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8144 s|@configure_input@|$ac_sed_conf_input|;t t
8145 s&@top_builddir@&$ac_top_builddir_sub&;t t
8146 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8147 s&@srcdir@&$ac_srcdir&;t t
8148 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8149 s&@top_srcdir@&$ac_top_srcdir&;t t
8150 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8151 s&@builddir@&$ac_builddir&;t t
8152 s&@abs_builddir@&$ac_abs_builddir&;t t
8153 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8154 s&@INSTALL@&$ac_INSTALL&;t t
8155 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8156 $ac_datarootdir_hack
8158 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8159 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8161 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8162 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8163 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8164 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8166 which seems to be undefined. Please make sure it is defined" >&5
8167 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8168 which seems to be undefined. Please make sure it is defined" >&2;}
8170 rm -f "$ac_tmp/stdin"
8172 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8173 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8175 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8181 if test x"$ac_file" != x-; then
8183 $as_echo "/* $configure_input */" \
8184 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8185 } >"$ac_tmp/config.h" \
8186 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8187 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8189 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8192 mv "$ac_tmp/config.h" "$ac_file" \
8193 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8196 $as_echo "/* $configure_input */" \
8197 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8198 || as_fn_error $? "could not create -" "$LINENO" 5
8200 # Compute "$ac_file"'s index in $config_headers.
8203 for _am_header in $config_headers :; do
8205 $_am_arg | $_am_arg:* )
8208 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8211 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8212 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8213 X"$_am_arg" : 'X\(//\)[^/]' \| \
8214 X"$_am_arg" : 'X\(//\)$' \| \
8215 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8216 $as_echo X"$_am_arg" |
8217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8233 s/.*/./; q'`/stamp-h$_am_stamp_count
8236 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8237 $as_echo "$as_me: executing $ac_file commands" >&6;}
8242 case $ac_file$ac_mode in
8243 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8244 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8245 # are listed without --file. Let's play safe and only enable the eval
8246 # if we detect the quoting.
8247 case $CONFIG_FILES in
8248 *\'*) eval set x "$CONFIG_FILES" ;;
8249 *) set x $CONFIG_FILES ;;
8254 # Strip MF so we end up with the name of the file.
8255 mf=`echo "$mf" | sed -e 's/:.*$//'`
8256 # Check whether this is an Automake generated Makefile or not.
8257 # We used to match only the files named `Makefile.in', but
8258 # some people rename them; so instead we look at the file content.
8259 # Grep'ing the first line is not enough: some people post-process
8260 # each Makefile.in and add a new line on top of each file to say so.
8261 # Grep'ing the whole file is not good either: AIX grep has a line
8262 # limit of 2048, but all sed's we know have understand at least 4000.
8263 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8264 dirpart=`$as_dirname -- "$mf" ||
8265 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8266 X"$mf" : 'X\(//\)[^/]' \| \
8267 X"$mf" : 'X\(//\)$' \| \
8268 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8290 # Extract the definition of DEPDIR, am__include, and am__quote
8291 # from the Makefile without running `make'.
8292 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8293 test -z "$DEPDIR" && continue
8294 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8295 test -z "am__include" && continue
8296 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8297 # When using ansi2knr, U may be empty or an underscore; expand it
8298 U=`sed -n 's/^U = //p' < "$mf"`
8299 # Find all dependency output files, they are included files with
8300 # $(DEPDIR) in their names. We invoke sed twice because it is the
8301 # simplest approach to changing $(DEPDIR) to its actual value in the
8303 for file in `sed -n "
8304 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8305 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8306 # Make sure the directory exists.
8307 test -f "$dirpart/$file" && continue
8308 fdir=`$as_dirname -- "$file" ||
8309 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8310 X"$file" : 'X\(//\)[^/]' \| \
8311 X"$file" : 'X\(//\)$' \| \
8312 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8331 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8332 # echo "creating $dirpart/$file"
8333 echo '# dummy' > "$dirpart/$file"
8339 for ac_file in $CONFIG_FILES; do
8340 # Support "outfile[:infile[:infile...]]"
8342 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8344 # PO directories have a Makefile.in generated from Makefile.in.in.
8345 case "$ac_file" in */Makefile.in)
8346 # Adjust a relative srcdir.
8347 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8348 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8349 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8350 # In autoconf-2.13 it is called $ac_given_srcdir.
8351 # In autoconf-2.50 it is called $srcdir.
8352 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8353 case "$ac_given_srcdir" in
8354 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8355 /*) top_srcdir="$ac_given_srcdir" ;;
8356 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8358 # Treat a directory as a PO directory if and only if it has a
8359 # POTFILES.in file. This allows packages to have multiple PO
8360 # directories under different names or in different locations.
8361 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8362 rm -f "$ac_dir/POTFILES"
8363 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8364 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8365 POMAKEFILEDEPS="POTFILES.in"
8366 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8367 # on $ac_dir but don't depend on user-specified configuration
8369 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8370 # The LINGUAS file contains the set of available languages.
8371 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8372 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8374 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8375 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8376 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8377 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8379 # The set of available languages was given in configure.in.
8380 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8381 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8384 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8385 # Compute UPDATEPOFILES
8386 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8387 # Compute DUMMYPOFILES
8388 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8390 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8391 case "$ac_given_srcdir" in
8393 *) srcdirpre='$(srcdir)/' ;;
8399 for lang in $ALL_LINGUAS; do
8400 POFILES="$POFILES $srcdirpre$lang.po"
8401 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8402 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8403 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8405 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8406 # environment variable.
8408 if test -n "$ALL_LINGUAS"; then
8409 for presentlang in $ALL_LINGUAS; do
8411 if test "%UNSET%" != "$LINGUAS"; then
8412 desiredlanguages="$LINGUAS"
8414 desiredlanguages="$ALL_LINGUAS"
8416 for desiredlang in $desiredlanguages; do
8417 # Use the presentlang catalog if desiredlang is
8418 # a. equal to presentlang, or
8419 # b. a variant of presentlang (because in this case,
8420 # presentlang can be used as a fallback for messages
8421 # which are not translated in the desiredlang catalog).
8422 case "$desiredlang" in
8423 "$presentlang"*) useit=yes;;
8426 if test $useit = yes; then
8427 INST_LINGUAS="$INST_LINGUAS $presentlang"
8432 if test -n "$INST_LINGUAS"; then
8433 for lang in $INST_LINGUAS; do
8434 CATALOGS="$CATALOGS $lang.gmo"
8437 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8438 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8439 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8440 if test -f "$f"; then
8442 *.orig | *.bak | *~) ;;
8443 *) cat "$f" >> "$ac_dir/Makefile" ;;
8458 ac_clean_files=$ac_clean_files_save
8460 test $ac_write_fail = 0 ||
8461 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8464 # configure is writing to config.log, and then calls config.status.
8465 # config.status does its own redirection, appending to config.log.
8466 # Unfortunately, on DOS this fails, as config.log is still kept open
8467 # by configure, so config.status won't be able to write to it; its
8468 # output is simply discarded. So we exec the FD to /dev/null,
8469 # effectively closing config.log, so it can be properly (re)opened and
8470 # appended to by config.status. When coming back to configure, we
8471 # need to make the FD available again.
8472 if test "$no_create" != yes; then
8474 ac_config_status_args=
8475 test "$silent" = yes &&
8476 ac_config_status_args="$ac_config_status_args --quiet"
8478 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8480 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8481 # would make configure fail if this is the last instruction.
8482 $ac_cs_success || as_fn_exit 1
8484 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8486 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}