2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ppastats 1.3.1.
5 # Report bugs to <jeanfi@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
581 PACKAGE_NAME='ppastats'
582 PACKAGE_TARNAME='ppastats'
583 PACKAGE_VERSION='1.3.1'
584 PACKAGE_STRING='ppastats 1.3.1'
585 PACKAGE_BUGREPORT='jeanfi@gmail.com'
586 PACKAGE_URL='http://wpitchoune.net/ppastats'
588 ac_unique_file="src/main.c"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 ac_subst_vars='am__EXEEXT_FALSE
662 XGETTEXT_EXTRA_OPTIONS
670 GETTEXT_MACRO_VERSION
702 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
759 enable_dependency_tracking
767 ac_precious_vars='build_alias
786 # Initialize some variables set by options.
788 ac_init_version=false
789 ac_unrecognized_opts=
791 # The variables have the same names as the options, with
792 # dashes changed to underlines.
800 program_transform_name=s,x,x,
808 # Installation directory options.
809 # These are left unexpanded so users can "make install exec_prefix=/foo"
810 # and all the variables that are supposed to be based on exec_prefix
811 # by default will actually change.
812 # Use braces instead of parens because sh, perl, etc. also accept them.
813 # (The list follows the same order as the GNU Coding Standards.)
814 bindir='${exec_prefix}/bin'
815 sbindir='${exec_prefix}/sbin'
816 libexecdir='${exec_prefix}/libexec'
817 datarootdir='${prefix}/share'
818 datadir='${datarootdir}'
819 sysconfdir='${prefix}/etc'
820 sharedstatedir='${prefix}/com'
821 localstatedir='${prefix}/var'
822 includedir='${prefix}/include'
823 oldincludedir='/usr/include'
824 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
825 infodir='${datarootdir}/info'
830 libdir='${exec_prefix}/lib'
831 localedir='${datarootdir}/locale'
832 mandir='${datarootdir}/man'
838 # If the previous option needs an argument, assign it.
839 if test -n "$ac_prev"; then
840 eval $ac_prev=\$ac_option
846 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 # Accept the important Cygnus configure options, so we can diagnose typos.
853 case $ac_dashdash$ac_option in
857 -bindir | --bindir | --bindi | --bind | --bin | --bi)
859 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 -build | --build | --buil | --bui | --bu)
863 ac_prev=build_alias ;;
864 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
865 build_alias=$ac_optarg ;;
867 -cache-file | --cache-file | --cache-fil | --cache-fi \
868 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
869 ac_prev=cache_file ;;
870 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
871 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
872 cache_file=$ac_optarg ;;
875 cache_file=config.cache ;;
877 -datadir | --datadir | --datadi | --datad)
879 -datadir=* | --datadir=* | --datadi=* | --datad=*)
880 datadir=$ac_optarg ;;
882 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
883 | --dataroo | --dataro | --datar)
884 ac_prev=datarootdir ;;
885 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
886 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
887 datarootdir=$ac_optarg ;;
889 -disable-* | --disable-*)
890 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893 as_fn_error $? "invalid feature name: $ac_useropt"
894 ac_useropt_orig=$ac_useropt
895 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep=', ';;
903 eval enable_$ac_useropt=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 -enable-* | --enable-*)
916 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919 as_fn_error $? "invalid feature name: $ac_useropt"
920 ac_useropt_orig=$ac_useropt
921 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep=', ';;
929 eval enable_$ac_useropt=\$ac_optarg ;;
931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933 | --exec | --exe | --ex)
934 ac_prev=exec_prefix ;;
935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937 | --exec=* | --exe=* | --ex=*)
938 exec_prefix=$ac_optarg ;;
940 -gas | --gas | --ga | --g)
941 # Obsolete; use --with-gas.
944 -help | --help | --hel | --he | -h)
946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947 ac_init_help=recursive ;;
948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949 ac_init_help=short ;;
951 -host | --host | --hos | --ho)
952 ac_prev=host_alias ;;
953 -host=* | --host=* | --hos=* | --ho=*)
954 host_alias=$ac_optarg ;;
956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
960 htmldir=$ac_optarg ;;
962 -includedir | --includedir | --includedi | --included | --include \
963 | --includ | --inclu | --incl | --inc)
964 ac_prev=includedir ;;
965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966 | --includ=* | --inclu=* | --incl=* | --inc=*)
967 includedir=$ac_optarg ;;
969 -infodir | --infodir | --infodi | --infod | --info | --inf)
971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972 infodir=$ac_optarg ;;
974 -libdir | --libdir | --libdi | --libd)
976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980 | --libexe | --libex | --libe)
981 ac_prev=libexecdir ;;
982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983 | --libexe=* | --libex=* | --libe=*)
984 libexecdir=$ac_optarg ;;
986 -localedir | --localedir | --localedi | --localed | --locale)
988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989 localedir=$ac_optarg ;;
991 -localstatedir | --localstatedir | --localstatedi | --localstated \
992 | --localstate | --localstat | --localsta | --localst | --locals)
993 ac_prev=localstatedir ;;
994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996 localstatedir=$ac_optarg ;;
998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 mandir=$ac_optarg ;;
1003 -nfp | --nfp | --nf)
1004 # Obsolete; use --without-fp.
1007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008 | --no-cr | --no-c | -n)
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017 | --oldin | --oldi | --old | --ol | --o)
1018 ac_prev=oldincludedir ;;
1019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022 oldincludedir=$ac_optarg ;;
1024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027 prefix=$ac_optarg ;;
1029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030 | --program-pre | --program-pr | --program-p)
1031 ac_prev=program_prefix ;;
1032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034 program_prefix=$ac_optarg ;;
1036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037 | --program-suf | --program-su | --program-s)
1038 ac_prev=program_suffix ;;
1039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041 program_suffix=$ac_optarg ;;
1043 -program-transform-name | --program-transform-name \
1044 | --program-transform-nam | --program-transform-na \
1045 | --program-transform-n | --program-transform- \
1046 | --program-transform | --program-transfor \
1047 | --program-transfo | --program-transf \
1048 | --program-trans | --program-tran \
1049 | --progr-tra | --program-tr | --program-t)
1050 ac_prev=program_transform_name ;;
1051 -program-transform-name=* | --program-transform-name=* \
1052 | --program-transform-nam=* | --program-transform-na=* \
1053 | --program-transform-n=* | --program-transform-=* \
1054 | --program-transform=* | --program-transfor=* \
1055 | --program-transfo=* | --program-transf=* \
1056 | --program-trans=* | --program-tran=* \
1057 | --progr-tra=* | --program-tr=* | --program-t=*)
1058 program_transform_name=$ac_optarg ;;
1060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063 pdfdir=$ac_optarg ;;
1065 -psdir | --psdir | --psdi | --psd | --ps)
1067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071 | -silent | --silent | --silen | --sile | --sil)
1074 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1076 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1078 sbindir=$ac_optarg ;;
1080 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082 | --sharedst | --shareds | --shared | --share | --shar \
1084 ac_prev=sharedstatedir ;;
1085 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1089 sharedstatedir=$ac_optarg ;;
1091 -site | --site | --sit)
1093 -site=* | --site=* | --sit=*)
1096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099 srcdir=$ac_optarg ;;
1101 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102 | --syscon | --sysco | --sysc | --sys | --sy)
1103 ac_prev=sysconfdir ;;
1104 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106 sysconfdir=$ac_optarg ;;
1108 -target | --target | --targe | --targ | --tar | --ta | --t)
1109 ac_prev=target_alias ;;
1110 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111 target_alias=$ac_optarg ;;
1113 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1116 -version | --version | --versio | --versi | --vers | -V)
1117 ac_init_version=: ;;
1120 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error $? "invalid package name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1133 eval with_$ac_useropt=\$ac_optarg ;;
1135 -without-* | --without-*)
1136 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139 as_fn_error $? "invalid package name: $ac_useropt"
1140 ac_useropt_orig=$ac_useropt
1141 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep=', ';;
1149 eval with_$ac_useropt=no ;;
1152 # Obsolete; use --with-x.
1155 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156 | --x-incl | --x-inc | --x-in | --x-i)
1157 ac_prev=x_includes ;;
1158 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160 x_includes=$ac_optarg ;;
1162 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164 ac_prev=x_libraries ;;
1165 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167 x_libraries=$ac_optarg ;;
1169 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information"
1174 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 case $ac_envvar in #(
1177 '' | [0-9]* | *[!_$as_cr_alnum]* )
1178 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1180 eval $ac_envvar=\$ac_optarg
1181 export $ac_envvar ;;
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1194 if test -n "$ac_prev"; then
1195 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196 as_fn_error $? "missing argument to $ac_option"
1199 if test -n "$ac_unrecognized_opts"; then
1200 case $enable_option_checking in
1202 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1203 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 # Check all directory arguments for consistency.
1208 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val=\$$ac_var
1214 # Remove trailing slashes.
1217 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218 eval $ac_var=\$ac_val;;
1220 # Be sure to have absolute directory names.
1222 [\\/$]* | ?:[\\/]* ) continue;;
1223 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1225 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1233 target=$target_alias
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x; then
1237 if test "x$build_alias" = x; then
1238 cross_compiling=maybe
1239 elif test "x$build_alias" != "x$host_alias"; then
1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1247 test "$silent" = yes && exec 6>/dev/null
1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1251 ac_ls_di=`ls -di .` &&
1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253 as_fn_error $? "working directory cannot be determined"
1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255 as_fn_error $? "pwd does not report name of working directory"
1258 # Find the source files, if location was not specified.
1259 if test -z "$srcdir"; then
1260 ac_srcdir_defaulted=yes
1261 # Try the directory containing this script, then the parent directory.
1262 ac_confdir=`$as_dirname -- "$as_myself" ||
1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264 X"$as_myself" : 'X\(//\)[^/]' \| \
1265 X"$as_myself" : 'X\(//\)$' \| \
1266 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267 $as_echo X"$as_myself" |
1268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1290 ac_srcdir_defaulted=no
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1294 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310 for ac_var in $ac_precious_vars; do
1311 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_${ac_var}_value=\$${ac_var}
1313 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1318 # Report the --help message.
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1324 \`configure' configures ppastats 1.3.1 to adapt to many kinds of systems.
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Defaults for the options are specified in brackets.
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking ...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1355 For better control, use the options below.
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/ppastats]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1387 --x-includes=DIR X include files are in DIR
1388 --x-libraries=DIR X library files are in DIR
1391 --build=BUILD configure for building on BUILD [guessed]
1392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive ) echo "Configuration of ppastats 1.3.1:";;
1403 --disable-option-checking ignore unrecognized --enable/--with options
1404 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1405 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1406 --enable-silent-rules less verbose build output (undo: "make V=1")
1407 --disable-silent-rules verbose build output (undo: "make V=0")
1408 --enable-dependency-tracking
1409 do not reject slow dependency extractors
1410 --disable-dependency-tracking
1411 speeds up one-time build
1412 --disable-nls do not use Native Language Support
1413 --disable-rpath do not hardcode runtime library paths
1416 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1417 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1418 --with-gnu-ld assume the C compiler uses GNU ld default=no
1419 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1420 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1421 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1422 --without-libintl-prefix don't search for libintl in includedir and libdir
1423 --with-x use the X Window System
1425 Some influential environment variables:
1426 CC C compiler command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1429 nonstandard directory <lib dir>
1430 LIBS libraries to pass to the linker, e.g. -l<library>
1431 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1432 you have headers in a nonstandard directory <include dir>
1434 XMKMF Path to xmkmf, Makefile generator for X Window System
1435 PKG_CONFIG path to pkg-config utility
1437 directories to add to pkg-config's search path
1439 path overriding pkg-config's built-in search path
1440 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1441 CURL_LIBS linker flags for CURL, overriding pkg-config
1442 JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1443 JSON_LIBS linker flags for JSON, overriding pkg-config
1445 Use these variables to override the choices made by `configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to <jeanfi@gmail.com>.
1449 ppastats home page: <http://wpitchoune.net/ppastats>.
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir=$ac_pwd
1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir=$ac_top_build_prefix
1479 .) # We are building in place.
1481 ac_top_srcdir=$ac_top_builddir_sub
1482 ac_abs_top_srcdir=$ac_pwd ;;
1483 [\\/]* | ?:[\\/]* ) # Absolute name.
1484 ac_srcdir=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir=$srcdir
1486 ac_abs_top_srcdir=$srcdir ;;
1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" || { ac_status=$?; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" || { ac_status=$?; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1512 ppastats configure 1.3.1
1513 generated by GNU Autoconf 2.69
1515 Copyright (C) 2012 Free Software Foundation, Inc.
1516 This configure script is free software; the Free Software Foundation
1517 gives unlimited permission to copy, distribute and modify it.
1522 ## ------------------------ ##
1523 ## Autoconf initialization. ##
1524 ## ------------------------ ##
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile ()
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext
1533 if { { ac_try="$ac_compile"
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.$ac_objext; then :
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 as_fn_set_status $ac_retval
1562 } # ac_fn_c_try_compile
1564 # ac_fn_c_try_cpp LINENO
1565 # ----------------------
1566 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570 if { { ac_try="$ac_cpp conftest.$ac_ext"
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } > conftest.i && {
1586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1591 $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.$ac_ext >&5
1596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597 as_fn_set_status $ac_retval
1601 # ac_fn_c_try_link LINENO
1602 # -----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded.
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext conftest$ac_exeext
1608 if { { ac_try="$ac_link"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_link") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest$ac_exeext && {
1627 test "$cross_compiling" = yes ||
1628 test -x conftest$ac_exeext
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1638 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1639 # interfere with the next link command; also delete a directory that is
1640 # left behind by Apple's compiler. We do this before executing the actions.
1641 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1645 } # ac_fn_c_try_link
1647 # ac_fn_c_try_run LINENO
1648 # ----------------------
1649 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1650 # that executables *can* be run.
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 if { { ac_try="$ac_link"
1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_link") 2>&5
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1665 { { case "(($ac_try" in
1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_try") 2>&5
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; }; }; then :
1677 $as_echo "$as_me: program exited with status $ac_status" >&5
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1681 ac_retval=$ac_status
1683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status $ac_retval
1689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1690 # -------------------------------------------------------
1691 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1692 # the include files in INCLUDES and setting the cache variable VAR
1694 ac_fn_c_check_header_mongrel ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if eval \${$3+:} false; then :
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if eval \${$3+:} false; then :
1701 $as_echo_n "(cached) " >&6
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705 $as_echo "$ac_res" >&6; }
1707 # Is the header compilable?
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1709 $as_echo_n "checking $2 usability... " >&6; }
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1715 if ac_fn_c_try_compile "$LINENO"; then :
1716 ac_header_compiler=yes
1718 ac_header_compiler=no
1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1722 $as_echo "$ac_header_compiler" >&6; }
1724 # Is the header present?
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1726 $as_echo_n "checking $2 presence... " >&6; }
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1731 if ac_fn_c_try_cpp "$LINENO"; then :
1732 ac_header_preproc=yes
1734 ac_header_preproc=no
1736 rm -f conftest.err conftest.i conftest.$ac_ext
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1738 $as_echo "$ac_header_preproc" >&6; }
1740 # So? What about this header?
1741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1744 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1750 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1752 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1754 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1756 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1759 ( $as_echo "## ------------------------------- ##
1760 ## Report this to jeanfi@gmail.com ##
1761 ## ------------------------------- ##"
1762 ) | sed "s/^/$as_me: WARNING: /" >&2
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval \${$3+:} false; then :
1768 $as_echo_n "(cached) " >&6
1770 eval "$3=\$ac_header_compiler"
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 } # ac_fn_c_check_header_mongrel
1780 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1781 # -------------------------------------------------------
1782 # Tests whether HEADER exists and can be compiled using the include files in
1783 # INCLUDES, setting the cache variable VAR accordingly.
1784 ac_fn_c_check_header_compile ()
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1797 if ac_fn_c_try_compile "$LINENO"; then :
1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 } # ac_fn_c_check_header_compile
1811 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1812 # -------------------------------------------
1813 # Tests whether TYPE exists after having included INCLUDES, setting cache
1814 # variable VAR accordingly.
1815 ac_fn_c_check_type ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821 $as_echo_n "(cached) " >&6
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1836 if ac_fn_c_try_compile "$LINENO"; then :
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1849 if ac_fn_c_try_compile "$LINENO"; then :
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 } # ac_fn_c_check_type
1864 cat >config.log <<_ACEOF
1865 This file contains any messages produced by compilers while
1866 running configure, to aid debugging if configure makes a mistake.
1868 It was created by ppastats $as_me 1.3.1, which was
1869 generated by GNU Autoconf 2.69. Invocation command line was
1881 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1882 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1883 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1884 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1885 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1887 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1888 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1890 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1891 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1892 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1893 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1894 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1895 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1896 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir=.
1905 $as_echo "PATH: $as_dir"
1921 # Keep a trace of the command line.
1922 # Strip out --no-create and --no-recursion so they do not pile up.
1923 # Strip out --silent because we don't want to record it for future runs.
1924 # Also quote any args containing shell meta-characters.
1925 # Make two passes to allow for proper duplicate-argument suppression.
1929 ac_must_keep_next=false
1935 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1937 | -silent | --silent | --silen | --sile | --sil)
1940 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1943 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1945 as_fn_append ac_configure_args1 " '$ac_arg'"
1946 if test $ac_must_keep_next = true; then
1947 ac_must_keep_next=false # Got value, back to normal.
1950 *=* | --config-cache | -C | -disable-* | --disable-* \
1951 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1952 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1953 | -with-* | --with-* | -without-* | --without-* | --x)
1954 case "$ac_configure_args0 " in
1955 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1958 -* ) ac_must_keep_next=true ;;
1961 as_fn_append ac_configure_args " '$ac_arg'"
1966 { ac_configure_args0=; unset ac_configure_args0;}
1967 { ac_configure_args1=; unset ac_configure_args1;}
1969 # When interrupted or exit'd, cleanup temporary files, and complete
1970 # config.log. We remove comments because anyway the quotes in there
1971 # would cause problems or look ugly.
1972 # WARNING: Use '\'' to represent an apostrophe within the trap.
1973 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1974 trap 'exit_status=$?
1975 # Save into config.log some information that might help in debugging.
1979 $as_echo "## ---------------- ##
1980 ## Cache variables. ##
1981 ## ---------------- ##"
1983 # The following way of writing the cache mishandles newlines in values,
1985 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1986 eval ac_val=\$$ac_var
1990 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1991 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1994 _ | IFS | as_nl) ;; #(
1995 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1996 *) { eval $ac_var=; unset $ac_var;} ;;
2001 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2002 *${as_nl}ac_space=\ *)
2004 "s/'\''/'\''\\\\'\'''\''/g;
2005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2008 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2015 $as_echo "## ----------------- ##
2016 ## Output variables. ##
2017 ## ----------------- ##"
2019 for ac_var in $ac_subst_vars
2021 eval ac_val=\$$ac_var
2023 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025 $as_echo "$ac_var='\''$ac_val'\''"
2029 if test -n "$ac_subst_files"; then
2030 $as_echo "## ------------------- ##
2031 ## File substitutions. ##
2032 ## ------------------- ##"
2034 for ac_var in $ac_subst_files
2036 eval ac_val=\$$ac_var
2038 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2040 $as_echo "$ac_var='\''$ac_val'\''"
2045 if test -s confdefs.h; then
2046 $as_echo "## ----------- ##
2053 test "$ac_signal" != 0 &&
2054 $as_echo "$as_me: caught signal $ac_signal"
2055 $as_echo "$as_me: exit $exit_status"
2057 rm -f core *.core core.conftest.* &&
2058 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2061 for ac_signal in 1 2 13 15; do
2062 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2067 rm -f -r conftest* confdefs.h
2069 $as_echo "/* confdefs.h */" > confdefs.h
2071 # Predefined preprocessor variables.
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_NAME "$PACKAGE_NAME"
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_STRING "$PACKAGE_STRING"
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_URL "$PACKAGE_URL"
2098 # Let the site file select an alternate cache file if it wants to.
2099 # Prefer an explicitly selected file to automatically selected ones.
2102 if test -n "$CONFIG_SITE"; then
2103 # We do not want a PATH search for config.site.
2104 case $CONFIG_SITE in #((
2105 -*) ac_site_file1=./$CONFIG_SITE;;
2106 */*) ac_site_file1=$CONFIG_SITE;;
2107 *) ac_site_file1=./$CONFIG_SITE;;
2109 elif test "x$prefix" != xNONE; then
2110 ac_site_file1=$prefix/share/config.site
2111 ac_site_file2=$prefix/etc/config.site
2113 ac_site_file1=$ac_default_prefix/share/config.site
2114 ac_site_file2=$ac_default_prefix/etc/config.site
2116 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2118 test "x$ac_site_file" = xNONE && continue
2119 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2121 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2122 sed 's/^/| /' "$ac_site_file" >&5
2124 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2126 as_fn_error $? "failed to load site script $ac_site_file
2127 See \`config.log' for more details" "$LINENO" 5; }
2131 if test -r "$cache_file"; then
2132 # Some versions of bash will fail to source /dev/null (special files
2133 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2134 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2136 $as_echo "$as_me: loading cache $cache_file" >&6;}
2138 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2139 *) . "./$cache_file";;
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2144 $as_echo "$as_me: creating cache $cache_file" >&6;}
2148 gt_needs="$gt_needs "
2149 # Check that the precious variables saved in the cache have kept the same
2151 ac_cache_corrupted=false
2152 for ac_var in $ac_precious_vars; do
2153 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2154 eval ac_new_set=\$ac_env_${ac_var}_set
2155 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2156 eval ac_new_val=\$ac_env_${ac_var}_value
2157 case $ac_old_set,$ac_new_set in
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2161 ac_cache_corrupted=: ;;
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2164 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2165 ac_cache_corrupted=: ;;
2168 if test "x$ac_old_val" != "x$ac_new_val"; then
2169 # differences in whitespace do not lead to failure.
2170 ac_old_val_w=`echo x $ac_old_val`
2171 ac_new_val_w=`echo x $ac_new_val`
2172 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2174 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2175 ac_cache_corrupted=:
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2178 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2179 eval $ac_var=\$ac_old_val
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2182 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2184 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2187 # Pass precious variables to config.status.
2188 if test "$ac_new_set" = set; then
2190 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2191 *) ac_arg=$ac_var=$ac_new_val ;;
2193 case " $ac_configure_args " in
2194 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2195 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2199 if $ac_cache_corrupted; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2203 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2204 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2206 ## -------------------- ##
2207 ## Main body of script. ##
2208 ## -------------------- ##
2211 ac_cpp='$CPP $CPPFLAGS'
2212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2218 am__api_version='1.14'
2221 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2222 if test -f "$ac_dir/install-sh"; then
2224 ac_install_sh="$ac_aux_dir/install-sh -c"
2226 elif test -f "$ac_dir/install.sh"; then
2228 ac_install_sh="$ac_aux_dir/install.sh -c"
2230 elif test -f "$ac_dir/shtool"; then
2232 ac_install_sh="$ac_aux_dir/shtool install -c"
2236 if test -z "$ac_aux_dir"; then
2237 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2240 # These three variables are undocumented and unsupported,
2241 # and are intended to be withdrawn in a future Autoconf release.
2242 # They can cause serious problems if a builder's source tree is in a directory
2243 # whose full name contains unusual characters.
2244 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2245 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2246 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2249 # Find a good install program. We prefer a C program (faster),
2250 # so one script is as good as another. But avoid the broken or
2251 # incompatible versions:
2252 # SysV /etc/install, /usr/sbin/install
2253 # SunOS /usr/etc/install
2254 # IRIX /sbin/install
2256 # AmigaOS /C/install, which installs bootblocks on floppy discs
2257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2260 # OS/2's system install, which has a completely different semantic
2261 # ./install, which can be erroneously created by make from ./install.sh.
2262 # Reject install programs that cannot install multiple files.
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2264 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2265 if test -z "$INSTALL"; then
2266 if ${ac_cv_path_install+:} false; then :
2267 $as_echo_n "(cached) " >&6
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 # Account for people who put trailing slashes in PATH elements.
2275 case $as_dir/ in #((
2276 ./ | .// | /[cC]/* | \
2277 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2278 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2281 # OSF1 and SCO ODT 3.0 have their own names for install.
2282 # Don't use installbsd from OSF since it installs stuff as root
2284 for ac_prog in ginstall scoinst install; do
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2287 if test $ac_prog = install &&
2288 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2289 # AIX install. It has an incompatible calling convention.
2291 elif test $ac_prog = install &&
2292 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2293 # program-specific install script used by HP pwplus--don't use.
2296 rm -rf conftest.one conftest.two conftest.dir
2297 echo one > conftest.one
2298 echo two > conftest.two
2300 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2301 test -s conftest.one && test -s conftest.two &&
2302 test -s conftest.dir/conftest.one &&
2303 test -s conftest.dir/conftest.two
2305 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2318 rm -rf conftest.one conftest.two conftest.dir
2321 if test "${ac_cv_path_install+set}" = set; then
2322 INSTALL=$ac_cv_path_install
2324 # As a last resort, use the slow shell script. Don't cache a
2325 # value for INSTALL within a source directory, because that will
2326 # break other packages using the cache if that directory is
2327 # removed, or if the value is a relative name.
2328 INSTALL=$ac_install_sh
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2332 $as_echo "$INSTALL" >&6; }
2334 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2335 # It thinks the first close brace ends the variable substitution.
2336 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2338 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2340 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2343 $as_echo_n "checking whether build environment is sane... " >&6; }
2344 # Reject unsafe characters in $srcdir or the absolute working directory
2345 # name. Accept space and tab only in the latter.
2349 *[\\\"\#\$\&\'\`$am_lf]*)
2350 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2353 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2354 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2357 # Do 'set' in a subshell so we don't clobber the current shell's
2358 # arguments. Must try -L first in case configure is actually a
2359 # symlink; some systems play weird games with the mod time of symlinks
2360 # (eg FreeBSD returns the mod time of the symlink's containing
2364 for am_try in 1 2; do
2365 echo "timestamp, slept: $am_has_slept" > conftest.file
2366 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2367 if test "$*" = "X"; then
2369 set X `ls -t "$srcdir/configure" conftest.file`
2371 if test "$*" != "X $srcdir/configure conftest.file" \
2372 && test "$*" != "X conftest.file $srcdir/configure"; then
2374 # If neither matched, then we have a broken ls. This can happen
2375 # if, for instance, CONFIG_SHELL is bash and it inherits a
2376 # broken ls alias from the environment. This has actually
2377 # happened. Such a system could not be considered "sane".
2378 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2379 alias in your environment" "$LINENO" 5
2381 if test "$2" = conftest.file || test $am_try -eq 2; then
2388 test "$2" = conftest.file
2394 as_fn_error $? "newly created file is older than distributed files!
2395 Check your system clock" "$LINENO" 5
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2398 $as_echo "yes" >&6; }
2399 # If we didn't sleep, we still need to ensure time stamps of config.status and
2400 # generated files are strictly newer.
2402 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2409 test "$program_prefix" != NONE &&
2410 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2411 # Use a double $ so make ignores it.
2412 test "$program_suffix" != NONE &&
2413 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2414 # Double any \ or $.
2415 # By default was `s,x,x', remove it if useless.
2416 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2417 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2419 # expand $ac_aux_dir to an absolute path
2420 am_aux_dir=`cd $ac_aux_dir && pwd`
2422 if test x"${MISSING+set}" != xset; then
2425 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2427 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2430 # Use eval to expand $SHELL
2431 if eval "$MISSING --is-lightweight"; then
2432 am_missing_run="$MISSING "
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2436 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2439 if test x"${install_sh}" != xset; then
2442 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2444 install_sh="\${SHELL} $am_aux_dir/install-sh"
2448 # Installed binaries are usually stripped using 'strip' when the user
2449 # run "make install-strip". However 'strip' might not be the right
2450 # tool to use in cross-compilation environments, therefore Automake
2451 # will honor the 'STRIP' environment variable to overrule this program.
2452 if test "$cross_compiling" != no; then
2453 if test -n "$ac_tool_prefix"; then
2454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2455 set dummy ${ac_tool_prefix}strip; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if ${ac_cv_prog_STRIP+:} false; then :
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$STRIP"; then
2462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 STRIP=$ac_cv_prog_STRIP
2482 if test -n "$STRIP"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2484 $as_echo "$STRIP" >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2492 if test -z "$ac_cv_prog_STRIP"; then
2494 # Extract the first word of "strip", so it can be a program name with args.
2495 set dummy strip; ac_word=$2
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497 $as_echo_n "checking for $ac_word... " >&6; }
2498 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2499 $as_echo_n "(cached) " >&6
2501 if test -n "$ac_ct_STRIP"; then
2502 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir=.
2509 for ac_exec_ext in '' $ac_executable_extensions; do
2510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2511 ac_cv_prog_ac_ct_STRIP="strip"
2512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2522 if test -n "$ac_ct_STRIP"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2524 $as_echo "$ac_ct_STRIP" >&6; }
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527 $as_echo "no" >&6; }
2530 if test "x$ac_ct_STRIP" = x; then
2533 case $cross_compiling:$ac_tool_warned in
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2537 ac_tool_warned=yes ;;
2542 STRIP="$ac_cv_prog_STRIP"
2546 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2549 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2550 if test -z "$MKDIR_P"; then
2551 if ${ac_cv_path_mkdir+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2558 test -z "$as_dir" && as_dir=.
2559 for ac_prog in mkdir gmkdir; do
2560 for ac_exec_ext in '' $ac_executable_extensions; do
2561 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2562 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2563 'mkdir (GNU coreutils) '* | \
2564 'mkdir (coreutils) '* | \
2565 'mkdir (fileutils) '4.1*)
2566 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2576 test -d ./--version && rmdir ./--version
2577 if test "${ac_cv_path_mkdir+set}" = set; then
2578 MKDIR_P="$ac_cv_path_mkdir -p"
2580 # As a last resort, use the slow shell script. Don't cache a
2581 # value for MKDIR_P within a source directory, because that will
2582 # break other packages using the cache if that directory is
2583 # removed, or if the value is a relative name.
2584 MKDIR_P="$ac_install_sh -d"
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2588 $as_echo "$MKDIR_P" >&6; }
2590 for ac_prog in gawk mawk nawk awk
2592 # Extract the first word of "$ac_prog", so it can be a program name with args.
2593 set dummy $ac_prog; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_AWK+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$AWK"; then
2600 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2609 ac_cv_prog_AWK="$ac_prog"
2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$AWK"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2622 $as_echo "$AWK" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2629 test -n "$AWK" && break
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2633 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2635 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2636 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2637 $as_echo_n "(cached) " >&6
2639 cat >conftest.make <<\_ACEOF
2642 @echo '@@@%%%=$(MAKE)=@@@%%%'
2644 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2647 eval ac_cv_prog_make_${ac_make}_set=yes;;
2649 eval ac_cv_prog_make_${ac_make}_set=no;;
2653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2655 $as_echo "yes" >&6; }
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660 SET_MAKE="MAKE=${MAKE-make}"
2663 rm -rf .tst 2>/dev/null
2664 mkdir .tst 2>/dev/null
2665 if test -d .tst; then
2670 rmdir .tst 2>/dev/null
2672 # Check whether --enable-silent-rules was given.
2673 if test "${enable_silent_rules+set}" = set; then :
2674 enableval=$enable_silent_rules;
2677 case $enable_silent_rules in # (((
2678 yes) AM_DEFAULT_VERBOSITY=0;;
2679 no) AM_DEFAULT_VERBOSITY=1;;
2680 *) AM_DEFAULT_VERBOSITY=1;;
2682 am_make=${MAKE-make}
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2684 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2685 if ${am_cv_make_support_nested_variables+:} false; then :
2686 $as_echo_n "(cached) " >&6
2688 if $as_echo 'TRUE=$(BAR$(V))
2694 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2695 am_cv_make_support_nested_variables=yes
2697 am_cv_make_support_nested_variables=no
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2701 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2702 if test $am_cv_make_support_nested_variables = yes; then
2704 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2706 AM_V=$AM_DEFAULT_VERBOSITY
2707 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2711 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2712 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2713 # is not polluted with repeated "-I."
2714 am__isrc=' -I$(srcdir)'
2715 # test to see if srcdir already configured
2716 if test -f $srcdir/config.status; then
2717 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2721 # test whether we have cygpath
2722 if test -z "$CYGPATH_W"; then
2723 if (cygpath --version) >/dev/null 2>/dev/null; then
2724 CYGPATH_W='cygpath -w'
2731 # Define the identity of the package.
2736 cat >>confdefs.h <<_ACEOF
2737 #define PACKAGE "$PACKAGE"
2741 cat >>confdefs.h <<_ACEOF
2742 #define VERSION "$VERSION"
2745 # Some tools Automake needs.
2747 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2750 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2753 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2756 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2759 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2761 # For better backward compatibility. To be removed once Automake 1.9.x
2762 # dies out for good. For more background, see:
2763 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2764 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2765 mkdir_p='$(MKDIR_P)'
2767 # We need awk for the "check" target. The system "awk" is bad on
2769 # Always define AMTAR for backward compatibility. Yes, it's still used
2770 # in the wild :-( We should find a proper way to deprecate it ...
2774 # We'll loop over all known methods to create a tar archive until one works.
2775 _am_tools='gnutar pax cpio none'
2777 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2784 # POSIX will say in a future version that running "rm -f" with no argument
2785 # is OK; and we want to be able to make that assumption in our Makefile
2786 # recipes. So use an aggressive probe to check that the usage we want is
2787 # actually supported "in the wild" to an acceptable degree.
2788 # See automake bug#10828.
2789 # To make any issue more visible, cause the running configure to be aborted
2790 # by default if the 'rm' program in use doesn't match our expectations; the
2791 # user can still override this though.
2792 if rm -f && rm -fr && rm -rf; then : OK; else
2796 Your 'rm' program seems unable to run without file operands specified
2797 on the command line, even when the '-f' option is present. This is contrary
2798 to the behaviour of most rm programs out there, and not conforming with
2799 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2801 Please tell bug-automake@gnu.org about your system, including the value
2802 of your $PATH and any error possibly output before this message. This
2803 can help us improve future automake versions.
2806 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2807 echo 'Configuration will proceed anyway, since you have set the' >&2
2808 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2812 Aborting the configuration process, to ensure you take notice of the issue.
2814 You can download and install GNU coreutils to get an 'rm' implementation
2815 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2817 If you want to complete the configuration process using your problematic
2818 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2819 to "yes", and re-run configure.
2822 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2827 ac_config_headers="$ac_config_headers config.h"
2830 # Checks for programs.
2832 ac_cpp='$CPP $CPPFLAGS'
2833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 if test -n "$ac_tool_prefix"; then
2837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2838 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if ${ac_cv_prog_CC+:} false; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$CC"; then
2845 ac_cv_prog_CC="$CC" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2875 if test -z "$ac_cv_prog_CC"; then
2877 # Extract the first word of "gcc", so it can be a program name with args.
2878 set dummy gcc; ac_word=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$ac_ct_CC"; then
2885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2894 ac_cv_prog_ac_ct_CC="gcc"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2905 if test -n "$ac_ct_CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2907 $as_echo "$ac_ct_CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2913 if test "x$ac_ct_CC" = x; then
2916 case $cross_compiling:$ac_tool_warned in
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2920 ac_tool_warned=yes ;;
2928 if test -z "$CC"; then
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2931 set dummy ${ac_tool_prefix}cc; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_CC+:} false; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$CC"; then
2938 ac_cv_prog_CC="$CC" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_CC="${ac_tool_prefix}cc"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$CC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2960 $as_echo "$CC" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2969 if test -z "$CC"; then
2970 # Extract the first word of "cc", so it can be a program name with args.
2971 set dummy cc; ac_word=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_CC+:} false; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$CC"; then
2978 ac_cv_prog_CC="$CC" # Let the user override the test.
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2989 ac_prog_rejected=yes
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test $ac_prog_rejected = yes; then
3001 # We found a bogon in the path, so make sure we never use it.
3002 set dummy $ac_cv_prog_CC
3004 if test $# != 0; then
3005 # We chose a different compiler from the bogus one.
3006 # However, it has the same basename, so the bogon will be chosen
3007 # first if we set CC to just the basename; use the full file name.
3009 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3015 if test -n "$CC"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017 $as_echo "$CC" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3025 if test -z "$CC"; then
3026 if test -n "$ac_tool_prefix"; then
3027 for ac_prog in cl.exe
3029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if ${ac_cv_prog_CC+:} false; then :
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 $as_echo "$CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3066 test -n "$CC" && break
3069 if test -z "$CC"; then
3071 for ac_prog in cl.exe
3073 # Extract the first word of "$ac_prog", so it can be a program name with args.
3074 set dummy $ac_prog; ac_word=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3078 $as_echo_n "(cached) " >&6
3080 if test -n "$ac_ct_CC"; then
3081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3090 ac_cv_prog_ac_ct_CC="$ac_prog"
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3101 if test -n "$ac_ct_CC"; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3103 $as_echo "$ac_ct_CC" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3110 test -n "$ac_ct_CC" && break
3113 if test "x$ac_ct_CC" = x; then
3116 case $cross_compiling:$ac_tool_warned in
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3120 ac_tool_warned=yes ;;
3129 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3131 as_fn_error $? "no acceptable C compiler found in \$PATH
3132 See \`config.log' for more details" "$LINENO" 5; }
3134 # Provide some information about the compiler.
3135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3138 for ac_option in --version -v -V -qversion; do
3139 { { ac_try="$ac_compiler $ac_option >&5"
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3145 $as_echo "$ac_try_echo"; } >&5
3146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3148 if test -s conftest.err; then
3150 ... rest of stderr output deleted ...
3151 10q' conftest.err >conftest.er1
3152 cat conftest.er1 >&5
3154 rm -f conftest.er1 conftest.err
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; }
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3170 ac_clean_files_save=$ac_clean_files
3171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3172 # Try to create an executable without -o first, disregard a.out.
3173 # It will help us diagnose broken compilers, and finding out an intuition
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3176 $as_echo_n "checking whether the C compiler works... " >&6; }
3177 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3179 # The possible output files:
3180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3183 for ac_file in $ac_files
3186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3192 if { { ac_try="$ac_link_default"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_link_default") 2>&5
3201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202 test $ac_status = 0; }; then :
3203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3204 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3206 # so that the user can short-circuit this test for compilers unknown to
3208 for ac_file in $ac_files ''
3210 test -f "$ac_file" || continue
3212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3215 # We found the default executable, but exeext='' is most
3219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3221 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3223 # We set ac_cv_exeext here because the later test for it is not
3224 # safe: cross compilers may not add the suffix if given an `-o'
3225 # argument, so we may need to know it at that point already.
3226 # Even if this section looks crufty: it has the advantage of
3233 test "$ac_cv_exeext" = no && ac_cv_exeext=
3238 if test -z "$ac_file"; then :
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 $as_echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246 as_fn_error 77 "C compiler cannot create executables
3247 See \`config.log' for more details" "$LINENO" 5; }
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3250 $as_echo "yes" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3253 $as_echo_n "checking for C compiler default output file name... " >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3255 $as_echo "$ac_file" >&6; }
3256 ac_exeext=$ac_cv_exeext
3258 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3259 ac_clean_files=$ac_clean_files_save
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3261 $as_echo_n "checking for suffix of executables... " >&6; }
3262 if { { ac_try="$ac_link"
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_link") 2>&5
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }; then :
3273 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3274 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3275 # work properly (i.e., refer to `conftest.exe'), while it won't with
3277 for ac_file in conftest.exe conftest conftest.*; do
3278 test -f "$ac_file" || continue
3280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3281 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3290 See \`config.log' for more details" "$LINENO" 5; }
3292 rm -f conftest conftest$ac_cv_exeext
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3294 $as_echo "$ac_cv_exeext" >&6; }
3296 rm -f conftest.$ac_ext
3297 EXEEXT=$ac_cv_exeext
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3305 FILE *f = fopen ("conftest.out", "w");
3306 return ferror (f) || fclose (f) != 0;
3312 ac_clean_files="$ac_clean_files conftest.out"
3313 # Check that the compiler produces executables we can run. If not, either
3314 # the compiler is broken, or we cross compile.
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3316 $as_echo_n "checking whether we are cross compiling... " >&6; }
3317 if test "$cross_compiling" != yes; then
3318 { { ac_try="$ac_link"
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324 $as_echo "$ac_try_echo"; } >&5
3325 (eval "$ac_link") 2>&5
3327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328 test $ac_status = 0; }
3329 if { ac_try='./conftest$ac_cv_exeext'
3330 { { case "(($ac_try" in
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_try") 2>&5
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }; }; then
3342 if test "$cross_compiling" = maybe; then
3345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347 as_fn_error $? "cannot run C compiled programs.
3348 If you meant to cross compile, use \`--host'.
3349 See \`config.log' for more details" "$LINENO" 5; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3354 $as_echo "$cross_compiling" >&6; }
3356 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3357 ac_clean_files=$ac_clean_files_save
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3359 $as_echo_n "checking for suffix of object files... " >&6; }
3360 if ${ac_cv_objext+:} false; then :
3361 $as_echo_n "(cached) " >&6
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3374 rm -f conftest.o conftest.obj
3375 if { { ac_try="$ac_compile"
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_compile") 2>&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }; then :
3386 for ac_file in conftest.o conftest.obj conftest.*; do
3387 test -f "$ac_file" || continue;
3389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3390 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3395 $as_echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400 as_fn_error $? "cannot compute suffix of object files: cannot compile
3401 See \`config.log' for more details" "$LINENO" 5; }
3403 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3406 $as_echo "$ac_cv_objext" >&6; }
3407 OBJEXT=$ac_cv_objext
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3410 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3411 if ${ac_cv_c_compiler_gnu+:} false; then :
3412 $as_echo_n "(cached) " >&6
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3438 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3439 if test $ac_compiler_gnu = yes; then
3444 ac_test_CFLAGS=${CFLAGS+set}
3445 ac_save_CFLAGS=$CFLAGS
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3447 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3448 if ${ac_cv_prog_cc_g+:} false; then :
3449 $as_echo_n "(cached) " >&6
3451 ac_save_c_werror_flag=$ac_c_werror_flag
3452 ac_c_werror_flag=yes
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3466 if ac_fn_c_try_compile "$LINENO"; then :
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3481 if ac_fn_c_try_compile "$LINENO"; then :
3484 ac_c_werror_flag=$ac_save_c_werror_flag
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3497 if ac_fn_c_try_compile "$LINENO"; then :
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 ac_c_werror_flag=$ac_save_c_werror_flag
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3508 $as_echo "$ac_cv_prog_cc_g" >&6; }
3509 if test "$ac_test_CFLAGS" = set; then
3510 CFLAGS=$ac_save_CFLAGS
3511 elif test $ac_cv_prog_cc_g = yes; then
3512 if test "$GCC" = yes; then
3518 if test "$GCC" = yes; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3525 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3526 if ${ac_cv_prog_cc_c89+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 ac_cv_prog_cc_c89=no
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3537 struct buf { int x; };
3538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3539 static char *e (p, i)
3545 static char *f (char * (*g) (char **, int), char **p, ...)
3550 s = g (p, va_arg (v,int));
3555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3556 function prototypes and stuff, but not '\xHH' hex character constants.
3557 These don't provoke an error unfortunately, instead are silently treated
3558 as 'x'. The following induces an error, until -std is added to get
3559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3560 array size at least. It's necessary to write '\x00'==0 to get something
3561 that's true only with -std. */
3562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3565 inside strings and character constants. */
3567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3569 int test (int i, double x);
3570 struct s1 {int (*f) (int a);};
3571 struct s2 {int (*f) (double a);};
3572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3586 CC="$ac_save_CC $ac_arg"
3587 if ac_fn_c_try_compile "$LINENO"; then :
3588 ac_cv_prog_cc_c89=$ac_arg
3590 rm -f core conftest.err conftest.$ac_objext
3591 test "x$ac_cv_prog_cc_c89" != "xno" && break
3593 rm -f conftest.$ac_ext
3598 case "x$ac_cv_prog_cc_c89" in
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3601 $as_echo "none needed" >&6; } ;;
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3604 $as_echo "unsupported" >&6; } ;;
3606 CC="$CC $ac_cv_prog_cc_c89"
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3608 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3610 if test "x$ac_cv_prog_cc_c89" != xno; then :
3615 ac_cpp='$CPP $CPPFLAGS'
3616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3621 ac_cpp='$CPP $CPPFLAGS'
3622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3626 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3627 if ${am_cv_prog_cc_c_o+:} false; then :
3628 $as_echo_n "(cached) " >&6
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3641 # Make sure it works both with $CC and with simple cc.
3642 # Following AC_PROG_CC_C_O, we do the test twice because some
3643 # compilers refuse to overwrite an existing .o file with -o,
3644 # though they will create one.
3645 am_cv_prog_cc_c_o=yes
3647 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3648 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } \
3652 && test -f conftest2.$ac_objext; then
3655 am_cv_prog_cc_c_o=no
3659 rm -f core conftest*
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3663 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3664 if test "$am_cv_prog_cc_c_o" != yes; then
3665 # Losing compiler, so override with the script.
3666 # FIXME: It is wrong to rewrite CC.
3667 # But if we don't then we get into trouble of one sort or another.
3668 # A longer-term fix would be to have automake use am__CC in this case,
3669 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3670 CC="$am_aux_dir/compile $CC"
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678 DEPDIR="${am__leading_dot}deps"
3680 ac_config_commands="$ac_config_commands depfiles"
3683 am_make=${MAKE-make}
3684 cat > confinc << 'END'
3686 @echo this is the am__doit target
3689 # If we don't find an include directive, just comment out the code.
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3691 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3695 # First try GNU make style include.
3696 echo "include confinc" > confmf
3697 # Ignore all kinds of additional output from 'make'.
3698 case `$am_make -s -f confmf 2> /dev/null` in #(
3699 *the\ am__doit\ target*)
3705 # Now try BSD make style include.
3706 if test "$am__include" = "#"; then
3707 echo '.include "confinc"' > confmf
3708 case `$am_make -s -f confmf 2> /dev/null` in #(
3709 *the\ am__doit\ target*)
3710 am__include=.include
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3719 $as_echo "$_am_result" >&6; }
3720 rm -f confinc confmf
3722 # Check whether --enable-dependency-tracking was given.
3723 if test "${enable_dependency_tracking+set}" = set; then :
3724 enableval=$enable_dependency_tracking;
3727 if test "x$enable_dependency_tracking" != xno; then
3728 am_depcomp="$ac_aux_dir/depcomp"
3732 if test "x$enable_dependency_tracking" != xno; then
3742 depcc="$CC" am_compiler_list=
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3745 $as_echo_n "checking dependency style of $depcc... " >&6; }
3746 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3750 # We make a subdir and do the tests there. Otherwise we can end up
3751 # making bogus files that we don't know about and never remove. For
3752 # instance it was reported that on HP-UX the gcc test will end up
3753 # making a dummy file named 'D' -- because '-MD' means "put the output
3757 # Copy depcomp to subdir because otherwise we won't find it if we're
3758 # using a relative directory.
3759 cp "$am_depcomp" conftest.dir
3761 # We will build objects and dependencies in a subdirectory because
3762 # it helps to detect inapplicable dependency modes. For instance
3763 # both Tru64's cc and ICC support -MD to output dependencies as a
3764 # side effect of compilation, but ICC will put the dependencies in
3765 # the current directory while Tru64 will put them in the object
3769 am_cv_CC_dependencies_compiler_type=none
3770 if test "$am_compiler_list" = ""; then
3771 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3774 case " $depcc " in #(
3775 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3778 for depmode in $am_compiler_list; do
3779 # Setup a source with many dependencies, because some compilers
3780 # like to wrap large dependency lists on column 80 (with \), and
3781 # we should not choose a depcomp mode which is confused by this.
3783 # We need to recreate these files for each test, as the compiler may
3784 # overwrite some of them when testing with obscure command lines.
3785 # This happens at least with the AIX C compiler.
3787 for i in 1 2 3 4 5 6; do
3788 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3789 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3790 # Solaris 10 /bin/sh.
3791 echo '/* dummy */' > sub/conftst$i.h
3793 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3795 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3796 # mode. It turns out that the SunPro C++ compiler does not properly
3797 # handle '-M -o', and we need to detect this. Also, some Intel
3798 # versions had trouble with output in subdirs.
3799 am__obj=sub/conftest.${OBJEXT-o}
3800 am__minus_obj="-o $am__obj"
3803 # This depmode causes a compiler race in universal mode.
3804 test "$am__universal" = false || continue
3807 # After this tag, mechanisms are not by side-effect, so they'll
3808 # only be used when explicitly requested.
3809 if test "x$enable_dependency_tracking" = xyes; then
3815 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3816 # This compiler won't grok '-c -o', but also, the minuso test has
3817 # not run yet. These depmodes are late enough in the game, and
3818 # so weak that their functioning should not be impacted.
3819 am__obj=conftest.${OBJEXT-o}
3824 if depmode=$depmode \
3825 source=sub/conftest.c object=$am__obj \
3826 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3827 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3828 >/dev/null 2>conftest.err &&
3829 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3830 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3831 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3832 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3833 # icc doesn't choke on unknown options, it will just issue warnings
3834 # or remarks (even with -Werror). So we grep stderr for any message
3835 # that says an option was ignored or not supported.
3836 # When given -MP, icc 7.0 and 7.1 complain thusly:
3837 # icc: Command line warning: ignoring option '-M'; no argument required
3838 # The diagnosis changed in icc 8.0:
3839 # icc: Command line remark: option '-MP' not supported
3840 if (grep 'ignoring option' conftest.err ||
3841 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3842 am_cv_CC_dependencies_compiler_type=$depmode
3851 am_cv_CC_dependencies_compiler_type=none
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3856 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3857 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3860 test "x$enable_dependency_tracking" != xno \
3861 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3863 am__fastdepCC_FALSE='#'
3865 am__fastdepCC_TRUE='#'
3866 am__fastdepCC_FALSE=
3873 if test -n "$ac_tool_prefix"; then
3874 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3875 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if ${ac_cv_prog_RANLIB+:} false; then :
3879 $as_echo_n "(cached) " >&6
3881 if test -n "$RANLIB"; then
3882 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 RANLIB=$ac_cv_prog_RANLIB
3902 if test -n "$RANLIB"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3904 $as_echo "$RANLIB" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3912 if test -z "$ac_cv_prog_RANLIB"; then
3913 ac_ct_RANLIB=$RANLIB
3914 # Extract the first word of "ranlib", so it can be a program name with args.
3915 set dummy ranlib; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3919 $as_echo_n "(cached) " >&6
3921 if test -n "$ac_ct_RANLIB"; then
3922 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_ac_ct_RANLIB="ranlib"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3942 if test -n "$ac_ct_RANLIB"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3944 $as_echo "$ac_ct_RANLIB" >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3950 if test "x$ac_ct_RANLIB" = x; then
3953 case $cross_compiling:$ac_tool_warned in
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3957 ac_tool_warned=yes ;;
3959 RANLIB=$ac_ct_RANLIB
3962 RANLIB="$ac_cv_prog_RANLIB"
3971 [\\/$]* | ?:[\\/]*) ;;
3972 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3977 $as_echo_n "checking whether NLS is requested... " >&6; }
3978 # Check whether --enable-nls was given.
3979 if test "${enable_nls+set}" = set; then :
3980 enableval=$enable_nls; USE_NLS=$enableval
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3986 $as_echo "$USE_NLS" >&6; }
3991 GETTEXT_MACRO_VERSION=0.18
3996 # Prepare PATH_SEPARATOR.
3997 # The user is always right.
3998 if test "${PATH_SEPARATOR+set}" != set; then
3999 echo "#! /bin/sh" >conf$$.sh
4000 echo "exit 0" >>conf$$.sh
4002 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4010 # Find out how to test for executable files. Don't use a zero-byte file,
4011 # as systems may use methods other than mode bits to determine executability.
4012 cat >conf$$.file <<_ASEOF
4016 chmod +x conf$$.file
4017 if test -x conf$$.file >/dev/null 2>&1; then
4018 ac_executable_p="test -x"
4020 ac_executable_p="test -f"
4024 # Extract the first word of "msgfmt", so it can be a program name with args.
4025 set dummy msgfmt; ac_word=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_path_MSGFMT+:} false; then :
4029 $as_echo_n "(cached) " >&6
4033 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4036 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4037 for ac_dir in $PATH; do
4039 test -z "$ac_dir" && ac_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4042 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4043 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4044 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4045 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4052 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4056 MSGFMT="$ac_cv_path_MSGFMT"
4057 if test "$MSGFMT" != ":"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4059 $as_echo "$MSGFMT" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4065 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4066 set dummy gmsgfmt; ac_word=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if ${ac_cv_path_GMSGFMT+:} false; then :
4070 $as_echo_n "(cached) " >&6
4074 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir=.
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4096 GMSGFMT=$ac_cv_path_GMSGFMT
4097 if test -n "$GMSGFMT"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4099 $as_echo "$GMSGFMT" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4108 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4109 *) MSGFMT_015=$MSGFMT ;;
4112 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4113 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4114 *) GMSGFMT_015=$GMSGFMT ;;
4119 # Prepare PATH_SEPARATOR.
4120 # The user is always right.
4121 if test "${PATH_SEPARATOR+set}" != set; then
4122 echo "#! /bin/sh" >conf$$.sh
4123 echo "exit 0" >>conf$$.sh
4125 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4133 # Find out how to test for executable files. Don't use a zero-byte file,
4134 # as systems may use methods other than mode bits to determine executability.
4135 cat >conf$$.file <<_ASEOF
4139 chmod +x conf$$.file
4140 if test -x conf$$.file >/dev/null 2>&1; then
4141 ac_executable_p="test -x"
4143 ac_executable_p="test -f"
4147 # Extract the first word of "xgettext", so it can be a program name with args.
4148 set dummy xgettext; ac_word=$2
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150 $as_echo_n "checking for $ac_word... " >&6; }
4151 if ${ac_cv_path_XGETTEXT+:} false; then :
4152 $as_echo_n "(cached) " >&6
4156 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4159 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4160 for ac_dir in $PATH; do
4162 test -z "$ac_dir" && ac_dir=.
4163 for ac_exec_ext in '' $ac_executable_extensions; do
4164 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4165 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4166 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4167 (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
4168 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4175 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4179 XGETTEXT="$ac_cv_path_XGETTEXT"
4180 if test "$XGETTEXT" != ":"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4182 $as_echo "$XGETTEXT" >&6; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4190 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4191 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4192 *) XGETTEXT_015=$XGETTEXT ;;
4197 # Prepare PATH_SEPARATOR.
4198 # The user is always right.
4199 if test "${PATH_SEPARATOR+set}" != set; then
4200 echo "#! /bin/sh" >conf$$.sh
4201 echo "exit 0" >>conf$$.sh
4203 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4211 # Find out how to test for executable files. Don't use a zero-byte file,
4212 # as systems may use methods other than mode bits to determine executability.
4213 cat >conf$$.file <<_ASEOF
4217 chmod +x conf$$.file
4218 if test -x conf$$.file >/dev/null 2>&1; then
4219 ac_executable_p="test -x"
4221 ac_executable_p="test -f"
4225 # Extract the first word of "msgmerge", so it can be a program name with args.
4226 set dummy msgmerge; ac_word=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if ${ac_cv_path_MSGMERGE+:} false; then :
4230 $as_echo_n "(cached) " >&6
4234 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4237 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4238 for ac_dir in $PATH; do
4240 test -z "$ac_dir" && ac_dir=.
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4243 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4244 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4245 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4252 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4256 MSGMERGE="$ac_cv_path_MSGMERGE"
4257 if test "$MSGMERGE" != ":"; then
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4259 $as_echo "$MSGMERGE" >&6; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4262 $as_echo "no" >&6; }
4266 test -n "$localedir" || localedir='${datadir}/locale'
4269 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4272 ac_config_commands="$ac_config_commands po-directories"
4276 if test "X$prefix" = "XNONE"; then
4277 acl_final_prefix="$ac_default_prefix"
4279 acl_final_prefix="$prefix"
4281 if test "X$exec_prefix" = "XNONE"; then
4282 acl_final_exec_prefix='${prefix}'
4284 acl_final_exec_prefix="$exec_prefix"
4286 acl_save_prefix="$prefix"
4287 prefix="$acl_final_prefix"
4288 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4289 prefix="$acl_save_prefix"
4291 # Make sure we can run config.sub.
4292 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4293 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4296 $as_echo_n "checking build system type... " >&6; }
4297 if ${ac_cv_build+:} false; then :
4298 $as_echo_n "(cached) " >&6
4300 ac_build_alias=$build_alias
4301 test "x$ac_build_alias" = x &&
4302 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4303 test "x$ac_build_alias" = x &&
4304 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4305 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4306 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4310 $as_echo "$ac_cv_build" >&6; }
4311 case $ac_cv_build in
4313 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4316 ac_save_IFS=$IFS; IFS='-'
4322 # Remember, the first character of IFS is used to create $*,
4323 # except with old shells:
4326 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4330 $as_echo_n "checking host system type... " >&6; }
4331 if ${ac_cv_host+:} false; then :
4332 $as_echo_n "(cached) " >&6
4334 if test "x$host_alias" = x; then
4335 ac_cv_host=$ac_cv_build
4337 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4338 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4343 $as_echo "$ac_cv_host" >&6; }
4346 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4349 ac_save_IFS=$IFS; IFS='-'
4355 # Remember, the first character of IFS is used to create $*,
4356 # except with old shells:
4359 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4363 # Check whether --with-gnu-ld was given.
4364 if test "${with_gnu_ld+set}" = set; then :
4365 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4370 # Prepare PATH_SEPARATOR.
4371 # The user is always right.
4372 if test "${PATH_SEPARATOR+set}" != set; then
4373 echo "#! /bin/sh" >conf$$.sh
4374 echo "exit 0" >>conf$$.sh
4376 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4384 if test "$GCC" = yes; then
4385 # Check if gcc -print-prog-name=ld gives a path.
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4387 $as_echo_n "checking for ld used by GCC... " >&6; }
4390 # gcc leaves a trailing carriage return which upsets mingw
4391 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4393 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4396 # Accept absolute paths.
4397 [\\/]* | [A-Za-z]:[\\/]*)
4398 re_direlt='/[^/][^/]*/\.\./'
4399 # Canonicalize the path of ld
4400 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4401 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4402 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4404 test -z "$LD" && LD="$ac_prog"
4407 # If it fails, then pretend we aren't using GCC.
4411 # If it is relative, then search for the first ld in PATH.
4415 elif test "$with_gnu_ld" = yes; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4417 $as_echo_n "checking for GNU ld... " >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4420 $as_echo_n "checking for non-GNU ld... " >&6; }
4422 if ${acl_cv_path_LD+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -z "$LD"; then
4426 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4427 for ac_dir in $PATH; do
4428 test -z "$ac_dir" && ac_dir=.
4429 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4430 acl_cv_path_LD="$ac_dir/$ac_prog"
4431 # Check to see if the program is GNU ld. I'd rather use --version,
4432 # but apparently some GNU ld's only accept -v.
4433 # Break only if it was the GNU/non-GNU ld that we prefer.
4434 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4435 *GNU* | *'with BFD'*)
4436 test "$with_gnu_ld" != no && break ;;
4438 test "$with_gnu_ld" != yes && break ;;
4444 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4448 LD="$acl_cv_path_LD"
4449 if test -n "$LD"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4451 $as_echo "$LD" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4456 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4458 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4459 if ${acl_cv_prog_gnu_ld+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU* | *'with BFD'*)
4465 acl_cv_prog_gnu_ld=yes ;;
4467 acl_cv_prog_gnu_ld=no ;;
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4471 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4472 with_gnu_ld=$acl_cv_prog_gnu_ld
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4478 $as_echo_n "checking for shared library run path origin... " >&6; }
4479 if ${acl_cv_rpath+:} false; then :
4480 $as_echo_n "(cached) " >&6
4483 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4484 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4491 $as_echo "$acl_cv_rpath" >&6; }
4493 acl_libext="$acl_cv_libext"
4494 acl_shlibext="$acl_cv_shlibext"
4495 acl_libname_spec="$acl_cv_libname_spec"
4496 acl_library_names_spec="$acl_cv_library_names_spec"
4497 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4498 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4499 acl_hardcode_direct="$acl_cv_hardcode_direct"
4500 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4501 # Check whether --enable-rpath was given.
4502 if test "${enable_rpath+set}" = set; then :
4503 enableval=$enable_rpath; :
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4516 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4517 # On Suns, sometimes $CPP names a directory.
4518 if test -n "$CPP" && test -d "$CPP"; then
4521 if test -z "$CPP"; then
4522 if ${ac_cv_prog_CPP+:} false; then :
4523 $as_echo_n "(cached) " >&6
4525 # Double quotes because CPP needs to be expanded
4526 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4529 for ac_c_preproc_warn_flag in '' yes
4531 # Use a header file that comes with gcc, so configuring glibc
4532 # with a fresh cross-compiler works.
4533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4534 # <limits.h> exists even on freestanding compilers.
4535 # On the NeXT, cc -E runs the code through the compiler's parser,
4536 # not just through cpp. "Syntax error" is here to catch this case.
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4540 # include <limits.h>
4542 # include <assert.h>
4546 if ac_fn_c_try_cpp "$LINENO"; then :
4549 # Broken: fails on valid input.
4552 rm -f conftest.err conftest.i conftest.$ac_ext
4554 # OK, works on sane cases. Now check whether nonexistent headers
4555 # can be detected and how.
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4558 #include <ac_nonexistent.h>
4560 if ac_fn_c_try_cpp "$LINENO"; then :
4561 # Broken: success on invalid input.
4564 # Passes both tests.
4568 rm -f conftest.err conftest.i conftest.$ac_ext
4571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4572 rm -f conftest.i conftest.err conftest.$ac_ext
4573 if $ac_preproc_ok; then :
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4586 $as_echo "$CPP" >&6; }
4588 for ac_c_preproc_warn_flag in '' yes
4590 # Use a header file that comes with gcc, so configuring glibc
4591 # with a fresh cross-compiler works.
4592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4593 # <limits.h> exists even on freestanding compilers.
4594 # On the NeXT, cc -E runs the code through the compiler's parser,
4595 # not just through cpp. "Syntax error" is here to catch this case.
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4599 # include <limits.h>
4601 # include <assert.h>
4605 if ac_fn_c_try_cpp "$LINENO"; then :
4608 # Broken: fails on valid input.
4611 rm -f conftest.err conftest.i conftest.$ac_ext
4613 # OK, works on sane cases. Now check whether nonexistent headers
4614 # can be detected and how.
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4617 #include <ac_nonexistent.h>
4619 if ac_fn_c_try_cpp "$LINENO"; then :
4620 # Broken: success on invalid input.
4623 # Passes both tests.
4627 rm -f conftest.err conftest.i conftest.$ac_ext
4630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4631 rm -f conftest.i conftest.err conftest.$ac_ext
4632 if $ac_preproc_ok; then :
4635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4637 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4638 See \`config.log' for more details" "$LINENO" 5; }
4642 ac_cpp='$CPP $CPPFLAGS'
4643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4649 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4650 if ${ac_cv_path_GREP+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -z "$GREP"; then
4654 ac_path_GREP_found=false
4655 # Loop through the user's path and test for each of PROGNAME-LIST
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4660 test -z "$as_dir" && as_dir=.
4661 for ac_prog in grep ggrep; do
4662 for ac_exec_ext in '' $ac_executable_extensions; do
4663 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4664 as_fn_executable_p "$ac_path_GREP" || continue
4665 # Check for GNU ac_path_GREP and select it if it is found.
4666 # Check for GNU $ac_path_GREP
4667 case `"$ac_path_GREP" --version 2>&1` in
4669 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4672 $as_echo_n 0123456789 >"conftest.in"
4675 cat "conftest.in" "conftest.in" >"conftest.tmp"
4676 mv "conftest.tmp" "conftest.in"
4677 cp "conftest.in" "conftest.nl"
4678 $as_echo 'GREP' >> "conftest.nl"
4679 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4680 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4681 as_fn_arith $ac_count + 1 && ac_count=$as_val
4682 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4683 # Best one so far, save it but keep looking for a better one
4684 ac_cv_path_GREP="$ac_path_GREP"
4685 ac_path_GREP_max=$ac_count
4687 # 10*(2^10) chars as input seems more than enough
4688 test $ac_count -gt 10 && break
4690 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4693 $ac_path_GREP_found && break 3
4698 if test -z "$ac_cv_path_GREP"; then
4699 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4702 ac_cv_path_GREP=$GREP
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4707 $as_echo "$ac_cv_path_GREP" >&6; }
4708 GREP="$ac_cv_path_GREP"
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4712 $as_echo_n "checking for egrep... " >&6; }
4713 if ${ac_cv_path_EGREP+:} false; then :
4714 $as_echo_n "(cached) " >&6
4716 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4717 then ac_cv_path_EGREP="$GREP -E"
4719 if test -z "$EGREP"; then
4720 ac_path_EGREP_found=false
4721 # Loop through the user's path and test for each of PROGNAME-LIST
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4726 test -z "$as_dir" && as_dir=.
4727 for ac_prog in egrep; do
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4730 as_fn_executable_p "$ac_path_EGREP" || continue
4731 # Check for GNU ac_path_EGREP and select it if it is found.
4732 # Check for GNU $ac_path_EGREP
4733 case `"$ac_path_EGREP" --version 2>&1` in
4735 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4738 $as_echo_n 0123456789 >"conftest.in"
4741 cat "conftest.in" "conftest.in" >"conftest.tmp"
4742 mv "conftest.tmp" "conftest.in"
4743 cp "conftest.in" "conftest.nl"
4744 $as_echo 'EGREP' >> "conftest.nl"
4745 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4746 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4747 as_fn_arith $ac_count + 1 && ac_count=$as_val
4748 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4749 # Best one so far, save it but keep looking for a better one
4750 ac_cv_path_EGREP="$ac_path_EGREP"
4751 ac_path_EGREP_max=$ac_count
4753 # 10*(2^10) chars as input seems more than enough
4754 test $ac_count -gt 10 && break
4756 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4759 $ac_path_EGREP_found && break 3
4764 if test -z "$ac_cv_path_EGREP"; then
4765 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4768 ac_cv_path_EGREP=$EGREP
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4774 $as_echo "$ac_cv_path_EGREP" >&6; }
4775 EGREP="$ac_cv_path_EGREP"
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4785 $as_echo_n "checking for 64-bit host... " >&6; }
4786 if ${gl_cv_solaris_64bit+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4798 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4799 gl_cv_solaris_64bit=yes
4801 gl_cv_solaris_64bit=no
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4808 $as_echo "$gl_cv_solaris_64bit" >&6; }
4809 if test $gl_cv_solaris_64bit = yes; then
4810 acl_libdirstem=lib/64
4812 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4813 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4818 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4819 if test -n "$searchpath"; then
4820 acl_save_IFS="${IFS= }"; IFS=":"
4821 for searchdir in $searchpath; do
4822 if test -d "$searchdir"; then
4823 case "$searchdir" in
4824 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4826 # Better ignore directories of this form. They are misleading.
4828 *) searchdir=`cd "$searchdir" && pwd`
4829 case "$searchdir" in
4830 */lib64 ) acl_libdirstem=lib64 ;;
4839 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4854 acl_save_prefix="$prefix"
4855 prefix="$acl_final_prefix"
4856 acl_save_exec_prefix="$exec_prefix"
4857 exec_prefix="$acl_final_exec_prefix"
4859 eval additional_includedir=\"$includedir\"
4860 eval additional_libdir=\"$libdir\"
4862 exec_prefix="$acl_save_exec_prefix"
4863 prefix="$acl_save_prefix"
4866 # Check whether --with-libiconv-prefix was given.
4867 if test "${with_libiconv_prefix+set}" = set; then :
4868 withval=$with_libiconv_prefix;
4869 if test "X$withval" = "Xno"; then
4872 if test "X$withval" = "X"; then
4874 acl_save_prefix="$prefix"
4875 prefix="$acl_final_prefix"
4876 acl_save_exec_prefix="$exec_prefix"
4877 exec_prefix="$acl_final_exec_prefix"
4879 eval additional_includedir=\"$includedir\"
4880 eval additional_libdir=\"$libdir\"
4882 exec_prefix="$acl_save_exec_prefix"
4883 prefix="$acl_save_prefix"
4886 additional_includedir="$withval/include"
4887 additional_libdir="$withval/$acl_libdirstem"
4888 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4889 && ! test -d "$withval/$acl_libdirstem"; then
4890 additional_libdir="$withval/$acl_libdirstem2"
4904 names_already_handled=
4905 names_next_round='iconv '
4906 while test -n "$names_next_round"; do
4907 names_this_round="$names_next_round"
4909 for name in $names_this_round; do
4911 for n in $names_already_handled; do
4912 if test "$n" = "$name"; then
4917 if test -z "$already_handled"; then
4918 names_already_handled="$names_already_handled $name"
4919 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4920 eval value=\"\$HAVE_LIB$uppername\"
4921 if test -n "$value"; then
4922 if test "$value" = yes; then
4923 eval value=\"\$LIB$uppername\"
4924 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4925 eval value=\"\$LTLIB$uppername\"
4926 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4935 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4936 if test -n "$acl_shlibext"; then
4937 shrext=".$acl_shlibext" # typically: shrext=.so
4941 if test $use_additional = yes; then
4942 dir="$additional_libdir"
4943 if test -n "$acl_shlibext"; then
4944 if test -f "$dir/$libname$shrext"; then
4946 found_so="$dir/$libname$shrext"
4948 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4949 ver=`(cd "$dir" && \
4950 for f in "$libname$shrext".*; do echo "$f"; done \
4951 | sed -e "s,^$libname$shrext\\\\.,," \
4952 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4953 | sed 1q ) 2>/dev/null`
4954 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4956 found_so="$dir/$libname$shrext.$ver"
4959 eval library_names=\"$acl_library_names_spec\"
4960 for f in $library_names; do
4961 if test -f "$dir/$f"; then
4970 if test "X$found_dir" = "X"; then
4971 if test -f "$dir/$libname.$acl_libext"; then
4973 found_a="$dir/$libname.$acl_libext"
4976 if test "X$found_dir" != "X"; then
4977 if test -f "$dir/$libname.la"; then
4978 found_la="$dir/$libname.la"
4982 if test "X$found_dir" = "X"; then
4983 for x in $LDFLAGS $LTLIBICONV; do
4985 acl_save_prefix="$prefix"
4986 prefix="$acl_final_prefix"
4987 acl_save_exec_prefix="$exec_prefix"
4988 exec_prefix="$acl_final_exec_prefix"
4990 exec_prefix="$acl_save_exec_prefix"
4991 prefix="$acl_save_prefix"
4995 dir=`echo "X$x" | sed -e 's/^X-L//'`
4996 if test -n "$acl_shlibext"; then
4997 if test -f "$dir/$libname$shrext"; then
4999 found_so="$dir/$libname$shrext"
5001 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5002 ver=`(cd "$dir" && \
5003 for f in "$libname$shrext".*; do echo "$f"; done \
5004 | sed -e "s,^$libname$shrext\\\\.,," \
5005 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5006 | sed 1q ) 2>/dev/null`
5007 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5009 found_so="$dir/$libname$shrext.$ver"
5012 eval library_names=\"$acl_library_names_spec\"
5013 for f in $library_names; do
5014 if test -f "$dir/$f"; then
5023 if test "X$found_dir" = "X"; then
5024 if test -f "$dir/$libname.$acl_libext"; then
5026 found_a="$dir/$libname.$acl_libext"
5029 if test "X$found_dir" != "X"; then
5030 if test -f "$dir/$libname.la"; then
5031 found_la="$dir/$libname.la"
5036 if test "X$found_dir" != "X"; then
5041 if test "X$found_dir" != "X"; then
5042 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5043 if test "X$found_so" != "X"; then
5044 if test "$enable_rpath" = no \
5045 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5046 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5047 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5050 for x in $ltrpathdirs; do
5051 if test "X$x" = "X$found_dir"; then
5056 if test -z "$haveit"; then
5057 ltrpathdirs="$ltrpathdirs $found_dir"
5059 if test "$acl_hardcode_direct" = yes; then
5060 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5062 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5063 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5065 for x in $rpathdirs; do
5066 if test "X$x" = "X$found_dir"; then
5071 if test -z "$haveit"; then
5072 rpathdirs="$rpathdirs $found_dir"
5076 for x in $LDFLAGS $LIBICONV; do
5078 acl_save_prefix="$prefix"
5079 prefix="$acl_final_prefix"
5080 acl_save_exec_prefix="$exec_prefix"
5081 exec_prefix="$acl_final_exec_prefix"
5083 exec_prefix="$acl_save_exec_prefix"
5084 prefix="$acl_save_prefix"
5086 if test "X$x" = "X-L$found_dir"; then
5091 if test -z "$haveit"; then
5092 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5094 if test "$acl_hardcode_minus_L" != no; then
5095 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5097 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5103 if test "X$found_a" != "X"; then
5104 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5106 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5109 additional_includedir=
5110 case "$found_dir" in
5111 */$acl_libdirstem | */$acl_libdirstem/)
5112 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5113 if test "$name" = 'iconv'; then
5114 LIBICONV_PREFIX="$basedir"
5116 additional_includedir="$basedir/include"
5118 */$acl_libdirstem2 | */$acl_libdirstem2/)
5119 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5120 if test "$name" = 'iconv'; then
5121 LIBICONV_PREFIX="$basedir"
5123 additional_includedir="$basedir/include"
5126 if test "X$additional_includedir" != "X"; then
5127 if test "X$additional_includedir" != "X/usr/include"; then
5129 if test "X$additional_includedir" = "X/usr/local/include"; then
5130 if test -n "$GCC"; then
5132 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5136 if test -z "$haveit"; then
5137 for x in $CPPFLAGS $INCICONV; do
5139 acl_save_prefix="$prefix"
5140 prefix="$acl_final_prefix"
5141 acl_save_exec_prefix="$exec_prefix"
5142 exec_prefix="$acl_final_exec_prefix"
5144 exec_prefix="$acl_save_exec_prefix"
5145 prefix="$acl_save_prefix"
5147 if test "X$x" = "X-I$additional_includedir"; then
5152 if test -z "$haveit"; then
5153 if test -d "$additional_includedir"; then
5154 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5160 if test -n "$found_la"; then
5161 save_libdir="$libdir"
5163 */* | *\\*) . "$found_la" ;;
5164 *) . "./$found_la" ;;
5166 libdir="$save_libdir"
5167 for dep in $dependency_libs; do
5170 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5171 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5172 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5174 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5175 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5176 if test -n "$GCC"; then
5178 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5182 if test -z "$haveit"; then
5184 for x in $LDFLAGS $LIBICONV; do
5186 acl_save_prefix="$prefix"
5187 prefix="$acl_final_prefix"
5188 acl_save_exec_prefix="$exec_prefix"
5189 exec_prefix="$acl_final_exec_prefix"
5191 exec_prefix="$acl_save_exec_prefix"
5192 prefix="$acl_save_prefix"
5194 if test "X$x" = "X-L$additional_libdir"; then
5199 if test -z "$haveit"; then
5200 if test -d "$additional_libdir"; then
5201 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5205 for x in $LDFLAGS $LTLIBICONV; do
5207 acl_save_prefix="$prefix"
5208 prefix="$acl_final_prefix"
5209 acl_save_exec_prefix="$exec_prefix"
5210 exec_prefix="$acl_final_exec_prefix"
5212 exec_prefix="$acl_save_exec_prefix"
5213 prefix="$acl_save_prefix"
5215 if test "X$x" = "X-L$additional_libdir"; then
5220 if test -z "$haveit"; then
5221 if test -d "$additional_libdir"; then
5222 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5229 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5230 if test "$enable_rpath" != no; then
5232 for x in $rpathdirs; do
5233 if test "X$x" = "X$dir"; then
5238 if test -z "$haveit"; then
5239 rpathdirs="$rpathdirs $dir"
5242 for x in $ltrpathdirs; do
5243 if test "X$x" = "X$dir"; then
5248 if test -z "$haveit"; then
5249 ltrpathdirs="$ltrpathdirs $dir"
5254 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5257 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5260 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5261 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5267 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5268 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5274 if test "X$rpathdirs" != "X"; then
5275 if test -n "$acl_hardcode_libdir_separator"; then
5277 for found_dir in $rpathdirs; do
5278 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5280 acl_save_libdir="$libdir"
5282 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5283 libdir="$acl_save_libdir"
5284 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5286 for found_dir in $rpathdirs; do
5287 acl_save_libdir="$libdir"
5289 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5290 libdir="$acl_save_libdir"
5291 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5295 if test "X$ltrpathdirs" != "X"; then
5296 for found_dir in $ltrpathdirs; do
5297 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5332 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5333 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5334 $as_echo_n "(cached) " >&6
5336 gt_save_LIBS="$LIBS"
5337 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5340 #include <CoreFoundation/CFPreferences.h>
5344 CFPreferencesCopyAppValue(NULL, NULL)
5349 if ac_fn_c_try_link "$LINENO"; then :
5350 gt_cv_func_CFPreferencesCopyAppValue=yes
5352 gt_cv_func_CFPreferencesCopyAppValue=no
5354 rm -f core conftest.err conftest.$ac_objext \
5355 conftest$ac_exeext conftest.$ac_ext
5356 LIBS="$gt_save_LIBS"
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5359 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5360 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5362 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5366 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5367 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5368 $as_echo_n "(cached) " >&6
5370 gt_save_LIBS="$LIBS"
5371 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5374 #include <CoreFoundation/CFLocale.h>
5378 CFLocaleCopyCurrent();
5383 if ac_fn_c_try_link "$LINENO"; then :
5384 gt_cv_func_CFLocaleCopyCurrent=yes
5386 gt_cv_func_CFLocaleCopyCurrent=no
5388 rm -f core conftest.err conftest.$ac_objext \
5389 conftest$ac_exeext conftest.$ac_ext
5390 LIBS="$gt_save_LIBS"
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5393 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5394 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5396 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5400 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5401 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5413 case " $gt_needs " in
5414 *" need-formatstring-macros "*) gt_api_version=3 ;;
5415 *" need-ngettext "*) gt_api_version=2 ;;
5416 *) gt_api_version=1 ;;
5418 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5419 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5421 if test "$USE_NLS" = "yes"; then
5422 gt_use_preinstalled_gnugettext=no
5425 if test $gt_api_version -ge 3; then
5426 gt_revision_test_code='
5427 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5428 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5430 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5433 gt_revision_test_code=
5435 if test $gt_api_version -ge 2; then
5436 gt_expression_test_code=' + * ngettext ("", "", 0)'
5438 gt_expression_test_code=
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5442 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5443 if eval \${$gt_func_gnugettext_libc+:} false; then :
5444 $as_echo_n "(cached) " >&6
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5448 #include <libintl.h>
5449 $gt_revision_test_code
5450 extern int _nl_msg_cat_cntr;
5451 extern int *_nl_domain_bindings;
5455 bindtextdomain ("", "");
5456 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5461 if ac_fn_c_try_link "$LINENO"; then :
5462 eval "$gt_func_gnugettext_libc=yes"
5464 eval "$gt_func_gnugettext_libc=no"
5466 rm -f core conftest.err conftest.$ac_objext \
5467 conftest$ac_exeext conftest.$ac_ext
5469 eval ac_res=\$$gt_func_gnugettext_libc
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5471 $as_echo "$ac_res" >&6; }
5473 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5479 am_save_CPPFLAGS="$CPPFLAGS"
5481 for element in $INCICONV; do
5483 for x in $CPPFLAGS; do
5485 acl_save_prefix="$prefix"
5486 prefix="$acl_final_prefix"
5487 acl_save_exec_prefix="$exec_prefix"
5488 exec_prefix="$acl_final_exec_prefix"
5490 exec_prefix="$acl_save_exec_prefix"
5491 prefix="$acl_save_prefix"
5493 if test "X$x" = "X$element"; then
5498 if test -z "$haveit"; then
5499 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5505 $as_echo_n "checking for iconv... " >&6; }
5506 if ${am_cv_func_iconv+:} false; then :
5507 $as_echo_n "(cached) " >&6
5510 am_cv_func_iconv="no, consider installing GNU libiconv"
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5519 iconv_t cd = iconv_open("","");
5520 iconv(cd,NULL,NULL,NULL,NULL);
5526 if ac_fn_c_try_link "$LINENO"; then :
5527 am_cv_func_iconv=yes
5529 rm -f core conftest.err conftest.$ac_objext \
5530 conftest$ac_exeext conftest.$ac_ext
5531 if test "$am_cv_func_iconv" != yes; then
5532 am_save_LIBS="$LIBS"
5533 LIBS="$LIBS $LIBICONV"
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5541 iconv_t cd = iconv_open("","");
5542 iconv(cd,NULL,NULL,NULL,NULL);
5548 if ac_fn_c_try_link "$LINENO"; then :
5550 am_cv_func_iconv=yes
5552 rm -f core conftest.err conftest.$ac_objext \
5553 conftest$ac_exeext conftest.$ac_ext
5554 LIBS="$am_save_LIBS"
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5559 $as_echo "$am_cv_func_iconv" >&6; }
5560 if test "$am_cv_func_iconv" = yes; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5562 $as_echo_n "checking for working iconv... " >&6; }
5563 if ${am_cv_func_iconv_works+:} false; then :
5564 $as_echo_n "(cached) " >&6
5567 am_save_LIBS="$LIBS"
5568 if test $am_cv_lib_iconv = yes; then
5569 LIBS="$LIBS $LIBICONV"
5571 if test "$cross_compiling" = yes; then :
5573 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5574 *) am_cv_func_iconv_works="guessing yes" ;;
5577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5584 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5587 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5588 if (cd_utf8_to_88591 != (iconv_t)(-1))
5590 static const char input[] = "\342\202\254"; /* EURO SIGN */
5592 const char *inptr = input;
5593 size_t inbytesleft = strlen (input);
5595 size_t outbytesleft = sizeof (buf);
5596 size_t res = iconv (cd_utf8_to_88591,
5597 (char **) &inptr, &inbytesleft,
5598 &outptr, &outbytesleft);
5603 /* Test against Solaris 10 bug: Failures are not distinguishable from
5604 successful returns. */
5606 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5607 if (cd_ascii_to_88591 != (iconv_t)(-1))
5609 static const char input[] = "\263";
5611 const char *inptr = input;
5612 size_t inbytesleft = strlen (input);
5614 size_t outbytesleft = sizeof (buf);
5615 size_t res = iconv (cd_ascii_to_88591,
5616 (char **) &inptr, &inbytesleft,
5617 &outptr, &outbytesleft);
5622 #if 0 /* This bug could be worked around by the caller. */
5623 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5625 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5626 if (cd_88591_to_utf8 != (iconv_t)(-1))
5628 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5630 const char *inptr = input;
5631 size_t inbytesleft = strlen (input);
5633 size_t outbytesleft = sizeof (buf);
5634 size_t res = iconv (cd_88591_to_utf8,
5635 (char **) &inptr, &inbytesleft,
5636 &outptr, &outbytesleft);
5642 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5644 if (/* Try standardized names. */
5645 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5646 /* Try IRIX, OSF/1 names. */
5647 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5648 /* Try AIX names. */
5649 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5650 /* Try HP-UX names. */
5651 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5656 if ac_fn_c_try_run "$LINENO"; then :
5657 am_cv_func_iconv_works=yes
5659 am_cv_func_iconv_works=no
5661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5662 conftest.$ac_objext conftest.beam conftest.$ac_ext
5665 LIBS="$am_save_LIBS"
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5669 $as_echo "$am_cv_func_iconv_works" >&6; }
5670 case "$am_cv_func_iconv_works" in
5671 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5672 *) am_func_iconv=yes ;;
5675 am_func_iconv=no am_cv_lib_iconv=no
5677 if test "$am_func_iconv" = yes; then
5679 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5682 if test "$am_cv_lib_iconv" = yes; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5684 $as_echo_n "checking how to link with libiconv... " >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5686 $as_echo "$LIBICONV" >&6; }
5688 CPPFLAGS="$am_save_CPPFLAGS"
5705 acl_save_prefix="$prefix"
5706 prefix="$acl_final_prefix"
5707 acl_save_exec_prefix="$exec_prefix"
5708 exec_prefix="$acl_final_exec_prefix"
5710 eval additional_includedir=\"$includedir\"
5711 eval additional_libdir=\"$libdir\"
5713 exec_prefix="$acl_save_exec_prefix"
5714 prefix="$acl_save_prefix"
5717 # Check whether --with-libintl-prefix was given.
5718 if test "${with_libintl_prefix+set}" = set; then :
5719 withval=$with_libintl_prefix;
5720 if test "X$withval" = "Xno"; then
5723 if test "X$withval" = "X"; then
5725 acl_save_prefix="$prefix"
5726 prefix="$acl_final_prefix"
5727 acl_save_exec_prefix="$exec_prefix"
5728 exec_prefix="$acl_final_exec_prefix"
5730 eval additional_includedir=\"$includedir\"
5731 eval additional_libdir=\"$libdir\"
5733 exec_prefix="$acl_save_exec_prefix"
5734 prefix="$acl_save_prefix"
5737 additional_includedir="$withval/include"
5738 additional_libdir="$withval/$acl_libdirstem"
5739 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5740 && ! test -d "$withval/$acl_libdirstem"; then
5741 additional_libdir="$withval/$acl_libdirstem2"
5755 names_already_handled=
5756 names_next_round='intl '
5757 while test -n "$names_next_round"; do
5758 names_this_round="$names_next_round"
5760 for name in $names_this_round; do
5762 for n in $names_already_handled; do
5763 if test "$n" = "$name"; then
5768 if test -z "$already_handled"; then
5769 names_already_handled="$names_already_handled $name"
5770 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5771 eval value=\"\$HAVE_LIB$uppername\"
5772 if test -n "$value"; then
5773 if test "$value" = yes; then
5774 eval value=\"\$LIB$uppername\"
5775 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5776 eval value=\"\$LTLIB$uppername\"
5777 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5786 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5787 if test -n "$acl_shlibext"; then
5788 shrext=".$acl_shlibext" # typically: shrext=.so
5792 if test $use_additional = yes; then
5793 dir="$additional_libdir"
5794 if test -n "$acl_shlibext"; then
5795 if test -f "$dir/$libname$shrext"; then
5797 found_so="$dir/$libname$shrext"
5799 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5800 ver=`(cd "$dir" && \
5801 for f in "$libname$shrext".*; do echo "$f"; done \
5802 | sed -e "s,^$libname$shrext\\\\.,," \
5803 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5804 | sed 1q ) 2>/dev/null`
5805 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5807 found_so="$dir/$libname$shrext.$ver"
5810 eval library_names=\"$acl_library_names_spec\"
5811 for f in $library_names; do
5812 if test -f "$dir/$f"; then
5821 if test "X$found_dir" = "X"; then
5822 if test -f "$dir/$libname.$acl_libext"; then
5824 found_a="$dir/$libname.$acl_libext"
5827 if test "X$found_dir" != "X"; then
5828 if test -f "$dir/$libname.la"; then
5829 found_la="$dir/$libname.la"
5833 if test "X$found_dir" = "X"; then
5834 for x in $LDFLAGS $LTLIBINTL; do
5836 acl_save_prefix="$prefix"
5837 prefix="$acl_final_prefix"
5838 acl_save_exec_prefix="$exec_prefix"
5839 exec_prefix="$acl_final_exec_prefix"
5841 exec_prefix="$acl_save_exec_prefix"
5842 prefix="$acl_save_prefix"
5846 dir=`echo "X$x" | sed -e 's/^X-L//'`
5847 if test -n "$acl_shlibext"; then
5848 if test -f "$dir/$libname$shrext"; then
5850 found_so="$dir/$libname$shrext"
5852 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5853 ver=`(cd "$dir" && \
5854 for f in "$libname$shrext".*; do echo "$f"; done \
5855 | sed -e "s,^$libname$shrext\\\\.,," \
5856 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5857 | sed 1q ) 2>/dev/null`
5858 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5860 found_so="$dir/$libname$shrext.$ver"
5863 eval library_names=\"$acl_library_names_spec\"
5864 for f in $library_names; do
5865 if test -f "$dir/$f"; then
5874 if test "X$found_dir" = "X"; then
5875 if test -f "$dir/$libname.$acl_libext"; then
5877 found_a="$dir/$libname.$acl_libext"
5880 if test "X$found_dir" != "X"; then
5881 if test -f "$dir/$libname.la"; then
5882 found_la="$dir/$libname.la"
5887 if test "X$found_dir" != "X"; then
5892 if test "X$found_dir" != "X"; then
5893 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5894 if test "X$found_so" != "X"; then
5895 if test "$enable_rpath" = no \
5896 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5897 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5898 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5901 for x in $ltrpathdirs; do
5902 if test "X$x" = "X$found_dir"; then
5907 if test -z "$haveit"; then
5908 ltrpathdirs="$ltrpathdirs $found_dir"
5910 if test "$acl_hardcode_direct" = yes; then
5911 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5913 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5914 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5916 for x in $rpathdirs; do
5917 if test "X$x" = "X$found_dir"; then
5922 if test -z "$haveit"; then
5923 rpathdirs="$rpathdirs $found_dir"
5927 for x in $LDFLAGS $LIBINTL; do
5929 acl_save_prefix="$prefix"
5930 prefix="$acl_final_prefix"
5931 acl_save_exec_prefix="$exec_prefix"
5932 exec_prefix="$acl_final_exec_prefix"
5934 exec_prefix="$acl_save_exec_prefix"
5935 prefix="$acl_save_prefix"
5937 if test "X$x" = "X-L$found_dir"; then
5942 if test -z "$haveit"; then
5943 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5945 if test "$acl_hardcode_minus_L" != no; then
5946 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5948 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5954 if test "X$found_a" != "X"; then
5955 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5957 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5960 additional_includedir=
5961 case "$found_dir" in
5962 */$acl_libdirstem | */$acl_libdirstem/)
5963 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5964 if test "$name" = 'intl'; then
5965 LIBINTL_PREFIX="$basedir"
5967 additional_includedir="$basedir/include"
5969 */$acl_libdirstem2 | */$acl_libdirstem2/)
5970 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5971 if test "$name" = 'intl'; then
5972 LIBINTL_PREFIX="$basedir"
5974 additional_includedir="$basedir/include"
5977 if test "X$additional_includedir" != "X"; then
5978 if test "X$additional_includedir" != "X/usr/include"; then
5980 if test "X$additional_includedir" = "X/usr/local/include"; then
5981 if test -n "$GCC"; then
5983 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5987 if test -z "$haveit"; then
5988 for x in $CPPFLAGS $INCINTL; do
5990 acl_save_prefix="$prefix"
5991 prefix="$acl_final_prefix"
5992 acl_save_exec_prefix="$exec_prefix"
5993 exec_prefix="$acl_final_exec_prefix"
5995 exec_prefix="$acl_save_exec_prefix"
5996 prefix="$acl_save_prefix"
5998 if test "X$x" = "X-I$additional_includedir"; then
6003 if test -z "$haveit"; then
6004 if test -d "$additional_includedir"; then
6005 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6011 if test -n "$found_la"; then
6012 save_libdir="$libdir"
6014 */* | *\\*) . "$found_la" ;;
6015 *) . "./$found_la" ;;
6017 libdir="$save_libdir"
6018 for dep in $dependency_libs; do
6021 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6022 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6023 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6025 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6026 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6027 if test -n "$GCC"; then
6029 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6033 if test -z "$haveit"; then
6035 for x in $LDFLAGS $LIBINTL; do
6037 acl_save_prefix="$prefix"
6038 prefix="$acl_final_prefix"
6039 acl_save_exec_prefix="$exec_prefix"
6040 exec_prefix="$acl_final_exec_prefix"
6042 exec_prefix="$acl_save_exec_prefix"
6043 prefix="$acl_save_prefix"
6045 if test "X$x" = "X-L$additional_libdir"; then
6050 if test -z "$haveit"; then
6051 if test -d "$additional_libdir"; then
6052 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6056 for x in $LDFLAGS $LTLIBINTL; do
6058 acl_save_prefix="$prefix"
6059 prefix="$acl_final_prefix"
6060 acl_save_exec_prefix="$exec_prefix"
6061 exec_prefix="$acl_final_exec_prefix"
6063 exec_prefix="$acl_save_exec_prefix"
6064 prefix="$acl_save_prefix"
6066 if test "X$x" = "X-L$additional_libdir"; then
6071 if test -z "$haveit"; then
6072 if test -d "$additional_libdir"; then
6073 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6080 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6081 if test "$enable_rpath" != no; then
6083 for x in $rpathdirs; do
6084 if test "X$x" = "X$dir"; then
6089 if test -z "$haveit"; then
6090 rpathdirs="$rpathdirs $dir"
6093 for x in $ltrpathdirs; do
6094 if test "X$x" = "X$dir"; then
6099 if test -z "$haveit"; then
6100 ltrpathdirs="$ltrpathdirs $dir"
6105 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6108 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6111 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6112 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6118 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6119 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6125 if test "X$rpathdirs" != "X"; then
6126 if test -n "$acl_hardcode_libdir_separator"; then
6128 for found_dir in $rpathdirs; do
6129 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6131 acl_save_libdir="$libdir"
6133 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6134 libdir="$acl_save_libdir"
6135 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6137 for found_dir in $rpathdirs; do
6138 acl_save_libdir="$libdir"
6140 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6141 libdir="$acl_save_libdir"
6142 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6146 if test "X$ltrpathdirs" != "X"; then
6147 for found_dir in $ltrpathdirs; do
6148 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6158 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6159 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6160 $as_echo_n "(cached) " >&6
6162 gt_save_CPPFLAGS="$CPPFLAGS"
6163 CPPFLAGS="$CPPFLAGS $INCINTL"
6164 gt_save_LIBS="$LIBS"
6165 LIBS="$LIBS $LIBINTL"
6166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6167 /* end confdefs.h. */
6168 #include <libintl.h>
6169 $gt_revision_test_code
6170 extern int _nl_msg_cat_cntr;
6175 const char *_nl_expand_alias (const char *);
6179 bindtextdomain ("", "");
6180 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6185 if ac_fn_c_try_link "$LINENO"; then :
6186 eval "$gt_func_gnugettext_libintl=yes"
6188 eval "$gt_func_gnugettext_libintl=no"
6190 rm -f core conftest.err conftest.$ac_objext \
6191 conftest$ac_exeext conftest.$ac_ext
6192 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6193 LIBS="$LIBS $LIBICONV"
6194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6196 #include <libintl.h>
6197 $gt_revision_test_code
6198 extern int _nl_msg_cat_cntr;
6203 const char *_nl_expand_alias (const char *);
6207 bindtextdomain ("", "");
6208 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6213 if ac_fn_c_try_link "$LINENO"; then :
6214 LIBINTL="$LIBINTL $LIBICONV"
6215 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6216 eval "$gt_func_gnugettext_libintl=yes"
6219 rm -f core conftest.err conftest.$ac_objext \
6220 conftest$ac_exeext conftest.$ac_ext
6222 CPPFLAGS="$gt_save_CPPFLAGS"
6223 LIBS="$gt_save_LIBS"
6225 eval ac_res=\$$gt_func_gnugettext_libintl
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6227 $as_echo "$ac_res" >&6; }
6230 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6231 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6232 && test "$PACKAGE" != gettext-runtime \
6233 && test "$PACKAGE" != gettext-tools; }; then
6234 gt_use_preinstalled_gnugettext=yes
6243 if test -n "$INTL_MACOSX_LIBS"; then
6244 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6245 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6246 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6247 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6251 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6252 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6254 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6262 $as_echo_n "checking whether to use NLS... " >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6264 $as_echo "$USE_NLS" >&6; }
6265 if test "$USE_NLS" = "yes"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6267 $as_echo_n "checking where the gettext function comes from... " >&6; }
6268 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6269 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6270 gt_source="external libintl"
6275 gt_source="included intl directory"
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6278 $as_echo "$gt_source" >&6; }
6281 if test "$USE_NLS" = "yes"; then
6283 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6284 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6286 $as_echo_n "checking how to link with libintl... " >&6; }
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6288 $as_echo "$LIBINTL" >&6; }
6290 for element in $INCINTL; do
6292 for x in $CPPFLAGS; do
6294 acl_save_prefix="$prefix"
6295 prefix="$acl_final_prefix"
6296 acl_save_exec_prefix="$exec_prefix"
6297 exec_prefix="$acl_final_exec_prefix"
6299 exec_prefix="$acl_save_exec_prefix"
6300 prefix="$acl_save_prefix"
6302 if test "X$x" = "X$element"; then
6307 if test -z "$haveit"; then
6308 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6315 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6318 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6335 # Checks for header files.
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
6337 $as_echo_n "checking for X... " >&6; }
6340 # Check whether --with-x was given.
6341 if test "${with_x+set}" = set; then :
6345 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6346 if test "x$with_x" = xno; then
6347 # The user explicitly disabled X.
6350 case $x_includes,$x_libraries in #(
6351 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
6352 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
6353 $as_echo_n "(cached) " >&6
6355 # One or both of the vars are not set, and there is no cached value.
6356 ac_x_includes=no ac_x_libraries=no
6357 rm -f -r conftest.dir
6358 if mkdir conftest.dir; then
6360 cat >Imakefile <<'_ACEOF'
6362 @echo incroot='${INCROOT}'
6364 @echo usrlibdir='${USRLIBDIR}'
6366 @echo libdir='${LIBDIR}'
6368 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
6369 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6370 for ac_var in incroot usrlibdir libdir; do
6371 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6373 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6374 for ac_extension in a so sl dylib la dll; do
6375 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
6376 test -f "$ac_im_libdir/libX11.$ac_extension"; then
6377 ac_im_usrlibdir=$ac_im_libdir; break
6380 # Screen out bogus values from the imake configuration. They are
6381 # bogus both because they are the default anyway, and because
6382 # using them would break gcc on systems where it needs fixed includes.
6383 case $ac_im_incroot in
6384 /usr/include) ac_x_includes= ;;
6385 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
6387 case $ac_im_usrlibdir in
6388 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
6389 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
6393 rm -f -r conftest.dir
6396 # Standard set of common directories for X headers.
6397 # Check X11 before X11Rn because it is often a symlink to the current release.
6411 /usr/local/X11/include
6412 /usr/local/X11R7/include
6413 /usr/local/X11R6/include
6414 /usr/local/X11R5/include
6415 /usr/local/X11R4/include
6417 /usr/local/include/X11
6418 /usr/local/include/X11R7
6419 /usr/local/include/X11R6
6420 /usr/local/include/X11R5
6421 /usr/local/include/X11R4
6425 /usr/XFree86/include/X11
6429 /usr/unsupported/include
6431 /usr/local/x11r5/include
6432 /usr/lpp/Xamples/include
6434 /usr/openwin/include
6435 /usr/openwin/share/include'
6437 if test "$ac_x_includes" = no; then
6438 # Guess where to find include files, by looking for Xlib.h.
6439 # First, try using that file with no special directory specified.
6440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6441 /* end confdefs.h. */
6442 #include <X11/Xlib.h>
6444 if ac_fn_c_try_cpp "$LINENO"; then :
6445 # We can compile using X headers with no special include directory.
6448 for ac_dir in $ac_x_header_dirs; do
6449 if test -r "$ac_dir/X11/Xlib.h"; then
6450 ac_x_includes=$ac_dir
6455 rm -f conftest.err conftest.i conftest.$ac_ext
6456 fi # $ac_x_includes = no
6458 if test "$ac_x_libraries" = no; then
6459 # Check for the libraries.
6460 # See if we find them without any special options.
6461 # Don't add to $LIBS permanently.
6464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465 /* end confdefs.h. */
6466 #include <X11/Xlib.h>
6475 if ac_fn_c_try_link "$LINENO"; then :
6477 # We can link X programs with no special library path.
6481 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6483 # Don't even attempt the hair of trying to link an X program!
6484 for ac_extension in a so sl dylib la dll; do
6485 if test -r "$ac_dir/libX11.$ac_extension"; then
6486 ac_x_libraries=$ac_dir
6492 rm -f core conftest.err conftest.$ac_objext \
6493 conftest$ac_exeext conftest.$ac_ext
6494 fi # $ac_x_libraries = no
6496 case $ac_x_includes,$ac_x_libraries in #(
6498 # Didn't find X, or a directory has "'" in its name.
6499 ac_cv_have_x="have_x=no";; #(
6501 # Record where we found X for the cache.
6502 ac_cv_have_x="have_x=yes\
6503 ac_x_includes='$ac_x_includes'\
6504 ac_x_libraries='$ac_x_libraries'"
6510 eval "$ac_cv_have_x"
6513 if test "$have_x" != yes; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
6515 $as_echo "$have_x" >&6; }
6518 # If each of the values was on the command line, it overrides each guess.
6519 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
6520 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
6521 # Update the cache value to reflect the command line values.
6522 ac_cv_have_x="have_x=yes\
6523 ac_x_includes='$x_includes'\
6524 ac_x_libraries='$x_libraries'"
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
6526 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6530 $as_echo_n "checking for ANSI C header files... " >&6; }
6531 if ${ac_cv_header_stdc+:} false; then :
6532 $as_echo_n "(cached) " >&6
6534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6549 if ac_fn_c_try_compile "$LINENO"; then :
6550 ac_cv_header_stdc=yes
6552 ac_cv_header_stdc=no
6554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6556 if test $ac_cv_header_stdc = yes; then
6557 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6564 $EGREP "memchr" >/dev/null 2>&1; then :
6567 ac_cv_header_stdc=no
6573 if test $ac_cv_header_stdc = yes; then
6574 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6581 $EGREP "free" >/dev/null 2>&1; then :
6584 ac_cv_header_stdc=no
6590 if test $ac_cv_header_stdc = yes; then
6591 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6592 if test "$cross_compiling" = yes; then :
6595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6599 #if ((' ' & 0x0FF) == 0x020)
6600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6603 # define ISLOWER(c) \
6604 (('a' <= (c) && (c) <= 'i') \
6605 || ('j' <= (c) && (c) <= 'r') \
6606 || ('s' <= (c) && (c) <= 'z'))
6607 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6610 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6615 for (i = 0; i < 256; i++)
6616 if (XOR (islower (i), ISLOWER (i))
6617 || toupper (i) != TOUPPER (i))
6622 if ac_fn_c_try_run "$LINENO"; then :
6625 ac_cv_header_stdc=no
6627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6628 conftest.$ac_objext conftest.beam conftest.$ac_ext
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6634 $as_echo "$ac_cv_header_stdc" >&6; }
6635 if test $ac_cv_header_stdc = yes; then
6637 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6641 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6642 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6643 inttypes.h stdint.h unistd.h
6645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6646 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6649 cat >>confdefs.h <<_ACEOF
6650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6658 for ac_header in getopt.h stdio.h stdlib.h string.h sys/stat.h sys/time.h sys/types.h time.h
6660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6661 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6663 cat >>confdefs.h <<_ACEOF
6664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6680 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6681 if test -n "$ac_tool_prefix"; then
6682 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6687 $as_echo_n "(cached) " >&6
6691 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 test -z "$as_dir" && as_dir=.
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6701 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6712 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6713 if test -n "$PKG_CONFIG"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6715 $as_echo "$PKG_CONFIG" >&6; }
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6723 if test -z "$ac_cv_path_PKG_CONFIG"; then
6724 ac_pt_PKG_CONFIG=$PKG_CONFIG
6725 # Extract the first word of "pkg-config", so it can be a program name with args.
6726 set dummy pkg-config; ac_word=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 $as_echo_n "checking for $ac_word... " >&6; }
6729 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6730 $as_echo_n "(cached) " >&6
6732 case $ac_pt_PKG_CONFIG in
6734 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 test -z "$as_dir" && as_dir=.
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6744 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6756 if test -n "$ac_pt_PKG_CONFIG"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6758 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6764 if test "x$ac_pt_PKG_CONFIG" = x; then
6767 case $cross_compiling:$ac_tool_warned in
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6771 ac_tool_warned=yes ;;
6773 PKG_CONFIG=$ac_pt_PKG_CONFIG
6776 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6780 if test -n "$PKG_CONFIG"; then
6781 _pkg_min_version=0.9.0
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6783 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6784 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6786 $as_echo "yes" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
6796 $as_echo_n "checking for CURL... " >&6; }
6798 if test -n "$CURL_CFLAGS"; then
6799 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
6800 elif test -n "$PKG_CONFIG"; then
6801 if test -n "$PKG_CONFIG" && \
6802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6803 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6806 test $ac_status = 0; }; then
6807 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl " 2>/dev/null`
6808 test "x$?" != "x0" && pkg_failed=yes
6815 if test -n "$CURL_LIBS"; then
6816 pkg_cv_CURL_LIBS="$CURL_LIBS"
6817 elif test -n "$PKG_CONFIG"; then
6818 if test -n "$PKG_CONFIG" && \
6819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl \""; } >&5
6820 ($PKG_CONFIG --exists --print-errors "libcurl ") 2>&5
6822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6823 test $ac_status = 0; }; then
6824 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl " 2>/dev/null`
6825 test "x$?" != "x0" && pkg_failed=yes
6835 if test $pkg_failed = yes; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6837 $as_echo "no" >&6; }
6839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6840 _pkg_short_errors_supported=yes
6842 _pkg_short_errors_supported=no
6844 if test $_pkg_short_errors_supported = yes; then
6845 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl " 2>&1`
6847 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl " 2>&1`
6849 # Put the nasty error message in config.log where it belongs
6850 echo "$CURL_PKG_ERRORS" >&5
6852 as_fn_error $? "Package requirements (libcurl ) were not met:
6856 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6857 installed software in a non-standard prefix.
6859 Alternatively, you may set the environment variables CURL_CFLAGS
6860 and CURL_LIBS to avoid the need to call pkg-config.
6861 See the pkg-config man page for more details." "$LINENO" 5
6862 elif test $pkg_failed = untried; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6867 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
6868 is in your PATH or set the PKG_CONFIG environment variable to the full
6871 Alternatively, you may set the environment variables CURL_CFLAGS
6872 and CURL_LIBS to avoid the need to call pkg-config.
6873 See the pkg-config man page for more details.
6875 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6876 See \`config.log' for more details" "$LINENO" 5; }
6878 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
6879 CURL_LIBS=$pkg_cv_CURL_LIBS
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6881 $as_echo "yes" >&6; }
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6892 $as_echo_n "checking for JSON... " >&6; }
6894 if test -n "$JSON_CFLAGS"; then
6895 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6896 elif test -n "$PKG_CONFIG"; then
6897 if test -n "$PKG_CONFIG" && \
6898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
6899 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6902 test $ac_status = 0; }; then
6903 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
6904 test "x$?" != "x0" && pkg_failed=yes
6911 if test -n "$JSON_LIBS"; then
6912 pkg_cv_JSON_LIBS="$JSON_LIBS"
6913 elif test -n "$PKG_CONFIG"; then
6914 if test -n "$PKG_CONFIG" && \
6915 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
6916 ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
6918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6919 test $ac_status = 0; }; then
6920 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
6921 test "x$?" != "x0" && pkg_failed=yes
6931 if test $pkg_failed = yes; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933 $as_echo "no" >&6; }
6935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6936 _pkg_short_errors_supported=yes
6938 _pkg_short_errors_supported=no
6940 if test $_pkg_short_errors_supported = yes; then
6941 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
6943 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
6945 # Put the nasty error message in config.log where it belongs
6946 echo "$JSON_PKG_ERRORS" >&5
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
6949 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
6950 elif test $pkg_failed = untried; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
6954 $as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
6956 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
6957 JSON_LIBS=$pkg_cv_JSON_LIBS
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6959 $as_echo "yes" >&6; }
6961 $as_echo "#define HAVE_JSON 1" >>confdefs.h
6965 if test "$JSON_LIBS" == ""; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
6969 $as_echo_n "checking for JSON... " >&6; }
6971 if test -n "$JSON_CFLAGS"; then
6972 pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6973 elif test -n "$PKG_CONFIG"; then
6974 if test -n "$PKG_CONFIG" && \
6975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6976 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6979 test $ac_status = 0; }; then
6980 pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
6981 test "x$?" != "x0" && pkg_failed=yes
6988 if test -n "$JSON_LIBS"; then
6989 pkg_cv_JSON_LIBS="$JSON_LIBS"
6990 elif test -n "$PKG_CONFIG"; then
6991 if test -n "$PKG_CONFIG" && \
6992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6993 ($PKG_CONFIG --exists --print-errors "json") 2>&5
6995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6996 test $ac_status = 0; }; then
6997 pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
6998 test "x$?" != "x0" && pkg_failed=yes
7008 if test $pkg_failed = yes; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7013 _pkg_short_errors_supported=yes
7015 _pkg_short_errors_supported=no
7017 if test $_pkg_short_errors_supported = yes; then
7018 JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
7020 JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
7022 # Put the nasty error message in config.log where it belongs
7023 echo "$JSON_PKG_ERRORS" >&5
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
7026 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
7027 elif test $pkg_failed = untried; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
7031 $as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
7033 JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
7034 JSON_LIBS=$pkg_cv_JSON_LIBS
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7036 $as_echo "yes" >&6; }
7038 $as_echo "#define HAVE_JSON 1" >>confdefs.h
7041 $as_echo "#define HAVE_JSON_0 1" >>confdefs.h
7046 if test -n "$JSON_LIBS"; then
7057 ac_fn_c_check_type "$LINENO" "json_bool" "ac_cv_type_json_bool" "#include <json/json.h>
7059 if test "x$ac_cv_type_json_bool" = xyes; then :
7061 $as_echo "#define HAVE_JSON_BOOL 1" >>confdefs.h
7066 ac_config_files="$ac_config_files po/Makefile.in Makefile src/Makefile tests/Makefile themes/Makefile themes/default/css/Makefile themes/default/js/Makefile themes/default/templates/Makefile themes/default/templates/footer.tpl"
7069 for ac_prog in help2man
7071 # Extract the first word of "$ac_prog", so it can be a program name with args.
7072 set dummy $ac_prog; ac_word=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 $as_echo_n "checking for $ac_word... " >&6; }
7075 if ${ac_cv_prog_HELP2MAN+:} false; then :
7076 $as_echo_n "(cached) " >&6
7078 if test -n "$HELP2MAN"; then
7079 ac_cv_prog_HELP2MAN="$HELP2MAN" # Let the user override the test.
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7088 ac_cv_prog_HELP2MAN="$ac_prog"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098 HELP2MAN=$ac_cv_prog_HELP2MAN
7099 if test -n "$HELP2MAN"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
7101 $as_echo "$HELP2MAN" >&6; }
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7108 test -n "$HELP2MAN" && break
7112 # Extract the first word of "cppcheck", so it can be a program name with args.
7113 set dummy cppcheck; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if ${ac_cv_prog_HAVE_CPPCHECK+:} false; then :
7117 $as_echo_n "(cached) " >&6
7119 if test -n "$HAVE_CPPCHECK"; then
7120 ac_cv_prog_HAVE_CPPCHECK="$HAVE_CPPCHECK" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7129 ac_cv_prog_HAVE_CPPCHECK="yes"
7130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139 HAVE_CPPCHECK=$ac_cv_prog_HAVE_CPPCHECK
7140 if test -n "$HAVE_CPPCHECK"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CPPCHECK" >&5
7142 $as_echo "$HAVE_CPPCHECK" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7149 if test -n "$HAVE_CPPCHECK"; then
7158 cat >confcache <<\_ACEOF
7159 # This file is a shell script that caches the results of configure
7160 # tests run on this system so they can be shared between configure
7161 # scripts and configure runs, see configure's option --config-cache.
7162 # It is not useful on other systems. If it contains results you don't
7163 # want to keep, you may remove or edit it.
7165 # config.status only pays attention to the cache file if you give it
7166 # the --recheck option to rerun configure.
7168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7174 # The following way of writing the cache mishandles newlines in values,
7175 # but we know of no workaround that is simple, portable, and efficient.
7176 # So, we kill variables containing newlines.
7177 # Ultrix sh set writes to stderr and can't be redirected directly,
7178 # and sets the high bit in the cache file unless we assign to the vars.
7180 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7181 eval ac_val=\$$ac_var
7185 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7186 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7189 _ | IFS | as_nl) ;; #(
7190 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7191 *) { eval $ac_var=; unset $ac_var;} ;;
7197 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7198 *${as_nl}ac_space=\ *)
7199 # `set' does not quote correctly, so add quotes: double-quote
7200 # substitution turns \\\\ into \\, and sed turns \\ into \.
7203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7206 # `set' quotes correctly as required by POSIX, so do not add quotes.
7207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7216 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7218 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7220 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7221 if test -w "$cache_file"; then
7222 if test "x$cache_file" != "x/dev/null"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7224 $as_echo "$as_me: updating cache $cache_file" >&6;}
7225 if test ! -f "$cache_file" || test -h "$cache_file"; then
7226 cat confcache >"$cache_file"
7228 case $cache_file in #(
7230 mv -f confcache "$cache_file"$$ &&
7231 mv -f "$cache_file"$$ "$cache_file" ;; #(
7233 mv -f confcache "$cache_file" ;;
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7239 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7244 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7245 # Let make expand exec_prefix.
7246 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7248 DEFS=-DHAVE_CONFIG_H
7253 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7254 # 1. Remove the extension, and $U if already installed.
7255 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7256 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7257 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7258 # will be set to the directory where LIBOBJS objects are built.
7259 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7260 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7264 LTLIBOBJS=$ac_ltlibobjs
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7268 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7269 if test -n "$am_sleep_pid"; then
7270 # Hide warnings about reused PIDs.
7271 wait $am_sleep_pid 2>/dev/null
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7274 $as_echo "done" >&6; }
7275 if test -n "$EXEEXT"; then
7277 am__EXEEXT_FALSE='#'
7283 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7284 as_fn_error $? "conditional \"AMDEP\" was never defined.
7285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7287 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7288 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7291 if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
7292 as_fn_error $? "conditional \"JSON\" was never defined.
7293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7295 if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7296 as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7300 : "${CONFIG_STATUS=./config.status}"
7302 ac_clean_files_save=$ac_clean_files
7303 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7305 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7307 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7309 # Generated by $as_me.
7310 # Run this file to recreate the current configuration.
7311 # Compiler output produced by configure, useful for debugging
7312 # configure, is in config.log if it exists.
7318 SHELL=\${CONFIG_SHELL-$SHELL}
7321 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7322 ## -------------------- ##
7323 ## M4sh Initialization. ##
7324 ## -------------------- ##
7326 # Be more Bourne compatible
7327 DUALCASE=1; export DUALCASE # for MKS sh
7328 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7331 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7332 # is contrary to our usage. Disable this feature.
7333 alias -g '${1+"$@"}'='"$@"'
7334 setopt NO_GLOB_SUBST
7336 case `(set -o) 2>/dev/null` in #(
7348 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7349 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7350 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7351 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7352 # Prefer a ksh shell builtin over an external printf program on Solaris,
7353 # but without wasting forks for bash or zsh.
7354 if test -z "$BASH_VERSION$ZSH_VERSION" \
7355 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7356 as_echo='print -r --'
7357 as_echo_n='print -rn --'
7358 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7359 as_echo='printf %s\n'
7360 as_echo_n='printf %s'
7362 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7363 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7364 as_echo_n='/usr/ucb/echo -n'
7366 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7367 as_echo_n_body='eval
7371 expr "X$arg" : "X\\(.*\\)$as_nl";
7372 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7374 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7376 export as_echo_n_body
7377 as_echo_n='sh -c $as_echo_n_body as_echo'
7380 as_echo='sh -c $as_echo_body as_echo'
7383 # The user is always right.
7384 if test "${PATH_SEPARATOR+set}" != set; then
7386 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7387 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7394 # We need space, tab and new line, in precisely that order. Quoting is
7395 # there to prevent editors from complaining about space-tab.
7396 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7397 # splitting by setting IFS to empty value.)
7400 # Find who we are. Look in the path if we contain no directory separator.
7403 *[\\/]* ) as_myself=$0 ;;
7404 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 test -z "$as_dir" && as_dir=.
7409 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7415 # We did not find ourselves, most probably we were run as `sh COMMAND'
7416 # in which case we are not to be found in the path.
7417 if test "x$as_myself" = x; then
7420 if test ! -f "$as_myself"; then
7421 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7425 # Unset variables that we do not need and which cause bugs (e.g. in
7426 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7427 # suppresses any "Segmentation fault" message there. '((' could
7428 # trigger a bug in pdksh 5.2.14.
7429 for as_var in BASH_ENV ENV MAIL MAILPATH
7430 do eval test x\${$as_var+set} = xset \
7431 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7444 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7447 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7448 # ----------------------------------------
7449 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7450 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7451 # script with STATUS, using 1 if that was 0.
7454 as_status=$1; test $as_status -eq 0 && as_status=1
7456 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7457 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7459 $as_echo "$as_me: error: $2" >&2
7460 as_fn_exit $as_status
7464 # as_fn_set_status STATUS
7465 # -----------------------
7466 # Set $? to STATUS, without forking.
7470 } # as_fn_set_status
7474 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7484 # Portably unset VAR.
7487 { eval $1=; unset $1;}
7489 as_unset=as_fn_unset
7490 # as_fn_append VAR VALUE
7491 # ----------------------
7492 # Append the text in VALUE to the end of the definition contained in VAR. Take
7493 # advantage of any shell optimizations that allow amortized linear growth over
7494 # repeated appends, instead of the typical quadratic growth present in naive
7496 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7497 eval 'as_fn_append ()
7508 # as_fn_arith ARG...
7509 # ------------------
7510 # Perform arithmetic evaluation on the ARGs, and store the result in the
7511 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7512 # must be portable across $(()) and expr.
7513 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7514 eval 'as_fn_arith ()
7521 as_val=`expr "$@" || test $? -eq 1`
7526 if expr a : '\(a\)' >/dev/null 2>&1 &&
7527 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7533 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7534 as_basename=basename
7539 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7545 as_me=`$as_basename -- "$0" ||
7546 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7547 X"$0" : 'X\(//\)$' \| \
7548 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7550 sed '/^.*\/\([^/][^/]*\)\/*$/{
7564 # Avoid depending upon Character Ranges.
7565 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7568 as_cr_digits='0123456789'
7569 as_cr_alnum=$as_cr_Letters$as_cr_digits
7571 ECHO_C= ECHO_N= ECHO_T=
7572 case `echo -n x` in #(((((
7574 case `echo 'xy\c'` in
7575 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7577 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7584 rm -f conf$$ conf$$.exe conf$$.file
7585 if test -d conf$$.dir; then
7586 rm -f conf$$.dir/conf$$.file
7589 mkdir conf$$.dir 2>/dev/null
7591 if (echo >conf$$.file) 2>/dev/null; then
7592 if ln -s conf$$.file conf$$ 2>/dev/null; then
7594 # ... but there are two gotchas:
7595 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7596 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7597 # In both cases, we have to default to `cp -pR'.
7598 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7600 elif ln conf$$.file conf$$ 2>/dev/null; then
7608 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7609 rmdir conf$$.dir 2>/dev/null
7614 # Create "$as_dir" as a directory, including parents if necessary.
7619 -*) as_dir=./$as_dir;;
7621 test -d "$as_dir" || eval $as_mkdir_p || {
7625 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7626 *) as_qdir=$as_dir;;
7628 as_dirs="'$as_qdir' $as_dirs"
7629 as_dir=`$as_dirname -- "$as_dir" ||
7630 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7631 X"$as_dir" : 'X\(//\)[^/]' \| \
7632 X"$as_dir" : 'X\(//\)$' \| \
7633 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7634 $as_echo X"$as_dir" |
7635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7652 test -d "$as_dir" && break
7654 test -z "$as_dirs" || eval "mkdir $as_dirs"
7655 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7659 if mkdir -p . 2>/dev/null; then
7660 as_mkdir_p='mkdir -p "$as_dir"'
7662 test -d ./-p && rmdir ./-p
7667 # as_fn_executable_p FILE
7668 # -----------------------
7669 # Test if FILE is an executable regular file.
7670 as_fn_executable_p ()
7672 test -f "$1" && test -x "$1"
7673 } # as_fn_executable_p
7675 as_executable_p=as_fn_executable_p
7677 # Sed expression to map a string onto a valid CPP name.
7678 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7680 # Sed expression to map a string onto a valid variable name.
7681 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7685 ## ----------------------------------- ##
7686 ## Main body of $CONFIG_STATUS script. ##
7687 ## ----------------------------------- ##
7689 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7692 # Save the log message, to keep $0 and so on meaningful, and to
7693 # report actual input values of CONFIG_FILES etc. instead of their
7694 # values after options handling.
7696 This file was extended by ppastats $as_me 1.3.1, which was
7697 generated by GNU Autoconf 2.69. Invocation command line was
7699 CONFIG_FILES = $CONFIG_FILES
7700 CONFIG_HEADERS = $CONFIG_HEADERS
7701 CONFIG_LINKS = $CONFIG_LINKS
7702 CONFIG_COMMANDS = $CONFIG_COMMANDS
7705 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7710 case $ac_config_files in *"
7711 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7714 case $ac_config_headers in *"
7715 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7720 # Files that config.status was made for.
7721 config_files="$ac_config_files"
7722 config_headers="$ac_config_headers"
7723 config_commands="$ac_config_commands"
7727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7729 \`$as_me' instantiates files and other configuration actions
7730 from templates according to the current configuration. Unless the files
7731 and actions are specified as TAGs, all are instantiated by default.
7733 Usage: $0 [OPTION]... [TAG]...
7735 -h, --help print this help, then exit
7736 -V, --version print version number and configuration settings, then exit
7737 --config print configuration, then exit
7738 -q, --quiet, --silent
7739 do not print progress messages
7740 -d, --debug don't remove temporary files
7741 --recheck update $as_me by reconfiguring in the same conditions
7742 --file=FILE[:TEMPLATE]
7743 instantiate the configuration file FILE
7744 --header=FILE[:TEMPLATE]
7745 instantiate the configuration header FILE
7747 Configuration files:
7750 Configuration headers:
7753 Configuration commands:
7756 Report bugs to <jeanfi@gmail.com>.
7757 ppastats home page: <http://wpitchoune.net/ppastats>."
7760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7761 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7763 ppastats config.status 1.3.1
7764 configured by $0, generated by GNU Autoconf 2.69,
7765 with options \\"\$ac_cs_config\\"
7767 Copyright (C) 2012 Free Software Foundation, Inc.
7768 This config.status script is free software; the Free Software Foundation
7769 gives unlimited permission to copy, distribute and modify it."
7776 test -n "\$AWK" || AWK=awk
7779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7780 # The default lists apply if the user does not specify any file.
7786 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7787 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7791 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7803 # Handling of the options.
7804 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7806 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7807 $as_echo "$ac_cs_version"; exit ;;
7808 --config | --confi | --conf | --con | --co | --c )
7809 $as_echo "$ac_cs_config"; exit ;;
7810 --debug | --debu | --deb | --de | --d | -d )
7812 --file | --fil | --fi | --f )
7815 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7816 '') as_fn_error $? "missing file argument" ;;
7818 as_fn_append CONFIG_FILES " '$ac_optarg'"
7819 ac_need_defaults=false;;
7820 --header | --heade | --head | --hea )
7823 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7825 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7826 ac_need_defaults=false;;
7828 # Conflict between --help and --header
7829 as_fn_error $? "ambiguous option: \`$1'
7830 Try \`$0 --help' for more information.";;
7831 --help | --hel | -h )
7832 $as_echo "$ac_cs_usage"; exit ;;
7833 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7834 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7838 -*) as_fn_error $? "unrecognized option: \`$1'
7839 Try \`$0 --help' for more information." ;;
7841 *) as_fn_append ac_config_targets " $1"
7842 ac_need_defaults=false ;;
7848 ac_configure_extra_args=
7850 if $ac_cs_silent; then
7852 ac_configure_extra_args="$ac_configure_extra_args --silent"
7856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7857 if \$ac_cs_recheck; then
7858 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7860 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7861 CONFIG_SHELL='$SHELL'
7867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7871 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7872 ## Running $as_me. ##
7878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7882 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7883 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7884 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7885 # from automake < 1.5.
7886 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7887 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7888 LINGUAS="${LINGUAS-%UNSET%}"
7893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7895 # Handling of arguments.
7896 for ac_config_target in $ac_config_targets
7898 case $ac_config_target in
7899 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7900 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7901 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7902 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7903 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7904 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7905 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7906 "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
7907 "themes/default/css/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/css/Makefile" ;;
7908 "themes/default/js/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/js/Makefile" ;;
7909 "themes/default/templates/Makefile") CONFIG_FILES="$CONFIG_FILES themes/default/templates/Makefile" ;;
7910 "themes/default/templates/footer.tpl") CONFIG_FILES="$CONFIG_FILES themes/default/templates/footer.tpl" ;;
7912 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7917 # If the user did not use the arguments to specify the items to instantiate,
7918 # then the envvar interface is used. Set only those that are not.
7919 # We use the long form for the default assignment because of an extremely
7920 # bizarre bug on SunOS 4.1.3.
7921 if $ac_need_defaults; then
7922 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7923 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7924 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7927 # Have a temporary directory for convenience. Make it in the build tree
7928 # simply because there is no reason against having it here, and in addition,
7929 # creating and moving files from /tmp can sometimes cause problems.
7930 # Hook for its removal unless debugging.
7931 # Note that there is a small window in which the directory will not be cleaned:
7932 # after its creation but before its name has been assigned to `$tmp'.
7936 trap 'exit_status=$?
7938 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7940 trap 'as_fn_exit 1' 1 2 13 15
7942 # Create a (secure) tmp directory for tmp files.
7945 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7949 tmp=./conf$$-$RANDOM
7950 (umask 077 && mkdir "$tmp")
7951 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7954 # Set up the scripts for CONFIG_FILES section.
7955 # No need to generate them if there are no CONFIG_FILES.
7956 # This happens for instance with `./config.status config.h'.
7957 if test -n "$CONFIG_FILES"; then
7960 ac_cr=`echo X | tr X '\015'`
7961 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7962 # But we know of no other shell where ac_cr would be empty at this
7963 # point, so we can use a bashism as a fallback.
7964 if test "x$ac_cr" = x; then
7965 eval ac_cr=\$\'\\r\'
7967 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7968 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7974 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7979 echo "cat >conf$$subs.awk <<_ACEOF" &&
7980 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7983 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7984 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7986 for ac_last_try in false false false false false :; do
7987 . ./conf$$subs.sh ||
7988 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7990 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7991 if test $ac_delim_n = $ac_delim_num; then
7993 elif $ac_last_try; then
7994 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7996 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8002 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8006 s/^/S["/; s/!.*/"]=/
8016 s/\(.\{148\}\)..*/\1/
8018 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8023 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8030 s/\(.\{148\}\)..*/\1/
8032 s/["\\]/\\&/g; s/^/"/; s/$/"/
8036 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8041 ' <conf$$subs.awk | sed '
8046 ' >>$CONFIG_STATUS || ac_write_fail=1
8047 rm -f conf$$subs.awk
8048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8050 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8051 for (key in S) S_is_set[key] = 1
8057 nfields = split(line, field, "@")
8059 len = length(field[1])
8060 for (i = 2; i < nfields; i++) {
8062 keylen = length(key)
8063 if (S_is_set[key]) {
8065 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8066 len += length(value) + length(field[++i])
8077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8078 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8079 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8082 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8083 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8086 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8087 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8088 # trailing colons and then remove the whole line if VPATH becomes empty
8089 # (actually we leave an empty line to preserve line numbers).
8090 if test "x$srcdir" = x.; then
8091 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8110 fi # test -n "$CONFIG_FILES"
8112 # Set up the scripts for CONFIG_HEADERS section.
8113 # No need to generate them if there are no CONFIG_HEADERS.
8114 # This happens for instance with `./config.status Makefile'.
8115 if test -n "$CONFIG_HEADERS"; then
8116 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8120 # Transform confdefs.h into an awk script `defines.awk', embedded as
8121 # here-document in config.status, that substitutes the proper values into
8122 # config.h.in to produce config.h.
8124 # Create a delimiter string that does not exist in confdefs.h, to ease
8125 # handling of long lines.
8127 for ac_last_try in false false :; do
8128 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8129 if test -z "$ac_tt"; then
8131 elif $ac_last_try; then
8132 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8134 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8138 # For the awk script, D is an array of macro values keyed by name,
8139 # likewise P contains macro parameters if any. Preserve backslash
8140 # newline sequences.
8142 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8144 s/.\{148\}/&'"$ac_delim"'/g
8147 s/^[ ]*#[ ]*define[ ][ ]*/ /
8154 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8156 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8160 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8161 D["\1"]=" \3\\\\\\n"\\/p
8163 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8168 s/.\{148\}/&'"$ac_delim"'/g
8173 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8176 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8178 ' <confdefs.h | sed '
8179 s/'"$ac_delim"'/"\\\
8180 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8183 for (key in D) D_is_set[key] = 1
8186 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8188 split(line, arg, " ")
8189 if (arg[1] == "#") {
8193 defundef = substr(arg[1], 2)
8196 split(mac1, mac2, "(") #)
8198 prefix = substr(line, 1, index(line, defundef) - 1)
8199 if (D_is_set[macro]) {
8200 # Preserve the white space surrounding the "#".
8201 print prefix "define", macro P[macro] D[macro]
8204 # Replace #undef with comments. This is necessary, for example,
8205 # in the case of _POSIX_SOURCE, which is predefined and required
8206 # on some systems where configure will not decide to define it.
8207 if (defundef == "undef") {
8208 print "/*", prefix defundef, macro, "*/"
8216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8217 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8218 fi # test -n "$CONFIG_HEADERS"
8221 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8226 :[FHLC]) ac_mode=$ac_tag; continue;;
8228 case $ac_mode$ac_tag in
8230 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8231 :[FH]-) ac_tag=-:-;;
8232 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8249 -) ac_f="$ac_tmp/stdin";;
8250 *) # Look for the file first in the build tree, then in the source tree
8251 # (if the path is not absolute). The absolute path cannot be DOS-style,
8252 # because $ac_f cannot contain `:'.
8256 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8258 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8260 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8261 as_fn_append ac_file_inputs " '$ac_f'"
8264 # Let's still pretend it is `configure' which instantiates (i.e., don't
8265 # use $as_me), people would be surprised to read:
8266 # /* config.h. Generated by config.status. */
8267 configure_input='Generated from '`
8268 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8270 if test x"$ac_file" != x-; then
8271 configure_input="$ac_file. $configure_input"
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8273 $as_echo "$as_me: creating $ac_file" >&6;}
8275 # Neutralize special characters interpreted by sed in replacement strings.
8276 case $configure_input in #(
8277 *\&* | *\|* | *\\* )
8278 ac_sed_conf_input=`$as_echo "$configure_input" |
8279 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8280 *) ac_sed_conf_input=$configure_input;;
8284 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8285 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8290 ac_dir=`$as_dirname -- "$ac_file" ||
8291 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8292 X"$ac_file" : 'X\(//\)[^/]' \| \
8293 X"$ac_file" : 'X\(//\)$' \| \
8294 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8295 $as_echo X"$ac_file" |
8296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8313 as_dir="$ac_dir"; as_fn_mkdir_p
8317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8319 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8320 # A ".." for each directory in $ac_dir_suffix.
8321 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8322 case $ac_top_builddir_sub in
8323 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8324 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8327 ac_abs_top_builddir=$ac_pwd
8328 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8329 # for backward compatibility:
8330 ac_top_builddir=$ac_top_build_prefix
8333 .) # We are building in place.
8335 ac_top_srcdir=$ac_top_builddir_sub
8336 ac_abs_top_srcdir=$ac_pwd ;;
8337 [\\/]* | ?:[\\/]* ) # Absolute name.
8338 ac_srcdir=$srcdir$ac_dir_suffix;
8339 ac_top_srcdir=$srcdir
8340 ac_abs_top_srcdir=$srcdir ;;
8342 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8343 ac_top_srcdir=$ac_top_build_prefix$srcdir
8344 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8356 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8357 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8361 [\\/$]* | ?:[\\/]* ) ;;
8362 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8367 # If the template does not know about datarootdir, expand it.
8368 # FIXME: This hack should be removed a few years after 2.60.
8369 ac_datarootdir_hack=; ac_datarootdir_seen=
8380 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8381 *datarootdir*) ac_datarootdir_seen=yes;;
8382 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8384 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8387 ac_datarootdir_hack='
8388 s&@datadir@&$datadir&g
8389 s&@docdir@&$docdir&g
8390 s&@infodir@&$infodir&g
8391 s&@localedir@&$localedir&g
8392 s&@mandir@&$mandir&g
8393 s&\\\${datarootdir}&$datarootdir&g' ;;
8397 # Neutralize VPATH when `$srcdir' = `.'.
8398 # Shell code in configure.ac might set extrasub.
8399 # FIXME: do we really want to maintain this feature?
8400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8401 ac_sed_extra="$ac_vpsub
8404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8407 s|@configure_input@|$ac_sed_conf_input|;t t
8408 s&@top_builddir@&$ac_top_builddir_sub&;t t
8409 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8410 s&@srcdir@&$ac_srcdir&;t t
8411 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8412 s&@top_srcdir@&$ac_top_srcdir&;t t
8413 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8414 s&@builddir@&$ac_builddir&;t t
8415 s&@abs_builddir@&$ac_abs_builddir&;t t
8416 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8417 s&@INSTALL@&$ac_INSTALL&;t t
8418 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8419 $ac_datarootdir_hack
8421 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8422 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8424 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8425 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8426 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8427 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8429 which seems to be undefined. Please make sure it is defined" >&5
8430 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8431 which seems to be undefined. Please make sure it is defined" >&2;}
8433 rm -f "$ac_tmp/stdin"
8435 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8436 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8438 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8444 if test x"$ac_file" != x-; then
8446 $as_echo "/* $configure_input */" \
8447 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8448 } >"$ac_tmp/config.h" \
8449 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8450 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8452 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8455 mv "$ac_tmp/config.h" "$ac_file" \
8456 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8459 $as_echo "/* $configure_input */" \
8460 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8461 || as_fn_error $? "could not create -" "$LINENO" 5
8463 # Compute "$ac_file"'s index in $config_headers.
8466 for _am_header in $config_headers :; do
8468 $_am_arg | $_am_arg:* )
8471 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8474 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8475 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8476 X"$_am_arg" : 'X\(//\)[^/]' \| \
8477 X"$_am_arg" : 'X\(//\)$' \| \
8478 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8479 $as_echo X"$_am_arg" |
8480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8496 s/.*/./; q'`/stamp-h$_am_stamp_count
8499 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8500 $as_echo "$as_me: executing $ac_file commands" >&6;}
8505 case $ac_file$ac_mode in
8506 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8507 # Older Autoconf quotes --file arguments for eval, but not when files
8508 # are listed without --file. Let's play safe and only enable the eval
8509 # if we detect the quoting.
8510 case $CONFIG_FILES in
8511 *\'*) eval set x "$CONFIG_FILES" ;;
8512 *) set x $CONFIG_FILES ;;
8517 # Strip MF so we end up with the name of the file.
8518 mf=`echo "$mf" | sed -e 's/:.*$//'`
8519 # Check whether this is an Automake generated Makefile or not.
8520 # We used to match only the files named 'Makefile.in', but
8521 # some people rename them; so instead we look at the file content.
8522 # Grep'ing the first line is not enough: some people post-process
8523 # each Makefile.in and add a new line on top of each file to say so.
8524 # Grep'ing the whole file is not good either: AIX grep has a line
8525 # limit of 2048, but all sed's we know have understand at least 4000.
8526 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8527 dirpart=`$as_dirname -- "$mf" ||
8528 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8529 X"$mf" : 'X\(//\)[^/]' \| \
8530 X"$mf" : 'X\(//\)$' \| \
8531 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8553 # Extract the definition of DEPDIR, am__include, and am__quote
8554 # from the Makefile without running 'make'.
8555 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8556 test -z "$DEPDIR" && continue
8557 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8558 test -z "$am__include" && continue
8559 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8560 # Find all dependency output files, they are included files with
8561 # $(DEPDIR) in their names. We invoke sed twice because it is the
8562 # simplest approach to changing $(DEPDIR) to its actual value in the
8564 for file in `sed -n "
8565 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8566 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8567 # Make sure the directory exists.
8568 test -f "$dirpart/$file" && continue
8569 fdir=`$as_dirname -- "$file" ||
8570 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8571 X"$file" : 'X\(//\)[^/]' \| \
8572 X"$file" : 'X\(//\)$' \| \
8573 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8592 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8593 # echo "creating $dirpart/$file"
8594 echo '# dummy' > "$dirpart/$file"
8600 for ac_file in $CONFIG_FILES; do
8601 # Support "outfile[:infile[:infile...]]"
8603 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8605 # PO directories have a Makefile.in generated from Makefile.in.in.
8606 case "$ac_file" in */Makefile.in)
8607 # Adjust a relative srcdir.
8608 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8609 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8610 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8611 # In autoconf-2.13 it is called $ac_given_srcdir.
8612 # In autoconf-2.50 it is called $srcdir.
8613 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8614 case "$ac_given_srcdir" in
8615 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8616 /*) top_srcdir="$ac_given_srcdir" ;;
8617 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8619 # Treat a directory as a PO directory if and only if it has a
8620 # POTFILES.in file. This allows packages to have multiple PO
8621 # directories under different names or in different locations.
8622 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8623 rm -f "$ac_dir/POTFILES"
8624 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8625 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8626 POMAKEFILEDEPS="POTFILES.in"
8627 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8628 # on $ac_dir but don't depend on user-specified configuration
8630 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8631 # The LINGUAS file contains the set of available languages.
8632 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8633 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8635 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8636 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8637 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8638 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8640 # The set of available languages was given in configure.in.
8641 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8642 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8645 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8646 # Compute UPDATEPOFILES
8647 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8648 # Compute DUMMYPOFILES
8649 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8651 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8652 case "$ac_given_srcdir" in
8654 *) srcdirpre='$(srcdir)/' ;;
8660 for lang in $ALL_LINGUAS; do
8661 POFILES="$POFILES $srcdirpre$lang.po"
8662 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8663 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8664 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8666 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8667 # environment variable.
8669 if test -n "$ALL_LINGUAS"; then
8670 for presentlang in $ALL_LINGUAS; do
8672 if test "%UNSET%" != "$LINGUAS"; then
8673 desiredlanguages="$LINGUAS"
8675 desiredlanguages="$ALL_LINGUAS"
8677 for desiredlang in $desiredlanguages; do
8678 # Use the presentlang catalog if desiredlang is
8679 # a. equal to presentlang, or
8680 # b. a variant of presentlang (because in this case,
8681 # presentlang can be used as a fallback for messages
8682 # which are not translated in the desiredlang catalog).
8683 case "$desiredlang" in
8684 "$presentlang"*) useit=yes;;
8687 if test $useit = yes; then
8688 INST_LINGUAS="$INST_LINGUAS $presentlang"
8693 if test -n "$INST_LINGUAS"; then
8694 for lang in $INST_LINGUAS; do
8695 CATALOGS="$CATALOGS $lang.gmo"
8698 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8699 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"
8700 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8701 if test -f "$f"; then
8703 *.orig | *.bak | *~) ;;
8704 *) cat "$f" >> "$ac_dir/Makefile" ;;
8719 ac_clean_files=$ac_clean_files_save
8721 test $ac_write_fail = 0 ||
8722 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8725 # configure is writing to config.log, and then calls config.status.
8726 # config.status does its own redirection, appending to config.log.
8727 # Unfortunately, on DOS this fails, as config.log is still kept open
8728 # by configure, so config.status won't be able to write to it; its
8729 # output is simply discarded. So we exec the FD to /dev/null,
8730 # effectively closing config.log, so it can be properly (re)opened and
8731 # appended to by config.status. When coming back to configure, we
8732 # need to make the FD available again.
8733 if test "$no_create" != yes; then
8735 ac_config_status_args=
8736 test "$silent" = yes &&
8737 ac_config_status_args="$ac_config_status_args --quiet"
8739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8742 # would make configure fail if this is the last instruction.
8743 $ac_cs_success || as_fn_exit 1
8745 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8747 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}