2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ptouch 1.3.4.
5 # Report bugs to <blip@mockmoon-cybernetics.ch>.
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
270 $0: blip@mockmoon-cybernetics.ch about your system,
271 $0: including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
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='ptouch'
582 PACKAGE_TARNAME='ptouch'
583 PACKAGE_VERSION='1.3.4'
584 PACKAGE_STRING='ptouch 1.3.4'
585 PACKAGE_BUGREPORT='blip@mockmoon-cybernetics.ch'
588 ac_unique_file="src/libptouch.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
648 XGETTEXT_EXTRA_OPTIONS
656 GETTEXT_MACRO_VERSION
681 INSTALL_STRIP_PROGRAM
730 program_transform_name
743 enable_option_checking
744 enable_dependency_tracking
752 ac_precious_vars='build_alias
763 # Initialize some variables set by options.
765 ac_init_version=false
766 ac_unrecognized_opts=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name=s,x,x,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir='${exec_prefix}/bin'
792 sbindir='${exec_prefix}/sbin'
793 libexecdir='${exec_prefix}/libexec'
794 datarootdir='${prefix}/share'
795 datadir='${datarootdir}'
796 sysconfdir='${prefix}/etc'
797 sharedstatedir='${prefix}/com'
798 localstatedir='${prefix}/var'
799 includedir='${prefix}/include'
800 oldincludedir='/usr/include'
801 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir='${datarootdir}/info'
807 libdir='${exec_prefix}/lib'
808 localedir='${datarootdir}/locale'
809 mandir='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\$ac_option
823 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 # Accept the important Cygnus configure options, so we can diagnose typos.
830 case $ac_dashdash$ac_option in
834 -bindir | --bindir | --bindi | --bind | --bin | --bi)
836 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
839 -build | --build | --buil | --bui | --bu)
840 ac_prev=build_alias ;;
841 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
842 build_alias=$ac_optarg ;;
844 -cache-file | --cache-file | --cache-fil | --cache-fi \
845 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
846 ac_prev=cache_file ;;
847 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
848 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
849 cache_file=$ac_optarg ;;
852 cache_file=config.cache ;;
854 -datadir | --datadir | --datadi | --datad)
856 -datadir=* | --datadir=* | --datadi=* | --datad=*)
857 datadir=$ac_optarg ;;
859 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
860 | --dataroo | --dataro | --datar)
861 ac_prev=datarootdir ;;
862 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
863 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
864 datarootdir=$ac_optarg ;;
866 -disable-* | --disable-*)
867 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 as_fn_error $? "invalid feature name: $ac_useropt"
871 ac_useropt_orig=$ac_useropt
872 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878 ac_unrecognized_sep=', ';;
880 eval enable_$ac_useropt=no ;;
882 -docdir | --docdir | --docdi | --doc | --do)
884 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
889 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892 -enable-* | --enable-*)
893 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 as_fn_error $? "invalid feature name: $ac_useropt"
897 ac_useropt_orig=$ac_useropt
898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
904 ac_unrecognized_sep=', ';;
906 eval enable_$ac_useropt=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
921 -help | --help | --hel | --he | -h)
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 # Obsolete; use --without-fp.
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1070 -site=* | --site=* | --sit=*)
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1097 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 as_fn_error $? "invalid package name: $ac_useropt"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1110 eval with_$ac_useropt=\$ac_optarg ;;
1112 -without-* | --without-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid package name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval with_$ac_useropt=no ;;
1129 # Obsolete; use --with-x.
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1147 Try \`$0 --help' for more information"
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 case $ac_envvar in #(
1154 '' | [0-9]* | *[!_$as_cr_alnum]* )
1155 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 as_fn_error $? "missing argument to $ac_option"
1176 if test -n "$ac_unrecognized_opts"; then
1177 case $enable_option_checking in
1179 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1180 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184 # Check all directory arguments for consistency.
1185 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val=\$$ac_var
1191 # Remove trailing slashes.
1194 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195 eval $ac_var=\$ac_val;;
1197 # Be sure to have absolute directory names.
1199 [\\/$]* | ?:[\\/]* ) continue;;
1200 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1202 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1205 # There might be people who depend on the old broken behavior: `$host'
1206 # used to hold the argument of --host etc.
1207 # FIXME: To remove some day.
1210 target=$target_alias
1212 # FIXME: To remove some day.
1213 if test "x$host_alias" != x; then
1214 if test "x$build_alias" = x; then
1215 cross_compiling=maybe
1216 elif test "x$build_alias" != "x$host_alias"; then
1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224 test "$silent" = yes && exec 6>/dev/null
1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228 ac_ls_di=`ls -di .` &&
1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230 as_fn_error $? "working directory cannot be determined"
1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232 as_fn_error $? "pwd does not report name of working directory"
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir=`$as_dirname -- "$as_myself" ||
1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$as_myself" : 'X\(//\)[^/]' \| \
1242 X"$as_myself" : 'X\(//\)$' \| \
1243 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244 $as_echo X"$as_myself" |
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1267 ac_srcdir_defaulted=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var in $ac_precious_vars; do
1288 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_${ac_var}_value=\$${ac_var}
1290 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures ptouch 1.3.4 to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking ...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/ptouch]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1364 --build=BUILD configure for building on BUILD [guessed]
1365 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1369 if test -n "$ac_init_help"; then
1370 case $ac_init_help in
1371 short | recursive ) echo "Configuration of ptouch 1.3.4:";;
1376 --disable-option-checking ignore unrecognized --enable/--with options
1377 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1378 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1379 --enable-dependency-tracking
1380 do not reject slow dependency extractors
1381 --disable-dependency-tracking
1382 speeds up one-time build
1383 --enable-silent-rules less verbose build output (undo: "make V=1")
1384 --disable-silent-rules verbose build output (undo: "make V=0")
1385 --disable-nls do not use Native Language Support
1386 --disable-rpath do not hardcode runtime library paths
1389 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1390 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1391 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1392 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1393 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1394 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1395 --without-libintl-prefix don't search for libintl in includedir and libdir
1397 Some influential environment variables:
1398 CC C compiler command
1399 CFLAGS C compiler flags
1400 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1401 nonstandard directory <lib dir>
1402 LIBS libraries to pass to the linker, e.g. -l<library>
1403 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1404 you have headers in a nonstandard directory <include dir>
1407 Use these variables to override the choices made by `configure' or to help
1408 it to find libraries and programs with nonstandard names/locations.
1410 Report bugs to <blip@mockmoon-cybernetics.ch>.
1415 if test "$ac_init_help" = "recursive"; then
1416 # If there are subdirs, report their specific --help.
1417 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1418 test -d "$ac_dir" ||
1419 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1427 # A ".." for each directory in $ac_dir_suffix.
1428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1429 case $ac_top_builddir_sub in
1430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1434 ac_abs_top_builddir=$ac_pwd
1435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1436 # for backward compatibility:
1437 ac_top_builddir=$ac_top_build_prefix
1440 .) # We are building in place.
1442 ac_top_srcdir=$ac_top_builddir_sub
1443 ac_abs_top_srcdir=$ac_pwd ;;
1444 [\\/]* | ?:[\\/]* ) # Absolute name.
1445 ac_srcdir=$srcdir$ac_dir_suffix;
1446 ac_top_srcdir=$srcdir
1447 ac_abs_top_srcdir=$srcdir ;;
1449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1450 ac_top_srcdir=$ac_top_build_prefix$srcdir
1451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455 cd "$ac_dir" || { ac_status=$?; continue; }
1456 # Check for guested configure.
1457 if test -f "$ac_srcdir/configure.gnu"; then
1459 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1460 elif test -f "$ac_srcdir/configure"; then
1462 $SHELL "$ac_srcdir/configure" --help=recursive
1464 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 cd "$ac_pwd" || { ac_status=$?; break; }
1470 test -n "$ac_init_help" && exit $ac_status
1471 if $ac_init_version; then
1473 ptouch configure 1.3.4
1474 generated by GNU Autoconf 2.69
1476 Copyright (C) 2012 Free Software Foundation, Inc.
1477 This configure script is free software; the Free Software Foundation
1478 gives unlimited permission to copy, distribute and modify it.
1483 ## ------------------------ ##
1484 ## Autoconf initialization. ##
1485 ## ------------------------ ##
1487 # ac_fn_c_try_compile LINENO
1488 # --------------------------
1489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1490 ac_fn_c_try_compile ()
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 rm -f conftest.$ac_objext
1494 if { { ac_try="$ac_compile"
1496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497 *) ac_try_echo=$ac_try;;
1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501 (eval "$ac_compile") 2>conftest.err
1503 if test -s conftest.err; then
1504 grep -v '^ *+' conftest.err >conftest.er1
1505 cat conftest.er1 >&5
1506 mv -f conftest.er1 conftest.err
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } && {
1510 test -z "$ac_c_werror_flag" ||
1511 test ! -s conftest.err
1512 } && test -s conftest.$ac_objext; then :
1515 $as_echo "$as_me: failed program was:" >&5
1516 sed 's/^/| /' conftest.$ac_ext >&5
1520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521 as_fn_set_status $ac_retval
1523 } # ac_fn_c_try_compile
1525 # ac_fn_c_try_cpp LINENO
1526 # ----------------------
1527 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 if { { ac_try="$ac_cpp conftest.$ac_ext"
1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1540 if test -s conftest.err; then
1541 grep -v '^ *+' conftest.err >conftest.er1
1542 cat conftest.er1 >&5
1543 mv -f conftest.er1 conftest.err
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } > conftest.i && {
1547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1548 test ! -s conftest.err
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 as_fn_set_status $ac_retval
1562 # ac_fn_c_try_link LINENO
1563 # -----------------------
1564 # Try to link conftest.$ac_ext, and return whether this succeeded.
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 rm -f conftest.$ac_objext conftest$ac_exeext
1569 if { { ac_try="$ac_link"
1571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1572 *) ac_try_echo=$ac_try;;
1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_link") 2>conftest.err
1578 if test -s conftest.err; then
1579 grep -v '^ *+' conftest.err >conftest.er1
1580 cat conftest.er1 >&5
1581 mv -f conftest.er1 conftest.err
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && {
1585 test -z "$ac_c_werror_flag" ||
1586 test ! -s conftest.err
1587 } && test -s conftest$ac_exeext && {
1588 test "$cross_compiling" = yes ||
1589 test -x conftest$ac_exeext
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1599 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1600 # interfere with the next link command; also delete a directory that is
1601 # left behind by Apple's compiler. We do this before executing the actions.
1602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 as_fn_set_status $ac_retval
1606 } # ac_fn_c_try_link
1608 # ac_fn_c_try_run LINENO
1609 # ----------------------
1610 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1611 # that executables *can* be run.
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 if { { ac_try="$ac_link"
1617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1618 *) ac_try_echo=$ac_try;;
1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_link") 2>&5
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1626 { { case "(($ac_try" in
1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_try") 2>&5
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; }; }; then :
1638 $as_echo "$as_me: program exited with status $ac_status" >&5
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5
1642 ac_retval=$ac_status
1644 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval
1650 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1651 # -------------------------------------------------------
1652 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1653 # the include files in INCLUDES and setting the cache variable VAR
1655 ac_fn_c_check_header_mongrel ()
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 if eval \${$3+:} false; then :
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660 $as_echo_n "checking for $2... " >&6; }
1661 if eval \${$3+:} false; then :
1662 $as_echo_n "(cached) " >&6
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1668 # Is the header compilable?
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1670 $as_echo_n "checking $2 usability... " >&6; }
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1676 if ac_fn_c_try_compile "$LINENO"; then :
1677 ac_header_compiler=yes
1679 ac_header_compiler=no
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1683 $as_echo "$ac_header_compiler" >&6; }
1685 # Is the header present?
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1687 $as_echo_n "checking $2 presence... " >&6; }
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1692 if ac_fn_c_try_cpp "$LINENO"; then :
1693 ac_header_preproc=yes
1695 ac_header_preproc=no
1697 rm -f conftest.err conftest.i conftest.$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1699 $as_echo "$ac_header_preproc" >&6; }
1701 # So? What about this header?
1702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1705 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1707 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1711 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1713 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1715 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1717 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1720 ( $as_echo "## ------------------------------------------- ##
1721 ## Report this to blip@mockmoon-cybernetics.ch ##
1722 ## ------------------------------------------- ##"
1723 ) | sed "s/^/$as_me: WARNING: /" >&2
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729 $as_echo_n "(cached) " >&6
1731 eval "$3=\$ac_header_compiler"
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1735 $as_echo "$ac_res" >&6; }
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 } # ac_fn_c_check_header_mongrel
1741 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1742 # -------------------------------------------------------
1743 # Tests whether HEADER exists and can be compiled using the include files in
1744 # INCLUDES, setting the cache variable VAR accordingly.
1745 ac_fn_c_check_header_compile ()
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749 $as_echo_n "checking for $2... " >&6; }
1750 if eval \${$3+:} false; then :
1751 $as_echo_n "(cached) " >&6
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1758 if ac_fn_c_try_compile "$LINENO"; then :
1763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 $as_echo "$ac_res" >&6; }
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770 } # ac_fn_c_check_header_compile
1772 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1773 # -------------------------------------------
1774 # Tests whether TYPE exists after having included INCLUDES, setting cache
1775 # variable VAR accordingly.
1776 ac_fn_c_check_type ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1797 if ac_fn_c_try_compile "$LINENO"; then :
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1810 if ac_fn_c_try_compile "$LINENO"; then :
1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 } # ac_fn_c_check_type
1826 # ac_fn_c_find_uintX_t LINENO BITS VAR
1827 # ------------------------------------
1828 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1830 ac_fn_c_find_uintX_t ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1834 $as_echo_n "checking for uint$2_t... " >&6; }
1835 if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6
1839 # Order is important - never check a type that is potentially smaller
1840 # than half of the expected target width.
1841 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1842 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1845 $ac_includes_default
1849 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1851 return test_array [0];
1857 if ac_fn_c_try_compile "$LINENO"; then :
1862 eval "$3=\$ac_type" ;;
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 if eval test \"x\$"$3"\" = x"no"; then :
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 } # ac_fn_c_find_uintX_t
1880 # ac_fn_c_check_func LINENO FUNC VAR
1881 # ----------------------------------
1882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1883 ac_fn_c_check_func ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1893 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1895 #define $2 innocuous_$2
1897 /* System header to define __stub macros and hopefully few prototypes,
1898 which can conflict with char $2 (); below.
1899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1900 <limits.h> exists even on freestanding compilers. */
1903 # include <limits.h>
1905 # include <assert.h>
1910 /* Override any GCC internal prototype to avoid an error.
1911 Use char because int might match the return type of a GCC
1912 builtin and then its argument prototype would still apply. */
1917 /* The GNU C library defines this for functions which it implements
1918 to always fail with ENOSYS. Some functions are actually named
1919 something starting with __ and the normal name is an alias. */
1920 #if defined __stub_$2 || defined __stub___$2
1932 if ac_fn_c_try_link "$LINENO"; then :
1937 rm -f core conftest.err conftest.$ac_objext \
1938 conftest$ac_exeext conftest.$ac_ext
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945 } # ac_fn_c_check_func
1946 cat >config.log <<_ACEOF
1947 This file contains any messages produced by compilers while
1948 running configure, to aid debugging if configure makes a mistake.
1950 It was created by ptouch $as_me 1.3.4, which was
1951 generated by GNU Autoconf 2.69. Invocation command line was
1963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1970 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1972 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1973 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1975 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1976 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1977 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1978 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 $as_echo "PATH: $as_dir"
2003 # Keep a trace of the command line.
2004 # Strip out --no-create and --no-recursion so they do not pile up.
2005 # Strip out --silent because we don't want to record it for future runs.
2006 # Also quote any args containing shell meta-characters.
2007 # Make two passes to allow for proper duplicate-argument suppression.
2011 ac_must_keep_next=false
2017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2019 | -silent | --silent | --silen | --sile | --sil)
2022 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2025 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2027 as_fn_append ac_configure_args1 " '$ac_arg'"
2028 if test $ac_must_keep_next = true; then
2029 ac_must_keep_next=false # Got value, back to normal.
2032 *=* | --config-cache | -C | -disable-* | --disable-* \
2033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2035 | -with-* | --with-* | -without-* | --without-* | --x)
2036 case "$ac_configure_args0 " in
2037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2040 -* ) ac_must_keep_next=true ;;
2043 as_fn_append ac_configure_args " '$ac_arg'"
2048 { ac_configure_args0=; unset ac_configure_args0;}
2049 { ac_configure_args1=; unset ac_configure_args1;}
2051 # When interrupted or exit'd, cleanup temporary files, and complete
2052 # config.log. We remove comments because anyway the quotes in there
2053 # would cause problems or look ugly.
2054 # WARNING: Use '\'' to represent an apostrophe within the trap.
2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2056 trap 'exit_status=$?
2057 # Save into config.log some information that might help in debugging.
2061 $as_echo "## ---------------- ##
2062 ## Cache variables. ##
2063 ## ---------------- ##"
2065 # The following way of writing the cache mishandles newlines in values,
2067 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2068 eval ac_val=\$$ac_var
2072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2076 _ | IFS | as_nl) ;; #(
2077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2078 *) { eval $ac_var=; unset $ac_var;} ;;
2083 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2084 *${as_nl}ac_space=\ *)
2086 "s/'\''/'\''\\\\'\'''\''/g;
2087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2097 $as_echo "## ----------------- ##
2098 ## Output variables. ##
2099 ## ----------------- ##"
2101 for ac_var in $ac_subst_vars
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -n "$ac_subst_files"; then
2112 $as_echo "## ------------------- ##
2113 ## File substitutions. ##
2114 ## ------------------- ##"
2116 for ac_var in $ac_subst_files
2118 eval ac_val=\$$ac_var
2120 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122 $as_echo "$ac_var='\''$ac_val'\''"
2127 if test -s confdefs.h; then
2128 $as_echo "## ----------- ##
2135 test "$ac_signal" != 0 &&
2136 $as_echo "$as_me: caught signal $ac_signal"
2137 $as_echo "$as_me: exit $exit_status"
2139 rm -f core *.core core.conftest.* &&
2140 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2143 for ac_signal in 1 2 13 15; do
2144 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2149 rm -f -r conftest* confdefs.h
2151 $as_echo "/* confdefs.h */" > confdefs.h
2153 # Predefined preprocessor variables.
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_NAME "$PACKAGE_NAME"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_STRING "$PACKAGE_STRING"
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_URL "$PACKAGE_URL"
2180 # Let the site file select an alternate cache file if it wants to.
2181 # Prefer an explicitly selected file to automatically selected ones.
2184 if test -n "$CONFIG_SITE"; then
2185 # We do not want a PATH search for config.site.
2186 case $CONFIG_SITE in #((
2187 -*) ac_site_file1=./$CONFIG_SITE;;
2188 */*) ac_site_file1=$CONFIG_SITE;;
2189 *) ac_site_file1=./$CONFIG_SITE;;
2191 elif test "x$prefix" != xNONE; then
2192 ac_site_file1=$prefix/share/config.site
2193 ac_site_file2=$prefix/etc/config.site
2195 ac_site_file1=$ac_default_prefix/share/config.site
2196 ac_site_file2=$ac_default_prefix/etc/config.site
2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2200 test "x$ac_site_file" = xNONE && continue
2201 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2204 sed 's/^/| /' "$ac_site_file" >&5
2206 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208 as_fn_error $? "failed to load site script $ac_site_file
2209 See \`config.log' for more details" "$LINENO" 5; }
2213 if test -r "$cache_file"; then
2214 # Some versions of bash will fail to source /dev/null (special files
2215 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2216 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
2220 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2221 *) . "./$cache_file";;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
2230 gt_needs="$gt_needs "
2231 # Check that the precious variables saved in the cache have kept the same
2233 ac_cache_corrupted=false
2234 for ac_var in $ac_precious_vars; do
2235 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2236 eval ac_new_set=\$ac_env_${ac_var}_set
2237 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2238 eval ac_new_val=\$ac_env_${ac_var}_value
2239 case $ac_old_set,$ac_new_set in
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2242 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2243 ac_cache_corrupted=: ;;
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2246 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2247 ac_cache_corrupted=: ;;
2250 if test "x$ac_old_val" != "x$ac_new_val"; then
2251 # differences in whitespace do not lead to failure.
2252 ac_old_val_w=`echo x $ac_old_val`
2253 ac_new_val_w=`echo x $ac_new_val`
2254 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2256 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2257 ac_cache_corrupted=:
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2260 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2261 eval $ac_var=\$ac_old_val
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2264 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2266 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2269 # Pass precious variables to config.status.
2270 if test "$ac_new_set" = set; then
2272 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2273 *) ac_arg=$ac_var=$ac_new_val ;;
2275 case " $ac_configure_args " in
2276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2277 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2281 if $ac_cache_corrupted; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2285 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2286 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2288 ## -------------------- ##
2289 ## Main body of script. ##
2290 ## -------------------- ##
2293 ac_cpp='$CPP $CPPFLAGS'
2294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300 ac_config_headers="$ac_config_headers config.h"
2303 # Checks for programs.
2305 ac_cpp='$CPP $CPPFLAGS'
2306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2309 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2311 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2313 $as_echo_n "checking for $ac_word... " >&6; }
2314 if ${ac_cv_prog_CC+:} false; then :
2315 $as_echo_n "(cached) " >&6
2317 if test -n "$CC"; then
2318 ac_cv_prog_CC="$CC" # Let the user override the test.
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 for ac_exec_ext in '' $ac_executable_extensions; do
2326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2327 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 if test -n "$CC"; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2340 $as_echo "$CC" >&6; }
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2343 $as_echo "no" >&6; }
2348 if test -z "$ac_cv_prog_CC"; then
2350 # Extract the first word of "gcc", so it can be a program name with args.
2351 set dummy gcc; ac_word=$2
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353 $as_echo_n "checking for $ac_word... " >&6; }
2354 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2355 $as_echo_n "(cached) " >&6
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_ac_ct_CC="gcc"
2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2378 if test -n "$ac_ct_CC"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2380 $as_echo "$ac_ct_CC" >&6; }
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383 $as_echo "no" >&6; }
2386 if test "x$ac_ct_CC" = x; then
2389 case $cross_compiling:$ac_tool_warned in
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2393 ac_tool_warned=yes ;;
2401 if test -z "$CC"; then
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}cc; ac_word=$2
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if ${ac_cv_prog_CC+:} false; then :
2408 $as_echo_n "(cached) " >&6
2410 if test -n "$CC"; then
2411 ac_cv_prog_CC="$CC" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2420 ac_cv_prog_CC="${ac_tool_prefix}cc"
2421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 if test -n "$CC"; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2433 $as_echo "$CC" >&6; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 $as_echo "no" >&6; }
2442 if test -z "$CC"; then
2443 # Extract the first word of "cc", so it can be a program name with args.
2444 set dummy cc; ac_word=$2
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2446 $as_echo_n "checking for $ac_word... " >&6; }
2447 if ${ac_cv_prog_CC+:} false; then :
2448 $as_echo_n "(cached) " >&6
2450 if test -n "$CC"; then
2451 ac_cv_prog_CC="$CC" # Let the user override the test.
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2461 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2462 ac_prog_rejected=yes
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 if test $ac_prog_rejected = yes; then
2474 # We found a bogon in the path, so make sure we never use it.
2475 set dummy $ac_cv_prog_CC
2477 if test $# != 0; then
2478 # We chose a different compiler from the bogus one.
2479 # However, it has the same basename, so the bogon will be chosen
2480 # first if we set CC to just the basename; use the full file name.
2482 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2488 if test -n "$CC"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2490 $as_echo "$CC" >&6; }
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493 $as_echo "no" >&6; }
2498 if test -z "$CC"; then
2499 if test -n "$ac_tool_prefix"; then
2500 for ac_prog in cl.exe
2502 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2503 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if ${ac_cv_prog_CC+:} false; then :
2507 $as_echo_n "(cached) " >&6
2509 if test -n "$CC"; then
2510 ac_cv_prog_CC="$CC" # Let the user override the test.
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2519 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 if test -n "$CC"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2532 $as_echo "$CC" >&6; }
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2535 $as_echo "no" >&6; }
2539 test -n "$CC" && break
2542 if test -z "$CC"; then
2544 for ac_prog in cl.exe
2546 # Extract the first word of "$ac_prog", so it can be a program name with args.
2547 set dummy $ac_prog; ac_word=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$ac_ct_CC"; then
2554 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563 ac_cv_prog_ac_ct_CC="$ac_prog"
2564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2574 if test -n "$ac_ct_CC"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2576 $as_echo "$ac_ct_CC" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2583 test -n "$ac_ct_CC" && break
2586 if test "x$ac_ct_CC" = x; then
2589 case $cross_compiling:$ac_tool_warned in
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2593 ac_tool_warned=yes ;;
2602 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604 as_fn_error $? "no acceptable C compiler found in \$PATH
2605 See \`config.log' for more details" "$LINENO" 5; }
2607 # Provide some information about the compiler.
2608 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2611 for ac_option in --version -v -V -qversion; do
2612 { { ac_try="$ac_compiler $ac_option >&5"
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618 $as_echo "$ac_try_echo"; } >&5
2619 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2621 if test -s conftest.err; then
2623 ... rest of stderr output deleted ...
2624 10q' conftest.err >conftest.er1
2625 cat conftest.er1 >&5
2627 rm -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; }
2632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2633 /* end confdefs.h. */
2643 ac_clean_files_save=$ac_clean_files
2644 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2645 # Try to create an executable without -o first, disregard a.out.
2646 # It will help us diagnose broken compilers, and finding out an intuition
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2649 $as_echo_n "checking whether the C compiler works... " >&6; }
2650 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2652 # The possible output files:
2653 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2656 for ac_file in $ac_files
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2660 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2665 if { { ac_try="$ac_link_default"
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2671 $as_echo "$ac_try_echo"; } >&5
2672 (eval "$ac_link_default") 2>&5
2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675 test $ac_status = 0; }; then :
2676 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2677 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2678 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2679 # so that the user can short-circuit this test for compilers unknown to
2681 for ac_file in $ac_files ''
2683 test -f "$ac_file" || continue
2685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2688 # We found the default executable, but exeext='' is most
2692 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2694 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2696 # We set ac_cv_exeext here because the later test for it is not
2697 # safe: cross compilers may not add the suffix if given an `-o'
2698 # argument, so we may need to know it at that point already.
2699 # Even if this section looks crufty: it has the advantage of
2706 test "$ac_cv_exeext" = no && ac_cv_exeext=
2711 if test -z "$ac_file"; then :
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2714 $as_echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2719 as_fn_error 77 "C compiler cannot create executables
2720 See \`config.log' for more details" "$LINENO" 5; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2723 $as_echo "yes" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2726 $as_echo_n "checking for C compiler default output file name... " >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2728 $as_echo "$ac_file" >&6; }
2729 ac_exeext=$ac_cv_exeext
2731 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2732 ac_clean_files=$ac_clean_files_save
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2734 $as_echo_n "checking for suffix of executables... " >&6; }
2735 if { { ac_try="$ac_link"
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_link") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; }; then :
2746 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2747 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2748 # work properly (i.e., refer to `conftest.exe'), while it won't with
2750 for ac_file in conftest.exe conftest conftest.*; do
2751 test -f "$ac_file" || continue
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2754 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2762 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2763 See \`config.log' for more details" "$LINENO" 5; }
2765 rm -f conftest conftest$ac_cv_exeext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2767 $as_echo "$ac_cv_exeext" >&6; }
2769 rm -f conftest.$ac_ext
2770 EXEEXT=$ac_cv_exeext
2772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2773 /* end confdefs.h. */
2778 FILE *f = fopen ("conftest.out", "w");
2779 return ferror (f) || fclose (f) != 0;
2785 ac_clean_files="$ac_clean_files conftest.out"
2786 # Check that the compiler produces executables we can run. If not, either
2787 # the compiler is broken, or we cross compile.
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2789 $as_echo_n "checking whether we are cross compiling... " >&6; }
2790 if test "$cross_compiling" != yes; then
2791 { { ac_try="$ac_link"
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_link") 2>&5
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; }
2802 if { ac_try='./conftest$ac_cv_exeext'
2803 { { case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 $as_echo "$ac_try_echo"; } >&5
2809 (eval "$ac_try") 2>&5
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812 test $ac_status = 0; }; }; then
2815 if test "$cross_compiling" = maybe; then
2818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 as_fn_error $? "cannot run C compiled programs.
2821 If you meant to cross compile, use \`--host'.
2822 See \`config.log' for more details" "$LINENO" 5; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2827 $as_echo "$cross_compiling" >&6; }
2829 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2830 ac_clean_files=$ac_clean_files_save
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2832 $as_echo_n "checking for suffix of object files... " >&6; }
2833 if ${ac_cv_objext+:} false; then :
2834 $as_echo_n "(cached) " >&6
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2847 rm -f conftest.o conftest.obj
2848 if { { ac_try="$ac_compile"
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 $as_echo "$ac_try_echo"; } >&5
2855 (eval "$ac_compile") 2>&5
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; }; then :
2859 for ac_file in conftest.o conftest.obj conftest.*; do
2860 test -f "$ac_file" || continue;
2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2863 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2868 $as_echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2873 as_fn_error $? "cannot compute suffix of object files: cannot compile
2874 See \`config.log' for more details" "$LINENO" 5; }
2876 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2879 $as_echo "$ac_cv_objext" >&6; }
2880 OBJEXT=$ac_cv_objext
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2883 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2884 if ${ac_cv_c_compiler_gnu+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2901 if ac_fn_c_try_compile "$LINENO"; then :
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2911 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2912 if test $ac_compiler_gnu = yes; then
2917 ac_test_CFLAGS=${CFLAGS+set}
2918 ac_save_CFLAGS=$CFLAGS
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2920 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2921 if ${ac_cv_prog_cc_g+:} false; then :
2922 $as_echo_n "(cached) " >&6
2924 ac_save_c_werror_flag=$ac_c_werror_flag
2925 ac_c_werror_flag=yes
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2939 if ac_fn_c_try_compile "$LINENO"; then :
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2944 /* end confdefs.h. */
2954 if ac_fn_c_try_compile "$LINENO"; then :
2957 ac_c_werror_flag=$ac_save_c_werror_flag
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2970 if ac_fn_c_try_compile "$LINENO"; then :
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 ac_c_werror_flag=$ac_save_c_werror_flag
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2981 $as_echo "$ac_cv_prog_cc_g" >&6; }
2982 if test "$ac_test_CFLAGS" = set; then
2983 CFLAGS=$ac_save_CFLAGS
2984 elif test $ac_cv_prog_cc_g = yes; then
2985 if test "$GCC" = yes; then
2991 if test "$GCC" = yes; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2998 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2999 if ${ac_cv_prog_cc_c89+:} false; then :
3000 $as_echo_n "(cached) " >&6
3002 ac_cv_prog_cc_c89=no
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3009 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3010 struct buf { int x; };
3011 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3012 static char *e (p, i)
3018 static char *f (char * (*g) (char **, int), char **p, ...)
3023 s = g (p, va_arg (v,int));
3028 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3029 function prototypes and stuff, but not '\xHH' hex character constants.
3030 These don't provoke an error unfortunately, instead are silently treated
3031 as 'x'. The following induces an error, until -std is added to get
3032 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3033 array size at least. It's necessary to write '\x00'==0 to get something
3034 that's true only with -std. */
3035 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3037 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3038 inside strings and character constants. */
3040 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3042 int test (int i, double x);
3043 struct s1 {int (*f) (int a);};
3044 struct s2 {int (*f) (double a);};
3045 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3051 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3056 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3057 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3059 CC="$ac_save_CC $ac_arg"
3060 if ac_fn_c_try_compile "$LINENO"; then :
3061 ac_cv_prog_cc_c89=$ac_arg
3063 rm -f core conftest.err conftest.$ac_objext
3064 test "x$ac_cv_prog_cc_c89" != "xno" && break
3066 rm -f conftest.$ac_ext
3071 case "x$ac_cv_prog_cc_c89" in
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3074 $as_echo "none needed" >&6; } ;;
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3077 $as_echo "unsupported" >&6; } ;;
3079 CC="$CC $ac_cv_prog_cc_c89"
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3081 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3083 if test "x$ac_cv_prog_cc_c89" != xno; then :
3088 ac_cpp='$CPP $CPPFLAGS'
3089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3094 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3095 if test -f "$ac_dir/install-sh"; then
3097 ac_install_sh="$ac_aux_dir/install-sh -c"
3099 elif test -f "$ac_dir/install.sh"; then
3101 ac_install_sh="$ac_aux_dir/install.sh -c"
3103 elif test -f "$ac_dir/shtool"; then
3105 ac_install_sh="$ac_aux_dir/shtool install -c"
3109 if test -z "$ac_aux_dir"; then
3110 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3113 # These three variables are undocumented and unsupported,
3114 # and are intended to be withdrawn in a future Autoconf release.
3115 # They can cause serious problems if a builder's source tree is in a directory
3116 # whose full name contains unusual characters.
3117 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3118 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3119 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3122 # Expand $ac_aux_dir to an absolute path.
3123 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3131 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3132 if ${am_cv_prog_cc_c_o+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3146 # Make sure it works both with $CC and with simple cc.
3147 # Following AC_PROG_CC_C_O, we do the test twice because some
3148 # compilers refuse to overwrite an existing .o file with -o,
3149 # though they will create one.
3150 am_cv_prog_cc_c_o=yes
3152 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3153 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } \
3157 && test -f conftest2.$ac_objext; then
3160 am_cv_prog_cc_c_o=no
3164 rm -f core conftest*
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3168 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3169 if test "$am_cv_prog_cc_c_o" != yes; then
3170 # Losing compiler, so override with the script.
3171 # FIXME: It is wrong to rewrite CC.
3172 # But if we don't then we get into trouble of one sort or another.
3173 # A longer-term fix would be to have automake use am__CC in this case,
3174 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3175 CC="$am_aux_dir/compile $CC"
3178 ac_cpp='$CPP $CPPFLAGS'
3179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3184 # Find a good install program. We prefer a C program (faster),
3185 # so one script is as good as another. But avoid the broken or
3186 # incompatible versions:
3187 # SysV /etc/install, /usr/sbin/install
3188 # SunOS /usr/etc/install
3189 # IRIX /sbin/install
3191 # AmigaOS /C/install, which installs bootblocks on floppy discs
3192 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3193 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3194 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3195 # OS/2's system install, which has a completely different semantic
3196 # ./install, which can be erroneously created by make from ./install.sh.
3197 # Reject install programs that cannot install multiple files.
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3199 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3200 if test -z "$INSTALL"; then
3201 if ${ac_cv_path_install+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir=.
3209 # Account for people who put trailing slashes in PATH elements.
3210 case $as_dir/ in #((
3211 ./ | .// | /[cC]/* | \
3212 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3213 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3216 # OSF1 and SCO ODT 3.0 have their own names for install.
3217 # Don't use installbsd from OSF since it installs stuff as root
3219 for ac_prog in ginstall scoinst install; do
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3222 if test $ac_prog = install &&
3223 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3224 # AIX install. It has an incompatible calling convention.
3226 elif test $ac_prog = install &&
3227 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3228 # program-specific install script used by HP pwplus--don't use.
3231 rm -rf conftest.one conftest.two conftest.dir
3232 echo one > conftest.one
3233 echo two > conftest.two
3235 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3236 test -s conftest.one && test -s conftest.two &&
3237 test -s conftest.dir/conftest.one &&
3238 test -s conftest.dir/conftest.two
3240 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3253 rm -rf conftest.one conftest.two conftest.dir
3256 if test "${ac_cv_path_install+set}" = set; then
3257 INSTALL=$ac_cv_path_install
3259 # As a last resort, use the slow shell script. Don't cache a
3260 # value for INSTALL within a source directory, because that will
3261 # break other packages using the cache if that directory is
3262 # removed, or if the value is a relative name.
3263 INSTALL=$ac_install_sh
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3267 $as_echo "$INSTALL" >&6; }
3269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3270 # It thinks the first close brace ends the variable substitution.
3271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3275 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3277 am__api_version='1.15'
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3280 $as_echo_n "checking whether build environment is sane... " >&6; }
3281 # Reject unsafe characters in $srcdir or the absolute working directory
3282 # name. Accept space and tab only in the latter.
3286 *[\\\"\#\$\&\'\`$am_lf]*)
3287 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3290 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3291 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3294 # Do 'set' in a subshell so we don't clobber the current shell's
3295 # arguments. Must try -L first in case configure is actually a
3296 # symlink; some systems play weird games with the mod time of symlinks
3297 # (eg FreeBSD returns the mod time of the symlink's containing
3301 for am_try in 1 2; do
3302 echo "timestamp, slept: $am_has_slept" > conftest.file
3303 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3304 if test "$*" = "X"; then
3306 set X `ls -t "$srcdir/configure" conftest.file`
3308 if test "$*" != "X $srcdir/configure conftest.file" \
3309 && test "$*" != "X conftest.file $srcdir/configure"; then
3311 # If neither matched, then we have a broken ls. This can happen
3312 # if, for instance, CONFIG_SHELL is bash and it inherits a
3313 # broken ls alias from the environment. This has actually
3314 # happened. Such a system could not be considered "sane".
3315 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3316 alias in your environment" "$LINENO" 5
3318 if test "$2" = conftest.file || test $am_try -eq 2; then
3325 test "$2" = conftest.file
3331 as_fn_error $? "newly created file is older than distributed files!
3332 Check your system clock" "$LINENO" 5
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3335 $as_echo "yes" >&6; }
3336 # If we didn't sleep, we still need to ensure time stamps of config.status and
3337 # generated files are strictly newer.
3339 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3346 test "$program_prefix" != NONE &&
3347 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3348 # Use a double $ so make ignores it.
3349 test "$program_suffix" != NONE &&
3350 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3351 # Double any \ or $.
3352 # By default was `s,x,x', remove it if useless.
3353 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3354 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3356 if test x"${MISSING+set}" != xset; then
3359 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3361 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3364 # Use eval to expand $SHELL
3365 if eval "$MISSING --is-lightweight"; then
3366 am_missing_run="$MISSING "
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3370 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3373 if test x"${install_sh+set}" != xset; then
3376 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3378 install_sh="\${SHELL} $am_aux_dir/install-sh"
3382 # Installed binaries are usually stripped using 'strip' when the user
3383 # run "make install-strip". However 'strip' might not be the right
3384 # tool to use in cross-compilation environments, therefore Automake
3385 # will honor the 'STRIP' environment variable to overrule this program.
3386 if test "$cross_compiling" != no; then
3387 if test -n "$ac_tool_prefix"; then
3388 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3389 set dummy ${ac_tool_prefix}strip; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if ${ac_cv_prog_STRIP+:} false; then :
3393 $as_echo_n "(cached) " >&6
3395 if test -n "$STRIP"; then
3396 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 STRIP=$ac_cv_prog_STRIP
3416 if test -n "$STRIP"; then
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3418 $as_echo "$STRIP" >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3426 if test -z "$ac_cv_prog_STRIP"; then
3428 # Extract the first word of "strip", so it can be a program name with args.
3429 set dummy strip; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 if test -n "$ac_ct_STRIP"; then
3436 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 test -z "$as_dir" && as_dir=.
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3445 ac_cv_prog_ac_ct_STRIP="strip"
3446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3456 if test -n "$ac_ct_STRIP"; then
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3458 $as_echo "$ac_ct_STRIP" >&6; }
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3464 if test "x$ac_ct_STRIP" = x; then
3467 case $cross_compiling:$ac_tool_warned in
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3471 ac_tool_warned=yes ;;
3476 STRIP="$ac_cv_prog_STRIP"
3480 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3483 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3484 if test -z "$MKDIR_P"; then
3485 if ${ac_cv_path_mkdir+:} false; then :
3486 $as_echo_n "(cached) " >&6
3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3492 test -z "$as_dir" && as_dir=.
3493 for ac_prog in mkdir gmkdir; do
3494 for ac_exec_ext in '' $ac_executable_extensions; do
3495 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3496 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3497 'mkdir (GNU coreutils) '* | \
3498 'mkdir (coreutils) '* | \
3499 'mkdir (fileutils) '4.1*)
3500 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3510 test -d ./--version && rmdir ./--version
3511 if test "${ac_cv_path_mkdir+set}" = set; then
3512 MKDIR_P="$ac_cv_path_mkdir -p"
3514 # As a last resort, use the slow shell script. Don't cache a
3515 # value for MKDIR_P within a source directory, because that will
3516 # break other packages using the cache if that directory is
3517 # removed, or if the value is a relative name.
3518 MKDIR_P="$ac_install_sh -d"
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3522 $as_echo "$MKDIR_P" >&6; }
3524 for ac_prog in gawk mawk nawk awk
3526 # Extract the first word of "$ac_prog", so it can be a program name with args.
3527 set dummy $ac_prog; ac_word=$2
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if ${ac_cv_prog_AWK+:} false; then :
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$AWK"; then
3534 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir=.
3541 for ac_exec_ext in '' $ac_executable_extensions; do
3542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_AWK="$ac_prog"
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 if test -n "$AWK"; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3556 $as_echo "$AWK" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3563 test -n "$AWK" && break
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3567 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3569 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3570 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3571 $as_echo_n "(cached) " >&6
3573 cat >conftest.make <<\_ACEOF
3576 @echo '@@@%%%=$(MAKE)=@@@%%%'
3578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3579 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3581 eval ac_cv_prog_make_${ac_make}_set=yes;;
3583 eval ac_cv_prog_make_${ac_make}_set=no;;
3587 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3589 $as_echo "yes" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3594 SET_MAKE="MAKE=${MAKE-make}"
3597 rm -rf .tst 2>/dev/null
3598 mkdir .tst 2>/dev/null
3599 if test -d .tst; then
3604 rmdir .tst 2>/dev/null
3606 DEPDIR="${am__leading_dot}deps"
3608 ac_config_commands="$ac_config_commands depfiles"
3611 am_make=${MAKE-make}
3612 cat > confinc << 'END'
3614 @echo this is the am__doit target
3617 # If we don't find an include directive, just comment out the code.
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3619 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3623 # First try GNU make style include.
3624 echo "include confinc" > confmf
3625 # Ignore all kinds of additional output from 'make'.
3626 case `$am_make -s -f confmf 2> /dev/null` in #(
3627 *the\ am__doit\ target*)
3633 # Now try BSD make style include.
3634 if test "$am__include" = "#"; then
3635 echo '.include "confinc"' > confmf
3636 case `$am_make -s -f confmf 2> /dev/null` in #(
3637 *the\ am__doit\ target*)
3638 am__include=.include
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3647 $as_echo "$_am_result" >&6; }
3648 rm -f confinc confmf
3650 # Check whether --enable-dependency-tracking was given.
3651 if test "${enable_dependency_tracking+set}" = set; then :
3652 enableval=$enable_dependency_tracking;
3655 if test "x$enable_dependency_tracking" != xno; then
3656 am_depcomp="$ac_aux_dir/depcomp"
3660 if test "x$enable_dependency_tracking" != xno; then
3669 # Check whether --enable-silent-rules was given.
3670 if test "${enable_silent_rules+set}" = set; then :
3671 enableval=$enable_silent_rules;
3674 case $enable_silent_rules in # (((
3675 yes) AM_DEFAULT_VERBOSITY=0;;
3676 no) AM_DEFAULT_VERBOSITY=1;;
3677 *) AM_DEFAULT_VERBOSITY=1;;
3679 am_make=${MAKE-make}
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3681 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3682 if ${am_cv_make_support_nested_variables+:} false; then :
3683 $as_echo_n "(cached) " >&6
3685 if $as_echo 'TRUE=$(BAR$(V))
3691 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3692 am_cv_make_support_nested_variables=yes
3694 am_cv_make_support_nested_variables=no
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3698 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3699 if test $am_cv_make_support_nested_variables = yes; then
3701 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3703 AM_V=$AM_DEFAULT_VERBOSITY
3704 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3708 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3709 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3710 # is not polluted with repeated "-I."
3711 am__isrc=' -I$(srcdir)'
3712 # test to see if srcdir already configured
3713 if test -f $srcdir/config.status; then
3714 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3718 # test whether we have cygpath
3719 if test -z "$CYGPATH_W"; then
3720 if (cygpath --version) >/dev/null 2>/dev/null; then
3721 CYGPATH_W='cygpath -w'
3728 # Define the identity of the package.
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE "$PACKAGE"
3738 cat >>confdefs.h <<_ACEOF
3739 #define VERSION "$VERSION"
3742 # Some tools Automake needs.
3744 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3747 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3750 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3753 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3756 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3758 # For better backward compatibility. To be removed once Automake 1.9.x
3759 # dies out for good. For more background, see:
3760 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3761 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3762 mkdir_p='$(MKDIR_P)'
3764 # We need awk for the "check" target (and possibly the TAP driver). The
3765 # system "awk" is bad on some platforms.
3766 # Always define AMTAR for backward compatibility. Yes, it's still used
3767 # in the wild :-( We should find a proper way to deprecate it ...
3771 # We'll loop over all known methods to create a tar archive until one works.
3772 _am_tools='gnutar pax cpio none'
3774 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3780 depcc="$CC" am_compiler_list=
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3783 $as_echo_n "checking dependency style of $depcc... " >&6; }
3784 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3785 $as_echo_n "(cached) " >&6
3787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3788 # We make a subdir and do the tests there. Otherwise we can end up
3789 # making bogus files that we don't know about and never remove. For
3790 # instance it was reported that on HP-UX the gcc test will end up
3791 # making a dummy file named 'D' -- because '-MD' means "put the output
3795 # Copy depcomp to subdir because otherwise we won't find it if we're
3796 # using a relative directory.
3797 cp "$am_depcomp" conftest.dir
3799 # We will build objects and dependencies in a subdirectory because
3800 # it helps to detect inapplicable dependency modes. For instance
3801 # both Tru64's cc and ICC support -MD to output dependencies as a
3802 # side effect of compilation, but ICC will put the dependencies in
3803 # the current directory while Tru64 will put them in the object
3807 am_cv_CC_dependencies_compiler_type=none
3808 if test "$am_compiler_list" = ""; then
3809 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3812 case " $depcc " in #(
3813 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3816 for depmode in $am_compiler_list; do
3817 # Setup a source with many dependencies, because some compilers
3818 # like to wrap large dependency lists on column 80 (with \), and
3819 # we should not choose a depcomp mode which is confused by this.
3821 # We need to recreate these files for each test, as the compiler may
3822 # overwrite some of them when testing with obscure command lines.
3823 # This happens at least with the AIX C compiler.
3825 for i in 1 2 3 4 5 6; do
3826 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3827 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3828 # Solaris 10 /bin/sh.
3829 echo '/* dummy */' > sub/conftst$i.h
3831 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3833 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3834 # mode. It turns out that the SunPro C++ compiler does not properly
3835 # handle '-M -o', and we need to detect this. Also, some Intel
3836 # versions had trouble with output in subdirs.
3837 am__obj=sub/conftest.${OBJEXT-o}
3838 am__minus_obj="-o $am__obj"
3841 # This depmode causes a compiler race in universal mode.
3842 test "$am__universal" = false || continue
3845 # After this tag, mechanisms are not by side-effect, so they'll
3846 # only be used when explicitly requested.
3847 if test "x$enable_dependency_tracking" = xyes; then
3853 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3854 # This compiler won't grok '-c -o', but also, the minuso test has
3855 # not run yet. These depmodes are late enough in the game, and
3856 # so weak that their functioning should not be impacted.
3857 am__obj=conftest.${OBJEXT-o}
3862 if depmode=$depmode \
3863 source=sub/conftest.c object=$am__obj \
3864 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3865 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3866 >/dev/null 2>conftest.err &&
3867 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3868 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3869 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3870 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3871 # icc doesn't choke on unknown options, it will just issue warnings
3872 # or remarks (even with -Werror). So we grep stderr for any message
3873 # that says an option was ignored or not supported.
3874 # When given -MP, icc 7.0 and 7.1 complain thusly:
3875 # icc: Command line warning: ignoring option '-M'; no argument required
3876 # The diagnosis changed in icc 8.0:
3877 # icc: Command line remark: option '-MP' not supported
3878 if (grep 'ignoring option' conftest.err ||
3879 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3880 am_cv_CC_dependencies_compiler_type=$depmode
3889 am_cv_CC_dependencies_compiler_type=none
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3894 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3895 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3898 test "x$enable_dependency_tracking" != xno \
3899 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3901 am__fastdepCC_FALSE='#'
3903 am__fastdepCC_TRUE='#'
3904 am__fastdepCC_FALSE=
3909 # POSIX will say in a future version that running "rm -f" with no argument
3910 # is OK; and we want to be able to make that assumption in our Makefile
3911 # recipes. So use an aggressive probe to check that the usage we want is
3912 # actually supported "in the wild" to an acceptable degree.
3913 # See automake bug#10828.
3914 # To make any issue more visible, cause the running configure to be aborted
3915 # by default if the 'rm' program in use doesn't match our expectations; the
3916 # user can still override this though.
3917 if rm -f && rm -fr && rm -rf; then : OK; else
3921 Your 'rm' program seems unable to run without file operands specified
3922 on the command line, even when the '-f' option is present. This is contrary
3923 to the behaviour of most rm programs out there, and not conforming with
3924 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3926 Please tell bug-automake@gnu.org about your system, including the value
3927 of your $PATH and any error possibly output before this message. This
3928 can help us improve future automake versions.
3931 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3932 echo 'Configuration will proceed anyway, since you have set the' >&2
3933 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3937 Aborting the configuration process, to ensure you take notice of the issue.
3939 You can download and install GNU coreutils to get an 'rm' implementation
3940 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3942 If you want to complete the configuration process using your problematic
3943 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3944 to "yes", and re-run configure.
3947 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3952 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3953 if ${ac_cv_path_SED+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3957 for ac_i in 1 2 3 4 5 6 7; do
3958 ac_script="$ac_script$as_nl$ac_script"
3960 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3961 { ac_script=; unset ac_script;}
3962 if test -z "$SED"; then
3963 ac_path_SED_found=false
3964 # Loop through the user's path and test for each of PROGNAME-LIST
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 test -z "$as_dir" && as_dir=.
3970 for ac_prog in sed gsed; do
3971 for ac_exec_ext in '' $ac_executable_extensions; do
3972 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3973 as_fn_executable_p "$ac_path_SED" || continue
3974 # Check for GNU ac_path_SED and select it if it is found.
3975 # Check for GNU $ac_path_SED
3976 case `"$ac_path_SED" --version 2>&1` in
3978 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3981 $as_echo_n 0123456789 >"conftest.in"
3984 cat "conftest.in" "conftest.in" >"conftest.tmp"
3985 mv "conftest.tmp" "conftest.in"
3986 cp "conftest.in" "conftest.nl"
3987 $as_echo '' >> "conftest.nl"
3988 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3989 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3990 as_fn_arith $ac_count + 1 && ac_count=$as_val
3991 if test $ac_count -gt ${ac_path_SED_max-0}; then
3992 # Best one so far, save it but keep looking for a better one
3993 ac_cv_path_SED="$ac_path_SED"
3994 ac_path_SED_max=$ac_count
3996 # 10*(2^10) chars as input seems more than enough
3997 test $ac_count -gt 10 && break
3999 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4002 $ac_path_SED_found && break 3
4007 if test -z "$ac_cv_path_SED"; then
4008 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4016 $as_echo "$ac_cv_path_SED" >&6; }
4017 SED="$ac_cv_path_SED"
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4022 $as_echo_n "checking whether NLS is requested... " >&6; }
4023 # Check whether --enable-nls was given.
4024 if test "${enable_nls+set}" = set; then :
4025 enableval=$enable_nls; USE_NLS=$enableval
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4031 $as_echo "$USE_NLS" >&6; }
4036 GETTEXT_MACRO_VERSION=0.19
4041 # Prepare PATH_SEPARATOR.
4042 # The user is always right.
4043 if test "${PATH_SEPARATOR+set}" != set; then
4044 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4045 # contains only /bin. Note that ksh looks also at the FPATH variable,
4046 # so we have to set that as well for the test.
4048 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4049 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4050 || PATH_SEPARATOR=';'
4054 # Find out how to test for executable files. Don't use a zero-byte file,
4055 # as systems may use methods other than mode bits to determine executability.
4056 cat >conf$$.file <<_ASEOF
4060 chmod +x conf$$.file
4061 if test -x conf$$.file >/dev/null 2>&1; then
4062 ac_executable_p="test -x"
4064 ac_executable_p="test -f"
4068 # Extract the first word of "msgfmt", so it can be a program name with args.
4069 set dummy msgfmt; ac_word=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; }
4072 if ${ac_cv_path_MSGFMT+:} false; then :
4073 $as_echo_n "(cached) " >&6
4077 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4080 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4081 for ac_dir in $PATH; do
4083 test -z "$ac_dir" && ac_dir=.
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4086 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4087 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4088 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4089 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4096 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4100 MSGFMT="$ac_cv_path_MSGFMT"
4101 if test "$MSGFMT" != ":"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4103 $as_echo "$MSGFMT" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4109 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4110 set dummy gmsgfmt; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_path_GMSGFMT+:} false; then :
4114 $as_echo_n "(cached) " >&6
4118 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4140 GMSGFMT=$ac_cv_path_GMSGFMT
4141 if test -n "$GMSGFMT"; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4143 $as_echo "$GMSGFMT" >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4151 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4152 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4153 *) MSGFMT_015=$MSGFMT ;;
4156 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4157 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4158 *) GMSGFMT_015=$GMSGFMT ;;
4163 # Prepare PATH_SEPARATOR.
4164 # The user is always right.
4165 if test "${PATH_SEPARATOR+set}" != set; then
4166 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4167 # contains only /bin. Note that ksh looks also at the FPATH variable,
4168 # so we have to set that as well for the test.
4170 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4171 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4172 || PATH_SEPARATOR=';'
4176 # Find out how to test for executable files. Don't use a zero-byte file,
4177 # as systems may use methods other than mode bits to determine executability.
4178 cat >conf$$.file <<_ASEOF
4182 chmod +x conf$$.file
4183 if test -x conf$$.file >/dev/null 2>&1; then
4184 ac_executable_p="test -x"
4186 ac_executable_p="test -f"
4190 # Extract the first word of "xgettext", so it can be a program name with args.
4191 set dummy xgettext; ac_word=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if ${ac_cv_path_XGETTEXT+:} false; then :
4195 $as_echo_n "(cached) " >&6
4199 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4202 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4203 for ac_dir in $PATH; do
4205 test -z "$ac_dir" && ac_dir=.
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4208 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4209 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4210 (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
4211 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4218 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4222 XGETTEXT="$ac_cv_path_XGETTEXT"
4223 if test "$XGETTEXT" != ":"; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4225 $as_echo "$XGETTEXT" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4233 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4234 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4235 *) XGETTEXT_015=$XGETTEXT ;;
4240 # Prepare PATH_SEPARATOR.
4241 # The user is always right.
4242 if test "${PATH_SEPARATOR+set}" != set; then
4243 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4244 # contains only /bin. Note that ksh looks also at the FPATH variable,
4245 # so we have to set that as well for the test.
4247 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4248 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4249 || PATH_SEPARATOR=';'
4253 # Find out how to test for executable files. Don't use a zero-byte file,
4254 # as systems may use methods other than mode bits to determine executability.
4255 cat >conf$$.file <<_ASEOF
4259 chmod +x conf$$.file
4260 if test -x conf$$.file >/dev/null 2>&1; then
4261 ac_executable_p="test -x"
4263 ac_executable_p="test -f"
4267 # Extract the first word of "msgmerge", so it can be a program name with args.
4268 set dummy msgmerge; ac_word=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_path_MSGMERGE+:} false; then :
4272 $as_echo_n "(cached) " >&6
4276 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4279 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4280 for ac_dir in $PATH; do
4282 test -z "$ac_dir" && ac_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4285 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4286 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4287 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4294 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4298 MSGMERGE="$ac_cv_path_MSGMERGE"
4299 if test "$MSGMERGE" != ":"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4301 $as_echo "$MSGMERGE" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4308 test -n "$localedir" || localedir='${datadir}/locale'
4311 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4314 ac_config_commands="$ac_config_commands po-directories"
4318 if test "X$prefix" = "XNONE"; then
4319 acl_final_prefix="$ac_default_prefix"
4321 acl_final_prefix="$prefix"
4323 if test "X$exec_prefix" = "XNONE"; then
4324 acl_final_exec_prefix='${prefix}'
4326 acl_final_exec_prefix="$exec_prefix"
4328 acl_save_prefix="$prefix"
4329 prefix="$acl_final_prefix"
4330 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4331 prefix="$acl_save_prefix"
4333 # Make sure we can run config.sub.
4334 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4335 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4338 $as_echo_n "checking build system type... " >&6; }
4339 if ${ac_cv_build+:} false; then :
4340 $as_echo_n "(cached) " >&6
4342 ac_build_alias=$build_alias
4343 test "x$ac_build_alias" = x &&
4344 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4345 test "x$ac_build_alias" = x &&
4346 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4347 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4348 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4352 $as_echo "$ac_cv_build" >&6; }
4353 case $ac_cv_build in
4355 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4358 ac_save_IFS=$IFS; IFS='-'
4364 # Remember, the first character of IFS is used to create $*,
4365 # except with old shells:
4368 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4372 $as_echo_n "checking host system type... " >&6; }
4373 if ${ac_cv_host+:} false; then :
4374 $as_echo_n "(cached) " >&6
4376 if test "x$host_alias" = x; then
4377 ac_cv_host=$ac_cv_build
4379 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4380 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4385 $as_echo "$ac_cv_host" >&6; }
4388 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4391 ac_save_IFS=$IFS; IFS='-'
4397 # Remember, the first character of IFS is used to create $*,
4398 # except with old shells:
4401 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4406 # Check whether --with-gnu-ld was given.
4407 if test "${with_gnu_ld+set}" = set; then :
4408 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4413 # Prepare PATH_SEPARATOR.
4414 # The user is always right.
4415 if test "${PATH_SEPARATOR+set}" != set; then
4416 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
4417 # contains only /bin. Note that ksh looks also at the FPATH variable,
4418 # so we have to set that as well for the test.
4420 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4421 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
4422 || PATH_SEPARATOR=';'
4427 if test "$GCC" = yes; then
4428 # Check if gcc -print-prog-name=ld gives a path.
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4430 $as_echo_n "checking for ld used by $CC... " >&6; }
4433 # gcc leaves a trailing carriage return which upsets mingw
4434 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4436 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4439 # Accept absolute paths.
4441 re_direlt='/[^/][^/]*/\.\./'
4442 # Canonicalize the pathname of ld
4443 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
4444 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
4445 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4447 test -z "$LD" && LD="$ac_prog"
4450 # If it fails, then pretend we aren't using GCC.
4454 # If it is relative, then search for the first ld in PATH.
4458 elif test "$with_gnu_ld" = yes; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4460 $as_echo_n "checking for GNU ld... " >&6; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4463 $as_echo_n "checking for non-GNU ld... " >&6; }
4465 if ${acl_cv_path_LD+:} false; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -z "$LD"; then
4469 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4470 for ac_dir in $PATH; do
4472 test -z "$ac_dir" && ac_dir=.
4473 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4474 acl_cv_path_LD="$ac_dir/$ac_prog"
4475 # Check to see if the program is GNU ld. I'd rather use --version,
4476 # but apparently some variants of GNU ld only accept -v.
4477 # Break only if it was the GNU/non-GNU ld that we prefer.
4478 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
4479 *GNU* | *'with BFD'*)
4480 test "$with_gnu_ld" != no && break
4483 test "$with_gnu_ld" != yes && break
4490 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4494 LD="$acl_cv_path_LD"
4495 if test -n "$LD"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4497 $as_echo "$LD" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4502 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4504 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4505 if ${acl_cv_prog_gnu_ld+:} false; then :
4506 $as_echo_n "(cached) " >&6
4508 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4509 case `$LD -v 2>&1 </dev/null` in
4510 *GNU* | *'with BFD'*)
4511 acl_cv_prog_gnu_ld=yes
4514 acl_cv_prog_gnu_ld=no
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4519 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4520 with_gnu_ld=$acl_cv_prog_gnu_ld
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4526 $as_echo_n "checking for shared library run path origin... " >&6; }
4527 if ${acl_cv_rpath+:} false; then :
4528 $as_echo_n "(cached) " >&6
4531 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4532 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4539 $as_echo "$acl_cv_rpath" >&6; }
4541 acl_libext="$acl_cv_libext"
4542 acl_shlibext="$acl_cv_shlibext"
4543 acl_libname_spec="$acl_cv_libname_spec"
4544 acl_library_names_spec="$acl_cv_library_names_spec"
4545 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4546 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4547 acl_hardcode_direct="$acl_cv_hardcode_direct"
4548 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4549 # Check whether --enable-rpath was given.
4550 if test "${enable_rpath+set}" = set; then :
4551 enableval=$enable_rpath; :
4559 ac_cpp='$CPP $CPPFLAGS'
4560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4564 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4565 # On Suns, sometimes $CPP names a directory.
4566 if test -n "$CPP" && test -d "$CPP"; then
4569 if test -z "$CPP"; then
4570 if ${ac_cv_prog_CPP+:} false; then :
4571 $as_echo_n "(cached) " >&6
4573 # Double quotes because CPP needs to be expanded
4574 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4577 for ac_c_preproc_warn_flag in '' yes
4579 # Use a header file that comes with gcc, so configuring glibc
4580 # with a fresh cross-compiler works.
4581 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4582 # <limits.h> exists even on freestanding compilers.
4583 # On the NeXT, cc -E runs the code through the compiler's parser,
4584 # not just through cpp. "Syntax error" is here to catch this case.
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4588 # include <limits.h>
4590 # include <assert.h>
4594 if ac_fn_c_try_cpp "$LINENO"; then :
4597 # Broken: fails on valid input.
4600 rm -f conftest.err conftest.i conftest.$ac_ext
4602 # OK, works on sane cases. Now check whether nonexistent headers
4603 # can be detected and how.
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4606 #include <ac_nonexistent.h>
4608 if ac_fn_c_try_cpp "$LINENO"; then :
4609 # Broken: success on invalid input.
4612 # Passes both tests.
4616 rm -f conftest.err conftest.i conftest.$ac_ext
4619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4620 rm -f conftest.i conftest.err conftest.$ac_ext
4621 if $ac_preproc_ok; then :
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4634 $as_echo "$CPP" >&6; }
4636 for ac_c_preproc_warn_flag in '' yes
4638 # Use a header file that comes with gcc, so configuring glibc
4639 # with a fresh cross-compiler works.
4640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4641 # <limits.h> exists even on freestanding compilers.
4642 # On the NeXT, cc -E runs the code through the compiler's parser,
4643 # not just through cpp. "Syntax error" is here to catch this case.
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4647 # include <limits.h>
4649 # include <assert.h>
4653 if ac_fn_c_try_cpp "$LINENO"; then :
4656 # Broken: fails on valid input.
4659 rm -f conftest.err conftest.i conftest.$ac_ext
4661 # OK, works on sane cases. Now check whether nonexistent headers
4662 # can be detected and how.
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4665 #include <ac_nonexistent.h>
4667 if ac_fn_c_try_cpp "$LINENO"; then :
4668 # Broken: success on invalid input.
4671 # Passes both tests.
4675 rm -f conftest.err conftest.i conftest.$ac_ext
4678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4679 rm -f conftest.i conftest.err conftest.$ac_ext
4680 if $ac_preproc_ok; then :
4683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4685 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4686 See \`config.log' for more details" "$LINENO" 5; }
4690 ac_cpp='$CPP $CPPFLAGS'
4691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4697 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4698 if ${ac_cv_path_GREP+:} false; then :
4699 $as_echo_n "(cached) " >&6
4701 if test -z "$GREP"; then
4702 ac_path_GREP_found=false
4703 # Loop through the user's path and test for each of PROGNAME-LIST
4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4708 test -z "$as_dir" && as_dir=.
4709 for ac_prog in grep ggrep; do
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4712 as_fn_executable_p "$ac_path_GREP" || continue
4713 # Check for GNU ac_path_GREP and select it if it is found.
4714 # Check for GNU $ac_path_GREP
4715 case `"$ac_path_GREP" --version 2>&1` in
4717 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4720 $as_echo_n 0123456789 >"conftest.in"
4723 cat "conftest.in" "conftest.in" >"conftest.tmp"
4724 mv "conftest.tmp" "conftest.in"
4725 cp "conftest.in" "conftest.nl"
4726 $as_echo 'GREP' >> "conftest.nl"
4727 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4728 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4729 as_fn_arith $ac_count + 1 && ac_count=$as_val
4730 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4731 # Best one so far, save it but keep looking for a better one
4732 ac_cv_path_GREP="$ac_path_GREP"
4733 ac_path_GREP_max=$ac_count
4735 # 10*(2^10) chars as input seems more than enough
4736 test $ac_count -gt 10 && break
4738 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4741 $ac_path_GREP_found && break 3
4746 if test -z "$ac_cv_path_GREP"; then
4747 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4750 ac_cv_path_GREP=$GREP
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4755 $as_echo "$ac_cv_path_GREP" >&6; }
4756 GREP="$ac_cv_path_GREP"
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4760 $as_echo_n "checking for egrep... " >&6; }
4761 if ${ac_cv_path_EGREP+:} false; then :
4762 $as_echo_n "(cached) " >&6
4764 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4765 then ac_cv_path_EGREP="$GREP -E"
4767 if test -z "$EGREP"; then
4768 ac_path_EGREP_found=false
4769 # Loop through the user's path and test for each of PROGNAME-LIST
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4774 test -z "$as_dir" && as_dir=.
4775 for ac_prog in egrep; do
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4778 as_fn_executable_p "$ac_path_EGREP" || continue
4779 # Check for GNU ac_path_EGREP and select it if it is found.
4780 # Check for GNU $ac_path_EGREP
4781 case `"$ac_path_EGREP" --version 2>&1` in
4783 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4786 $as_echo_n 0123456789 >"conftest.in"
4789 cat "conftest.in" "conftest.in" >"conftest.tmp"
4790 mv "conftest.tmp" "conftest.in"
4791 cp "conftest.in" "conftest.nl"
4792 $as_echo 'EGREP' >> "conftest.nl"
4793 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4794 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4795 as_fn_arith $ac_count + 1 && ac_count=$as_val
4796 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4797 # Best one so far, save it but keep looking for a better one
4798 ac_cv_path_EGREP="$ac_path_EGREP"
4799 ac_path_EGREP_max=$ac_count
4801 # 10*(2^10) chars as input seems more than enough
4802 test $ac_count -gt 10 && break
4804 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4807 $ac_path_EGREP_found && break 3
4812 if test -z "$ac_cv_path_EGREP"; then
4813 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4816 ac_cv_path_EGREP=$EGREP
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4822 $as_echo "$ac_cv_path_EGREP" >&6; }
4823 EGREP="$ac_cv_path_EGREP"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4833 $as_echo_n "checking for 64-bit host... " >&6; }
4834 if ${gl_cv_solaris_64bit+:} false; then :
4835 $as_echo_n "(cached) " >&6
4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4846 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4847 gl_cv_solaris_64bit=yes
4849 gl_cv_solaris_64bit=no
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4856 $as_echo "$gl_cv_solaris_64bit" >&6; }
4857 if test $gl_cv_solaris_64bit = yes; then
4858 acl_libdirstem=lib/64
4860 sparc*) acl_libdirstem2=lib/sparcv9 ;;
4861 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4866 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4867 if test -n "$searchpath"; then
4868 acl_save_IFS="${IFS= }"; IFS=":"
4869 for searchdir in $searchpath; do
4870 if test -d "$searchdir"; then
4871 case "$searchdir" in
4872 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4874 # Better ignore directories of this form. They are misleading.
4876 *) searchdir=`cd "$searchdir" && pwd`
4877 case "$searchdir" in
4878 */lib64 ) acl_libdirstem=lib64 ;;
4887 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4902 acl_save_prefix="$prefix"
4903 prefix="$acl_final_prefix"
4904 acl_save_exec_prefix="$exec_prefix"
4905 exec_prefix="$acl_final_exec_prefix"
4907 eval additional_includedir=\"$includedir\"
4908 eval additional_libdir=\"$libdir\"
4910 exec_prefix="$acl_save_exec_prefix"
4911 prefix="$acl_save_prefix"
4914 # Check whether --with-libiconv-prefix was given.
4915 if test "${with_libiconv_prefix+set}" = set; then :
4916 withval=$with_libiconv_prefix;
4917 if test "X$withval" = "Xno"; then
4920 if test "X$withval" = "X"; then
4922 acl_save_prefix="$prefix"
4923 prefix="$acl_final_prefix"
4924 acl_save_exec_prefix="$exec_prefix"
4925 exec_prefix="$acl_final_exec_prefix"
4927 eval additional_includedir=\"$includedir\"
4928 eval additional_libdir=\"$libdir\"
4930 exec_prefix="$acl_save_exec_prefix"
4931 prefix="$acl_save_prefix"
4934 additional_includedir="$withval/include"
4935 additional_libdir="$withval/$acl_libdirstem"
4936 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4937 && ! test -d "$withval/$acl_libdirstem"; then
4938 additional_libdir="$withval/$acl_libdirstem2"
4952 names_already_handled=
4953 names_next_round='iconv '
4954 while test -n "$names_next_round"; do
4955 names_this_round="$names_next_round"
4957 for name in $names_this_round; do
4959 for n in $names_already_handled; do
4960 if test "$n" = "$name"; then
4965 if test -z "$already_handled"; then
4966 names_already_handled="$names_already_handled $name"
4967 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
4968 eval value=\"\$HAVE_LIB$uppername\"
4969 if test -n "$value"; then
4970 if test "$value" = yes; then
4971 eval value=\"\$LIB$uppername\"
4972 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4973 eval value=\"\$LTLIB$uppername\"
4974 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4983 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
4984 if test -n "$acl_shlibext"; then
4985 shrext=".$acl_shlibext" # typically: shrext=.so
4989 if test $use_additional = yes; then
4990 dir="$additional_libdir"
4991 if test -n "$acl_shlibext"; then
4992 if test -f "$dir/$libname$shrext"; then
4994 found_so="$dir/$libname$shrext"
4996 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4997 ver=`(cd "$dir" && \
4998 for f in "$libname$shrext".*; do echo "$f"; done \
4999 | sed -e "s,^$libname$shrext\\\\.,," \
5000 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5001 | sed 1q ) 2>/dev/null`
5002 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5004 found_so="$dir/$libname$shrext.$ver"
5007 eval library_names=\"$acl_library_names_spec\"
5008 for f in $library_names; do
5009 if test -f "$dir/$f"; then
5018 if test "X$found_dir" = "X"; then
5019 if test -f "$dir/$libname.$acl_libext"; then
5021 found_a="$dir/$libname.$acl_libext"
5024 if test "X$found_dir" != "X"; then
5025 if test -f "$dir/$libname.la"; then
5026 found_la="$dir/$libname.la"
5030 if test "X$found_dir" = "X"; then
5031 for x in $LDFLAGS $LTLIBICONV; do
5033 acl_save_prefix="$prefix"
5034 prefix="$acl_final_prefix"
5035 acl_save_exec_prefix="$exec_prefix"
5036 exec_prefix="$acl_final_exec_prefix"
5038 exec_prefix="$acl_save_exec_prefix"
5039 prefix="$acl_save_prefix"
5043 dir=`echo "X$x" | sed -e 's/^X-L//'`
5044 if test -n "$acl_shlibext"; then
5045 if test -f "$dir/$libname$shrext"; then
5047 found_so="$dir/$libname$shrext"
5049 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5050 ver=`(cd "$dir" && \
5051 for f in "$libname$shrext".*; do echo "$f"; done \
5052 | sed -e "s,^$libname$shrext\\\\.,," \
5053 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5054 | sed 1q ) 2>/dev/null`
5055 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5057 found_so="$dir/$libname$shrext.$ver"
5060 eval library_names=\"$acl_library_names_spec\"
5061 for f in $library_names; do
5062 if test -f "$dir/$f"; then
5071 if test "X$found_dir" = "X"; then
5072 if test -f "$dir/$libname.$acl_libext"; then
5074 found_a="$dir/$libname.$acl_libext"
5077 if test "X$found_dir" != "X"; then
5078 if test -f "$dir/$libname.la"; then
5079 found_la="$dir/$libname.la"
5084 if test "X$found_dir" != "X"; then
5089 if test "X$found_dir" != "X"; then
5090 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5091 if test "X$found_so" != "X"; then
5092 if test "$enable_rpath" = no \
5093 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5094 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5095 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5098 for x in $ltrpathdirs; do
5099 if test "X$x" = "X$found_dir"; then
5104 if test -z "$haveit"; then
5105 ltrpathdirs="$ltrpathdirs $found_dir"
5107 if test "$acl_hardcode_direct" = yes; then
5108 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5110 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5111 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5113 for x in $rpathdirs; do
5114 if test "X$x" = "X$found_dir"; then
5119 if test -z "$haveit"; then
5120 rpathdirs="$rpathdirs $found_dir"
5124 for x in $LDFLAGS $LIBICONV; do
5126 acl_save_prefix="$prefix"
5127 prefix="$acl_final_prefix"
5128 acl_save_exec_prefix="$exec_prefix"
5129 exec_prefix="$acl_final_exec_prefix"
5131 exec_prefix="$acl_save_exec_prefix"
5132 prefix="$acl_save_prefix"
5134 if test "X$x" = "X-L$found_dir"; then
5139 if test -z "$haveit"; then
5140 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5142 if test "$acl_hardcode_minus_L" != no; then
5143 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5145 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5151 if test "X$found_a" != "X"; then
5152 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5154 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5157 additional_includedir=
5158 case "$found_dir" in
5159 */$acl_libdirstem | */$acl_libdirstem/)
5160 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5161 if test "$name" = 'iconv'; then
5162 LIBICONV_PREFIX="$basedir"
5164 additional_includedir="$basedir/include"
5166 */$acl_libdirstem2 | */$acl_libdirstem2/)
5167 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5168 if test "$name" = 'iconv'; then
5169 LIBICONV_PREFIX="$basedir"
5171 additional_includedir="$basedir/include"
5174 if test "X$additional_includedir" != "X"; then
5175 if test "X$additional_includedir" != "X/usr/include"; then
5177 if test "X$additional_includedir" = "X/usr/local/include"; then
5178 if test -n "$GCC"; then
5180 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5184 if test -z "$haveit"; then
5185 for x in $CPPFLAGS $INCICONV; do
5187 acl_save_prefix="$prefix"
5188 prefix="$acl_final_prefix"
5189 acl_save_exec_prefix="$exec_prefix"
5190 exec_prefix="$acl_final_exec_prefix"
5192 exec_prefix="$acl_save_exec_prefix"
5193 prefix="$acl_save_prefix"
5195 if test "X$x" = "X-I$additional_includedir"; then
5200 if test -z "$haveit"; then
5201 if test -d "$additional_includedir"; then
5202 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5208 if test -n "$found_la"; then
5209 save_libdir="$libdir"
5211 */* | *\\*) . "$found_la" ;;
5212 *) . "./$found_la" ;;
5214 libdir="$save_libdir"
5215 for dep in $dependency_libs; do
5218 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5219 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5220 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5222 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5223 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5224 if test -n "$GCC"; then
5226 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5230 if test -z "$haveit"; then
5232 for x in $LDFLAGS $LIBICONV; do
5234 acl_save_prefix="$prefix"
5235 prefix="$acl_final_prefix"
5236 acl_save_exec_prefix="$exec_prefix"
5237 exec_prefix="$acl_final_exec_prefix"
5239 exec_prefix="$acl_save_exec_prefix"
5240 prefix="$acl_save_prefix"
5242 if test "X$x" = "X-L$additional_libdir"; then
5247 if test -z "$haveit"; then
5248 if test -d "$additional_libdir"; then
5249 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5253 for x in $LDFLAGS $LTLIBICONV; do
5255 acl_save_prefix="$prefix"
5256 prefix="$acl_final_prefix"
5257 acl_save_exec_prefix="$exec_prefix"
5258 exec_prefix="$acl_final_exec_prefix"
5260 exec_prefix="$acl_save_exec_prefix"
5261 prefix="$acl_save_prefix"
5263 if test "X$x" = "X-L$additional_libdir"; then
5268 if test -z "$haveit"; then
5269 if test -d "$additional_libdir"; then
5270 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5277 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5278 if test "$enable_rpath" != no; then
5280 for x in $rpathdirs; do
5281 if test "X$x" = "X$dir"; then
5286 if test -z "$haveit"; then
5287 rpathdirs="$rpathdirs $dir"
5290 for x in $ltrpathdirs; do
5291 if test "X$x" = "X$dir"; then
5296 if test -z "$haveit"; then
5297 ltrpathdirs="$ltrpathdirs $dir"
5302 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5305 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5308 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5309 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5315 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5316 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5322 if test "X$rpathdirs" != "X"; then
5323 if test -n "$acl_hardcode_libdir_separator"; then
5325 for found_dir in $rpathdirs; do
5326 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5328 acl_save_libdir="$libdir"
5330 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5331 libdir="$acl_save_libdir"
5332 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5334 for found_dir in $rpathdirs; do
5335 acl_save_libdir="$libdir"
5337 eval flag=\"$acl_hardcode_libdir_flag_spec\"
5338 libdir="$acl_save_libdir"
5339 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5343 if test "X$ltrpathdirs" != "X"; then
5344 for found_dir in $ltrpathdirs; do
5345 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5380 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5381 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5382 $as_echo_n "(cached) " >&6
5384 gt_save_LIBS="$LIBS"
5385 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5388 #include <CoreFoundation/CFPreferences.h>
5392 CFPreferencesCopyAppValue(NULL, NULL)
5397 if ac_fn_c_try_link "$LINENO"; then :
5398 gt_cv_func_CFPreferencesCopyAppValue=yes
5400 gt_cv_func_CFPreferencesCopyAppValue=no
5402 rm -f core conftest.err conftest.$ac_objext \
5403 conftest$ac_exeext conftest.$ac_ext
5404 LIBS="$gt_save_LIBS"
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5407 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5408 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5410 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5414 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5415 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 gt_save_LIBS="$LIBS"
5419 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5422 #include <CoreFoundation/CFLocale.h>
5426 CFLocaleCopyCurrent();
5431 if ac_fn_c_try_link "$LINENO"; then :
5432 gt_cv_func_CFLocaleCopyCurrent=yes
5434 gt_cv_func_CFLocaleCopyCurrent=no
5436 rm -f core conftest.err conftest.$ac_objext \
5437 conftest$ac_exeext conftest.$ac_ext
5438 LIBS="$gt_save_LIBS"
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5441 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5442 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5444 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5448 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5449 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5461 case " $gt_needs " in
5462 *" need-formatstring-macros "*) gt_api_version=3 ;;
5463 *" need-ngettext "*) gt_api_version=2 ;;
5464 *) gt_api_version=1 ;;
5466 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5467 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5469 if test "$USE_NLS" = "yes"; then
5470 gt_use_preinstalled_gnugettext=no
5473 if test $gt_api_version -ge 3; then
5474 gt_revision_test_code='
5475 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5476 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5478 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5481 gt_revision_test_code=
5483 if test $gt_api_version -ge 2; then
5484 gt_expression_test_code=' + * ngettext ("", "", 0)'
5486 gt_expression_test_code=
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5490 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5491 if eval \${$gt_func_gnugettext_libc+:} false; then :
5492 $as_echo_n "(cached) " >&6
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5497 #include <libintl.h>
5498 $gt_revision_test_code
5499 extern int _nl_msg_cat_cntr;
5500 extern int *_nl_domain_bindings;
5506 bindtextdomain ("", "");
5507 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5513 if ac_fn_c_try_link "$LINENO"; then :
5514 eval "$gt_func_gnugettext_libc=yes"
5516 eval "$gt_func_gnugettext_libc=no"
5518 rm -f core conftest.err conftest.$ac_objext \
5519 conftest$ac_exeext conftest.$ac_ext
5521 eval ac_res=\$$gt_func_gnugettext_libc
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5523 $as_echo "$ac_res" >&6; }
5525 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5531 am_save_CPPFLAGS="$CPPFLAGS"
5533 for element in $INCICONV; do
5535 for x in $CPPFLAGS; do
5537 acl_save_prefix="$prefix"
5538 prefix="$acl_final_prefix"
5539 acl_save_exec_prefix="$exec_prefix"
5540 exec_prefix="$acl_final_exec_prefix"
5542 exec_prefix="$acl_save_exec_prefix"
5543 prefix="$acl_save_prefix"
5545 if test "X$x" = "X$element"; then
5550 if test -z "$haveit"; then
5551 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5557 $as_echo_n "checking for iconv... " >&6; }
5558 if ${am_cv_func_iconv+:} false; then :
5559 $as_echo_n "(cached) " >&6
5562 am_cv_func_iconv="no, consider installing GNU libiconv"
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5573 iconv_t cd = iconv_open("","");
5574 iconv(cd,NULL,NULL,NULL,NULL);
5580 if ac_fn_c_try_link "$LINENO"; then :
5581 am_cv_func_iconv=yes
5583 rm -f core conftest.err conftest.$ac_objext \
5584 conftest$ac_exeext conftest.$ac_ext
5585 if test "$am_cv_func_iconv" != yes; then
5586 am_save_LIBS="$LIBS"
5587 LIBS="$LIBS $LIBICONV"
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5597 iconv_t cd = iconv_open("","");
5598 iconv(cd,NULL,NULL,NULL,NULL);
5604 if ac_fn_c_try_link "$LINENO"; then :
5606 am_cv_func_iconv=yes
5608 rm -f core conftest.err conftest.$ac_objext \
5609 conftest$ac_exeext conftest.$ac_ext
5610 LIBS="$am_save_LIBS"
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5615 $as_echo "$am_cv_func_iconv" >&6; }
5616 if test "$am_cv_func_iconv" = yes; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5618 $as_echo_n "checking for working iconv... " >&6; }
5619 if ${am_cv_func_iconv_works+:} false; then :
5620 $as_echo_n "(cached) " >&6
5623 am_save_LIBS="$LIBS"
5624 if test $am_cv_lib_iconv = yes; then
5625 LIBS="$LIBS $LIBICONV"
5627 if test "$cross_compiling" = yes; then :
5630 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5631 *) am_cv_func_iconv_works="guessing yes" ;;
5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5643 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5646 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5647 if (cd_utf8_to_88591 != (iconv_t)(-1))
5649 static const char input[] = "\342\202\254"; /* EURO SIGN */
5651 const char *inptr = input;
5652 size_t inbytesleft = strlen (input);
5654 size_t outbytesleft = sizeof (buf);
5655 size_t res = iconv (cd_utf8_to_88591,
5656 (char **) &inptr, &inbytesleft,
5657 &outptr, &outbytesleft);
5660 iconv_close (cd_utf8_to_88591);
5663 /* Test against Solaris 10 bug: Failures are not distinguishable from
5664 successful returns. */
5666 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5667 if (cd_ascii_to_88591 != (iconv_t)(-1))
5669 static const char input[] = "\263";
5671 const char *inptr = input;
5672 size_t inbytesleft = strlen (input);
5674 size_t outbytesleft = sizeof (buf);
5675 size_t res = iconv (cd_ascii_to_88591,
5676 (char **) &inptr, &inbytesleft,
5677 &outptr, &outbytesleft);
5680 iconv_close (cd_ascii_to_88591);
5683 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
5685 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
5686 if (cd_88591_to_utf8 != (iconv_t)(-1))
5688 static const char input[] = "\304";
5689 static char buf[2] = { (char)0xDE, (char)0xAD };
5690 const char *inptr = input;
5691 size_t inbytesleft = 1;
5693 size_t outbytesleft = 1;
5694 size_t res = iconv (cd_88591_to_utf8,
5695 (char **) &inptr, &inbytesleft,
5696 &outptr, &outbytesleft);
5697 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
5699 iconv_close (cd_88591_to_utf8);
5702 #if 0 /* This bug could be worked around by the caller. */
5703 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5705 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5706 if (cd_88591_to_utf8 != (iconv_t)(-1))
5708 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5710 const char *inptr = input;
5711 size_t inbytesleft = strlen (input);
5713 size_t outbytesleft = sizeof (buf);
5714 size_t res = iconv (cd_88591_to_utf8,
5715 (char **) &inptr, &inbytesleft,
5716 &outptr, &outbytesleft);
5719 iconv_close (cd_88591_to_utf8);
5723 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5725 if (/* Try standardized names. */
5726 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5727 /* Try IRIX, OSF/1 names. */
5728 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5729 /* Try AIX names. */
5730 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5731 /* Try HP-UX names. */
5732 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5737 if ac_fn_c_try_run "$LINENO"; then :
5738 am_cv_func_iconv_works=yes
5740 am_cv_func_iconv_works=no
5742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5743 conftest.$ac_objext conftest.beam conftest.$ac_ext
5746 LIBS="$am_save_LIBS"
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5750 $as_echo "$am_cv_func_iconv_works" >&6; }
5751 case "$am_cv_func_iconv_works" in
5752 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5753 *) am_func_iconv=yes ;;
5756 am_func_iconv=no am_cv_lib_iconv=no
5758 if test "$am_func_iconv" = yes; then
5760 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5763 if test "$am_cv_lib_iconv" = yes; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5765 $as_echo_n "checking how to link with libiconv... " >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5767 $as_echo "$LIBICONV" >&6; }
5769 CPPFLAGS="$am_save_CPPFLAGS"
5786 acl_save_prefix="$prefix"
5787 prefix="$acl_final_prefix"
5788 acl_save_exec_prefix="$exec_prefix"
5789 exec_prefix="$acl_final_exec_prefix"
5791 eval additional_includedir=\"$includedir\"
5792 eval additional_libdir=\"$libdir\"
5794 exec_prefix="$acl_save_exec_prefix"
5795 prefix="$acl_save_prefix"
5798 # Check whether --with-libintl-prefix was given.
5799 if test "${with_libintl_prefix+set}" = set; then :
5800 withval=$with_libintl_prefix;
5801 if test "X$withval" = "Xno"; then
5804 if test "X$withval" = "X"; then
5806 acl_save_prefix="$prefix"
5807 prefix="$acl_final_prefix"
5808 acl_save_exec_prefix="$exec_prefix"
5809 exec_prefix="$acl_final_exec_prefix"
5811 eval additional_includedir=\"$includedir\"
5812 eval additional_libdir=\"$libdir\"
5814 exec_prefix="$acl_save_exec_prefix"
5815 prefix="$acl_save_prefix"
5818 additional_includedir="$withval/include"
5819 additional_libdir="$withval/$acl_libdirstem"
5820 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5821 && ! test -d "$withval/$acl_libdirstem"; then
5822 additional_libdir="$withval/$acl_libdirstem2"
5836 names_already_handled=
5837 names_next_round='intl '
5838 while test -n "$names_next_round"; do
5839 names_this_round="$names_next_round"
5841 for name in $names_this_round; do
5843 for n in $names_already_handled; do
5844 if test "$n" = "$name"; then
5849 if test -z "$already_handled"; then
5850 names_already_handled="$names_already_handled $name"
5851 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5852 eval value=\"\$HAVE_LIB$uppername\"
5853 if test -n "$value"; then
5854 if test "$value" = yes; then
5855 eval value=\"\$LIB$uppername\"
5856 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5857 eval value=\"\$LTLIB$uppername\"
5858 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5867 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
5868 if test -n "$acl_shlibext"; then
5869 shrext=".$acl_shlibext" # typically: shrext=.so
5873 if test $use_additional = yes; then
5874 dir="$additional_libdir"
5875 if test -n "$acl_shlibext"; then
5876 if test -f "$dir/$libname$shrext"; then
5878 found_so="$dir/$libname$shrext"
5880 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5881 ver=`(cd "$dir" && \
5882 for f in "$libname$shrext".*; do echo "$f"; done \
5883 | sed -e "s,^$libname$shrext\\\\.,," \
5884 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5885 | sed 1q ) 2>/dev/null`
5886 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5888 found_so="$dir/$libname$shrext.$ver"
5891 eval library_names=\"$acl_library_names_spec\"
5892 for f in $library_names; do
5893 if test -f "$dir/$f"; then
5902 if test "X$found_dir" = "X"; then
5903 if test -f "$dir/$libname.$acl_libext"; then
5905 found_a="$dir/$libname.$acl_libext"
5908 if test "X$found_dir" != "X"; then
5909 if test -f "$dir/$libname.la"; then
5910 found_la="$dir/$libname.la"
5914 if test "X$found_dir" = "X"; then
5915 for x in $LDFLAGS $LTLIBINTL; do
5917 acl_save_prefix="$prefix"
5918 prefix="$acl_final_prefix"
5919 acl_save_exec_prefix="$exec_prefix"
5920 exec_prefix="$acl_final_exec_prefix"
5922 exec_prefix="$acl_save_exec_prefix"
5923 prefix="$acl_save_prefix"
5927 dir=`echo "X$x" | sed -e 's/^X-L//'`
5928 if test -n "$acl_shlibext"; then
5929 if test -f "$dir/$libname$shrext"; then
5931 found_so="$dir/$libname$shrext"
5933 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5934 ver=`(cd "$dir" && \
5935 for f in "$libname$shrext".*; do echo "$f"; done \
5936 | sed -e "s,^$libname$shrext\\\\.,," \
5937 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5938 | sed 1q ) 2>/dev/null`
5939 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5941 found_so="$dir/$libname$shrext.$ver"
5944 eval library_names=\"$acl_library_names_spec\"
5945 for f in $library_names; do
5946 if test -f "$dir/$f"; then
5955 if test "X$found_dir" = "X"; then
5956 if test -f "$dir/$libname.$acl_libext"; then
5958 found_a="$dir/$libname.$acl_libext"
5961 if test "X$found_dir" != "X"; then
5962 if test -f "$dir/$libname.la"; then
5963 found_la="$dir/$libname.la"
5968 if test "X$found_dir" != "X"; then
5973 if test "X$found_dir" != "X"; then
5974 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5975 if test "X$found_so" != "X"; then
5976 if test "$enable_rpath" = no \
5977 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5978 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5979 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5982 for x in $ltrpathdirs; do
5983 if test "X$x" = "X$found_dir"; then
5988 if test -z "$haveit"; then
5989 ltrpathdirs="$ltrpathdirs $found_dir"
5991 if test "$acl_hardcode_direct" = yes; then
5992 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5994 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5995 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5997 for x in $rpathdirs; do
5998 if test "X$x" = "X$found_dir"; then
6003 if test -z "$haveit"; then
6004 rpathdirs="$rpathdirs $found_dir"
6008 for x in $LDFLAGS $LIBINTL; do
6010 acl_save_prefix="$prefix"
6011 prefix="$acl_final_prefix"
6012 acl_save_exec_prefix="$exec_prefix"
6013 exec_prefix="$acl_final_exec_prefix"
6015 exec_prefix="$acl_save_exec_prefix"
6016 prefix="$acl_save_prefix"
6018 if test "X$x" = "X-L$found_dir"; then
6023 if test -z "$haveit"; then
6024 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6026 if test "$acl_hardcode_minus_L" != no; then
6027 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6029 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6035 if test "X$found_a" != "X"; then
6036 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6038 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6041 additional_includedir=
6042 case "$found_dir" in
6043 */$acl_libdirstem | */$acl_libdirstem/)
6044 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6045 if test "$name" = 'intl'; then
6046 LIBINTL_PREFIX="$basedir"
6048 additional_includedir="$basedir/include"
6050 */$acl_libdirstem2 | */$acl_libdirstem2/)
6051 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6052 if test "$name" = 'intl'; then
6053 LIBINTL_PREFIX="$basedir"
6055 additional_includedir="$basedir/include"
6058 if test "X$additional_includedir" != "X"; then
6059 if test "X$additional_includedir" != "X/usr/include"; then
6061 if test "X$additional_includedir" = "X/usr/local/include"; then
6062 if test -n "$GCC"; then
6064 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6068 if test -z "$haveit"; then
6069 for x in $CPPFLAGS $INCINTL; do
6071 acl_save_prefix="$prefix"
6072 prefix="$acl_final_prefix"
6073 acl_save_exec_prefix="$exec_prefix"
6074 exec_prefix="$acl_final_exec_prefix"
6076 exec_prefix="$acl_save_exec_prefix"
6077 prefix="$acl_save_prefix"
6079 if test "X$x" = "X-I$additional_includedir"; then
6084 if test -z "$haveit"; then
6085 if test -d "$additional_includedir"; then
6086 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6092 if test -n "$found_la"; then
6093 save_libdir="$libdir"
6095 */* | *\\*) . "$found_la" ;;
6096 *) . "./$found_la" ;;
6098 libdir="$save_libdir"
6099 for dep in $dependency_libs; do
6102 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6103 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6104 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6106 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6107 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6108 if test -n "$GCC"; then
6110 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6114 if test -z "$haveit"; then
6116 for x in $LDFLAGS $LIBINTL; do
6118 acl_save_prefix="$prefix"
6119 prefix="$acl_final_prefix"
6120 acl_save_exec_prefix="$exec_prefix"
6121 exec_prefix="$acl_final_exec_prefix"
6123 exec_prefix="$acl_save_exec_prefix"
6124 prefix="$acl_save_prefix"
6126 if test "X$x" = "X-L$additional_libdir"; then
6131 if test -z "$haveit"; then
6132 if test -d "$additional_libdir"; then
6133 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6137 for x in $LDFLAGS $LTLIBINTL; do
6139 acl_save_prefix="$prefix"
6140 prefix="$acl_final_prefix"
6141 acl_save_exec_prefix="$exec_prefix"
6142 exec_prefix="$acl_final_exec_prefix"
6144 exec_prefix="$acl_save_exec_prefix"
6145 prefix="$acl_save_prefix"
6147 if test "X$x" = "X-L$additional_libdir"; then
6152 if test -z "$haveit"; then
6153 if test -d "$additional_libdir"; then
6154 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6161 dir=`echo "X$dep" | sed -e 's/^X-R//'`
6162 if test "$enable_rpath" != no; then
6164 for x in $rpathdirs; do
6165 if test "X$x" = "X$dir"; then
6170 if test -z "$haveit"; then
6171 rpathdirs="$rpathdirs $dir"
6174 for x in $ltrpathdirs; do
6175 if test "X$x" = "X$dir"; then
6180 if test -z "$haveit"; then
6181 ltrpathdirs="$ltrpathdirs $dir"
6186 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6189 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6192 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6193 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6199 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6200 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6206 if test "X$rpathdirs" != "X"; then
6207 if test -n "$acl_hardcode_libdir_separator"; then
6209 for found_dir in $rpathdirs; do
6210 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6212 acl_save_libdir="$libdir"
6214 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6215 libdir="$acl_save_libdir"
6216 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6218 for found_dir in $rpathdirs; do
6219 acl_save_libdir="$libdir"
6221 eval flag=\"$acl_hardcode_libdir_flag_spec\"
6222 libdir="$acl_save_libdir"
6223 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6227 if test "X$ltrpathdirs" != "X"; then
6228 for found_dir in $ltrpathdirs; do
6229 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6239 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6240 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6241 $as_echo_n "(cached) " >&6
6243 gt_save_CPPFLAGS="$CPPFLAGS"
6244 CPPFLAGS="$CPPFLAGS $INCINTL"
6245 gt_save_LIBS="$LIBS"
6246 LIBS="$LIBS $LIBINTL"
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6250 #include <libintl.h>
6251 $gt_revision_test_code
6252 extern int _nl_msg_cat_cntr;
6257 const char *_nl_expand_alias (const char *);
6263 bindtextdomain ("", "");
6264 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6270 if ac_fn_c_try_link "$LINENO"; then :
6271 eval "$gt_func_gnugettext_libintl=yes"
6273 eval "$gt_func_gnugettext_libintl=no"
6275 rm -f core conftest.err conftest.$ac_objext \
6276 conftest$ac_exeext conftest.$ac_ext
6277 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6278 LIBS="$LIBS $LIBICONV"
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6282 #include <libintl.h>
6283 $gt_revision_test_code
6284 extern int _nl_msg_cat_cntr;
6289 const char *_nl_expand_alias (const char *);
6295 bindtextdomain ("", "");
6296 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6302 if ac_fn_c_try_link "$LINENO"; then :
6303 LIBINTL="$LIBINTL $LIBICONV"
6304 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6305 eval "$gt_func_gnugettext_libintl=yes"
6308 rm -f core conftest.err conftest.$ac_objext \
6309 conftest$ac_exeext conftest.$ac_ext
6311 CPPFLAGS="$gt_save_CPPFLAGS"
6312 LIBS="$gt_save_LIBS"
6314 eval ac_res=\$$gt_func_gnugettext_libintl
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6316 $as_echo "$ac_res" >&6; }
6319 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6320 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6321 && test "$PACKAGE" != gettext-runtime \
6322 && test "$PACKAGE" != gettext-tools; }; then
6323 gt_use_preinstalled_gnugettext=yes
6332 if test -n "$INTL_MACOSX_LIBS"; then
6333 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6334 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6335 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6336 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6340 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6341 || test "$nls_cv_use_gnu_gettext" = "yes"; then
6343 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6351 $as_echo_n "checking whether to use NLS... " >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6353 $as_echo "$USE_NLS" >&6; }
6354 if test "$USE_NLS" = "yes"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6356 $as_echo_n "checking where the gettext function comes from... " >&6; }
6357 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6358 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6359 gt_source="external libintl"
6364 gt_source="included intl directory"
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6367 $as_echo "$gt_source" >&6; }
6370 if test "$USE_NLS" = "yes"; then
6372 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6373 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6375 $as_echo_n "checking how to link with libintl... " >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6377 $as_echo "$LIBINTL" >&6; }
6379 for element in $INCINTL; do
6381 for x in $CPPFLAGS; do
6383 acl_save_prefix="$prefix"
6384 prefix="$acl_final_prefix"
6385 acl_save_exec_prefix="$exec_prefix"
6386 exec_prefix="$acl_final_exec_prefix"
6388 exec_prefix="$acl_save_exec_prefix"
6389 prefix="$acl_save_prefix"
6391 if test "X$x" = "X$element"; then
6396 if test -z "$haveit"; then
6397 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6404 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6407 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6425 # Checks for libraries.
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImageStringFT in -lgd" >&5
6427 $as_echo_n "checking for gdImageStringFT in -lgd... " >&6; }
6428 if ${ac_cv_lib_gd_gdImageStringFT+:} false; then :
6429 $as_echo_n "(cached) " >&6
6431 ac_check_lib_save_LIBS=$LIBS
6433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h. */
6436 /* Override any GCC internal prototype to avoid an error.
6437 Use char because int might match the return type of a GCC
6438 builtin and then its argument prototype would still apply. */
6442 char gdImageStringFT ();
6446 return gdImageStringFT ();
6451 if ac_fn_c_try_link "$LINENO"; then :
6452 ac_cv_lib_gd_gdImageStringFT=yes
6454 ac_cv_lib_gd_gdImageStringFT=no
6456 rm -f core conftest.err conftest.$ac_objext \
6457 conftest$ac_exeext conftest.$ac_ext
6458 LIBS=$ac_check_lib_save_LIBS
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageStringFT" >&5
6461 $as_echo "$ac_cv_lib_gd_gdImageStringFT" >&6; }
6462 if test "x$ac_cv_lib_gd_gdImageStringFT" = xyes; then :
6463 cat >>confdefs.h <<_ACEOF
6464 #define HAVE_LIBGD 1
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_init in -lusb-1.0" >&5
6472 $as_echo_n "checking for libusb_init in -lusb-1.0... " >&6; }
6473 if ${ac_cv_lib_usb_1_0_libusb_init+:} false; then :
6474 $as_echo_n "(cached) " >&6
6476 ac_check_lib_save_LIBS=$LIBS
6477 LIBS="-lusb-1.0 $LIBS"
6478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6481 /* Override any GCC internal prototype to avoid an error.
6482 Use char because int might match the return type of a GCC
6483 builtin and then its argument prototype would still apply. */
6487 char libusb_init ();
6491 return libusb_init ();
6496 if ac_fn_c_try_link "$LINENO"; then :
6497 ac_cv_lib_usb_1_0_libusb_init=yes
6499 ac_cv_lib_usb_1_0_libusb_init=no
6501 rm -f core conftest.err conftest.$ac_objext \
6502 conftest$ac_exeext conftest.$ac_ext
6503 LIBS=$ac_check_lib_save_LIBS
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_init" >&5
6506 $as_echo "$ac_cv_lib_usb_1_0_libusb_init" >&6; }
6507 if test "x$ac_cv_lib_usb_1_0_libusb_init" = xyes; then :
6508 cat >>confdefs.h <<_ACEOF
6509 #define HAVE_LIBUSB_1_0 1
6512 LIBS="-lusb-1.0 $LIBS"
6517 # Checks for header files.
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6519 $as_echo_n "checking for ANSI C header files... " >&6; }
6520 if ${ac_cv_header_stdc+:} false; then :
6521 $as_echo_n "(cached) " >&6
6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6538 if ac_fn_c_try_compile "$LINENO"; then :
6539 ac_cv_header_stdc=yes
6541 ac_cv_header_stdc=no
6543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545 if test $ac_cv_header_stdc = yes; then
6546 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6553 $EGREP "memchr" >/dev/null 2>&1; then :
6556 ac_cv_header_stdc=no
6562 if test $ac_cv_header_stdc = yes; then
6563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6570 $EGREP "free" >/dev/null 2>&1; then :
6573 ac_cv_header_stdc=no
6579 if test $ac_cv_header_stdc = yes; then
6580 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6581 if test "$cross_compiling" = yes; then :
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6588 #if ((' ' & 0x0FF) == 0x020)
6589 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6590 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6592 # define ISLOWER(c) \
6593 (('a' <= (c) && (c) <= 'i') \
6594 || ('j' <= (c) && (c) <= 'r') \
6595 || ('s' <= (c) && (c) <= 'z'))
6596 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6604 for (i = 0; i < 256; i++)
6605 if (XOR (islower (i), ISLOWER (i))
6606 || toupper (i) != TOUPPER (i))
6611 if ac_fn_c_try_run "$LINENO"; then :
6614 ac_cv_header_stdc=no
6616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6617 conftest.$ac_objext conftest.beam conftest.$ac_ext
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6623 $as_echo "$ac_cv_header_stdc" >&6; }
6624 if test $ac_cv_header_stdc = yes; then
6626 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6630 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6631 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6632 inttypes.h stdint.h unistd.h
6634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6635 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6638 cat >>confdefs.h <<_ACEOF
6639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6647 for ac_header in fcntl.h libintl.h stdint.h stdlib.h string.h
6649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6650 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6652 cat >>confdefs.h <<_ACEOF
6653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6660 for ac_header in gd.h
6662 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
6663 if test "x$ac_cv_header_gd_h" = xyes; then :
6664 cat >>confdefs.h <<_ACEOF
6669 as_fn_error $? "libgd headers missing - maybe you need to install package gd-dev or gd-devel?" "$LINENO" 5
6674 for ac_header in libusb-1.0/libusb.h
6676 ac_fn_c_check_header_mongrel "$LINENO" "libusb-1.0/libusb.h" "ac_cv_header_libusb_1_0_libusb_h" "$ac_includes_default"
6677 if test "x$ac_cv_header_libusb_1_0_libusb_h" = xyes; then :
6678 cat >>confdefs.h <<_ACEOF
6679 #define HAVE_LIBUSB_1_0_LIBUSB_H 1
6683 as_fn_error $? "libusb headers missing - maybe you need to install package libusb-dev or libusb-devel?" "$LINENO" 5
6689 # Checks for typedefs, structures, and compiler characteristics.
6690 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
6691 if test "x$ac_cv_type_ssize_t" = xyes; then :
6695 cat >>confdefs.h <<_ACEOF
6701 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
6702 case $ac_cv_c_uint8_t in #(
6706 $as_echo "#define _UINT8_T 1" >>confdefs.h
6709 cat >>confdefs.h <<_ACEOF
6710 #define uint8_t $ac_cv_c_uint8_t
6716 # Checks for library functions.
6717 for ac_header in stdlib.h
6719 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6720 if test "x$ac_cv_header_stdlib_h" = xyes; then :
6721 cat >>confdefs.h <<_ACEOF
6722 #define HAVE_STDLIB_H 1
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6730 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6731 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
6732 $as_echo_n "(cached) " >&6
6734 if test "$cross_compiling" = yes; then :
6735 ac_cv_func_malloc_0_nonnull=no
6737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6739 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6740 # include <stdlib.h>
6748 return ! malloc (0);
6753 if ac_fn_c_try_run "$LINENO"; then :
6754 ac_cv_func_malloc_0_nonnull=yes
6756 ac_cv_func_malloc_0_nonnull=no
6758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6759 conftest.$ac_objext conftest.beam conftest.$ac_ext
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6764 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6765 if test $ac_cv_func_malloc_0_nonnull = yes; then :
6767 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
6770 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
6772 case " $LIBOBJS " in
6773 *" malloc.$ac_objext "* ) ;;
6774 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6779 $as_echo "#define malloc rpl_malloc" >>confdefs.h
6784 for ac_func in memset setlocale strpbrk strtol
6786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6789 cat >>confdefs.h <<_ACEOF
6790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6797 ac_config_files="$ac_config_files Makefile po/Makefile.in"
6799 cat >confcache <<\_ACEOF
6800 # This file is a shell script that caches the results of configure
6801 # tests run on this system so they can be shared between configure
6802 # scripts and configure runs, see configure's option --config-cache.
6803 # It is not useful on other systems. If it contains results you don't
6804 # want to keep, you may remove or edit it.
6806 # config.status only pays attention to the cache file if you give it
6807 # the --recheck option to rerun configure.
6809 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6810 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6815 # The following way of writing the cache mishandles newlines in values,
6816 # but we know of no workaround that is simple, portable, and efficient.
6817 # So, we kill variables containing newlines.
6818 # Ultrix sh set writes to stderr and can't be redirected directly,
6819 # and sets the high bit in the cache file unless we assign to the vars.
6821 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6822 eval ac_val=\$$ac_var
6826 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6827 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6830 _ | IFS | as_nl) ;; #(
6831 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6832 *) { eval $ac_var=; unset $ac_var;} ;;
6838 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6839 *${as_nl}ac_space=\ *)
6840 # `set' does not quote correctly, so add quotes: double-quote
6841 # substitution turns \\\\ into \\, and sed turns \\ into \.
6844 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6847 # `set' quotes correctly as required by POSIX, so do not add quotes.
6848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6859 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6861 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6862 if test -w "$cache_file"; then
6863 if test "x$cache_file" != "x/dev/null"; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6865 $as_echo "$as_me: updating cache $cache_file" >&6;}
6866 if test ! -f "$cache_file" || test -h "$cache_file"; then
6867 cat confcache >"$cache_file"
6869 case $cache_file in #(
6871 mv -f confcache "$cache_file"$$ &&
6872 mv -f "$cache_file"$$ "$cache_file" ;; #(
6874 mv -f confcache "$cache_file" ;;
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6880 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6885 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6886 # Let make expand exec_prefix.
6887 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6889 DEFS=-DHAVE_CONFIG_H
6894 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6895 # 1. Remove the extension, and $U if already installed.
6896 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6897 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6899 # will be set to the directory where LIBOBJS objects are built.
6900 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6901 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6905 LTLIBOBJS=$ac_ltlibobjs
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6909 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6910 if test -n "$am_sleep_pid"; then
6911 # Hide warnings about reused PIDs.
6912 wait $am_sleep_pid 2>/dev/null
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6915 $as_echo "done" >&6; }
6916 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6917 as_fn_error $? "conditional \"AMDEP\" was never defined.
6918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6920 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6921 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6924 if test -n "$EXEEXT"; then
6926 am__EXEEXT_FALSE='#'
6933 : "${CONFIG_STATUS=./config.status}"
6935 ac_clean_files_save=$ac_clean_files
6936 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6938 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6940 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6942 # Generated by $as_me.
6943 # Run this file to recreate the current configuration.
6944 # Compiler output produced by configure, useful for debugging
6945 # configure, is in config.log if it exists.
6951 SHELL=\${CONFIG_SHELL-$SHELL}
6954 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6955 ## -------------------- ##
6956 ## M4sh Initialization. ##
6957 ## -------------------- ##
6959 # Be more Bourne compatible
6960 DUALCASE=1; export DUALCASE # for MKS sh
6961 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6964 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6965 # is contrary to our usage. Disable this feature.
6966 alias -g '${1+"$@"}'='"$@"'
6967 setopt NO_GLOB_SUBST
6969 case `(set -o) 2>/dev/null` in #(
6981 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6982 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6983 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6984 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6985 # Prefer a ksh shell builtin over an external printf program on Solaris,
6986 # but without wasting forks for bash or zsh.
6987 if test -z "$BASH_VERSION$ZSH_VERSION" \
6988 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6989 as_echo='print -r --'
6990 as_echo_n='print -rn --'
6991 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6992 as_echo='printf %s\n'
6993 as_echo_n='printf %s'
6995 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6996 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6997 as_echo_n='/usr/ucb/echo -n'
6999 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7000 as_echo_n_body='eval
7004 expr "X$arg" : "X\\(.*\\)$as_nl";
7005 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7007 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7009 export as_echo_n_body
7010 as_echo_n='sh -c $as_echo_n_body as_echo'
7013 as_echo='sh -c $as_echo_body as_echo'
7016 # The user is always right.
7017 if test "${PATH_SEPARATOR+set}" != set; then
7019 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7020 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7027 # We need space, tab and new line, in precisely that order. Quoting is
7028 # there to prevent editors from complaining about space-tab.
7029 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7030 # splitting by setting IFS to empty value.)
7033 # Find who we are. Look in the path if we contain no directory separator.
7036 *[\\/]* ) as_myself=$0 ;;
7037 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir=.
7042 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7048 # We did not find ourselves, most probably we were run as `sh COMMAND'
7049 # in which case we are not to be found in the path.
7050 if test "x$as_myself" = x; then
7053 if test ! -f "$as_myself"; then
7054 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7058 # Unset variables that we do not need and which cause bugs (e.g. in
7059 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7060 # suppresses any "Segmentation fault" message there. '((' could
7061 # trigger a bug in pdksh 5.2.14.
7062 for as_var in BASH_ENV ENV MAIL MAILPATH
7063 do eval test x\${$as_var+set} = xset \
7064 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7077 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7080 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7081 # ----------------------------------------
7082 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7083 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7084 # script with STATUS, using 1 if that was 0.
7087 as_status=$1; test $as_status -eq 0 && as_status=1
7089 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7090 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7092 $as_echo "$as_me: error: $2" >&2
7093 as_fn_exit $as_status
7097 # as_fn_set_status STATUS
7098 # -----------------------
7099 # Set $? to STATUS, without forking.
7103 } # as_fn_set_status
7107 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7117 # Portably unset VAR.
7120 { eval $1=; unset $1;}
7122 as_unset=as_fn_unset
7123 # as_fn_append VAR VALUE
7124 # ----------------------
7125 # Append the text in VALUE to the end of the definition contained in VAR. Take
7126 # advantage of any shell optimizations that allow amortized linear growth over
7127 # repeated appends, instead of the typical quadratic growth present in naive
7129 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7130 eval 'as_fn_append ()
7141 # as_fn_arith ARG...
7142 # ------------------
7143 # Perform arithmetic evaluation on the ARGs, and store the result in the
7144 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7145 # must be portable across $(()) and expr.
7146 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7147 eval 'as_fn_arith ()
7154 as_val=`expr "$@" || test $? -eq 1`
7159 if expr a : '\(a\)' >/dev/null 2>&1 &&
7160 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7166 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7167 as_basename=basename
7172 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7178 as_me=`$as_basename -- "$0" ||
7179 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7180 X"$0" : 'X\(//\)$' \| \
7181 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7183 sed '/^.*\/\([^/][^/]*\)\/*$/{
7197 # Avoid depending upon Character Ranges.
7198 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7199 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7200 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7201 as_cr_digits='0123456789'
7202 as_cr_alnum=$as_cr_Letters$as_cr_digits
7204 ECHO_C= ECHO_N= ECHO_T=
7205 case `echo -n x` in #(((((
7207 case `echo 'xy\c'` in
7208 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7210 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7217 rm -f conf$$ conf$$.exe conf$$.file
7218 if test -d conf$$.dir; then
7219 rm -f conf$$.dir/conf$$.file
7222 mkdir conf$$.dir 2>/dev/null
7224 if (echo >conf$$.file) 2>/dev/null; then
7225 if ln -s conf$$.file conf$$ 2>/dev/null; then
7227 # ... but there are two gotchas:
7228 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7229 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7230 # In both cases, we have to default to `cp -pR'.
7231 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7233 elif ln conf$$.file conf$$ 2>/dev/null; then
7241 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7242 rmdir conf$$.dir 2>/dev/null
7247 # Create "$as_dir" as a directory, including parents if necessary.
7252 -*) as_dir=./$as_dir;;
7254 test -d "$as_dir" || eval $as_mkdir_p || {
7258 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7259 *) as_qdir=$as_dir;;
7261 as_dirs="'$as_qdir' $as_dirs"
7262 as_dir=`$as_dirname -- "$as_dir" ||
7263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7264 X"$as_dir" : 'X\(//\)[^/]' \| \
7265 X"$as_dir" : 'X\(//\)$' \| \
7266 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7267 $as_echo X"$as_dir" |
7268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7285 test -d "$as_dir" && break
7287 test -z "$as_dirs" || eval "mkdir $as_dirs"
7288 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7292 if mkdir -p . 2>/dev/null; then
7293 as_mkdir_p='mkdir -p "$as_dir"'
7295 test -d ./-p && rmdir ./-p
7300 # as_fn_executable_p FILE
7301 # -----------------------
7302 # Test if FILE is an executable regular file.
7303 as_fn_executable_p ()
7305 test -f "$1" && test -x "$1"
7306 } # as_fn_executable_p
7308 as_executable_p=as_fn_executable_p
7310 # Sed expression to map a string onto a valid CPP name.
7311 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7313 # Sed expression to map a string onto a valid variable name.
7314 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7318 ## ----------------------------------- ##
7319 ## Main body of $CONFIG_STATUS script. ##
7320 ## ----------------------------------- ##
7322 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7325 # Save the log message, to keep $0 and so on meaningful, and to
7326 # report actual input values of CONFIG_FILES etc. instead of their
7327 # values after options handling.
7329 This file was extended by ptouch $as_me 1.3.4, which was
7330 generated by GNU Autoconf 2.69. Invocation command line was
7332 CONFIG_FILES = $CONFIG_FILES
7333 CONFIG_HEADERS = $CONFIG_HEADERS
7334 CONFIG_LINKS = $CONFIG_LINKS
7335 CONFIG_COMMANDS = $CONFIG_COMMANDS
7338 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7343 case $ac_config_files in *"
7344 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7347 case $ac_config_headers in *"
7348 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7353 # Files that config.status was made for.
7354 config_files="$ac_config_files"
7355 config_headers="$ac_config_headers"
7356 config_commands="$ac_config_commands"
7360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7362 \`$as_me' instantiates files and other configuration actions
7363 from templates according to the current configuration. Unless the files
7364 and actions are specified as TAGs, all are instantiated by default.
7366 Usage: $0 [OPTION]... [TAG]...
7368 -h, --help print this help, then exit
7369 -V, --version print version number and configuration settings, then exit
7370 --config print configuration, then exit
7371 -q, --quiet, --silent
7372 do not print progress messages
7373 -d, --debug don't remove temporary files
7374 --recheck update $as_me by reconfiguring in the same conditions
7375 --file=FILE[:TEMPLATE]
7376 instantiate the configuration file FILE
7377 --header=FILE[:TEMPLATE]
7378 instantiate the configuration header FILE
7380 Configuration files:
7383 Configuration headers:
7386 Configuration commands:
7389 Report bugs to <blip@mockmoon-cybernetics.ch>."
7392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7393 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7395 ptouch config.status 1.3.4
7396 configured by $0, generated by GNU Autoconf 2.69,
7397 with options \\"\$ac_cs_config\\"
7399 Copyright (C) 2012 Free Software Foundation, Inc.
7400 This config.status script is free software; the Free Software Foundation
7401 gives unlimited permission to copy, distribute and modify it."
7408 test -n "\$AWK" || AWK=awk
7411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7412 # The default lists apply if the user does not specify any file.
7418 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7419 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7423 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7435 # Handling of the options.
7436 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7438 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7439 $as_echo "$ac_cs_version"; exit ;;
7440 --config | --confi | --conf | --con | --co | --c )
7441 $as_echo "$ac_cs_config"; exit ;;
7442 --debug | --debu | --deb | --de | --d | -d )
7444 --file | --fil | --fi | --f )
7447 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7448 '') as_fn_error $? "missing file argument" ;;
7450 as_fn_append CONFIG_FILES " '$ac_optarg'"
7451 ac_need_defaults=false;;
7452 --header | --heade | --head | --hea )
7455 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7457 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7458 ac_need_defaults=false;;
7460 # Conflict between --help and --header
7461 as_fn_error $? "ambiguous option: \`$1'
7462 Try \`$0 --help' for more information.";;
7463 --help | --hel | -h )
7464 $as_echo "$ac_cs_usage"; exit ;;
7465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7466 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7470 -*) as_fn_error $? "unrecognized option: \`$1'
7471 Try \`$0 --help' for more information." ;;
7473 *) as_fn_append ac_config_targets " $1"
7474 ac_need_defaults=false ;;
7480 ac_configure_extra_args=
7482 if $ac_cs_silent; then
7484 ac_configure_extra_args="$ac_configure_extra_args --silent"
7488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7489 if \$ac_cs_recheck; then
7490 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7492 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7493 CONFIG_SHELL='$SHELL'
7499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7503 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7504 ## Running $as_me. ##
7510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7514 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7515 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7516 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7517 # from automake < 1.5.
7518 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7519 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7520 LINGUAS="${LINGUAS-%UNSET%}"
7525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7527 # Handling of arguments.
7528 for ac_config_target in $ac_config_targets
7530 case $ac_config_target in
7531 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7532 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7533 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7534 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7535 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7537 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7542 # If the user did not use the arguments to specify the items to instantiate,
7543 # then the envvar interface is used. Set only those that are not.
7544 # We use the long form for the default assignment because of an extremely
7545 # bizarre bug on SunOS 4.1.3.
7546 if $ac_need_defaults; then
7547 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7548 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7549 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7552 # Have a temporary directory for convenience. Make it in the build tree
7553 # simply because there is no reason against having it here, and in addition,
7554 # creating and moving files from /tmp can sometimes cause problems.
7555 # Hook for its removal unless debugging.
7556 # Note that there is a small window in which the directory will not be cleaned:
7557 # after its creation but before its name has been assigned to `$tmp'.
7561 trap 'exit_status=$?
7563 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7565 trap 'as_fn_exit 1' 1 2 13 15
7567 # Create a (secure) tmp directory for tmp files.
7570 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7574 tmp=./conf$$-$RANDOM
7575 (umask 077 && mkdir "$tmp")
7576 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7579 # Set up the scripts for CONFIG_FILES section.
7580 # No need to generate them if there are no CONFIG_FILES.
7581 # This happens for instance with `./config.status config.h'.
7582 if test -n "$CONFIG_FILES"; then
7585 ac_cr=`echo X | tr X '\015'`
7586 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7587 # But we know of no other shell where ac_cr would be empty at this
7588 # point, so we can use a bashism as a fallback.
7589 if test "x$ac_cr" = x; then
7590 eval ac_cr=\$\'\\r\'
7592 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7593 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7599 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7604 echo "cat >conf$$subs.awk <<_ACEOF" &&
7605 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7608 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7609 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7611 for ac_last_try in false false false false false :; do
7612 . ./conf$$subs.sh ||
7613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7615 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7616 if test $ac_delim_n = $ac_delim_num; then
7618 elif $ac_last_try; then
7619 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7621 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7627 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7631 s/^/S["/; s/!.*/"]=/
7641 s/\(.\{148\}\)..*/\1/
7643 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7648 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7655 s/\(.\{148\}\)..*/\1/
7657 s/["\\]/\\&/g; s/^/"/; s/$/"/
7661 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7666 ' <conf$$subs.awk | sed '
7671 ' >>$CONFIG_STATUS || ac_write_fail=1
7672 rm -f conf$$subs.awk
7673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7675 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7676 for (key in S) S_is_set[key] = 1
7682 nfields = split(line, field, "@")
7684 len = length(field[1])
7685 for (i = 2; i < nfields; i++) {
7687 keylen = length(key)
7688 if (S_is_set[key]) {
7690 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7691 len += length(value) + length(field[++i])
7702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7703 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7704 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7707 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7708 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7711 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7712 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7713 # trailing colons and then remove the whole line if VPATH becomes empty
7714 # (actually we leave an empty line to preserve line numbers).
7715 if test "x$srcdir" = x.; then
7716 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7735 fi # test -n "$CONFIG_FILES"
7737 # Set up the scripts for CONFIG_HEADERS section.
7738 # No need to generate them if there are no CONFIG_HEADERS.
7739 # This happens for instance with `./config.status Makefile'.
7740 if test -n "$CONFIG_HEADERS"; then
7741 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7745 # Transform confdefs.h into an awk script `defines.awk', embedded as
7746 # here-document in config.status, that substitutes the proper values into
7747 # config.h.in to produce config.h.
7749 # Create a delimiter string that does not exist in confdefs.h, to ease
7750 # handling of long lines.
7752 for ac_last_try in false false :; do
7753 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7754 if test -z "$ac_tt"; then
7756 elif $ac_last_try; then
7757 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7759 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7763 # For the awk script, D is an array of macro values keyed by name,
7764 # likewise P contains macro parameters if any. Preserve backslash
7765 # newline sequences.
7767 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7769 s/.\{148\}/&'"$ac_delim"'/g
7772 s/^[ ]*#[ ]*define[ ][ ]*/ /
7779 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7781 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7785 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7786 D["\1"]=" \3\\\\\\n"\\/p
7788 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7793 s/.\{148\}/&'"$ac_delim"'/g
7798 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7801 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7803 ' <confdefs.h | sed '
7804 s/'"$ac_delim"'/"\\\
7805 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7808 for (key in D) D_is_set[key] = 1
7811 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7813 split(line, arg, " ")
7814 if (arg[1] == "#") {
7818 defundef = substr(arg[1], 2)
7821 split(mac1, mac2, "(") #)
7823 prefix = substr(line, 1, index(line, defundef) - 1)
7824 if (D_is_set[macro]) {
7825 # Preserve the white space surrounding the "#".
7826 print prefix "define", macro P[macro] D[macro]
7829 # Replace #undef with comments. This is necessary, for example,
7830 # in the case of _POSIX_SOURCE, which is predefined and required
7831 # on some systems where configure will not decide to define it.
7832 if (defundef == "undef") {
7833 print "/*", prefix defundef, macro, "*/"
7841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7842 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7843 fi # test -n "$CONFIG_HEADERS"
7846 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7851 :[FHLC]) ac_mode=$ac_tag; continue;;
7853 case $ac_mode$ac_tag in
7855 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7856 :[FH]-) ac_tag=-:-;;
7857 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7874 -) ac_f="$ac_tmp/stdin";;
7875 *) # Look for the file first in the build tree, then in the source tree
7876 # (if the path is not absolute). The absolute path cannot be DOS-style,
7877 # because $ac_f cannot contain `:'.
7881 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7883 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7885 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7886 as_fn_append ac_file_inputs " '$ac_f'"
7889 # Let's still pretend it is `configure' which instantiates (i.e., don't
7890 # use $as_me), people would be surprised to read:
7891 # /* config.h. Generated by config.status. */
7892 configure_input='Generated from '`
7893 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7895 if test x"$ac_file" != x-; then
7896 configure_input="$ac_file. $configure_input"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7898 $as_echo "$as_me: creating $ac_file" >&6;}
7900 # Neutralize special characters interpreted by sed in replacement strings.
7901 case $configure_input in #(
7902 *\&* | *\|* | *\\* )
7903 ac_sed_conf_input=`$as_echo "$configure_input" |
7904 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7905 *) ac_sed_conf_input=$configure_input;;
7909 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7915 ac_dir=`$as_dirname -- "$ac_file" ||
7916 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7917 X"$ac_file" : 'X\(//\)[^/]' \| \
7918 X"$ac_file" : 'X\(//\)$' \| \
7919 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7920 $as_echo X"$ac_file" |
7921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7938 as_dir="$ac_dir"; as_fn_mkdir_p
7942 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7944 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7945 # A ".." for each directory in $ac_dir_suffix.
7946 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7947 case $ac_top_builddir_sub in
7948 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7949 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7952 ac_abs_top_builddir=$ac_pwd
7953 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7954 # for backward compatibility:
7955 ac_top_builddir=$ac_top_build_prefix
7958 .) # We are building in place.
7960 ac_top_srcdir=$ac_top_builddir_sub
7961 ac_abs_top_srcdir=$ac_pwd ;;
7962 [\\/]* | ?:[\\/]* ) # Absolute name.
7963 ac_srcdir=$srcdir$ac_dir_suffix;
7964 ac_top_srcdir=$srcdir
7965 ac_abs_top_srcdir=$srcdir ;;
7967 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7968 ac_top_srcdir=$ac_top_build_prefix$srcdir
7969 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7971 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7981 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7982 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7986 [\\/$]* | ?:[\\/]* ) ;;
7987 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7992 # If the template does not know about datarootdir, expand it.
7993 # FIXME: This hack should be removed a few years after 2.60.
7994 ac_datarootdir_hack=; ac_datarootdir_seen=
8005 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8006 *datarootdir*) ac_datarootdir_seen=yes;;
8007 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8009 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8012 ac_datarootdir_hack='
8013 s&@datadir@&$datadir&g
8014 s&@docdir@&$docdir&g
8015 s&@infodir@&$infodir&g
8016 s&@localedir@&$localedir&g
8017 s&@mandir@&$mandir&g
8018 s&\\\${datarootdir}&$datarootdir&g' ;;
8022 # Neutralize VPATH when `$srcdir' = `.'.
8023 # Shell code in configure.ac might set extrasub.
8024 # FIXME: do we really want to maintain this feature?
8025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8026 ac_sed_extra="$ac_vpsub
8029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8032 s|@configure_input@|$ac_sed_conf_input|;t t
8033 s&@top_builddir@&$ac_top_builddir_sub&;t t
8034 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8035 s&@srcdir@&$ac_srcdir&;t t
8036 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8037 s&@top_srcdir@&$ac_top_srcdir&;t t
8038 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8039 s&@builddir@&$ac_builddir&;t t
8040 s&@abs_builddir@&$ac_abs_builddir&;t t
8041 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8042 s&@INSTALL@&$ac_INSTALL&;t t
8043 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8044 $ac_datarootdir_hack
8046 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8047 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8049 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8050 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8051 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8052 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8054 which seems to be undefined. Please make sure it is defined" >&5
8055 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8056 which seems to be undefined. Please make sure it is defined" >&2;}
8058 rm -f "$ac_tmp/stdin"
8060 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8061 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8063 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8069 if test x"$ac_file" != x-; then
8071 $as_echo "/* $configure_input */" \
8072 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8073 } >"$ac_tmp/config.h" \
8074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8075 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8077 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8080 mv "$ac_tmp/config.h" "$ac_file" \
8081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8084 $as_echo "/* $configure_input */" \
8085 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8086 || as_fn_error $? "could not create -" "$LINENO" 5
8088 # Compute "$ac_file"'s index in $config_headers.
8091 for _am_header in $config_headers :; do
8093 $_am_arg | $_am_arg:* )
8096 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8099 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8100 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8101 X"$_am_arg" : 'X\(//\)[^/]' \| \
8102 X"$_am_arg" : 'X\(//\)$' \| \
8103 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8104 $as_echo X"$_am_arg" |
8105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8121 s/.*/./; q'`/stamp-h$_am_stamp_count
8124 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8125 $as_echo "$as_me: executing $ac_file commands" >&6;}
8130 case $ac_file$ac_mode in
8131 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8132 # Older Autoconf quotes --file arguments for eval, but not when files
8133 # are listed without --file. Let's play safe and only enable the eval
8134 # if we detect the quoting.
8135 case $CONFIG_FILES in
8136 *\'*) eval set x "$CONFIG_FILES" ;;
8137 *) set x $CONFIG_FILES ;;
8142 # Strip MF so we end up with the name of the file.
8143 mf=`echo "$mf" | sed -e 's/:.*$//'`
8144 # Check whether this is an Automake generated Makefile or not.
8145 # We used to match only the files named 'Makefile.in', but
8146 # some people rename them; so instead we look at the file content.
8147 # Grep'ing the first line is not enough: some people post-process
8148 # each Makefile.in and add a new line on top of each file to say so.
8149 # Grep'ing the whole file is not good either: AIX grep has a line
8150 # limit of 2048, but all sed's we know have understand at least 4000.
8151 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8152 dirpart=`$as_dirname -- "$mf" ||
8153 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8154 X"$mf" : 'X\(//\)[^/]' \| \
8155 X"$mf" : 'X\(//\)$' \| \
8156 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8178 # Extract the definition of DEPDIR, am__include, and am__quote
8179 # from the Makefile without running 'make'.
8180 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8181 test -z "$DEPDIR" && continue
8182 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8183 test -z "$am__include" && continue
8184 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8185 # Find all dependency output files, they are included files with
8186 # $(DEPDIR) in their names. We invoke sed twice because it is the
8187 # simplest approach to changing $(DEPDIR) to its actual value in the
8189 for file in `sed -n "
8190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8192 # Make sure the directory exists.
8193 test -f "$dirpart/$file" && continue
8194 fdir=`$as_dirname -- "$file" ||
8195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8196 X"$file" : 'X\(//\)[^/]' \| \
8197 X"$file" : 'X\(//\)$' \| \
8198 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8217 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8218 # echo "creating $dirpart/$file"
8219 echo '# dummy' > "$dirpart/$file"
8225 for ac_file in $CONFIG_FILES; do
8226 # Support "outfile[:infile[:infile...]]"
8228 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8230 # PO directories have a Makefile.in generated from Makefile.in.in.
8231 case "$ac_file" in */Makefile.in)
8232 # Adjust a relative srcdir.
8233 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8234 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
8235 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8236 # In autoconf-2.13 it is called $ac_given_srcdir.
8237 # In autoconf-2.50 it is called $srcdir.
8238 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8239 case "$ac_given_srcdir" in
8240 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8241 /*) top_srcdir="$ac_given_srcdir" ;;
8242 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8244 # Treat a directory as a PO directory if and only if it has a
8245 # POTFILES.in file. This allows packages to have multiple PO
8246 # directories under different names or in different locations.
8247 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8248 rm -f "$ac_dir/POTFILES"
8249 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8250 gt_tab=`printf '\t'`
8251 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8252 POMAKEFILEDEPS="POTFILES.in"
8253 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8254 # on $ac_dir but don't depend on user-specified configuration
8256 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8257 # The LINGUAS file contains the set of available languages.
8258 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8259 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8261 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8262 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8263 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8264 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8266 # The set of available languages was given in configure.in.
8267 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8268 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8271 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8272 # Compute UPDATEPOFILES
8273 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8274 # Compute DUMMYPOFILES
8275 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8277 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8278 case "$ac_given_srcdir" in
8280 *) srcdirpre='$(srcdir)/' ;;
8286 for lang in $ALL_LINGUAS; do
8287 POFILES="$POFILES $srcdirpre$lang.po"
8288 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8289 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8290 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8292 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8293 # environment variable.
8295 if test -n "$ALL_LINGUAS"; then
8296 for presentlang in $ALL_LINGUAS; do
8298 if test "%UNSET%" != "$LINGUAS"; then
8299 desiredlanguages="$LINGUAS"
8301 desiredlanguages="$ALL_LINGUAS"
8303 for desiredlang in $desiredlanguages; do
8304 # Use the presentlang catalog if desiredlang is
8305 # a. equal to presentlang, or
8306 # b. a variant of presentlang (because in this case,
8307 # presentlang can be used as a fallback for messages
8308 # which are not translated in the desiredlang catalog).
8309 case "$desiredlang" in
8310 "$presentlang"*) useit=yes;;
8313 if test $useit = yes; then
8314 INST_LINGUAS="$INST_LINGUAS $presentlang"
8319 if test -n "$INST_LINGUAS"; then
8320 for lang in $INST_LINGUAS; do
8321 CATALOGS="$CATALOGS $lang.gmo"
8324 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8325 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"
8326 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8327 if test -f "$f"; then
8329 *.orig | *.bak | *~) ;;
8330 *) cat "$f" >> "$ac_dir/Makefile" ;;
8345 ac_clean_files=$ac_clean_files_save
8347 test $ac_write_fail = 0 ||
8348 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8351 # configure is writing to config.log, and then calls config.status.
8352 # config.status does its own redirection, appending to config.log.
8353 # Unfortunately, on DOS this fails, as config.log is still kept open
8354 # by configure, so config.status won't be able to write to it; its
8355 # output is simply discarded. So we exec the FD to /dev/null,
8356 # effectively closing config.log, so it can be properly (re)opened and
8357 # appended to by config.status. When coming back to configure, we
8358 # need to make the FD available again.
8359 if test "$no_create" != yes; then
8361 ac_config_status_args=
8362 test "$silent" = yes &&
8363 ac_config_status_args="$ac_config_status_args --quiet"
8365 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8367 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8368 # would make configure fail if this is the last instruction.
8369 $ac_cs_success || as_fn_exit 1
8371 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8373 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}