2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir -p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="configure.in"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
605 XGETTEXT_EXTRA_OPTIONS
613 GETTEXT_MACRO_VERSION
634 NEED_SOCKLEN_T_DEFINE
696 program_transform_name
709 enable_option_checking
720 ac_precious_vars
='build_alias
734 # Initialize some variables set by options.
736 ac_init_version
=false
737 ac_unrecognized_opts
=
739 # The variables have the same names as the options, with
740 # dashes changed to underlines.
748 program_transform_name
=s
,x
,x
,
756 # Installation directory options.
757 # These are left unexpanded so users can "make install exec_prefix=/foo"
758 # and all the variables that are supposed to be based on exec_prefix
759 # by default will actually change.
760 # Use braces instead of parens because sh, perl, etc. also accept them.
761 # (The list follows the same order as the GNU Coding Standards.)
762 bindir
='${exec_prefix}/bin'
763 sbindir
='${exec_prefix}/sbin'
764 libexecdir
='${exec_prefix}/libexec'
765 datarootdir
='${prefix}/share'
766 datadir
='${datarootdir}'
767 sysconfdir
='${prefix}/etc'
768 sharedstatedir
='${prefix}/com'
769 localstatedir
='${prefix}/var'
770 includedir
='${prefix}/include'
771 oldincludedir
='/usr/include'
772 docdir
='${datarootdir}/doc/${PACKAGE}'
773 infodir
='${datarootdir}/info'
778 libdir
='${exec_prefix}/lib'
779 localedir
='${datarootdir}/locale'
780 mandir
='${datarootdir}/man'
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\
$ac_option
794 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798 # Accept the important Cygnus configure options, so we can diagnose typos.
800 case $ac_dashdash$ac_option in
804 -bindir | --bindir | --bindi | --bind | --bin | --bi)
806 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
809 -build | --build | --buil | --bui | --bu)
810 ac_prev
=build_alias
;;
811 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
812 build_alias
=$ac_optarg ;;
814 -cache-file | --cache-file | --cache-fil | --cache-fi \
815 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
816 ac_prev
=cache_file
;;
817 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
818 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
819 cache_file
=$ac_optarg ;;
822 cache_file
=config.cache
;;
824 -datadir | --datadir | --datadi | --datad)
826 -datadir=* | --datadir=* | --datadi=* | --datad=*)
827 datadir
=$ac_optarg ;;
829 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
830 | --dataroo | --dataro | --datar)
831 ac_prev
=datarootdir
;;
832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
834 datarootdir
=$ac_optarg ;;
836 -disable-* | --disable-*)
837 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
840 as_fn_error
"invalid feature name: $ac_useropt"
841 ac_useropt_orig
=$ac_useropt
842 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
847 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
848 ac_unrecognized_sep
=', ';;
850 eval enable_
$ac_useropt=no
;;
852 -docdir | --docdir | --docdi | --doc | --do)
854 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
857 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
859 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
862 -enable-* | --enable-*)
863 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
866 as_fn_error
"invalid feature name: $ac_useropt"
867 ac_useropt_orig
=$ac_useropt
868 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869 case $ac_user_opts in
873 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
874 ac_unrecognized_sep
=', ';;
876 eval enable_
$ac_useropt=\
$ac_optarg ;;
878 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
879 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
880 | --exec | --exe | --ex)
881 ac_prev
=exec_prefix
;;
882 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
883 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
884 | --exec=* | --exe=* | --ex=*)
885 exec_prefix
=$ac_optarg ;;
887 -gas | --gas | --ga | --g)
888 # Obsolete; use --with-gas.
891 -help | --help | --hel | --he | -h)
893 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
894 ac_init_help
=recursive
;;
895 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
896 ac_init_help
=short
;;
898 -host | --host | --hos | --ho)
899 ac_prev
=host_alias
;;
900 -host=* | --host=* | --hos=* | --ho=*)
901 host_alias
=$ac_optarg ;;
903 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
905 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
907 htmldir
=$ac_optarg ;;
909 -includedir | --includedir | --includedi | --included | --include \
910 | --includ | --inclu | --incl | --inc)
911 ac_prev
=includedir
;;
912 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
913 | --includ=* | --inclu=* | --incl=* | --inc=*)
914 includedir
=$ac_optarg ;;
916 -infodir | --infodir | --infodi | --infod | --info | --inf)
918 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
919 infodir
=$ac_optarg ;;
921 -libdir | --libdir | --libdi | --libd)
923 -libdir=* | --libdir=* | --libdi=* | --libd=*)
926 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
927 | --libexe | --libex | --libe)
928 ac_prev
=libexecdir
;;
929 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
930 | --libexe=* | --libex=* | --libe=*)
931 libexecdir
=$ac_optarg ;;
933 -localedir | --localedir | --localedi | --localed | --locale)
935 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
936 localedir
=$ac_optarg ;;
938 -localstatedir | --localstatedir | --localstatedi | --localstated \
939 | --localstate | --localstat | --localsta | --localst | --locals)
940 ac_prev
=localstatedir
;;
941 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
942 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
943 localstatedir
=$ac_optarg ;;
945 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
947 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
951 # Obsolete; use --without-fp.
954 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
955 | --no-cr | --no-c | -n)
958 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
959 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
962 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
963 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
964 | --oldin | --oldi | --old | --ol | --o)
965 ac_prev
=oldincludedir
;;
966 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
967 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
968 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
969 oldincludedir
=$ac_optarg ;;
971 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
973 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
976 -program-prefix | --program-prefix | --program-prefi | --program-pref \
977 | --program-pre | --program-pr | --program-p)
978 ac_prev
=program_prefix
;;
979 -program-prefix=* | --program-prefix=* | --program-prefi=* \
980 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
981 program_prefix
=$ac_optarg ;;
983 -program-suffix | --program-suffix | --program-suffi | --program-suff \
984 | --program-suf | --program-su | --program-s)
985 ac_prev
=program_suffix
;;
986 -program-suffix=* | --program-suffix=* | --program-suffi=* \
987 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
988 program_suffix
=$ac_optarg ;;
990 -program-transform-name | --program-transform-name \
991 | --program-transform-nam | --program-transform-na \
992 | --program-transform-n | --program-transform- \
993 | --program-transform | --program-transfor \
994 | --program-transfo | --program-transf \
995 | --program-trans | --program-tran \
996 | --progr-tra | --program-tr | --program-t)
997 ac_prev
=program_transform_name
;;
998 -program-transform-name=* | --program-transform-name=* \
999 | --program-transform-nam=* | --program-transform-na=* \
1000 | --program-transform-n=* | --program-transform-=* \
1001 | --program-transform=* | --program-transfor=* \
1002 | --program-transfo=* | --program-transf=* \
1003 | --program-trans=* | --program-tran=* \
1004 | --progr-tra=* | --program-tr=* | --program-t=*)
1005 program_transform_name
=$ac_optarg ;;
1007 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1009 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1010 pdfdir
=$ac_optarg ;;
1012 -psdir | --psdir | --psdi | --psd | --ps)
1014 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1018 | -silent | --silent | --silen | --sile | --sil)
1021 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1023 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1025 sbindir
=$ac_optarg ;;
1027 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1028 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1029 | --sharedst | --shareds | --shared | --share | --shar \
1031 ac_prev
=sharedstatedir
;;
1032 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1033 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1034 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1036 sharedstatedir
=$ac_optarg ;;
1038 -site | --site | --sit)
1040 -site=* | --site=* | --sit=*)
1043 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1045 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1046 srcdir
=$ac_optarg ;;
1048 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1049 | --syscon | --sysco | --sysc | --sys | --sy)
1050 ac_prev
=sysconfdir
;;
1051 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1052 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1053 sysconfdir
=$ac_optarg ;;
1055 -target | --target | --targe | --targ | --tar | --ta | --t)
1056 ac_prev
=target_alias
;;
1057 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1058 target_alias
=$ac_optarg ;;
1060 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1063 -version | --version | --versio | --versi | --vers | -V)
1064 ac_init_version
=: ;;
1067 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1070 as_fn_error
"invalid package name: $ac_useropt"
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval with_
$ac_useropt=\
$ac_optarg ;;
1082 -without-* | --without-*)
1083 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error
"invalid package name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval with_
$ac_useropt=no
;;
1099 # Obsolete; use --with-x.
1102 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1103 | --x-incl | --x-inc | --x-in | --x-i)
1104 ac_prev
=x_includes
;;
1105 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1106 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1107 x_includes
=$ac_optarg ;;
1109 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1110 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1111 ac_prev
=x_libraries
;;
1112 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1113 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1114 x_libraries
=$ac_optarg ;;
1116 -*) as_fn_error
"unrecognized option: \`$ac_option'
1117 Try \`$0 --help' for more information."
1121 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1122 # Reject names that are not valid shell variable names.
1123 case $ac_envvar in #(
1124 '' | [0-9]* | *[!_$as_cr_alnum]* )
1125 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1127 eval $ac_envvar=\
$ac_optarg
1128 export $ac_envvar ;;
1131 # FIXME: should be removed in autoconf 3.0.
1132 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1133 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1134 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1135 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1141 if test -n "$ac_prev"; then
1142 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1143 as_fn_error
"missing argument to $ac_option"
1146 if test -n "$ac_unrecognized_opts"; then
1147 case $enable_option_checking in
1149 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1150 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1154 # Check all directory arguments for consistency.
1155 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1156 datadir sysconfdir sharedstatedir localstatedir includedir \
1157 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1158 libdir localedir mandir
1160 eval ac_val
=\$
$ac_var
1161 # Remove trailing slashes.
1164 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1165 eval $ac_var=\
$ac_val;;
1167 # Be sure to have absolute directory names.
1169 [\\/$
]* | ?
:[\\/]* ) continue;;
1170 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1172 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1175 # There might be people who depend on the old broken behavior: `$host'
1176 # used to hold the argument of --host etc.
1177 # FIXME: To remove some day.
1180 target
=$target_alias
1182 # FIXME: To remove some day.
1183 if test "x$host_alias" != x
; then
1184 if test "x$build_alias" = x
; then
1185 cross_compiling
=maybe
1186 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1187 If a cross compiler is detected then cross compile mode will be used." >&2
1188 elif test "x$build_alias" != "x$host_alias"; then
1194 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1196 test "$silent" = yes && exec 6>/dev
/null
1199 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1200 ac_ls_di
=`ls -di .` &&
1201 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1202 as_fn_error
"working directory cannot be determined"
1203 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1204 as_fn_error
"pwd does not report name of working directory"
1207 # Find the source files, if location was not specified.
1208 if test -z "$srcdir"; then
1209 ac_srcdir_defaulted
=yes
1210 # Try the directory containing this script, then the parent directory.
1211 ac_confdir
=`$as_dirname -- "$as_myself" ||
1212 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1213 X"$as_myself" : 'X\(//\)[^/]' \| \
1214 X"$as_myself" : 'X\(//\)$' \| \
1215 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1216 $as_echo X"$as_myself" |
1217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1239 ac_srcdir_defaulted
=no
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1242 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1243 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1245 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1247 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1249 # When building in place, set srcdir=.
1250 if test "$ac_abs_confdir" = "$ac_pwd"; then
1253 # Remove unnecessary trailing slashes from srcdir.
1254 # Double slashes in file names in object file debugging info
1255 # mess up M-x gdb in Emacs.
1257 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1259 for ac_var
in $ac_precious_vars; do
1260 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1261 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1262 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1263 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1267 # Report the --help message.
1269 if test "$ac_init_help" = "long"; then
1270 # Omit some internal or obsolete options to make the list less imposing.
1271 # This message is too long to be a string in the A/UX 3.1 sh.
1273 \`configure' configures this package to adapt to many kinds of systems.
1275 Usage: $0 [OPTION]... [VAR=VALUE]...
1277 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1278 VAR=VALUE. See below for descriptions of some of the useful variables.
1280 Defaults for the options are specified in brackets.
1283 -h, --help display this help and exit
1284 --help=short display options specific to this package
1285 --help=recursive display the short help of all the included packages
1286 -V, --version display version information and exit
1287 -q, --quiet, --silent do not print \`checking...' messages
1288 --cache-file=FILE cache test results in FILE [disabled]
1289 -C, --config-cache alias for \`--cache-file=config.cache'
1290 -n, --no-create do not create output files
1291 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1293 Installation directories:
1294 --prefix=PREFIX install architecture-independent files in PREFIX
1295 [$ac_default_prefix]
1296 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1299 By default, \`make install' will install all the files in
1300 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1301 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1302 for instance \`--prefix=\$HOME'.
1304 For better control, use the options below.
1306 Fine tuning of the installation directories:
1307 --bindir=DIR user executables [EPREFIX/bin]
1308 --sbindir=DIR system admin executables [EPREFIX/sbin]
1309 --libexecdir=DIR program executables [EPREFIX/libexec]
1310 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1311 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1312 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1313 --libdir=DIR object code libraries [EPREFIX/lib]
1314 --includedir=DIR C header files [PREFIX/include]
1315 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1316 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1317 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1318 --infodir=DIR info documentation [DATAROOTDIR/info]
1319 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1320 --mandir=DIR man documentation [DATAROOTDIR/man]
1321 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1322 --htmldir=DIR html documentation [DOCDIR]
1323 --dvidir=DIR dvi documentation [DOCDIR]
1324 --pdfdir=DIR pdf documentation [DOCDIR]
1325 --psdir=DIR ps documentation [DOCDIR]
1331 --build=BUILD configure
for building on BUILD
[guessed
]
1332 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1333 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1337 if test -n "$ac_init_help"; then
1342 --disable-option-checking ignore unrecognized
--enable/--with options
1343 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1344 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1345 --disable-nls do not use Native Language Support
1346 --disable-rpath do not hardcode runtime library paths
1349 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1350 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1351 --with-cpus The number of cpus to be used
for building
(see
--with-procs, default
1)
1352 --with-getconf Enable automagical buildtime configuration
1353 --with-proc-multiply Multiply this
* number of cpus
for parallel making
(default
2).
1354 --with-procs The number of processes to run
in parallel during
make(num_cpus
* multiplier
).
1355 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1356 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1357 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1358 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1359 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1361 Some influential environment variables
:
1362 CC C compiler
command
1363 CFLAGS C compiler flags
1364 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1365 nonstandard directory
<lib dir
>
1366 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1367 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1368 you have headers
in a nonstandard directory
<include dir
>
1369 CXX C
++ compiler
command
1370 CXXFLAGS C
++ compiler flags
1373 Use these variables to override the choices made by
`configure' or to help
1374 it to find libraries and programs with nonstandard names/locations.
1376 Report bugs to the package provider.
1381 if test "$ac_init_help" = "recursive"; then
1382 # If there are subdirs, report their specific --help.
1383 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1384 test -d "$ac_dir" ||
1385 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1390 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1393 # A ".." for each directory in $ac_dir_suffix.
1394 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1395 case $ac_top_builddir_sub in
1396 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1400 ac_abs_top_builddir=$ac_pwd
1401 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1402 # for backward compatibility:
1403 ac_top_builddir=$ac_top_build_prefix
1406 .) # We are building in place.
1408 ac_top_srcdir=$ac_top_builddir_sub
1409 ac_abs_top_srcdir=$ac_pwd ;;
1410 [\\/]* | ?:[\\/]* ) # Absolute name.
1411 ac_srcdir=$srcdir$ac_dir_suffix;
1412 ac_top_srcdir=$srcdir
1413 ac_abs_top_srcdir=$srcdir ;;
1415 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1416 ac_top_srcdir=$ac_top_build_prefix$srcdir
1417 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1419 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1421 cd "$ac_dir" || { ac_status=$?; continue; }
1422 # Check for guested configure.
1423 if test -f "$ac_srcdir/configure.gnu"; then
1425 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1426 elif test -f "$ac_srcdir/configure"; then
1428 $SHELL "$ac_srcdir/configure" --help=recursive
1430 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1432 cd "$ac_pwd" || { ac_status=$?; break; }
1436 test -n "$ac_init_help" && exit $ac_status
1437 if $ac_init_version; then
1440 generated by GNU Autoconf 2.65
1442 Copyright (C) 2009 Free Software Foundation, Inc.
1443 This configure script is free software; the Free Software Foundation
1444 gives unlimited permission to copy, distribute and modify it.
1449 ## ------------------------ ##
1450 ## Autoconf initialization. ##
1451 ## ------------------------ ##
1453 # ac_fn_c_try_compile LINENO
1454 # --------------------------
1455 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1456 ac_fn_c_try_compile ()
1458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1459 rm -f conftest.$ac_objext
1460 if { { ac_try="$ac_compile"
1462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1463 *) ac_try_echo
=$ac_try;;
1465 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1466 $as_echo "$ac_try_echo"; } >&5
1467 (eval "$ac_compile") 2>conftest.err
1469 if test -s conftest.err
; then
1470 grep -v '^ *+' conftest.err
>conftest.er1
1471 cat conftest.er1
>&5
1472 mv -f conftest.er1 conftest.err
1474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1475 test $ac_status = 0; } && {
1476 test -z "$ac_c_werror_flag" ||
1477 test ! -s conftest.err
1478 } && test -s conftest.
$ac_objext; then :
1481 $as_echo "$as_me: failed program was:" >&5
1482 sed 's/^/| /' conftest.
$ac_ext >&5
1486 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1487 as_fn_set_status
$ac_retval
1489 } # ac_fn_c_try_compile
1491 # ac_fn_c_try_link LINENO
1492 # -----------------------
1493 # Try to link conftest.$ac_ext, and return whether this succeeded.
1496 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1497 rm -f conftest.
$ac_objext conftest
$ac_exeext
1498 if { { ac_try
="$ac_link"
1500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_link") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest$ac_exeext && {
1517 test "$cross_compiling" = yes ||
1518 $as_test_x conftest$ac_exeext
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1527 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1528 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1529 # interfere with the next link command; also delete a directory that is
1530 # left behind by Apple's compiler. We do this before executing the actions.
1531 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1532 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1533 as_fn_set_status $ac_retval
1535 } # ac_fn_c_try_link
1537 # ac_fn_cxx_try_compile LINENO
1538 # ----------------------------
1539 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1540 ac_fn_cxx_try_compile ()
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 rm -f conftest.$ac_objext
1544 if { { ac_try="$ac_compile"
1546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1547 *) ac_try_echo
=$ac_try;;
1549 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_compile") 2>conftest.err
1553 if test -s conftest.err
; then
1554 grep -v '^ *+' conftest.err
>conftest.er1
1555 cat conftest.er1
>&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && {
1560 test -z "$ac_cxx_werror_flag" ||
1561 test ! -s conftest.err
1562 } && test -s conftest.
$ac_objext; then :
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.
$ac_ext >&5
1570 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1571 as_fn_set_status
$ac_retval
1573 } # ac_fn_cxx_try_compile
1575 # ac_fn_c_try_cpp LINENO
1576 # ----------------------
1577 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1580 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1581 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1590 if test -s conftest.err; then
1591 grep -v '^ *+' conftest.err >conftest.er1
1592 cat conftest.er1 >&5
1593 mv -f conftest.er1 conftest.err
1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } >/dev/null && {
1597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1598 test ! -s conftest.err
1602 $as_echo "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.$ac_ext >&5
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1608 as_fn_set_status $ac_retval
1612 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1613 # -------------------------------------------------------
1614 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1615 # the include files in INCLUDES and setting the cache variable VAR
1617 ac_fn_c_check_header_mongrel ()
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622 $as_echo_n "checking for $2... " >&6; }
1623 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1624 $as_echo_n "(cached) " >&6
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628 $as_echo "$ac_res" >&6; }
1630 # Is the header compilable?
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1632 $as_echo_n "checking $2 usability... " >&6; }
1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634 /* end confdefs.h. */
1638 if ac_fn_c_try_compile "$LINENO"; then :
1639 ac_header_compiler=yes
1641 ac_header_compiler=no
1643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1645 $as_echo "$ac_header_compiler" >&6; }
1647 # Is the header present?
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1649 $as_echo_n "checking $2 presence... " >&6; }
1650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651 /* end confdefs.h. */
1654 if ac_fn_c_try_cpp "$LINENO"; then :
1655 ac_header_preproc=yes
1657 ac_header_preproc=no
1659 rm -f conftest.err conftest.$ac_ext
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1661 $as_echo "$ac_header_preproc" >&6; }
1663 # So? What about this header?
1664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1667 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1669 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1673 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1675 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1677 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1679 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1681 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1687 $as_echo_n "(cached) " >&6
1689 eval "$3=\$ac_header_compiler"
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697 } # ac_fn_c_check_header_mongrel
1699 # ac_fn_c_try_run LINENO
1700 # ----------------------
1701 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1702 # that executables *can* be run.
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 if { { ac_try="$ac_link"
1708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1709 *) ac_try_echo
=$ac_try;;
1711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_link") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1717 { { case "(($ac_try" in
1718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_try") 2>&5
1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 test $ac_status = 0; }; }; then :
1729 $as_echo "$as_me: program exited with status $ac_status" >&5
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1733 ac_retval=$ac_status
1735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 as_fn_set_status $ac_retval
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 { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 } # ac_fn_c_check_header_compile
1772 # ac_fn_c_check_func LINENO FUNC VAR
1773 # ----------------------------------
1774 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1775 ac_fn_c_check_func ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1781 $as_echo_n "(cached) " >&6
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1785 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1787 #define $2 innocuous_$2
1789 /* System header to define __stub macros and hopefully few prototypes,
1790 which can conflict with char $2 (); below.
1791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1792 <limits.h> exists even on freestanding compilers. */
1795 # include <limits.h>
1797 # include <assert.h>
1802 /* Override any GCC internal prototype to avoid an error.
1803 Use char because int might match the return type of a GCC
1804 builtin and then its argument prototype would still apply. */
1809 /* The GNU C library defines this for functions which it implements
1810 to always fail with ENOSYS. Some functions are actually named
1811 something starting with __ and the normal name is an alias. */
1812 #if defined __stub_$2 || defined __stub___$2
1824 if ac_fn_c_try_link "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext \
1830 conftest$ac_exeext conftest.$ac_ext
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834 $as_echo "$ac_res" >&6; }
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1837 } # ac_fn_c_check_func
1839 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1840 # ----------------------------------------------------
1841 # Tries to find if the field MEMBER exists in type AGGR, after including
1842 # INCLUDES, setting cache variable VAR accordingly.
1843 ac_fn_c_check_member ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1847 $as_echo_n "checking for $2.$3... " >&6; }
1848 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1849 $as_echo_n "(cached) " >&6
1851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 /* end confdefs.h. */
1864 if ac_fn_c_try_compile "$LINENO"; then :
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1874 if (sizeof ac_aggr.$3)
1880 if ac_fn_c_try_compile "$LINENO"; then :
1885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894 } # ac_fn_c_check_member
1896 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1897 # --------------------------------------------
1898 # Tries to find the compile-time value of EXPR in a program that includes
1899 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1901 ac_fn_c_compute_int ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 if test "$cross_compiling" = yes; then
1905 # Depending upon the size, compute the lo and hi bounds.
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1912 static int test_array [1 - 2 * !(($2) >= 0)];
1919 if ac_fn_c_try_compile "$LINENO"; then :
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1928 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1935 if ac_fn_c_try_compile "$LINENO"; then :
1936 ac_hi=$ac_mid; break
1938 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1939 if test $ac_lo -le $ac_mid; then
1943 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949 /* end confdefs.h. */
1954 static int test_array [1 - 2 * !(($2) < 0)];
1961 if ac_fn_c_try_compile "$LINENO"; then :
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1970 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1977 if ac_fn_c_try_compile "$LINENO"; then :
1978 ac_lo=$ac_mid; break
1980 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1981 if test $ac_mid -le $ac_hi; then
1985 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1995 # Binary search between lo and hi bounds.
1996 while test "x$ac_lo" != "x$ac_hi"; do
1997 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1999 /* end confdefs.h. */
2004 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2011 if ac_fn_c_try_compile "$LINENO"; then :
2014 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2026 static long int longval () { return $2; }
2027 static unsigned long int ulongval () { return $2; }
2034 FILE *f = fopen ("conftest.val", "w");
2039 long int i = longval ();
2042 fprintf (f, "%ld", i);
2046 unsigned long int i = ulongval ();
2049 fprintf (f, "%lu", i);
2051 /* Do not output a trailing newline, as this causes \r\n confusion
2052 on some platforms. */
2053 return ferror (f) || fclose (f) != 0;
2059 if ac_fn_c_try_run "$LINENO"; then :
2060 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2065 conftest.$ac_objext conftest.beam conftest.$ac_ext
2069 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2070 as_fn_set_status $ac_retval
2072 } # ac_fn_c_compute_int
2073 cat >config.log <<_ACEOF
2074 This file contains any messages produced by compilers while
2075 running configure, to aid debugging if configure makes a mistake.
2077 It was created by $as_me, which was
2078 generated by GNU Autoconf 2.65. Invocation command line was
2090 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2091 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2092 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2093 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2094 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2096 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2097 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2099 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2100 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2101 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2102 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2103 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2104 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2105 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 $as_echo "PATH: $as_dir"
2130 # Keep a trace of the command line.
2131 # Strip out --no-create and --no-recursion so they do not pile up.
2132 # Strip out --silent because we don't want to record it for future runs.
2133 # Also quote any args containing shell meta-characters.
2134 # Make two passes to allow for proper duplicate-argument suppression.
2138 ac_must_keep_next=false
2144 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2146 | -silent | --silent | --silen | --sile | --sil)
2149 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2152 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2154 as_fn_append ac_configure_args1 " '$ac_arg'"
2155 if test $ac_must_keep_next = true; then
2156 ac_must_keep_next=false # Got value, back to normal.
2159 *=* | --config-cache | -C | -disable-* | --disable-* \
2160 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2161 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2162 | -with-* | --with-* | -without-* | --without-* | --x)
2163 case "$ac_configure_args0 " in
2164 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2167 -* ) ac_must_keep_next=true ;;
2170 as_fn_append ac_configure_args " '$ac_arg'"
2175 { ac_configure_args0=; unset ac_configure_args0;}
2176 { ac_configure_args1=; unset ac_configure_args1;}
2178 # When interrupted or exit'd, cleanup temporary files, and complete
2179 # config.log. We remove comments because anyway the quotes in there
2180 # would cause problems or look ugly.
2181 # WARNING: Use '\'' to represent an apostrophe within the trap.
2182 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2183 trap 'exit_status=$?
2184 # Save into config.log some information that might help in debugging.
2189 ## ---------------- ##
2190 ## Cache variables. ##
2191 ## ---------------- ##
2194 # The following way of writing the cache mishandles newlines in values,
2196 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2197 eval ac_val=\$$ac_var
2201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2205 _ | IFS | as_nl) ;; #(
2206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207 *) { eval $ac_var=; unset $ac_var;} ;;
2212 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2213 *${as_nl}ac_space=\ *)
2215 "s/'\''/'\''\\\\'\'''\''/g;
2216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2227 ## ----------------- ##
2228 ## Output variables. ##
2229 ## ----------------- ##
2232 for ac_var in $ac_subst_vars
2234 eval ac_val=\$$ac_var
2236 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238 $as_echo "$ac_var='\''$ac_val'\''"
2242 if test -n "$ac_subst_files"; then
2244 ## ------------------- ##
2245 ## File substitutions. ##
2246 ## ------------------- ##
2249 for ac_var in $ac_subst_files
2251 eval ac_val=\$$ac_var
2253 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255 $as_echo "$ac_var='\''$ac_val'\''"
2260 if test -s confdefs.h; then
2270 test "$ac_signal" != 0 &&
2271 $as_echo "$as_me: caught signal $ac_signal"
2272 $as_echo "$as_me: exit $exit_status"
2274 rm -f core *.core core.conftest.* &&
2275 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2278 for ac_signal in 1 2 13 15; do
2279 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2283 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2284 rm -f -r conftest* confdefs.h
2286 $as_echo "/* confdefs.h */" > confdefs.h
2288 # Predefined preprocessor variables.
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_NAME "$PACKAGE_NAME"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_STRING "$PACKAGE_STRING"
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_URL "$PACKAGE_URL"
2315 # Let the site file select an alternate cache file if it wants to.
2316 # Prefer an explicitly selected file to automatically selected ones.
2319 if test -n "$CONFIG_SITE"; then
2320 ac_site_file1=$CONFIG_SITE
2321 elif test "x$prefix" != xNONE; then
2322 ac_site_file1=$prefix/share/config.site
2323 ac_site_file2=$prefix/etc/config.site
2325 ac_site_file1=$ac_default_prefix/share/config.site
2326 ac_site_file2=$ac_default_prefix/etc/config.site
2328 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2330 test "x$ac_site_file" = xNONE && continue
2331 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2333 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2334 sed 's/^/| /' "$ac_site_file" >&5
2339 if test -r "$cache_file"; then
2340 # Some versions of bash will fail to source /dev/null (special files
2341 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2342 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2344 $as_echo "$as_me: loading cache $cache_file" >&6;}
2346 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2347 *) . "./$cache_file";;
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2352 $as_echo "$as_me: creating cache $cache_file" >&6;}
2356 gt_needs="$gt_needs "
2357 # Check that the precious variables saved in the cache have kept the same
2359 ac_cache_corrupted=false
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2362 eval ac_new_set=\$ac_env_${ac_var}_set
2363 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2364 eval ac_new_val=\$ac_env_${ac_var}_value
2365 case $ac_old_set,$ac_new_set in
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2368 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2369 ac_cache_corrupted=: ;;
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2372 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2373 ac_cache_corrupted=: ;;
2376 if test "x$ac_old_val" != "x$ac_new_val"; then
2377 # differences in whitespace do not lead to failure.
2378 ac_old_val_w=`echo x
$ac_old_val`
2379 ac_new_val_w=`echo x
$ac_new_val`
2380 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2382 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2383 ac_cache_corrupted=:
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2386 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2387 eval $ac_var=\$ac_old_val
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2390 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2392 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2395 # Pass precious variables to config.status.
2396 if test "$ac_new_set" = set; then
2398 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2399 *) ac_arg=$ac_var=$ac_new_val ;;
2401 case " $ac_configure_args " in
2402 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2403 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2407 if $ac_cache_corrupted; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2411 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2414 ## -------------------- ##
2415 ## Main body of script. ##
2416 ## -------------------- ##
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2426 for ac_dir in buildlib "$srcdir"/buildlib; do
2427 for ac_t in install-sh install.sh shtool; do
2428 if test -f "$ac_dir/$ac_t"; then
2430 ac_install_sh="$ac_aux_dir/$ac_t -c"
2435 if test -z "$ac_aux_dir"; then
2436 as_fn_error "cannot find install-sh, install.sh, or shtool in buildlib \"$srcdir\"/buildlib" "$LINENO" 5
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2448 ac_config_headers="$ac_config_headers include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in"
2451 cat >>confdefs.h <<_ACEOF
2452 #define VERSION "0.7.25.3"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE "$PACKAGE"
2462 # Make sure we can run config.sub.
2463 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2464 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2467 $as_echo_n "checking build system type... " >&6; }
2468 if test "${ac_cv_build+set}" = set; then :
2469 $as_echo_n "(cached) " >&6
2471 ac_build_alias=$build_alias
2472 test "x$ac_build_alias" = x &&
2473 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2474 test "x$ac_build_alias" = x &&
2475 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2476 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2477 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2481 $as_echo "$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2484 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2487 ac_save_IFS=$IFS; IFS='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2501 $as_echo_n "checking host system type... " >&6; }
2502 if test "${ac_cv_host+set}" = set; then :
2503 $as_echo_n "(cached) " >&6
2505 if test "x$host_alias" = x; then
2506 ac_cv_host=$ac_cv_build
2508 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2514 $as_echo "$ac_cv_host" >&6; }
2517 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2520 ac_save_IFS=$IFS; IFS='-'
2526 # Remember, the first character of IFS is used to create $*,
2527 # except with old shells:
2530 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2534 $as_echo_n "checking target system type... " >&6; }
2535 if test "${ac_cv_target+set}" = set; then :
2536 $as_echo_n "(cached) " >&6
2538 if test "x$target_alias" = x; then
2539 ac_cv_target=$ac_cv_host
2541 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2542 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2547 $as_echo "$ac_cv_target" >&6; }
2548 case $ac_cv_target in
2550 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2552 target=$ac_cv_target
2553 ac_save_IFS=$IFS; IFS='-'
2559 # Remember, the first character of IFS is used to create $*,
2560 # except with old shells:
2563 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2566 # The aliases save the names the user supplied, while $host etc.
2567 # will get canonicalized.
2568 test -n "$target_alias" &&
2569 test "$program_prefix$program_suffix$program_transform_name" = \
2571 program_prefix=${target_alias}-
2576 ac_cpp='$CPP $CPPFLAGS'
2577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2580 if test -n "$ac_tool_prefix"; then
2581 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2582 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2584 $as_echo_n "checking for $ac_word... " >&6; }
2585 if test "${ac_cv_prog_CC+set}" = set; then :
2586 $as_echo_n "(cached) " >&6
2588 if test -n "$CC"; then
2589 ac_cv_prog_CC="$CC" # Let the user override the test.
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 if test -n "$CC"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2611 $as_echo "$CC" >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2619 if test -z "$ac_cv_prog_CC"; then
2621 # Extract the first word of "gcc", so it can be a program name with args.
2622 set dummy gcc; ac_word=$2
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$ac_ct_CC"; then
2629 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir=.
2636 for ac_exec_ext in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_ac_ct_CC="gcc"
2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2649 if test -n "$ac_ct_CC"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2651 $as_echo "$ac_ct_CC" >&6; }
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2657 if test "x$ac_ct_CC" = x; then
2660 case $cross_compiling:$ac_tool_warned in
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2664 ac_tool_warned=yes ;;
2672 if test -z "$CC"; then
2673 if test -n "$ac_tool_prefix"; then
2674 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2675 set dummy ${ac_tool_prefix}cc; ac_word=$2
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if test "${ac_cv_prog_CC+set}" = set; then :
2679 $as_echo_n "(cached) " >&6
2681 if test -n "$CC"; then
2682 ac_cv_prog_CC="$CC" # Let the user override the test.
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir=.
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 ac_cv_prog_CC="${ac_tool_prefix}cc"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test -n "$CC"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2704 $as_echo "$CC" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2713 if test -z "$CC"; then
2714 # Extract the first word of "cc", so it can be a program name with args.
2715 set dummy cc; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_prog_CC+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$CC"; then
2722 ac_cv_prog_CC="$CC" # Let the user override the test.
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir=.
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2732 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2733 ac_prog_rejected=yes
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test $ac_prog_rejected = yes; then
2745 # We found a bogon in the path, so make sure we never use it.
2746 set dummy $ac_cv_prog_CC
2748 if test $# != 0; then
2749 # We chose a different compiler from the bogus one.
2750 # However, it has the same basename, so the bogon will be chosen
2751 # first if we set CC to just the basename; use the full file name.
2753 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2759 if test -n "$CC"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2761 $as_echo "$CC" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2769 if test -z "$CC"; then
2770 if test -n "$ac_tool_prefix"; then
2771 for ac_prog in cl.exe
2773 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2774 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if test "${ac_cv_prog_CC+set}" = set; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC="$CC" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803 $as_echo "$CC" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2810 test -n "$CC" && break
2813 if test -z "$CC"; then
2815 for ac_prog in cl.exe
2817 # Extract the first word of "$ac_prog", so it can be a program name with args.
2818 set dummy $ac_prog; ac_word=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$ac_ct_CC"; then
2825 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir=.
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834 ac_cv_prog_ac_ct_CC="$ac_prog"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2845 if test -n "$ac_ct_CC"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2847 $as_echo "$ac_ct_CC" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2854 test -n "$ac_ct_CC" && break
2857 if test "x$ac_ct_CC" = x; then
2860 case $cross_compiling:$ac_tool_warned in
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2864 ac_tool_warned=yes ;;
2873 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2875 as_fn_error "no acceptable C compiler found
in \
$PATH
2876 See \
`config.log' for more details." "$LINENO" 5; }
2878 # Provide some information about the compiler.
2879 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2882 for ac_option in --version -v -V -qversion; do
2883 { { ac_try="$ac_compiler $ac_option >&5"
2885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2886 *) ac_try_echo
=$ac_try;;
2888 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 $as_echo "$ac_try_echo"; } >&5
2890 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2892 if test -s conftest.err
; then
2894 ... rest of stderr output deleted ...
2895 10q' conftest.err
>conftest.er1
2896 cat conftest.er1
>&5
2898 rm -f conftest.er1 conftest.err
2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; }
2903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2914 ac_clean_files_save
=$ac_clean_files
2915 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2916 # Try to create an executable without -o first, disregard a.out.
2917 # It will help us diagnose broken compilers, and finding out an intuition
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2920 $as_echo_n "checking whether the C compiler works... " >&6; }
2921 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2923 # The possible output files:
2924 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2927 for ac_file
in $ac_files
2930 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
2931 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2936 if { { ac_try
="$ac_link_default"
2938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2942 $as_echo "$ac_try_echo"; } >&5
2943 (eval "$ac_link_default") 2>&5
2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2946 test $ac_status = 0; }; then :
2947 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2948 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2949 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2950 # so that the user can short-circuit this test for compilers unknown to
2952 for ac_file in $ac_files ''
2954 test -f "$ac_file" || continue
2956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2959 # We found the default executable, but exeext='' is most
2963 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2965 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2967 # We set ac_cv_exeext here because the later test for it is not
2968 # safe: cross compilers may not add the suffix if given an `-o'
2969 # argument, so we may need to know it at that point already.
2970 # Even if this section looks crufty: it has the advantage of
2977 test "$ac_cv_exeext" = no && ac_cv_exeext=
2982 if test -z "$ac_file"; then :
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's
/^
/| /' conftest.$ac_ext >&5
2988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2990 { as_fn_set_status 77
2991 as_fn_error "C compiler cannot create executables
2992 See \`config.log
' for more details." "$LINENO" 5; }; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2995 $as_echo "yes" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2998 $as_echo_n "checking for C compiler default output file name... " >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3000 $as_echo "$ac_file" >&6; }
3001 ac_exeext=$ac_cv_exeext
3003 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3004 ac_clean_files=$ac_clean_files_save
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3006 $as_echo_n "checking for suffix of executables... " >&6; }
3007 if { { ac_try="$ac_link"
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3013 $as_echo "$ac_try_echo"; } >&5
3014 (eval "$ac_link") 2>&5
3016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3017 test $ac_status = 0; }; then :
3018 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3019 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3020 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3022 for ac_file
in conftest.exe conftest conftest.
*; do
3023 test -f "$ac_file" || continue
3025 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3026 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3034 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3035 See \`config.log' for more details." "$LINENO" 5; }
3037 rm -f conftest conftest
$ac_cv_exeext
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3039 $as_echo "$ac_cv_exeext" >&6; }
3041 rm -f conftest.
$ac_ext
3042 EXEEXT
=$ac_cv_exeext
3044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3050 FILE *f = fopen ("conftest.out", "w");
3051 return ferror (f) || fclose (f) != 0;
3057 ac_clean_files
="$ac_clean_files conftest.out"
3058 # Check that the compiler produces executables we can run. If not, either
3059 # the compiler is broken, or we cross compile.
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3061 $as_echo_n "checking whether we are cross compiling... " >&6; }
3062 if test "$cross_compiling" != yes; then
3063 { { ac_try
="$ac_link"
3065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069 $as_echo "$ac_try_echo"; } >&5
3070 (eval "$ac_link") 2>&5
3072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3073 test $ac_status = 0; }
3074 if { ac_try='./conftest$ac_cv_exeext'
3075 { { case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3077 *) ac_try_echo
=$ac_try;;
3079 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3080 $as_echo "$ac_try_echo"; } >&5
3081 (eval "$ac_try") 2>&5
3083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084 test $ac_status = 0; }; }; then
3087 if test "$cross_compiling" = maybe
; then
3090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 as_fn_error
"cannot run C compiled programs.
3093 If you meant to cross compile, use \`--host'.
3094 See \`config.log' for more details." "$LINENO" 5; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3099 $as_echo "$cross_compiling" >&6; }
3101 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3102 ac_clean_files
=$ac_clean_files_save
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3104 $as_echo_n "checking for suffix of object files... " >&6; }
3105 if test "${ac_cv_objext+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3119 rm -f conftest.o conftest.obj
3120 if { { ac_try
="$ac_compile"
3122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3123 *) ac_try_echo=$ac_try;;
3125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 $as_echo "$ac_try_echo"; } >&5
3127 (eval "$ac_compile") 2>&5
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; }; then :
3131 for ac_file in conftest.o conftest.obj conftest.*; do
3132 test -f "$ac_file" || continue;
3134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3135 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3140 $as_echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error "cannot compute suffix of object files
: cannot compile
3146 See \
`config.log' for more details." "$LINENO" 5; }
3148 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3151 $as_echo "$ac_cv_objext" >&6; }
3152 OBJEXT=$ac_cv_objext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3155 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3156 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3157 $as_echo_n "(cached) " >&6
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3173 if ac_fn_c_try_compile "$LINENO"; then :
3178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3183 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3184 if test $ac_compiler_gnu = yes; then
3189 ac_test_CFLAGS=${CFLAGS+set}
3190 ac_save_CFLAGS=$CFLAGS
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3192 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3193 if test "${ac_cv_prog_cc_g+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3196 ac_save_c_werror_flag=$ac_c_werror_flag
3197 ac_c_werror_flag=yes
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3211 if ac_fn_c_try_compile "$LINENO"; then :
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 if ac_fn_c_try_compile "$LINENO"; then :
3229 ac_c_werror_flag=$ac_save_c_werror_flag
3231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h. */
3242 if ac_fn_c_try_compile "$LINENO"; then :
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3250 ac_c_werror_flag=$ac_save_c_werror_flag
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3253 $as_echo "$ac_cv_prog_cc_g" >&6; }
3254 if test "$ac_test_CFLAGS" = set; then
3255 CFLAGS=$ac_save_CFLAGS
3256 elif test $ac_cv_prog_cc_g = yes; then
3257 if test "$GCC" = yes; then
3263 if test "$GCC" = yes; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3270 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3271 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3272 $as_echo_n "(cached) " >&6
3274 ac_cv_prog_cc_c89=no
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3280 #include <sys/types.h>
3281 #include <sys/stat.h>
3282 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3283 struct buf { int x; };
3284 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3285 static char *e (p, i)
3291 static char *f (char * (*g) (char **, int), char **p, ...)
3296 s = g (p, va_arg (v,int));
3301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3302 function prototypes and stuff, but not '\xHH' hex character constants.
3303 These don't provoke an error unfortunately, instead are silently treated
3304 as 'x'. The following induces an error, until -std is added to get
3305 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3306 array size at least. It's necessary to write '\x00'==0 to get something
3307 that's true only with -std. */
3308 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3311 inside strings and character constants. */
3313 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3315 int test (int i, double x);
3316 struct s1 {int (*f) (int a);};
3317 struct s2 {int (*f) (double a);};
3318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3324 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3329 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3330 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3332 CC="$ac_save_CC $ac_arg"
3333 if ac_fn_c_try_compile "$LINENO"; then :
3334 ac_cv_prog_cc_c89=$ac_arg
3336 rm -f core conftest.err conftest.$ac_objext
3337 test "x$ac_cv_prog_cc_c89" != "xno" && break
3339 rm -f conftest.$ac_ext
3344 case "x$ac_cv_prog_cc_c89" in
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3347 $as_echo "none needed" >&6; } ;;
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3350 $as_echo "unsupported" >&6; } ;;
3352 CC="$CC $ac_cv_prog_cc_c89"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3354 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3356 if test "x$ac_cv_prog_cc_c89" != xno; then :
3361 ac_cpp='$CPP $CPPFLAGS'
3362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3368 $as_echo_n "checking for library containing strerror... " >&6; }
3369 if test "${ac_cv_search_strerror+set}" = set; then :
3370 $as_echo_n "(cached) " >&6
3372 ac_func_search_save_LIBS=$LIBS
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3376 /* Override any GCC internal prototype to avoid an error.
3377 Use char because int might match the return type of a GCC
3378 builtin and then its argument prototype would still apply. */
3391 for ac_lib in '' cposix; do
3392 if test -z "$ac_lib"; then
3393 ac_res="none required"
3396 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3398 if ac_fn_c_try_link "$LINENO"; then :
3399 ac_cv_search_strerror=$ac_res
3401 rm -f core conftest.err conftest.$ac_objext \
3403 if test "${ac_cv_search_strerror+set}" = set; then :
3407 if test "${ac_cv_search_strerror+set}" = set; then :
3410 ac_cv_search_strerror=no
3413 LIBS=$ac_func_search_save_LIBS
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3416 $as_echo "$ac_cv_search_strerror" >&6; }
3417 ac_res=$ac_cv_search_strerror
3418 if test "$ac_res" != no; then :
3419 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3425 ac_cpp='$CXXCPP $CPPFLAGS'
3426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3429 if test -z "$CXX"; then
3430 if test -n "$CCC"; then
3433 if test -n "$ac_tool_prefix"; then
3434 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3436 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3437 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if test "${ac_cv_prog_CXX+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3443 if test -n "$CXX"; then
3444 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir=.
3451 for ac_exec_ext in '' $ac_executable_extensions; do
3452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 if test -n "$CXX"; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3466 $as_echo "$CXX" >&6; }
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3473 test -n "$CXX" && break
3476 if test -z "$CXX"; then
3478 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3480 # Extract the first word of "$ac_prog", so it can be a program name with args.
3481 set dummy $ac_prog; ac_word=$2
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3483 $as_echo_n "checking for $ac_word... " >&6; }
3484 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3485 $as_echo_n "(cached) " >&6
3487 if test -n "$ac_ct_CXX"; then
3488 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 test -z "$as_dir" && as_dir=.
3495 for ac_exec_ext in '' $ac_executable_extensions; do
3496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3497 ac_cv_prog_ac_ct_CXX="$ac_prog"
3498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3508 if test -n "$ac_ct_CXX"; then
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3510 $as_echo "$ac_ct_CXX" >&6; }
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3513 $as_echo "no" >&6; }
3517 test -n "$ac_ct_CXX" && break
3520 if test "x$ac_ct_CXX" = x; then
3523 case $cross_compiling:$ac_tool_warned in
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3527 ac_tool_warned=yes ;;
3535 # Provide some information about the compiler.
3536 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3539 for ac_option in --version -v -V -qversion; do
3540 { { ac_try="$ac_compiler $ac_option >&5"
3542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3543 *) ac_try_echo
=$ac_try;;
3545 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3546 $as_echo "$ac_try_echo"; } >&5
3547 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3549 if test -s conftest.err
; then
3551 ... rest of stderr output deleted ...
3552 10q' conftest.err
>conftest.er1
3553 cat conftest.er1
>&5
3555 rm -f conftest.er1 conftest.err
3556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557 test $ac_status = 0; }
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3561 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3562 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3579 if ac_fn_cxx_try_compile
"$LINENO"; then :
3584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3585 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3589 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3590 if test $ac_compiler_gnu = yes; then
3595 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3596 ac_save_CXXFLAGS
=$CXXFLAGS
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3598 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3599 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3600 $as_echo_n "(cached) " >&6
3602 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3603 ac_cxx_werror_flag
=yes
3606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3617 if ac_fn_cxx_try_compile
"$LINENO"; then :
3618 ac_cv_prog_cxx_g
=yes
3621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3632 if ac_fn_cxx_try_compile
"$LINENO"; then :
3635 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3648 if ac_fn_cxx_try_compile
"$LINENO"; then :
3649 ac_cv_prog_cxx_g
=yes
3651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3656 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3659 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3660 if test "$ac_test_CXXFLAGS" = set; then
3661 CXXFLAGS
=$ac_save_CXXFLAGS
3662 elif test $ac_cv_prog_cxx_g = yes; then
3663 if test "$GXX" = yes; then
3669 if test "$GXX" = yes; then
3676 ac_cpp
='$CPP $CPPFLAGS'
3677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3682 ac_cpp
='$CPP $CPPFLAGS'
3683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3687 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3688 # On Suns, sometimes $CPP names a directory.
3689 if test -n "$CPP" && test -d "$CPP"; then
3692 if test -z "$CPP"; then
3693 if test "${ac_cv_prog_CPP+set}" = set; then :
3694 $as_echo_n "(cached) " >&6
3696 # Double quotes because CPP needs to be expanded
3697 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3700 for ac_c_preproc_warn_flag
in '' yes
3702 # Use a header file that comes with gcc, so configuring glibc
3703 # with a fresh cross-compiler works.
3704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3705 # <limits.h> exists even on freestanding compilers.
3706 # On the NeXT, cc -E runs the code through the compiler's parser,
3707 # not just through cpp. "Syntax error" is here to catch this case.
3708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3711 # include <limits.h>
3713 # include <assert.h>
3717 if ac_fn_c_try_cpp
"$LINENO"; then :
3720 # Broken: fails on valid input.
3723 rm -f conftest.err conftest.
$ac_ext
3725 # OK, works on sane cases. Now check whether nonexistent headers
3726 # can be detected and how.
3727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3729 #include <ac_nonexistent.h>
3731 if ac_fn_c_try_cpp
"$LINENO"; then :
3732 # Broken: success on invalid input.
3735 # Passes both tests.
3739 rm -f conftest.err conftest.
$ac_ext
3742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3743 rm -f conftest.err conftest.
$ac_ext
3744 if $ac_preproc_ok; then :
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3757 $as_echo "$CPP" >&6; }
3759 for ac_c_preproc_warn_flag
in '' yes
3761 # Use a header file that comes with gcc, so configuring glibc
3762 # with a fresh cross-compiler works.
3763 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3764 # <limits.h> exists even on freestanding compilers.
3765 # On the NeXT, cc -E runs the code through the compiler's parser,
3766 # not just through cpp. "Syntax error" is here to catch this case.
3767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3770 # include <limits.h>
3772 # include <assert.h>
3776 if ac_fn_c_try_cpp
"$LINENO"; then :
3779 # Broken: fails on valid input.
3782 rm -f conftest.err conftest.
$ac_ext
3784 # OK, works on sane cases. Now check whether nonexistent headers
3785 # can be detected and how.
3786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3788 #include <ac_nonexistent.h>
3790 if ac_fn_c_try_cpp
"$LINENO"; then :
3791 # Broken: success on invalid input.
3794 # Passes both tests.
3798 rm -f conftest.err conftest.
$ac_ext
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.err conftest.
$ac_ext
3803 if $ac_preproc_ok; then :
3806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3808 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3809 See \`config.log' for more details." "$LINENO" 5; }
3813 ac_cpp
='$CPP $CPPFLAGS'
3814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3818 if test -n "$ac_tool_prefix"; then
3819 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3820 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3824 $as_echo_n "(cached) " >&6
3826 if test -n "$RANLIB"; then
3827 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir
=.
3834 for ac_exec_ext
in '' $ac_executable_extensions; do
3835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3836 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 RANLIB
=$ac_cv_prog_RANLIB
3847 if test -n "$RANLIB"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3849 $as_echo "$RANLIB" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3857 if test -z "$ac_cv_prog_RANLIB"; then
3858 ac_ct_RANLIB
=$RANLIB
3859 # Extract the first word of "ranlib", so it can be a program name with args.
3860 set dummy ranlib
; ac_word
=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3864 $as_echo_n "(cached) " >&6
3866 if test -n "$ac_ct_RANLIB"; then
3867 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir
=.
3874 for ac_exec_ext
in '' $ac_executable_extensions; do
3875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3876 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3887 if test -n "$ac_ct_RANLIB"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3889 $as_echo "$ac_ct_RANLIB" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3895 if test "x$ac_ct_RANLIB" = x
; then
3898 case $cross_compiling:$ac_tool_warned in
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3902 ac_tool_warned
=yes ;;
3904 RANLIB
=$ac_ct_RANLIB
3907 RANLIB
="$ac_cv_prog_RANLIB"
3910 if test -n "$ac_tool_prefix"; then
3911 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3912 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if test "${ac_cv_prog_AR+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 if test -n "$AR"; then
3919 ac_cv_prog_AR
="$AR" # Let the user override the test.
3921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3925 test -z "$as_dir" && as_dir
=.
3926 for ac_exec_ext
in '' $ac_executable_extensions; do
3927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3928 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 if test -n "$AR"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3941 $as_echo "$AR" >&6; }
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3949 if test -z "$ac_cv_prog_AR"; then
3951 # Extract the first word of "ar", so it can be a program name with args.
3952 set dummy
ar; ac_word
=$2
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954 $as_echo_n "checking for $ac_word... " >&6; }
3955 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
3956 $as_echo_n "(cached) " >&6
3958 if test -n "$ac_ct_AR"; then
3959 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3965 test -z "$as_dir" && as_dir
=.
3966 for ac_exec_ext
in '' $ac_executable_extensions; do
3967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3968 ac_cv_prog_ac_ct_AR
="ar"
3969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3979 if test -n "$ac_ct_AR"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3981 $as_echo "$ac_ct_AR" >&6; }
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3987 if test "x$ac_ct_AR" = x
; then
3990 case $cross_compiling:$ac_tool_warned in
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3994 ac_tool_warned
=yes ;;
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
4006 $as_echo_n "checking for library containing gethostbyname... " >&6; }
4007 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4008 $as_echo_n "(cached) " >&6
4010 ac_func_search_save_LIBS
=$LIBS
4011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4014 /* Override any GCC internal prototype to avoid an error.
4015 Use char because int might match the return type of a GCC
4016 builtin and then its argument prototype would still apply. */
4020 char gethostbyname ();
4024 return gethostbyname ();
4029 for ac_lib
in '' nsl
; do
4030 if test -z "$ac_lib"; then
4031 ac_res
="none required"
4034 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4036 if ac_fn_c_try_link
"$LINENO"; then :
4037 ac_cv_search_gethostbyname
=$ac_res
4039 rm -f core conftest.err conftest.
$ac_objext \
4041 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4045 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4048 ac_cv_search_gethostbyname
=no
4051 LIBS
=$ac_func_search_save_LIBS
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
4054 $as_echo "$ac_cv_search_gethostbyname" >&6; }
4055 ac_res
=$ac_cv_search_gethostbyname
4056 if test "$ac_res" != no
; then :
4057 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
4062 $as_echo_n "checking for library containing connect... " >&6; }
4063 if test "${ac_cv_search_connect+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 ac_func_search_save_LIBS
=$LIBS
4067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4070 /* Override any GCC internal prototype to avoid an error.
4071 Use char because int might match the return type of a GCC
4072 builtin and then its argument prototype would still apply. */
4085 for ac_lib
in '' socket
; do
4086 if test -z "$ac_lib"; then
4087 ac_res
="none required"
4090 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4092 if ac_fn_c_try_link
"$LINENO"; then :
4093 ac_cv_search_connect
=$ac_res
4095 rm -f core conftest.err conftest.
$ac_objext \
4097 if test "${ac_cv_search_connect+set}" = set; then :
4101 if test "${ac_cv_search_connect+set}" = set; then :
4104 ac_cv_search_connect
=no
4107 LIBS
=$ac_func_search_save_LIBS
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
4110 $as_echo "$ac_cv_search_connect" >&6; }
4111 ac_res
=$ac_cv_search_connect
4112 if test "$ac_res" != no
; then :
4113 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4128 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4129 if test "${ac_cv_path_GREP+set}" = set; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -z "$GREP"; then
4133 ac_path_GREP_found
=false
4134 # Loop through the user's path and test for each of PROGNAME-LIST
4135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4136 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4139 test -z "$as_dir" && as_dir
=.
4140 for ac_prog
in grep ggrep
; do
4141 for ac_exec_ext
in '' $ac_executable_extensions; do
4142 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4143 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4144 # Check for GNU ac_path_GREP and select it if it is found.
4145 # Check for GNU $ac_path_GREP
4146 case `"$ac_path_GREP" --version 2>&1` in
4148 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4151 $as_echo_n 0123456789 >"conftest.in"
4154 cat "conftest.in" "conftest.in" >"conftest.tmp"
4155 mv "conftest.tmp" "conftest.in"
4156 cp "conftest.in" "conftest.nl"
4157 $as_echo 'GREP' >> "conftest.nl"
4158 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4159 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4160 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4161 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4162 # Best one so far, save it but keep looking for a better one
4163 ac_cv_path_GREP
="$ac_path_GREP"
4164 ac_path_GREP_max
=$ac_count
4166 # 10*(2^10) chars as input seems more than enough
4167 test $ac_count -gt 10 && break
4169 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4172 $ac_path_GREP_found && break 3
4177 if test -z "$ac_cv_path_GREP"; then
4178 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4181 ac_cv_path_GREP
=$GREP
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4186 $as_echo "$ac_cv_path_GREP" >&6; }
4187 GREP
="$ac_cv_path_GREP"
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4191 $as_echo_n "checking for egrep... " >&6; }
4192 if test "${ac_cv_path_EGREP+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4195 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4196 then ac_cv_path_EGREP
="$GREP -E"
4198 if test -z "$EGREP"; then
4199 ac_path_EGREP_found
=false
4200 # Loop through the user's path and test for each of PROGNAME-LIST
4201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4205 test -z "$as_dir" && as_dir
=.
4206 for ac_prog
in egrep; do
4207 for ac_exec_ext
in '' $ac_executable_extensions; do
4208 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4209 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4210 # Check for GNU ac_path_EGREP and select it if it is found.
4211 # Check for GNU $ac_path_EGREP
4212 case `"$ac_path_EGREP" --version 2>&1` in
4214 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4217 $as_echo_n 0123456789 >"conftest.in"
4220 cat "conftest.in" "conftest.in" >"conftest.tmp"
4221 mv "conftest.tmp" "conftest.in"
4222 cp "conftest.in" "conftest.nl"
4223 $as_echo 'EGREP' >> "conftest.nl"
4224 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4225 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4226 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4227 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4228 # Best one so far, save it but keep looking for a better one
4229 ac_cv_path_EGREP
="$ac_path_EGREP"
4230 ac_path_EGREP_max
=$ac_count
4232 # 10*(2^10) chars as input seems more than enough
4233 test $ac_count -gt 10 && break
4235 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4238 $ac_path_EGREP_found && break 3
4243 if test -z "$ac_cv_path_EGREP"; then
4244 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4247 ac_cv_path_EGREP
=$EGREP
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4253 $as_echo "$ac_cv_path_EGREP" >&6; }
4254 EGREP
="$ac_cv_path_EGREP"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4258 $as_echo_n "checking for ANSI C header files... " >&6; }
4259 if test "${ac_cv_header_stdc+set}" = set; then :
4260 $as_echo_n "(cached) " >&6
4262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4277 if ac_fn_c_try_compile
"$LINENO"; then :
4278 ac_cv_header_stdc
=yes
4280 ac_cv_header_stdc
=no
4282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4284 if test $ac_cv_header_stdc = yes; then
4285 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4292 $EGREP "memchr" >/dev
/null
2>&1; then :
4295 ac_cv_header_stdc
=no
4301 if test $ac_cv_header_stdc = yes; then
4302 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4309 $EGREP "free" >/dev
/null
2>&1; then :
4312 ac_cv_header_stdc
=no
4318 if test $ac_cv_header_stdc = yes; then
4319 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4320 if test "$cross_compiling" = yes; then :
4323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4327 #if ((' ' & 0x0FF) == 0x020)
4328 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4329 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4331 # define ISLOWER(c) \
4332 (('a' <= (c) && (c) <= 'i') \
4333 || ('j' <= (c) && (c) <= 'r') \
4334 || ('s' <= (c) && (c) <= 'z'))
4335 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4338 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4343 for (i = 0; i < 256; i++)
4344 if (XOR (islower (i), ISLOWER (i))
4345 || toupper (i) != TOUPPER (i))
4350 if ac_fn_c_try_run
"$LINENO"; then :
4353 ac_cv_header_stdc
=no
4355 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4356 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4362 $as_echo "$ac_cv_header_stdc" >&6; }
4363 if test $ac_cv_header_stdc = yes; then
4365 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4369 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4370 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4371 inttypes.h stdint.h unistd.h
4373 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4374 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4376 eval as_val
=\$
$as_ac_Header
4377 if test "x$as_val" = x
""yes; then :
4378 cat >>confdefs.h
<<_ACEOF
4379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4387 ac_fn_c_check_header_mongrel
"$LINENO" "db.h" "ac_cv_header_db_h" "$ac_includes_default"
4388 if test "x$ac_cv_header_db_h" = x
""yes; then :
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can link against BerkeleyDB" >&5
4390 $as_echo_n "checking if we can link against BerkeleyDB... " >&6; }
4391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4397 int r, s, t; db_version(&r, &s, &t);
4403 if ac_fn_c_try_link
"$LINENO"; then :
4404 $as_echo "#define HAVE_BDB 1" >>confdefs.h
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4408 $as_echo "yes" >&6; }
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4415 rm -f core conftest.err conftest.
$ac_objext \
4416 conftest
$ac_exeext conftest.
$ac_ext
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_easy_init in -lcurl" >&5
4425 $as_echo_n "checking for curl_easy_init in -lcurl... " >&6; }
4426 if test "${ac_cv_lib_curl_curl_easy_init+set}" = set; then :
4427 $as_echo_n "(cached) " >&6
4429 ac_check_lib_save_LIBS
=$LIBS
4431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4434 /* Override any GCC internal prototype to avoid an error.
4435 Use char because int might match the return type of a GCC
4436 builtin and then its argument prototype would still apply. */
4440 char curl_easy_init ();
4444 return curl_easy_init ();
4449 if ac_fn_c_try_link
"$LINENO"; then :
4450 ac_cv_lib_curl_curl_easy_init
=yes
4452 ac_cv_lib_curl_curl_easy_init
=no
4454 rm -f core conftest.err conftest.
$ac_objext \
4455 conftest
$ac_exeext conftest.
$ac_ext
4456 LIBS
=$ac_check_lib_save_LIBS
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_init" >&5
4459 $as_echo "$ac_cv_lib_curl_curl_easy_init" >&6; }
4460 if test "x$ac_cv_lib_curl_curl_easy_init" = x
""yes; then :
4461 ac_fn_c_check_header_mongrel
"$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
4462 if test "x$ac_cv_header_curl_curl_h" = x
""yes; then :
4470 as_fn_error
"failed: I need CURL due https support" "$LINENO" 5
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking debian architecture" >&5
4477 $as_echo_n "checking debian architecture... " >&6; }
4478 archset
="`dpkg-architecture -qDEB_HOST_ARCH`"
4479 if test "x$archset" = "x"; then
4480 as_fn_error
"failed: use --host= or output from dpkg-architecture" "$LINENO" 5
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archset" >&5
4483 $as_echo "$archset" >&6; }
4484 cat >>confdefs.h
<<_ACEOF
4485 #define COMMON_ARCH "$archset"
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 integer types" >&5
4490 $as_echo_n "checking for C99 integer types... " >&6; }
4491 if test "${apt_cv_c9x_ints+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4497 #include <inttypes.h>
4501 uint8_t Foo1;uint16_t Foo2;uint32_t Foo3;
4506 if ac_fn_c_try_compile
"$LINENO"; then :
4511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apt_cv_c9x_ints" >&5
4514 $as_echo "$apt_cv_c9x_ints" >&6; }
4516 ac_fn_c_check_func
"$LINENO" "statvfs" "ac_cv_func_statvfs"
4517 if test "x$ac_cv_func_statvfs" = x
""yes; then :
4523 if test x
"$HAVE_STATVFS" != x
"yes"; then
4524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526 #include <sys/vfs.h>
4529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4530 $EGREP "statfs" >/dev
/null
2>&1; then :
4531 $as_echo "#define HAVE_VFS_H 1" >>confdefs.h
4535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537 #include <sys/mount.h>
4540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4541 $EGREP "statfs" >/dev
/null
2>&1; then :
4542 $as_echo "#define HAVE_MOUNT_H 1" >>confdefs.h
4545 as_fn_error
"failed: Need statvfs" "$LINENO" 5
4555 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_type" "ac_cv_member_struct_statfs_f_type" "$ac_includes_default
4556 #include <sys/vfs.h>
4558 if test "x$ac_cv_member_struct_statfs_f_type" = x
""yes; then :
4560 cat >>confdefs.h
<<_ACEOF
4561 #define HAVE_STRUCT_STATFS_F_TYPE 1
4568 ac_fn_c_check_func
"$LINENO" "timegm" "ac_cv_func_timegm"
4569 if test "x$ac_cv_func_timegm" = x
""yes; then :
4570 $as_echo "#define HAVE_TIMEGM 1" >>confdefs.h
4577 archline
="`awk \" ! /^#|^\\\$/ {if (match(\\\"$archset\\\",\\\$1)) {print; exit}}\" $srcdir/buildlib/sizetable | cut -f 2- -d ' '`"
4578 if test "x$archline" != "x"; then
4581 if test "$1" = "little"; then
4582 ac_cv_c_bigendian
=no
4584 ac_cv_c_bigendian
=yes
4592 if test "$cross_compiling" = "yes" -a "x$archline" = "x"; then
4593 { as_fn_set_status architecture must be present
in sizetable
4594 as_fn_error
"When cross compiling" "$LINENO" 5; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4597 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4598 if test "${ac_cv_c_bigendian+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4601 ac_cv_c_bigendian
=unknown
4602 # See if we're dealing with a universal compiler.
4603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4605 #ifndef __APPLE_CC__
4606 not a universal capable compiler
4611 if ac_fn_c_try_compile
"$LINENO"; then :
4613 # Check for potential -arch flags. It is not universal unless
4614 # there are at least two -arch flags with different values.
4617 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4618 if test -n "$ac_prev"; then
4620 i?
86 | x86_64
| ppc
| ppc64
)
4621 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4624 ac_cv_c_bigendian
=universal
4630 elif test "x$ac_word" = "x-arch"; then
4635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4636 if test $ac_cv_c_bigendian = unknown
; then
4637 # See if sys/param.h defines the BYTE_ORDER macro.
4638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h. */
4640 #include <sys/types.h>
4641 #include <sys/param.h>
4646 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4647 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4656 if ac_fn_c_try_compile
"$LINENO"; then :
4657 # It does; now see whether it defined to BIG_ENDIAN or not.
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4660 #include <sys/types.h>
4661 #include <sys/param.h>
4666 #if BYTE_ORDER != BIG_ENDIAN
4674 if ac_fn_c_try_compile
"$LINENO"; then :
4675 ac_cv_c_bigendian
=yes
4677 ac_cv_c_bigendian
=no
4679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 if test $ac_cv_c_bigendian = unknown
; then
4684 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4692 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4700 if ac_fn_c_try_compile
"$LINENO"; then :
4701 # It does; now see whether it defined to _BIG_ENDIAN or not.
4702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4717 if ac_fn_c_try_compile
"$LINENO"; then :
4718 ac_cv_c_bigendian
=yes
4720 ac_cv_c_bigendian
=no
4722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4726 if test $ac_cv_c_bigendian = unknown
; then
4727 # Compile a test program.
4728 if test "$cross_compiling" = yes; then :
4729 # Try to guess by grepping values from an object file.
4730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 short int ascii_mm[] =
4733 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4734 short int ascii_ii[] =
4735 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4736 int use_ascii (int i) {
4737 return ascii_mm[i] + ascii_ii[i];
4739 short int ebcdic_ii[] =
4740 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4741 short int ebcdic_mm[] =
4742 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4743 int use_ebcdic (int i) {
4744 return ebcdic_mm[i] + ebcdic_ii[i];
4751 return use_ascii (foo) == use_ebcdic (foo);
4756 if ac_fn_c_try_compile
"$LINENO"; then :
4757 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
4758 ac_cv_c_bigendian
=yes
4760 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
4761 if test "$ac_cv_c_bigendian" = unknown
; then
4762 ac_cv_c_bigendian
=no
4764 # finding both strings is unlikely to happen, but who knows?
4765 ac_cv_c_bigendian
=unknown
4769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 $ac_includes_default
4778 /* Are we little or big endian? From Harbison&Steele. */
4782 char c[sizeof (long int)];
4785 return u.c[sizeof (long int) - 1] == 1;
4791 if ac_fn_c_try_run
"$LINENO"; then :
4792 ac_cv_c_bigendian
=no
4794 ac_cv_c_bigendian
=yes
4796 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4797 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4803 $as_echo "$ac_cv_c_bigendian" >&6; }
4804 case $ac_cv_c_bigendian in #(
4806 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4812 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4816 as_fn_error
"unknown endianness
4817 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4822 if test x
"$apt_cv_c9x_ints" = x
"no"; then
4823 # The cast to long int works around a bug in the HP C Compiler
4824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4826 # This bug is HP SR number 8606223364.
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
4828 $as_echo_n "checking size of char... " >&6; }
4829 if test "${ac_cv_sizeof_char+set}" = set; then :
4830 $as_echo_n "(cached) " >&6
4832 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
4835 if test "$ac_cv_type_char" = yes; then
4836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4838 { as_fn_set_status
77
4839 as_fn_error
"cannot compute sizeof (char)
4840 See \`config.log' for more details." "$LINENO" 5; }; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
4848 $as_echo "$ac_cv_sizeof_char" >&6; }
4852 cat >>confdefs.h
<<_ACEOF
4853 #define SIZEOF_CHAR $ac_cv_sizeof_char
4857 # The cast to long int works around a bug in the HP C Compiler
4858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4860 # This bug is HP SR number 8606223364.
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4862 $as_echo_n "checking size of int... " >&6; }
4863 if test "${ac_cv_sizeof_int+set}" = set; then :
4864 $as_echo_n "(cached) " >&6
4866 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4869 if test "$ac_cv_type_int" = yes; then
4870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4872 { as_fn_set_status
77
4873 as_fn_error
"cannot compute sizeof (int)
4874 See \`config.log' for more details." "$LINENO" 5; }; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4882 $as_echo "$ac_cv_sizeof_int" >&6; }
4886 cat >>confdefs.h
<<_ACEOF
4887 #define SIZEOF_INT $ac_cv_sizeof_int
4891 # The cast to long int works around a bug in the HP C Compiler
4892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4894 # This bug is HP SR number 8606223364.
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
4896 $as_echo_n "checking size of short... " >&6; }
4897 if test "${ac_cv_sizeof_short+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4900 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
4903 if test "$ac_cv_type_short" = yes; then
4904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4906 { as_fn_set_status
77
4907 as_fn_error
"cannot compute sizeof (short)
4908 See \`config.log' for more details." "$LINENO" 5; }; }
4910 ac_cv_sizeof_short
=0
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
4916 $as_echo "$ac_cv_sizeof_short" >&6; }
4920 cat >>confdefs.h
<<_ACEOF
4921 #define SIZEOF_SHORT $ac_cv_sizeof_short
4925 # The cast to long int works around a bug in the HP C Compiler
4926 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4927 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4928 # This bug is HP SR number 8606223364.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4930 $as_echo_n "checking size of long... " >&6; }
4931 if test "${ac_cv_sizeof_long+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4937 if test "$ac_cv_type_long" = yes; then
4938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4940 { as_fn_set_status
77
4941 as_fn_error
"cannot compute sizeof (long)
4942 See \`config.log' for more details." "$LINENO" 5; }; }
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4950 $as_echo "$ac_cv_sizeof_long" >&6; }
4954 cat >>confdefs.h
<<_ACEOF
4955 #define SIZEOF_LONG $ac_cv_sizeof_long
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for missing socklen_t" >&5
4965 $as_echo_n "checking for missing socklen_t... " >&6; }
4966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4968 #include <sys/socket.h>
4971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4972 $EGREP "socklen_t" >/dev
/null
2>&1; then :
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4977 $as_echo "#define NEED_SOCKLEN_T_DEFINE 1" >>confdefs.h
4979 NEED_SOCKLEN_T_DEFINE
=yes
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing." >&5
4981 $as_echo "missing." >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for h_errno" >&5
4988 $as_echo_n "checking for h_errno... " >&6; }
4989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4995 $EGREP "h_errno" >/dev
/null
2>&1; then :
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: normal" >&5
4997 $as_echo "normal" >&6; }
4999 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
5000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5006 $EGREP "h_errno" >/dev
/null
2>&1; then :
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: needs _XOPEN_SOURCE_EXTENDED" >&5
5008 $as_echo "needs _XOPEN_SOURCE_EXTENDED" >&6; }
5010 as_fn_error
"\"not found.\"" "$LINENO" 5
5019 # Extract the first word of "debiandoc2html", so it can be a program name with args.
5020 set dummy debiandoc2html
; ac_word
=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if test "${ac_cv_path_DEBIANDOC_HTML+set}" = set; then :
5024 $as_echo_n "(cached) " >&6
5026 case $DEBIANDOC_HTML in
5028 ac_cv_path_DEBIANDOC_HTML
="$DEBIANDOC_HTML" # Let the user override the test with a path.
5031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir
=.
5036 for ac_exec_ext
in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_path_DEBIANDOC_HTML
="$as_dir/$ac_word$ac_exec_ext"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 DEBIANDOC_HTML
=$ac_cv_path_DEBIANDOC_HTML
5050 if test -n "$DEBIANDOC_HTML"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBIANDOC_HTML" >&5
5052 $as_echo "$DEBIANDOC_HTML" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 # Extract the first word of "debiandoc2text", so it can be a program name with args.
5060 set dummy debiandoc2text
; ac_word
=$2
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 $as_echo_n "checking for $ac_word... " >&6; }
5063 if test "${ac_cv_path_DEBIANDOC_TEXT+set}" = set; then :
5064 $as_echo_n "(cached) " >&6
5066 case $DEBIANDOC_TEXT in
5068 ac_cv_path_DEBIANDOC_TEXT
="$DEBIANDOC_TEXT" # Let the user override the test with a path.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_path_DEBIANDOC_TEXT
="$as_dir/$ac_word$ac_exec_ext"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 DEBIANDOC_TEXT
=$ac_cv_path_DEBIANDOC_TEXT
5090 if test -n "$DEBIANDOC_TEXT"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBIANDOC_TEXT" >&5
5092 $as_echo "$DEBIANDOC_TEXT" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5100 # Extract the first word of "doxygen", so it can be a program name with args.
5101 set dummy doxygen
; ac_word
=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if test "${ac_cv_path_DOXYGEN+set}" = set; then :
5105 $as_echo_n "(cached) " >&6
5109 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
5112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir
=.
5117 for ac_exec_ext
in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 DOXYGEN
=$ac_cv_path_DOXYGEN
5131 if test -n "$DOXYGEN"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
5133 $as_echo "$DOXYGEN" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5141 # Extract the first word of "xsltproc", so it can be a program name with args.
5142 set dummy xsltproc
; ac_word
=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if test "${ac_cv_path_XSLTPROC+set}" = set; then :
5146 $as_echo_n "(cached) " >&6
5150 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 XSLTPROC
=$ac_cv_path_XSLTPROC
5172 if test -n "$XSLTPROC"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
5174 $as_echo "$XSLTPROC" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5182 # Extract the first word of "po4a", so it can be a program name with args.
5183 set dummy po4a
; ac_word
=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if test "${ac_cv_path_PO4A+set}" = set; then :
5187 $as_echo_n "(cached) " >&6
5191 ac_cv_path_PO4A
="$PO4A" # Let the user override the test with a path.
5194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir
=.
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5201 ac_cv_path_PO4A
="$as_dir/$ac_word$ac_exec_ext"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 PO4A
=$ac_cv_path_PO4A
5213 if test -n "$PO4A"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A" >&5
5215 $as_echo "$PO4A" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5223 # Extract the first word of "dot", so it can be a program name with args.
5224 set dummy dot
; ac_word
=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if test "${ac_cv_prog_HAVE_DOT+set}" = set; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$HAVE_DOT"; then
5231 ac_cv_prog_HAVE_DOT
="$HAVE_DOT" # Let the user override the test.
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_exec_ext
in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_HAVE_DOT
="YES"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT
="NO"
5251 HAVE_DOT
=$ac_cv_prog_HAVE_DOT
5252 if test -n "$HAVE_DOT"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOT" >&5
5254 $as_echo "$HAVE_DOT" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5261 # Extract the first word of "dot", so it can be a program name with args.
5262 set dummy dot
; ac_word
=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if test "${ac_cv_path_DOT+set}" = set; then :
5266 $as_echo_n "(cached) " >&6
5270 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 if test -n "$DOT"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
5294 $as_echo "$DOT" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5301 DOTDIR
=$(dirname $DOT)
5305 # Check whether --with-getconf was given.
5306 if test "${with_getconf+set}" = set; then :
5307 withval
=$with_getconf; if test "$withval" = "yes"; then
5308 # Extract the first word of "getconf", so it can be a program name with args.
5309 set dummy getconf
; ac_word
=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if test "${ac_cv_path_GETCONF+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5317 ac_cv_path_GETCONF
="$GETCONF" # Let the user override the test with a path.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5327 ac_cv_path_GETCONF
="$as_dir/$ac_word$ac_exec_ext"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 GETCONF
=$ac_cv_path_GETCONF
5339 if test -n "$GETCONF"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GETCONF" >&5
5341 $as_echo "$GETCONF" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 elif test ! "$withval" = "no";then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking getconf" >&5
5350 $as_echo_n "checking getconf... " >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
5352 $as_echo "$withval" >&6; }
5356 # Extract the first word of "getconf", so it can be a program name with args.
5357 set dummy getconf
; ac_word
=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if test "${ac_cv_path_GETCONF+set}" = set; then :
5361 $as_echo_n "(cached) " >&6
5365 ac_cv_path_GETCONF
="$GETCONF" # Let the user override the test with a path.
5368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5372 test -z "$as_dir" && as_dir
=.
5373 for ac_exec_ext
in '' $ac_executable_extensions; do
5374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5375 ac_cv_path_GETCONF
="$as_dir/$ac_word$ac_exec_ext"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 GETCONF
=$ac_cv_path_GETCONF
5387 if test -n "$GETCONF"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GETCONF" >&5
5389 $as_echo "$GETCONF" >&6; }
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of cpus" >&5
5402 $as_echo_n "checking number of cpus... " >&6; }
5404 # Check whether --with-cpus was given.
5405 if test "${with_cpus+set}" = set; then :
5407 if test "$withval" = "yes"; then
5409 if test ! -z "$GETCONF";then
5411 set -- SC_NPROCESSORS_ONLN _NPROCESSORS_ONLN
5412 while eval test -z \"\
$NUM_CPUS\" -a ! -z \"$1\";do
5413 eval NUM_CPUS
=`$GETCONF "$1" 2>/dev/null`
5417 if eval test -z \"\
$NUM_CPUS\" -o \"\
$NUM_CPUS\" = "-1";then
5421 elif test ! "$withval" = "no";then
5423 elif test "$withval" = "no";then
5428 if test ! -z "$GETCONF";then
5430 set -- SC_NPROCESSORS_ONLN _NPROCESSORS_ONLN
5431 while eval test -z \"\
$NUM_CPUS\" -a ! -z \"$1\";do
5432 eval NUM_CPUS
=`$GETCONF "$1" 2>/dev/null`
5436 if eval test -z \"\
$NUM_CPUS\" -o \"\
$NUM_CPUS\" = "-1";then
5443 ah_NUM_CPUS_msg
="$NUM_CPUS"
5444 if test "$NUM_CPUS" = "0"; then
5445 # broken getconf, time to bitch.
5446 ah_NUM_CPUS_msg
="found 0 cpus. Has someone done a lobotomy?"
5449 if test $NUM_CPUS = 1 ;then
5450 default_PROC_MULTIPLY
=1
5452 default_PROC_MULTIPLY
=2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ah_NUM_CPUS_msg" >&5
5455 $as_echo "$ah_NUM_CPUS_msg" >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking processor multiplier" >&5
5460 $as_echo_n "checking processor multiplier... " >&6; }
5462 # Check whether --with-proc-multiply was given.
5463 if test "${with_proc_multiply+set}" = set; then :
5464 withval
=$with_proc_multiply; if test "$withval" = "yes"; then
5465 PROC_MULTIPLY
=$default_PROC_MULTIPLY
5466 elif test ! "$withval" = "no";then
5467 PROC_MULTIPLY
=$withval
5470 PROC_MULTIPLY
=$default_PROC_MULTIPLY
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROC_MULTIPLY" >&5
5475 $as_echo "$PROC_MULTIPLY" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of processes to run during make" >&5
5481 $as_echo_n "checking number of processes to run during make... " >&6; }
5483 # Check whether --with-procs was given.
5484 if test "${with_procs+set}" = set; then :
5485 withval
=$with_procs; if test "$withval" = "yes"; then
5486 NUM_PROCS
=`expr $NUM_CPUS \* $PROC_MULTIPLY`
5487 elif test ! "$withval" = "no";then
5491 NUM_PROCS
=`expr $NUM_CPUS \* $PROC_MULTIPLY`
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NUM_PROCS" >&5
5496 $as_echo "$NUM_PROCS" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX -MD works" >&5
5501 $as_echo_n "checking if $CXX -MD works... " >&6; }
5503 ${CXX-c++} -MD -o gcc3dep_test.o
-c gcc3dep.cc
5504 rm -f gcc3dep.cc gcc3dep_test.o
5505 if test -e gcc3dep.d
; then
5509 elif test -e gcc3dep_test.d
; then
5510 rm -f gcc3dep_test.d
5514 as_fn_error
"no" "$LINENO" 5
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, for $GCC_MD" >&5
5517 $as_echo "yes, for $GCC_MD" >&6; }
5521 ALL_LINGUAS
="bg bs ca cs cy da de dz el en_GB es eu fi fr gl hu it ja ko ku nb nl nn pl pt_BR pt ro ru sk sl sv th tl uk vi zn_CN zh_TW"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5523 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5525 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5526 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then :
5527 $as_echo_n "(cached) " >&6
5529 cat >conftest.
make <<\_ACEOF
5532 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5534 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5535 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5537 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5539 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5543 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5545 $as_echo "yes" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5550 SET_MAKE
="MAKE=${MAKE-make}"
5553 # Find a good install program. We prefer a C program (faster),
5554 # so one script is as good as another. But avoid the broken or
5555 # incompatible versions:
5556 # SysV /etc/install, /usr/sbin/install
5557 # SunOS /usr/etc/install
5558 # IRIX /sbin/install
5560 # AmigaOS /C/install, which installs bootblocks on floppy discs
5561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5564 # OS/2's system install, which has a completely different semantic
5565 # ./install, which can be erroneously created by make from ./install.sh.
5566 # Reject install programs that cannot install multiple files.
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5568 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5569 if test -z "$INSTALL"; then
5570 if test "${ac_cv_path_install+set}" = set; then :
5571 $as_echo_n "(cached) " >&6
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir
=.
5578 # Account for people who put trailing slashes in PATH elements.
5579 case $as_dir/ in #((
5580 .
/ | .
// | /[cC
]/* | \
5581 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
5582 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5585 # OSF1 and SCO ODT 3.0 have their own names for install.
5586 # Don't use installbsd from OSF since it installs stuff as root
5588 for ac_prog
in ginstall scoinst
install; do
5589 for ac_exec_ext
in '' $ac_executable_extensions; do
5590 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5591 if test $ac_prog = install &&
5592 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5593 # AIX install. It has an incompatible calling convention.
5595 elif test $ac_prog = install &&
5596 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5597 # program-specific install script used by HP pwplus--don't use.
5600 rm -rf conftest.one conftest.two conftest.dir
5601 echo one
> conftest.one
5602 echo two
> conftest.two
5604 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5605 test -s conftest.one
&& test -s conftest.two
&&
5606 test -s conftest.dir
/conftest.one
&&
5607 test -s conftest.dir
/conftest.two
5609 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5622 rm -rf conftest.one conftest.two conftest.dir
5625 if test "${ac_cv_path_install+set}" = set; then
5626 INSTALL
=$ac_cv_path_install
5628 # As a last resort, use the slow shell script. Don't cache a
5629 # value for INSTALL within a source directory, because that will
5630 # break other packages using the cache if that directory is
5631 # removed, or if the value is a relative name.
5632 INSTALL
=$ac_install_sh
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5636 $as_echo "$INSTALL" >&6; }
5638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5639 # It thinks the first close brace ends the variable substitution.
5640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5644 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5647 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5648 if test -z "$MKDIR_P"; then
5649 if test "${ac_cv_path_mkdir+set}" = set; then :
5650 $as_echo_n "(cached) " >&6
5652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5653 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5656 test -z "$as_dir" && as_dir
=.
5657 for ac_prog
in mkdir gmkdir
; do
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
5660 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5661 'mkdir (GNU coreutils) '* | \
5662 'mkdir (coreutils) '* | \
5663 'mkdir (fileutils) '4.1*)
5664 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5674 test -d .
/--version && rmdir .
/--version
5675 if test "${ac_cv_path_mkdir+set}" = set; then
5676 MKDIR_P
="$ac_cv_path_mkdir -p"
5678 # As a last resort, use the slow shell script. Don't cache a
5679 # value for MKDIR_P within a source directory, because that will
5680 # break other packages using the cache if that directory is
5681 # removed, or if the value is a relative name.
5682 MKDIR_P
="$ac_install_sh -d"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5686 $as_echo "$MKDIR_P" >&6; }
5690 [\\/$
]* | ?
:[\\/]*) ;;
5691 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5696 $as_echo_n "checking whether NLS is requested... " >&6; }
5697 # Check whether --enable-nls was given.
5698 if test "${enable_nls+set}" = set; then :
5699 enableval
=$enable_nls; USE_NLS
=$enableval
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5705 $as_echo "$USE_NLS" >&6; }
5710 GETTEXT_MACRO_VERSION
=0.17
5715 # Prepare PATH_SEPARATOR.
5716 # The user is always right.
5717 if test "${PATH_SEPARATOR+set}" != set; then
5718 echo "#! /bin/sh" >conf$$.sh
5719 echo "exit 0" >>conf$$.sh
5721 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5729 # Find out how to test for executable files. Don't use a zero-byte file,
5730 # as systems may use methods other than mode bits to determine executability.
5731 cat >conf$$.
file <<_ASEOF
5735 chmod +x conf$$.
file
5736 if test -x conf$$.
file >/dev
/null
2>&1; then
5737 ac_executable_p
="test -x"
5739 ac_executable_p
="test -f"
5743 # Extract the first word of "msgfmt", so it can be a program name with args.
5744 set dummy msgfmt
; ac_word
=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5748 $as_echo_n "(cached) " >&6
5752 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5755 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5756 for ac_dir
in $PATH; do
5758 test -z "$ac_dir" && ac_dir
=.
5759 for ac_exec_ext
in '' $ac_executable_extensions; do
5760 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5761 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5762 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
5763 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null
| grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5764 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5771 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5775 MSGFMT
="$ac_cv_path_MSGFMT"
5776 if test "$MSGFMT" != ":"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5778 $as_echo "$MSGFMT" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5784 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5785 set dummy gmsgfmt
; ac_word
=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5789 $as_echo_n "(cached) " >&6
5793 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir
=.
5801 for ac_exec_ext
in '' $ac_executable_extensions; do
5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5815 GMSGFMT
=$ac_cv_path_GMSGFMT
5816 if test -n "$GMSGFMT"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5818 $as_echo "$GMSGFMT" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5826 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5827 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) MSGFMT_015
=: ;;
5828 *) MSGFMT_015
=$MSGFMT ;;
5831 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5832 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) GMSGFMT_015
=: ;;
5833 *) GMSGFMT_015
=$GMSGFMT ;;
5838 # Prepare PATH_SEPARATOR.
5839 # The user is always right.
5840 if test "${PATH_SEPARATOR+set}" != set; then
5841 echo "#! /bin/sh" >conf$$.sh
5842 echo "exit 0" >>conf$$.sh
5844 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5852 # Find out how to test for executable files. Don't use a zero-byte file,
5853 # as systems may use methods other than mode bits to determine executability.
5854 cat >conf$$.
file <<_ASEOF
5858 chmod +x conf$$.
file
5859 if test -x conf$$.
file >/dev
/null
2>&1; then
5860 ac_executable_p
="test -x"
5862 ac_executable_p
="test -f"
5866 # Extract the first word of "xgettext", so it can be a program name with args.
5867 set dummy xgettext
; ac_word
=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5875 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5878 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5879 for ac_dir
in $PATH; do
5881 test -z "$ac_dir" && ac_dir
=.
5882 for ac_exec_ext
in '' $ac_executable_extensions; do
5883 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5884 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5885 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
5886 (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
5887 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5894 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5898 XGETTEXT
="$ac_cv_path_XGETTEXT"
5899 if test "$XGETTEXT" != ":"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5901 $as_echo "$XGETTEXT" >&6; }
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5909 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5910 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) XGETTEXT_015
=: ;;
5911 *) XGETTEXT_015
=$XGETTEXT ;;
5916 # Prepare PATH_SEPARATOR.
5917 # The user is always right.
5918 if test "${PATH_SEPARATOR+set}" != set; then
5919 echo "#! /bin/sh" >conf$$.sh
5920 echo "exit 0" >>conf$$.sh
5922 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5930 # Find out how to test for executable files. Don't use a zero-byte file,
5931 # as systems may use methods other than mode bits to determine executability.
5932 cat >conf$$.
file <<_ASEOF
5936 chmod +x conf$$.
file
5937 if test -x conf$$.
file >/dev
/null
2>&1; then
5938 ac_executable_p
="test -x"
5940 ac_executable_p
="test -f"
5944 # Extract the first word of "msgmerge", so it can be a program name with args.
5945 set dummy msgmerge
; ac_word
=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5949 $as_echo_n "(cached) " >&6
5953 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5956 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5957 for ac_dir
in $PATH; do
5959 test -z "$ac_dir" && ac_dir
=.
5960 for ac_exec_ext
in '' $ac_executable_extensions; do
5961 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5962 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5963 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
5964 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5971 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5975 MSGMERGE
="$ac_cv_path_MSGMERGE"
5976 if test "$MSGMERGE" != ":"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5978 $as_echo "$MSGMERGE" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 test -n "$localedir" || localedir
='${datadir}/locale'
5988 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
5991 ac_config_commands
="$ac_config_commands po-directories"
5995 if test "X$prefix" = "XNONE"; then
5996 acl_final_prefix
="$ac_default_prefix"
5998 acl_final_prefix
="$prefix"
6000 if test "X$exec_prefix" = "XNONE"; then
6001 acl_final_exec_prefix
='${prefix}'
6003 acl_final_exec_prefix
="$exec_prefix"
6005 acl_save_prefix
="$prefix"
6006 prefix
="$acl_final_prefix"
6007 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6008 prefix
="$acl_save_prefix"
6011 # Check whether --with-gnu-ld was given.
6012 if test "${with_gnu_ld+set}" = set; then :
6013 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
6018 # Prepare PATH_SEPARATOR.
6019 # The user is always right.
6020 if test "${PATH_SEPARATOR+set}" != set; then
6021 echo "#! /bin/sh" >conf$$.sh
6022 echo "exit 0" >>conf$$.sh
6024 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6032 if test "$GCC" = yes; then
6033 # Check if gcc -print-prog-name=ld gives a path.
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
6035 $as_echo_n "checking for ld used by GCC... " >&6; }
6038 # gcc leaves a trailing carriage return which upsets mingw
6039 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6041 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6044 # Accept absolute paths.
6045 [\\/]* | [A
-Za-z]:[\\/]*)
6046 re_direlt
='/[^/][^/]*/\.\./'
6047 # Canonicalize the path of ld
6048 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6049 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
6050 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6052 test -z "$LD" && LD
="$ac_prog"
6055 # If it fails, then pretend we aren't using GCC.
6059 # If it is relative, then search for the first ld in PATH.
6063 elif test "$with_gnu_ld" = yes; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6065 $as_echo_n "checking for GNU ld... " >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6068 $as_echo_n "checking for non-GNU ld... " >&6; }
6070 if test "${acl_cv_path_LD+set}" = set; then :
6071 $as_echo_n "(cached) " >&6
6073 if test -z "$LD"; then
6074 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
6075 for ac_dir
in $PATH; do
6076 test -z "$ac_dir" && ac_dir
=.
6077 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6078 acl_cv_path_LD
="$ac_dir/$ac_prog"
6079 # Check to see if the program is GNU ld. I'd rather use --version,
6080 # but apparently some GNU ld's only accept -v.
6081 # Break only if it was the GNU/non-GNU ld that we prefer.
6082 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
6083 *GNU
* | *'with BFD'*)
6084 test "$with_gnu_ld" != no
&& break ;;
6086 test "$with_gnu_ld" != yes && break ;;
6092 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6096 LD
="$acl_cv_path_LD"
6097 if test -n "$LD"; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6099 $as_echo "$LD" >&6; }
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102 $as_echo "no" >&6; }
6104 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6106 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6107 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
6108 $as_echo_n "(cached) " >&6
6110 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6111 case `$LD -v 2>&1 </dev/null` in
6112 *GNU
* | *'with BFD'*)
6113 acl_cv_prog_gnu_ld
=yes ;;
6115 acl_cv_prog_gnu_ld
=no
;;
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6119 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6120 with_gnu_ld
=$acl_cv_prog_gnu_ld
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6126 $as_echo_n "checking for shared library run path origin... " >&6; }
6127 if test "${acl_cv_rpath+set}" = set; then :
6128 $as_echo_n "(cached) " >&6
6131 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6132 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6139 $as_echo "$acl_cv_rpath" >&6; }
6141 acl_libext
="$acl_cv_libext"
6142 acl_shlibext
="$acl_cv_shlibext"
6143 acl_libname_spec
="$acl_cv_libname_spec"
6144 acl_library_names_spec
="$acl_cv_library_names_spec"
6145 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6146 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6147 acl_hardcode_direct
="$acl_cv_hardcode_direct"
6148 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6149 # Check whether --enable-rpath was given.
6150 if test "${enable_rpath+set}" = set; then :
6151 enableval
=$enable_rpath; :
6159 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
6160 if test -n "$searchpath"; then
6161 acl_save_IFS
="${IFS= }"; IFS
=":"
6162 for searchdir
in $searchpath; do
6163 if test -d "$searchdir"; then
6164 case "$searchdir" in
6165 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
6166 *) searchdir
=`cd "$searchdir" && pwd`
6167 case "$searchdir" in
6168 */lib64
) acl_libdirstem
=lib64
;;
6186 acl_save_prefix
="$prefix"
6187 prefix
="$acl_final_prefix"
6188 acl_save_exec_prefix
="$exec_prefix"
6189 exec_prefix
="$acl_final_exec_prefix"
6191 eval additional_includedir
=\"$includedir\"
6192 eval additional_libdir
=\"$libdir\"
6194 exec_prefix
="$acl_save_exec_prefix"
6195 prefix
="$acl_save_prefix"
6198 # Check whether --with-libiconv-prefix was given.
6199 if test "${with_libiconv_prefix+set}" = set; then :
6200 withval
=$with_libiconv_prefix;
6201 if test "X$withval" = "Xno"; then
6204 if test "X$withval" = "X"; then
6206 acl_save_prefix
="$prefix"
6207 prefix
="$acl_final_prefix"
6208 acl_save_exec_prefix
="$exec_prefix"
6209 exec_prefix
="$acl_final_exec_prefix"
6211 eval additional_includedir
=\"$includedir\"
6212 eval additional_libdir
=\"$libdir\"
6214 exec_prefix
="$acl_save_exec_prefix"
6215 prefix
="$acl_save_prefix"
6218 additional_includedir
="$withval/include"
6219 additional_libdir
="$withval/$acl_libdirstem"
6231 names_already_handled
=
6232 names_next_round
='iconv '
6233 while test -n "$names_next_round"; do
6234 names_this_round
="$names_next_round"
6236 for name
in $names_this_round; do
6238 for n
in $names_already_handled; do
6239 if test "$n" = "$name"; then
6244 if test -z "$already_handled"; then
6245 names_already_handled
="$names_already_handled $name"
6246 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6247 eval value
=\"\
$HAVE_LIB$uppername\"
6248 if test -n "$value"; then
6249 if test "$value" = yes; then
6250 eval value
=\"\
$LIB$uppername\"
6251 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6252 eval value
=\"\
$LTLIB$uppername\"
6253 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6262 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
6263 if test -n "$acl_shlibext"; then
6264 shrext
=".$acl_shlibext" # typically: shrext=.so
6268 if test $use_additional = yes; then
6269 dir
="$additional_libdir"
6270 if test -n "$acl_shlibext"; then
6271 if test -f "$dir/$libname$shrext"; then
6273 found_so
="$dir/$libname$shrext"
6275 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6276 ver
=`(cd "$dir" && \
6277 for f in "$libname$shrext".*; do echo "$f"; done \
6278 | sed -e "s,^$libname$shrext\\\\.,," \
6279 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6280 | sed 1q ) 2>/dev/null`
6281 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6283 found_so
="$dir/$libname$shrext.$ver"
6286 eval library_names
=\"$acl_library_names_spec\"
6287 for f
in $library_names; do
6288 if test -f "$dir/$f"; then
6297 if test "X$found_dir" = "X"; then
6298 if test -f "$dir/$libname.$acl_libext"; then
6300 found_a
="$dir/$libname.$acl_libext"
6303 if test "X$found_dir" != "X"; then
6304 if test -f "$dir/$libname.la"; then
6305 found_la
="$dir/$libname.la"
6309 if test "X$found_dir" = "X"; then
6310 for x
in $LDFLAGS $LTLIBICONV; do
6312 acl_save_prefix
="$prefix"
6313 prefix
="$acl_final_prefix"
6314 acl_save_exec_prefix
="$exec_prefix"
6315 exec_prefix
="$acl_final_exec_prefix"
6317 exec_prefix
="$acl_save_exec_prefix"
6318 prefix
="$acl_save_prefix"
6322 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6323 if test -n "$acl_shlibext"; then
6324 if test -f "$dir/$libname$shrext"; then
6326 found_so
="$dir/$libname$shrext"
6328 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6329 ver
=`(cd "$dir" && \
6330 for f in "$libname$shrext".*; do echo "$f"; done \
6331 | sed -e "s,^$libname$shrext\\\\.,," \
6332 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6333 | sed 1q ) 2>/dev/null`
6334 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6336 found_so
="$dir/$libname$shrext.$ver"
6339 eval library_names
=\"$acl_library_names_spec\"
6340 for f
in $library_names; do
6341 if test -f "$dir/$f"; then
6350 if test "X$found_dir" = "X"; then
6351 if test -f "$dir/$libname.$acl_libext"; then
6353 found_a
="$dir/$libname.$acl_libext"
6356 if test "X$found_dir" != "X"; then
6357 if test -f "$dir/$libname.la"; then
6358 found_la
="$dir/$libname.la"
6363 if test "X$found_dir" != "X"; then
6368 if test "X$found_dir" != "X"; then
6369 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6370 if test "X$found_so" != "X"; then
6371 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
6372 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6375 for x
in $ltrpathdirs; do
6376 if test "X$x" = "X$found_dir"; then
6381 if test -z "$haveit"; then
6382 ltrpathdirs
="$ltrpathdirs $found_dir"
6384 if test "$acl_hardcode_direct" = yes; then
6385 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6387 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
6388 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6390 for x
in $rpathdirs; do
6391 if test "X$x" = "X$found_dir"; then
6396 if test -z "$haveit"; then
6397 rpathdirs
="$rpathdirs $found_dir"
6401 for x
in $LDFLAGS $LIBICONV; do
6403 acl_save_prefix
="$prefix"
6404 prefix
="$acl_final_prefix"
6405 acl_save_exec_prefix
="$exec_prefix"
6406 exec_prefix
="$acl_final_exec_prefix"
6408 exec_prefix
="$acl_save_exec_prefix"
6409 prefix
="$acl_save_prefix"
6411 if test "X$x" = "X-L$found_dir"; then
6416 if test -z "$haveit"; then
6417 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6419 if test "$acl_hardcode_minus_L" != no
; then
6420 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6422 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6428 if test "X$found_a" != "X"; then
6429 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6431 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6434 additional_includedir
=
6435 case "$found_dir" in
6436 */$acl_libdirstem | */$acl_libdirstem/)
6437 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6438 LIBICONV_PREFIX
="$basedir"
6439 additional_includedir
="$basedir/include"
6442 if test "X$additional_includedir" != "X"; then
6443 if test "X$additional_includedir" != "X/usr/include"; then
6445 if test "X$additional_includedir" = "X/usr/local/include"; then
6446 if test -n "$GCC"; then
6448 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6452 if test -z "$haveit"; then
6453 for x
in $CPPFLAGS $INCICONV; do
6455 acl_save_prefix
="$prefix"
6456 prefix
="$acl_final_prefix"
6457 acl_save_exec_prefix
="$exec_prefix"
6458 exec_prefix
="$acl_final_exec_prefix"
6460 exec_prefix
="$acl_save_exec_prefix"
6461 prefix
="$acl_save_prefix"
6463 if test "X$x" = "X-I$additional_includedir"; then
6468 if test -z "$haveit"; then
6469 if test -d "$additional_includedir"; then
6470 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6476 if test -n "$found_la"; then
6477 save_libdir
="$libdir"
6479 */* | *\\*) .
"$found_la" ;;
6480 *) .
"./$found_la" ;;
6482 libdir
="$save_libdir"
6483 for dep
in $dependency_libs; do
6486 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6487 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
6489 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
6490 if test -n "$GCC"; then
6492 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
6496 if test -z "$haveit"; then
6498 for x
in $LDFLAGS $LIBICONV; do
6500 acl_save_prefix
="$prefix"
6501 prefix
="$acl_final_prefix"
6502 acl_save_exec_prefix
="$exec_prefix"
6503 exec_prefix
="$acl_final_exec_prefix"
6505 exec_prefix
="$acl_save_exec_prefix"
6506 prefix
="$acl_save_prefix"
6508 if test "X$x" = "X-L$additional_libdir"; then
6513 if test -z "$haveit"; then
6514 if test -d "$additional_libdir"; then
6515 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6519 for x
in $LDFLAGS $LTLIBICONV; do
6521 acl_save_prefix
="$prefix"
6522 prefix
="$acl_final_prefix"
6523 acl_save_exec_prefix
="$exec_prefix"
6524 exec_prefix
="$acl_final_exec_prefix"
6526 exec_prefix
="$acl_save_exec_prefix"
6527 prefix
="$acl_save_prefix"
6529 if test "X$x" = "X-L$additional_libdir"; then
6534 if test -z "$haveit"; then
6535 if test -d "$additional_libdir"; then
6536 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6543 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6544 if test "$enable_rpath" != no
; then
6546 for x
in $rpathdirs; do
6547 if test "X$x" = "X$dir"; then
6552 if test -z "$haveit"; then
6553 rpathdirs
="$rpathdirs $dir"
6556 for x
in $ltrpathdirs; do
6557 if test "X$x" = "X$dir"; then
6562 if test -z "$haveit"; then
6563 ltrpathdirs
="$ltrpathdirs $dir"
6568 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6571 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6574 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6575 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6581 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6582 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6588 if test "X$rpathdirs" != "X"; then
6589 if test -n "$acl_hardcode_libdir_separator"; then
6591 for found_dir
in $rpathdirs; do
6592 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6594 acl_save_libdir
="$libdir"
6596 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6597 libdir
="$acl_save_libdir"
6598 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6600 for found_dir
in $rpathdirs; do
6601 acl_save_libdir
="$libdir"
6603 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6604 libdir
="$acl_save_libdir"
6605 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6609 if test "X$ltrpathdirs" != "X"; then
6610 for found_dir
in $ltrpathdirs; do
6611 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
6640 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
6641 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
6642 $as_echo_n "(cached) " >&6
6644 gt_save_LIBS
="$LIBS"
6645 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6648 #include <CoreFoundation/CFPreferences.h>
6652 CFPreferencesCopyAppValue(NULL, NULL)
6657 if ac_fn_c_try_link
"$LINENO"; then :
6658 gt_cv_func_CFPreferencesCopyAppValue
=yes
6660 gt_cv_func_CFPreferencesCopyAppValue
=no
6662 rm -f core conftest.err conftest.
$ac_objext \
6663 conftest
$ac_exeext conftest.
$ac_ext
6664 LIBS
="$gt_save_LIBS"
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6667 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6668 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6670 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6674 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6675 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
6676 $as_echo_n "(cached) " >&6
6678 gt_save_LIBS
="$LIBS"
6679 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <CoreFoundation/CFLocale.h>
6686 CFLocaleCopyCurrent();
6691 if ac_fn_c_try_link
"$LINENO"; then :
6692 gt_cv_func_CFLocaleCopyCurrent
=yes
6694 gt_cv_func_CFLocaleCopyCurrent
=no
6696 rm -f core conftest.err conftest.
$ac_objext \
6697 conftest
$ac_exeext conftest.
$ac_ext
6698 LIBS
="$gt_save_LIBS"
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6701 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6702 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6704 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6708 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6709 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
6721 case " $gt_needs " in
6722 *" need-formatstring-macros "*) gt_api_version
=3 ;;
6723 *" need-ngettext "*) gt_api_version
=2 ;;
6724 *) gt_api_version
=1 ;;
6726 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
6727 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
6729 if test "$USE_NLS" = "yes"; then
6730 gt_use_preinstalled_gnugettext
=no
6733 if test $gt_api_version -ge 3; then
6734 gt_revision_test_code
='
6735 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6736 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6738 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6741 gt_revision_test_code
=
6743 if test $gt_api_version -ge 2; then
6744 gt_expression_test_code
=' + * ngettext ("", "", 0)'
6746 gt_expression_test_code
=
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6750 $as_echo_n "checking for GNU gettext in libc... " >&6; }
6751 if { as_var
=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then :
6752 $as_echo_n "(cached) " >&6
6754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6756 #include <libintl.h>
6757 $gt_revision_test_code
6758 extern int _nl_msg_cat_cntr;
6759 extern int *_nl_domain_bindings;
6763 bindtextdomain ("", "");
6764 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
6769 if ac_fn_c_try_link
"$LINENO"; then :
6770 eval "$gt_func_gnugettext_libc=yes"
6772 eval "$gt_func_gnugettext_libc=no"
6774 rm -f core conftest.err conftest.
$ac_objext \
6775 conftest
$ac_exeext conftest.
$ac_ext
6777 eval ac_res
=\$
$gt_func_gnugettext_libc
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6779 $as_echo "$ac_res" >&6; }
6781 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6787 am_save_CPPFLAGS
="$CPPFLAGS"
6789 for element
in $INCICONV; do
6791 for x
in $CPPFLAGS; do
6793 acl_save_prefix
="$prefix"
6794 prefix
="$acl_final_prefix"
6795 acl_save_exec_prefix
="$exec_prefix"
6796 exec_prefix
="$acl_final_exec_prefix"
6798 exec_prefix
="$acl_save_exec_prefix"
6799 prefix
="$acl_save_prefix"
6801 if test "X$x" = "X$element"; then
6806 if test -z "$haveit"; then
6807 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6813 $as_echo_n "checking for iconv... " >&6; }
6814 if test "${am_cv_func_iconv+set}" = set; then :
6815 $as_echo_n "(cached) " >&6
6818 am_cv_func_iconv
="no, consider installing GNU libiconv"
6820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6821 /* end confdefs.h. */
6827 iconv_t cd = iconv_open("","");
6828 iconv(cd,NULL,NULL,NULL,NULL);
6834 if ac_fn_c_try_link
"$LINENO"; then :
6835 am_cv_func_iconv
=yes
6837 rm -f core conftest.err conftest.
$ac_objext \
6838 conftest
$ac_exeext conftest.
$ac_ext
6839 if test "$am_cv_func_iconv" != yes; then
6840 am_save_LIBS
="$LIBS"
6841 LIBS
="$LIBS $LIBICONV"
6842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6849 iconv_t cd = iconv_open("","");
6850 iconv(cd,NULL,NULL,NULL,NULL);
6856 if ac_fn_c_try_link
"$LINENO"; then :
6858 am_cv_func_iconv
=yes
6860 rm -f core conftest.err conftest.
$ac_objext \
6861 conftest
$ac_exeext conftest.
$ac_ext
6862 LIBS
="$am_save_LIBS"
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6867 $as_echo "$am_cv_func_iconv" >&6; }
6868 if test "$am_cv_func_iconv" = yes; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6870 $as_echo_n "checking for working iconv... " >&6; }
6871 if test "${am_cv_func_iconv_works+set}" = set; then :
6872 $as_echo_n "(cached) " >&6
6875 am_save_LIBS
="$LIBS"
6876 if test $am_cv_lib_iconv = yes; then
6877 LIBS
="$LIBS $LIBICONV"
6879 if test "$cross_compiling" = yes; then :
6881 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
6882 *) am_cv_func_iconv_works
="guessing yes" ;;
6885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6892 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6895 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6896 if (cd_utf8_to_88591 != (iconv_t)(-1))
6898 static const char input[] = "\342\202\254"; /* EURO SIGN */
6900 const char *inptr = input;
6901 size_t inbytesleft = strlen (input);
6903 size_t outbytesleft = sizeof (buf);
6904 size_t res = iconv (cd_utf8_to_88591,
6905 (char **) &inptr, &inbytesleft,
6906 &outptr, &outbytesleft);
6911 #if 0 /* This bug could be worked around by the caller. */
6912 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
6914 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6915 if (cd_88591_to_utf8 != (iconv_t)(-1))
6917 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6919 const char *inptr = input;
6920 size_t inbytesleft = strlen (input);
6922 size_t outbytesleft = sizeof (buf);
6923 size_t res = iconv (cd_88591_to_utf8,
6924 (char **) &inptr, &inbytesleft,
6925 &outptr, &outbytesleft);
6931 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6933 if (/* Try standardized names. */
6934 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6935 /* Try IRIX, OSF/1 names. */
6936 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6937 /* Try AIX names. */
6938 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6939 /* Try HP-UX names. */
6940 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6945 if ac_fn_c_try_run
"$LINENO"; then :
6946 am_cv_func_iconv_works
=yes
6948 am_cv_func_iconv_works
=no
6950 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6951 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6954 LIBS
="$am_save_LIBS"
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6958 $as_echo "$am_cv_func_iconv_works" >&6; }
6959 case "$am_cv_func_iconv_works" in
6960 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
6961 *) am_func_iconv
=yes ;;
6964 am_func_iconv
=no am_cv_lib_iconv
=no
6966 if test "$am_func_iconv" = yes; then
6968 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
6971 if test "$am_cv_lib_iconv" = yes; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6973 $as_echo_n "checking how to link with libiconv... " >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6975 $as_echo "$LIBICONV" >&6; }
6977 CPPFLAGS
="$am_save_CPPFLAGS"
6991 acl_save_prefix
="$prefix"
6992 prefix
="$acl_final_prefix"
6993 acl_save_exec_prefix
="$exec_prefix"
6994 exec_prefix
="$acl_final_exec_prefix"
6996 eval additional_includedir
=\"$includedir\"
6997 eval additional_libdir
=\"$libdir\"
6999 exec_prefix
="$acl_save_exec_prefix"
7000 prefix
="$acl_save_prefix"
7003 # Check whether --with-libintl-prefix was given.
7004 if test "${with_libintl_prefix+set}" = set; then :
7005 withval
=$with_libintl_prefix;
7006 if test "X$withval" = "Xno"; then
7009 if test "X$withval" = "X"; then
7011 acl_save_prefix
="$prefix"
7012 prefix
="$acl_final_prefix"
7013 acl_save_exec_prefix
="$exec_prefix"
7014 exec_prefix
="$acl_final_exec_prefix"
7016 eval additional_includedir
=\"$includedir\"
7017 eval additional_libdir
=\"$libdir\"
7019 exec_prefix
="$acl_save_exec_prefix"
7020 prefix
="$acl_save_prefix"
7023 additional_includedir
="$withval/include"
7024 additional_libdir
="$withval/$acl_libdirstem"
7036 names_already_handled
=
7037 names_next_round
='intl '
7038 while test -n "$names_next_round"; do
7039 names_this_round
="$names_next_round"
7041 for name
in $names_this_round; do
7043 for n
in $names_already_handled; do
7044 if test "$n" = "$name"; then
7049 if test -z "$already_handled"; then
7050 names_already_handled
="$names_already_handled $name"
7051 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7052 eval value
=\"\
$HAVE_LIB$uppername\"
7053 if test -n "$value"; then
7054 if test "$value" = yes; then
7055 eval value
=\"\
$LIB$uppername\"
7056 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
7057 eval value
=\"\
$LTLIB$uppername\"
7058 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
7067 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
7068 if test -n "$acl_shlibext"; then
7069 shrext
=".$acl_shlibext" # typically: shrext=.so
7073 if test $use_additional = yes; then
7074 dir
="$additional_libdir"
7075 if test -n "$acl_shlibext"; then
7076 if test -f "$dir/$libname$shrext"; then
7078 found_so
="$dir/$libname$shrext"
7080 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7081 ver
=`(cd "$dir" && \
7082 for f in "$libname$shrext".*; do echo "$f"; done \
7083 | sed -e "s,^$libname$shrext\\\\.,," \
7084 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7085 | sed 1q ) 2>/dev/null`
7086 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7088 found_so
="$dir/$libname$shrext.$ver"
7091 eval library_names
=\"$acl_library_names_spec\"
7092 for f
in $library_names; do
7093 if test -f "$dir/$f"; then
7102 if test "X$found_dir" = "X"; then
7103 if test -f "$dir/$libname.$acl_libext"; then
7105 found_a
="$dir/$libname.$acl_libext"
7108 if test "X$found_dir" != "X"; then
7109 if test -f "$dir/$libname.la"; then
7110 found_la
="$dir/$libname.la"
7114 if test "X$found_dir" = "X"; then
7115 for x
in $LDFLAGS $LTLIBINTL; do
7117 acl_save_prefix
="$prefix"
7118 prefix
="$acl_final_prefix"
7119 acl_save_exec_prefix
="$exec_prefix"
7120 exec_prefix
="$acl_final_exec_prefix"
7122 exec_prefix
="$acl_save_exec_prefix"
7123 prefix
="$acl_save_prefix"
7127 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7128 if test -n "$acl_shlibext"; then
7129 if test -f "$dir/$libname$shrext"; then
7131 found_so
="$dir/$libname$shrext"
7133 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7134 ver
=`(cd "$dir" && \
7135 for f in "$libname$shrext".*; do echo "$f"; done \
7136 | sed -e "s,^$libname$shrext\\\\.,," \
7137 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7138 | sed 1q ) 2>/dev/null`
7139 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7141 found_so
="$dir/$libname$shrext.$ver"
7144 eval library_names
=\"$acl_library_names_spec\"
7145 for f
in $library_names; do
7146 if test -f "$dir/$f"; then
7155 if test "X$found_dir" = "X"; then
7156 if test -f "$dir/$libname.$acl_libext"; then
7158 found_a
="$dir/$libname.$acl_libext"
7161 if test "X$found_dir" != "X"; then
7162 if test -f "$dir/$libname.la"; then
7163 found_la
="$dir/$libname.la"
7168 if test "X$found_dir" != "X"; then
7173 if test "X$found_dir" != "X"; then
7174 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
7175 if test "X$found_so" != "X"; then
7176 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
7177 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7180 for x
in $ltrpathdirs; do
7181 if test "X$x" = "X$found_dir"; then
7186 if test -z "$haveit"; then
7187 ltrpathdirs
="$ltrpathdirs $found_dir"
7189 if test "$acl_hardcode_direct" = yes; then
7190 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7192 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
7193 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7195 for x
in $rpathdirs; do
7196 if test "X$x" = "X$found_dir"; then
7201 if test -z "$haveit"; then
7202 rpathdirs
="$rpathdirs $found_dir"
7206 for x
in $LDFLAGS $LIBINTL; do
7208 acl_save_prefix
="$prefix"
7209 prefix
="$acl_final_prefix"
7210 acl_save_exec_prefix
="$exec_prefix"
7211 exec_prefix
="$acl_final_exec_prefix"
7213 exec_prefix
="$acl_save_exec_prefix"
7214 prefix
="$acl_save_prefix"
7216 if test "X$x" = "X-L$found_dir"; then
7221 if test -z "$haveit"; then
7222 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
7224 if test "$acl_hardcode_minus_L" != no
; then
7225 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
7227 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
7233 if test "X$found_a" != "X"; then
7234 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
7236 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
7239 additional_includedir
=
7240 case "$found_dir" in
7241 */$acl_libdirstem | */$acl_libdirstem/)
7242 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7243 LIBINTL_PREFIX
="$basedir"
7244 additional_includedir
="$basedir/include"
7247 if test "X$additional_includedir" != "X"; then
7248 if test "X$additional_includedir" != "X/usr/include"; then
7250 if test "X$additional_includedir" = "X/usr/local/include"; then
7251 if test -n "$GCC"; then
7253 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7257 if test -z "$haveit"; then
7258 for x
in $CPPFLAGS $INCINTL; do
7260 acl_save_prefix
="$prefix"
7261 prefix
="$acl_final_prefix"
7262 acl_save_exec_prefix
="$exec_prefix"
7263 exec_prefix
="$acl_final_exec_prefix"
7265 exec_prefix
="$acl_save_exec_prefix"
7266 prefix
="$acl_save_prefix"
7268 if test "X$x" = "X-I$additional_includedir"; then
7273 if test -z "$haveit"; then
7274 if test -d "$additional_includedir"; then
7275 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
7281 if test -n "$found_la"; then
7282 save_libdir
="$libdir"
7284 */* | *\\*) .
"$found_la" ;;
7285 *) .
"./$found_la" ;;
7287 libdir
="$save_libdir"
7288 for dep
in $dependency_libs; do
7291 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7292 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
7294 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
7295 if test -n "$GCC"; then
7297 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7301 if test -z "$haveit"; then
7303 for x
in $LDFLAGS $LIBINTL; do
7305 acl_save_prefix
="$prefix"
7306 prefix
="$acl_final_prefix"
7307 acl_save_exec_prefix
="$exec_prefix"
7308 exec_prefix
="$acl_final_exec_prefix"
7310 exec_prefix
="$acl_save_exec_prefix"
7311 prefix
="$acl_save_prefix"
7313 if test "X$x" = "X-L$additional_libdir"; then
7318 if test -z "$haveit"; then
7319 if test -d "$additional_libdir"; then
7320 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
7324 for x
in $LDFLAGS $LTLIBINTL; do
7326 acl_save_prefix
="$prefix"
7327 prefix
="$acl_final_prefix"
7328 acl_save_exec_prefix
="$exec_prefix"
7329 exec_prefix
="$acl_final_exec_prefix"
7331 exec_prefix
="$acl_save_exec_prefix"
7332 prefix
="$acl_save_prefix"
7334 if test "X$x" = "X-L$additional_libdir"; then
7339 if test -z "$haveit"; then
7340 if test -d "$additional_libdir"; then
7341 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
7348 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7349 if test "$enable_rpath" != no
; then
7351 for x
in $rpathdirs; do
7352 if test "X$x" = "X$dir"; then
7357 if test -z "$haveit"; then
7358 rpathdirs
="$rpathdirs $dir"
7361 for x
in $ltrpathdirs; do
7362 if test "X$x" = "X$dir"; then
7367 if test -z "$haveit"; then
7368 ltrpathdirs
="$ltrpathdirs $dir"
7373 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7376 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7379 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
7380 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
7386 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
7387 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
7393 if test "X$rpathdirs" != "X"; then
7394 if test -n "$acl_hardcode_libdir_separator"; then
7396 for found_dir
in $rpathdirs; do
7397 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7399 acl_save_libdir
="$libdir"
7401 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7402 libdir
="$acl_save_libdir"
7403 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7405 for found_dir
in $rpathdirs; do
7406 acl_save_libdir
="$libdir"
7408 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7409 libdir
="$acl_save_libdir"
7410 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
7414 if test "X$ltrpathdirs" != "X"; then
7415 for found_dir
in $ltrpathdirs; do
7416 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
7421 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
7422 if { as_var
=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then :
7423 $as_echo_n "(cached) " >&6
7425 gt_save_CPPFLAGS
="$CPPFLAGS"
7426 CPPFLAGS
="$CPPFLAGS $INCINTL"
7427 gt_save_LIBS
="$LIBS"
7428 LIBS
="$LIBS $LIBINTL"
7429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7430 /* end confdefs.h. */
7431 #include <libintl.h>
7432 $gt_revision_test_code
7433 extern int _nl_msg_cat_cntr;
7438 const char *_nl_expand_alias (const char *);
7442 bindtextdomain ("", "");
7443 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7448 if ac_fn_c_try_link
"$LINENO"; then :
7449 eval "$gt_func_gnugettext_libintl=yes"
7451 eval "$gt_func_gnugettext_libintl=no"
7453 rm -f core conftest.err conftest.
$ac_objext \
7454 conftest
$ac_exeext conftest.
$ac_ext
7455 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
7456 LIBS
="$LIBS $LIBICONV"
7457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7458 /* end confdefs.h. */
7459 #include <libintl.h>
7460 $gt_revision_test_code
7461 extern int _nl_msg_cat_cntr;
7466 const char *_nl_expand_alias (const char *);
7470 bindtextdomain ("", "");
7471 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
7476 if ac_fn_c_try_link
"$LINENO"; then :
7477 LIBINTL
="$LIBINTL $LIBICONV"
7478 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
7479 eval "$gt_func_gnugettext_libintl=yes"
7482 rm -f core conftest.err conftest.
$ac_objext \
7483 conftest
$ac_exeext conftest.
$ac_ext
7485 CPPFLAGS
="$gt_save_CPPFLAGS"
7486 LIBS
="$gt_save_LIBS"
7488 eval ac_res
=\$
$gt_func_gnugettext_libintl
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7490 $as_echo "$ac_res" >&6; }
7493 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
7494 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
7495 && test "$PACKAGE" != gettext-runtime \
7496 && test "$PACKAGE" != gettext-tools; }; then
7497 gt_use_preinstalled_gnugettext
=yes
7506 if test -n "$INTL_MACOSX_LIBS"; then
7507 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7508 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7509 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
7510 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
7514 if test "$gt_use_preinstalled_gnugettext" = "yes" \
7515 || test "$nls_cv_use_gnu_gettext" = "yes"; then
7517 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
7525 $as_echo_n "checking whether to use NLS... " >&6; }
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7527 $as_echo "$USE_NLS" >&6; }
7528 if test "$USE_NLS" = "yes"; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
7530 $as_echo_n "checking where the gettext function comes from... " >&6; }
7531 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7532 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7533 gt_source
="external libintl"
7538 gt_source
="included intl directory"
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
7541 $as_echo "$gt_source" >&6; }
7544 if test "$USE_NLS" = "yes"; then
7546 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
7547 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
7549 $as_echo_n "checking how to link with libintl... " >&6; }
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
7551 $as_echo "$LIBINTL" >&6; }
7553 for element
in $INCINTL; do
7555 for x
in $CPPFLAGS; do
7557 acl_save_prefix
="$prefix"
7558 prefix
="$acl_final_prefix"
7559 acl_save_exec_prefix
="$exec_prefix"
7560 exec_prefix
="$acl_final_exec_prefix"
7562 exec_prefix
="$acl_save_exec_prefix"
7563 prefix
="$acl_save_prefix"
7565 if test "X$x" = "X$element"; then
7570 if test -z "$haveit"; then
7571 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7578 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7581 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7597 if test x
"$USE_NLS" = "xyes"; then
7598 $as_echo "#define USE_NLS 1" >>confdefs.h
7602 # Extract the first word of "bash", so it can be a program name with args.
7603 set dummy bash
; ac_word
=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if test "${ac_cv_path_BASH+set}" = set; then :
7607 $as_echo_n "(cached) " >&6
7611 ac_cv_path_BASH
="$BASH" # Let the user override the test with a path.
7614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7618 test -z "$as_dir" && as_dir
=.
7619 for ac_exec_ext
in '' $ac_executable_extensions; do
7620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7621 ac_cv_path_BASH
="$as_dir/$ac_word$ac_exec_ext"
7622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 BASH
=$ac_cv_path_BASH
7633 if test -n "$BASH"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
7635 $as_echo "$BASH" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7643 ac_config_files
="$ac_config_files environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in doc/Doxyfile"
7645 ac_config_commands
="$ac_config_commands default"
7647 cat >confcache
<<\_ACEOF
7648 # This file is a shell script that caches the results of configure
7649 # tests run on this system so they can be shared between configure
7650 # scripts and configure runs, see configure's option --config-cache.
7651 # It is not useful on other systems. If it contains results you don't
7652 # want to keep, you may remove or edit it.
7654 # config.status only pays attention to the cache file if you give it
7655 # the --recheck option to rerun configure.
7657 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7658 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7663 # The following way of writing the cache mishandles newlines in values,
7664 # but we know of no workaround that is simple, portable, and efficient.
7665 # So, we kill variables containing newlines.
7666 # Ultrix sh set writes to stderr and can't be redirected directly,
7667 # and sets the high bit in the cache file unless we assign to the vars.
7669 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7670 eval ac_val
=\$
$ac_var
7674 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7675 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7678 _
| IFS
| as_nl
) ;; #(
7679 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
7680 *) { eval $ac_var=; unset $ac_var;} ;;
7686 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7687 *${as_nl}ac_space
=\
*)
7688 # `set' does not quote correctly, so add quotes: double-quote
7689 # substitution turns \\\\ into \\, and sed turns \\ into \.
7692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7695 # `set' quotes correctly as required by POSIX, so do not add quotes.
7696 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7705 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7707 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7709 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7710 if test -w "$cache_file"; then
7711 test "x$cache_file" != "x/dev/null" &&
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7713 $as_echo "$as_me: updating cache $cache_file" >&6;}
7714 cat confcache
>$cache_file
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7717 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7722 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7723 # Let make expand exec_prefix.
7724 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7726 DEFS
=-DHAVE_CONFIG_H
7730 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7731 # 1. Remove the extension, and $U if already installed.
7732 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7733 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7734 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7735 # will be set to the directory where LIBOBJS objects are built.
7736 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7737 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7741 LTLIBOBJS
=$ac_ltlibobjs
7746 : ${CONFIG_STATUS=./config.status}
7748 ac_clean_files_save
=$ac_clean_files
7749 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7751 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7753 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7755 # Generated by $as_me.
7756 # Run this file to recreate the current configuration.
7757 # Compiler output produced by configure, useful for debugging
7758 # configure, is in config.log if it exists.
7764 SHELL=\${CONFIG_SHELL-$SHELL}
7767 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
7768 ## -------------------- ##
7769 ## M4sh Initialization. ##
7770 ## -------------------- ##
7772 # Be more Bourne compatible
7773 DUALCASE
=1; export DUALCASE
# for MKS sh
7774 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7777 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7778 # is contrary to our usage. Disable this feature.
7779 alias -g '${1+"$@"}'='"$@"'
7780 setopt NO_GLOB_SUBST
7782 case `(set -o) 2>/dev/null` in #(
7794 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7795 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7797 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7798 # Prefer a ksh shell builtin over an external printf program on Solaris,
7799 # but without wasting forks for bash or zsh.
7800 if test -z "$BASH_VERSION$ZSH_VERSION" \
7801 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7802 as_echo='print
-r --'
7803 as_echo_n='print
-rn --'
7804 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7805 as_echo='printf %s
\n'
7806 as_echo_n='printf %s
'
7808 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7809 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7810 as_echo_n='/usr
/ucb
/echo -n'
7812 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7813 as_echo_n_body='eval
7817 expr "X$arg" : "X\\(.*\\)$as_nl";
7818 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7820 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7822 export as_echo_n_body
7823 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7826 as_echo='sh
-c $as_echo_body as_echo
'
7829 # The user is always right.
7830 if test "${PATH_SEPARATOR+set}" != set; then
7832 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7833 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7840 # We need space, tab and new line, in precisely that order. Quoting is
7841 # there to prevent editors from complaining about space-tab.
7842 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7843 # splitting by setting IFS to empty value.)
7846 # Find who we are. Look in the path if we contain no directory separator.
7848 *[\\/]* ) as_myself=$0 ;;
7849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir=.
7854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7860 # We did not find ourselves, most probably we were run as `sh COMMAND'
7861 # in which case we are not to be found in the path.
7862 if test "x$as_myself" = x
; then
7865 if test ! -f "$as_myself"; then
7866 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7870 # Unset variables that we do not need and which cause bugs (e.g. in
7871 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7872 # suppresses any "Segmentation fault" message there. '((' could
7873 # trigger a bug in pdksh 5.2.14.
7874 for as_var
in BASH_ENV ENV MAIL MAILPATH
7875 do eval test x\
${$as_var+set} = xset \
7876 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
7889 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7892 # as_fn_error ERROR [LINENO LOG_FD]
7893 # ---------------------------------
7894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7896 # script with status $?, using 1 if that was 0.
7899 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7901 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7902 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7904 $as_echo "$as_me: error: $1" >&2
7905 as_fn_exit
$as_status
7909 # as_fn_set_status STATUS
7910 # -----------------------
7911 # Set $? to STATUS, without forking.
7915 } # as_fn_set_status
7919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7929 # Portably unset VAR.
7932 { eval $1=; unset $1;}
7934 as_unset
=as_fn_unset
7935 # as_fn_append VAR VALUE
7936 # ----------------------
7937 # Append the text in VALUE to the end of the definition contained in VAR. Take
7938 # advantage of any shell optimizations that allow amortized linear growth over
7939 # repeated appends, instead of the typical quadratic growth present in naive
7941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7942 eval 'as_fn_append ()
7953 # as_fn_arith ARG...
7954 # ------------------
7955 # Perform arithmetic evaluation on the ARGs, and store the result in the
7956 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7957 # must be portable across $(()) and expr.
7958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7959 eval 'as_fn_arith ()
7966 as_val
=`expr "$@" || test $? -eq 1`
7971 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7972 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7978 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7979 as_basename
=basename
7984 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7990 as_me
=`$as_basename -- "$0" ||
7991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7992 X"$0" : 'X\(//\)$' \| \
7993 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7995 sed '/^.*\/\([^/][^/]*\)\/*$/{
8009 # Avoid depending upon Character Ranges.
8010 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8011 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8012 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8013 as_cr_digits
='0123456789'
8014 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8016 ECHO_C
= ECHO_N
= ECHO_T
=
8017 case `echo -n x` in #(((((
8019 case `echo 'xy\c'` in
8020 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8022 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8029 rm -f conf$$ conf$$.exe conf$$.
file
8030 if test -d conf$$.dir
; then
8031 rm -f conf$$.dir
/conf$$.
file
8034 mkdir conf$$.dir
2>/dev
/null
8036 if (echo >conf$$.
file) 2>/dev
/null
; then
8037 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8039 # ... but there are two gotchas:
8040 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8041 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8042 # In both cases, we have to default to `cp -p'.
8043 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
8045 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8053 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8054 rmdir conf$$.dir
2>/dev
/null
8059 # Create "$as_dir" as a directory, including parents if necessary.
8064 -*) as_dir
=.
/$as_dir;;
8066 test -d "$as_dir" || eval $as_mkdir_p || {
8070 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8071 *) as_qdir
=$as_dir;;
8073 as_dirs
="'$as_qdir' $as_dirs"
8074 as_dir
=`$as_dirname -- "$as_dir" ||
8075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8076 X"$as_dir" : 'X\(//\)[^/]' \| \
8077 X"$as_dir" : 'X\(//\)$' \| \
8078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8079 $as_echo X"$as_dir" |
8080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8097 test -d "$as_dir" && break
8099 test -z "$as_dirs" || eval "mkdir $as_dirs"
8100 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8104 if mkdir -p .
2>/dev
/null
; then
8105 as_mkdir_p
='mkdir -p "$as_dir"'
8107 test -d .
/-p && rmdir .
/-p
8111 if test -x / >/dev
/null
2>&1; then
8114 if ls -dL / >/dev
/null
2>&1; then
8121 if test -d "$1"; then
8127 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8128 ???[sx]*):;;*)false;;esac;fi
8132 as_executable_p
=$as_test_x
8134 # Sed expression to map a string onto a valid CPP name.
8135 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8137 # Sed expression to map a string onto a valid variable name.
8138 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8142 ## ----------------------------------- ##
8143 ## Main body of $CONFIG_STATUS script. ##
8144 ## ----------------------------------- ##
8146 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8148 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8149 # Save the log message, to keep $0 and so on meaningful, and to
8150 # report actual input values of CONFIG_FILES etc. instead of their
8151 # values after options handling.
8153 This file was extended by $as_me, which was
8154 generated by GNU Autoconf 2.65. Invocation command line was
8156 CONFIG_FILES = $CONFIG_FILES
8157 CONFIG_HEADERS = $CONFIG_HEADERS
8158 CONFIG_LINKS = $CONFIG_LINKS
8159 CONFIG_COMMANDS = $CONFIG_COMMANDS
8162 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8167 case $ac_config_files in *"
8168 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8171 case $ac_config_headers in *"
8172 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8177 # Files that config.status was made for.
8178 config_files="$ac_config_files"
8179 config_headers="$ac_config_headers"
8180 config_commands="$ac_config_commands"
8184 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8186 \`$as_me' instantiates files and other configuration actions
8187 from templates according to the current configuration. Unless the files
8188 and actions are specified as TAGs, all are instantiated by default.
8190 Usage: $0 [OPTION]... [TAG]...
8192 -h, --help print this help, then exit
8193 -V, --version print version number and configuration settings, then exit
8194 --config print configuration, then exit
8195 -q, --quiet, --silent
8196 do not print progress messages
8197 -d, --debug don't remove temporary files
8198 --recheck update $as_me by reconfiguring in the same conditions
8199 --file=FILE[:TEMPLATE]
8200 instantiate the configuration file FILE
8201 --header=FILE[:TEMPLATE]
8202 instantiate the configuration header FILE
8204 Configuration files:
8207 Configuration headers:
8210 Configuration commands:
8213 Report bugs to the package provider."
8216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8217 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8220 configured by $0, generated by GNU Autoconf 2.65,
8221 with options \\"\$ac_cs_config\\"
8223 Copyright (C) 2009 Free Software Foundation, Inc.
8224 This config.status script is free software; the Free Software Foundation
8225 gives unlimited permission to copy, distribute and modify it."
8231 test -n "\$AWK" || AWK=awk
8234 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8235 # The default lists apply if the user does not specify any file.
8241 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8242 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8253 # Handling of the options.
8254 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8256 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8257 $as_echo "$ac_cs_version"; exit ;;
8258 --config | --confi | --conf | --con | --co | --c )
8259 $as_echo "$ac_cs_config"; exit ;;
8260 --debug | --debu | --deb | --de | --d | -d )
8262 --file | --fil | --fi | --f )
8265 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8267 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8268 ac_need_defaults
=false
;;
8269 --header | --heade | --head | --hea )
8272 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8274 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8275 ac_need_defaults
=false
;;
8277 # Conflict between --help and --header
8278 as_fn_error
"ambiguous option: \`$1'
8279 Try \`$0 --help' for more information.";;
8280 --help | --hel | -h )
8281 $as_echo "$ac_cs_usage"; exit ;;
8282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8283 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8287 -*) as_fn_error
"unrecognized option: \`$1'
8288 Try \`$0 --help' for more information." ;;
8290 *) as_fn_append ac_config_targets
" $1"
8291 ac_need_defaults
=false
;;
8297 ac_configure_extra_args
=
8299 if $ac_cs_silent; then
8301 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8306 if \$ac_cs_recheck; then
8307 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8309 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8310 CONFIG_SHELL='$SHELL'
8316 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8320 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8321 ## Running $as_me. ##
8327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8331 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8332 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
8333 # from automake < 1.5.
8334 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8335 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8336 LINGUAS="${LINGUAS-%UNSET%}"
8341 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8343 # Handling of arguments.
8344 for ac_config_target
in $ac_config_targets
8346 case $ac_config_target in
8347 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h:buildlib/config.h.in" ;;
8348 "include/apti18n.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/apti18n.h:buildlib/apti18n.h.in" ;;
8349 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
8350 "environment.mak") CONFIG_FILES
="$CONFIG_FILES environment.mak:buildlib/environment.mak.in" ;;
8351 "makefile") CONFIG_FILES
="$CONFIG_FILES makefile:buildlib/makefile.in" ;;
8352 "doc/Doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/Doxyfile" ;;
8353 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8355 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8360 # If the user did not use the arguments to specify the items to instantiate,
8361 # then the envvar interface is used. Set only those that are not.
8362 # We use the long form for the default assignment because of an extremely
8363 # bizarre bug on SunOS 4.1.3.
8364 if $ac_need_defaults; then
8365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8370 # Have a temporary directory for convenience. Make it in the build tree
8371 # simply because there is no reason against having it here, and in addition,
8372 # creating and moving files from /tmp can sometimes cause problems.
8373 # Hook for its removal unless debugging.
8374 # Note that there is a small window in which the directory will not be cleaned:
8375 # after its creation but before its name has been assigned to `$tmp'.
8379 trap 'exit_status=$?
8380 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8382 trap 'as_fn_exit 1' 1 2 13 15
8384 # Create a (secure) tmp directory for tmp files.
8387 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8388 test -n "$tmp" && test -d "$tmp"
8391 tmp
=.
/conf$$
-$RANDOM
8392 (umask 077 && mkdir "$tmp")
8393 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8395 # Set up the scripts for CONFIG_FILES section.
8396 # No need to generate them if there are no CONFIG_FILES.
8397 # This happens for instance with `./config.status config.h'.
8398 if test -n "$CONFIG_FILES"; then
8401 ac_cr
=`echo X | tr X '\015'`
8402 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8403 # But we know of no other shell where ac_cr would be empty at this
8404 # point, so we can use a bashism as a fallback.
8405 if test "x$ac_cr" = x
; then
8406 eval ac_cr
=\$
\'\\r
\'
8408 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8409 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8415 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8420 echo "cat >conf$$subs.awk <<_ACEOF" &&
8421 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8424 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8425 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8427 for ac_last_try in false false false false false :; do
8428 . ./conf$$subs.sh ||
8429 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8431 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8432 if test $ac_delim_n = $ac_delim_num; then
8434 elif $ac_last_try; then
8435 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8437 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8443 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8447 s/^/S["/; s
/!.
*/"]=/
8457 s/\(.\{148\}\)..*/\1/
8459 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8464 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8471 s/\(.\{148\}\)..*/\1/
8473 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8477 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8482 ' <conf$$subs.awk | sed '
8487 ' >>$CONFIG_STATUS || ac_write_fail=1
8488 rm -f conf$$subs.awk
8489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8491 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8492 for (key in S) S_is_set[key] = 1
8498 nfields = split(line, field, "@
")
8500 len = length(field[1])
8501 for (i = 2; i < nfields; i++) {
8503 keylen = length(key)
8504 if (S_is_set[key]) {
8506 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8507 len += length(value) + length(field[++i])
8518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8519 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8520 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8523 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8524 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8527 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8528 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8529 # trailing colons and then remove the whole line if VPATH becomes empty
8530 # (actually we leave an empty line to preserve line numbers).
8531 if test "x
$srcdir" = x.; then
8532 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8536 s/^\([^=]*=[ ]*\):*/\1/
8542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8543 fi # test -n "$CONFIG_FILES"
8545 # Set up the scripts for CONFIG_HEADERS section.
8546 # No need to generate them if there are no CONFIG_HEADERS.
8547 # This happens for instance with `./config.status Makefile'.
8548 if test -n "$CONFIG_HEADERS"; then
8549 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8553 # Transform confdefs.h into an awk script `defines.awk', embedded as
8554 # here-document in config.status, that substitutes the proper values into
8555 # config.h.in to produce config.h.
8557 # Create a delimiter string that does not exist in confdefs.h, to ease
8558 # handling of long lines.
8560 for ac_last_try in false false :; do
8561 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8562 if test -z "$ac_t"; then
8564 elif $ac_last_try; then
8565 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8567 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8571 # For the awk script, D is an array of macro values keyed by name,
8572 # likewise P contains macro parameters if any. Preserve backslash
8573 # newline sequences.
8575 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8577 s/.\{148\}/&'"$ac_delim"'/g
8580 s/^[ ]*#[ ]*define[ ][ ]*/ /
8587 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8589 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8593 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8594 D["\
1"]=" \
3\\\\\\n
"\\/p
8596 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8601 s/.\{148\}/&'"$ac_delim"'/g
8606 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8609 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8611 ' <confdefs.h | sed '
8612 s/'"$ac_delim"'/"\\\
8613 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8616 for (key in D) D_is_set[key] = 1
8619 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8621 split(line, arg, " ")
8622 if (arg[1] == "#") {
8626 defundef
= substr
(arg
[1], 2)
8629 split(mac1
, mac2
, "(") #)
8631 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8632 if (D_is_set
[macro
]) {
8633 # Preserve the white space surrounding the "#".
8634 print prefix
"define", macro P
[macro
] D
[macro
]
8637 # Replace #undef with comments. This is necessary, for example,
8638 # in the case of _POSIX_SOURCE, which is predefined and required
8639 # on some systems where configure will not decide to define it.
8640 if (defundef
== "undef") {
8641 print
"/*", prefix defundef
, macro
, "*/"
8649 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8650 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8651 fi # test -n "$CONFIG_HEADERS"
8654 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8659 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8661 case $ac_mode$ac_tag in
8663 :L
* | :C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8664 :[FH
]-) ac_tag
=-:-;;
8665 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8682 -) ac_f
="$tmp/stdin";;
8683 *) # Look for the file first in the build tree, then in the source tree
8684 # (if the path is not absolute). The absolute path cannot be DOS-style,
8685 # because $ac_f cannot contain `:'.
8689 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8691 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8693 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8694 as_fn_append ac_file_inputs
" '$ac_f'"
8697 # Let's still pretend it is `configure' which instantiates (i.e., don't
8698 # use $as_me), people would be surprised to read:
8699 # /* config.h. Generated by config.status. */
8700 configure_input
='Generated from '`
8701 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8703 if test x
"$ac_file" != x
-; then
8704 configure_input
="$ac_file. $configure_input"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8706 $as_echo "$as_me: creating $ac_file" >&6;}
8708 # Neutralize special characters interpreted by sed in replacement strings.
8709 case $configure_input in #(
8710 *\
&* | *\
|* | *\\* )
8711 ac_sed_conf_input
=`$as_echo "$configure_input" |
8712 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8713 *) ac_sed_conf_input
=$configure_input;;
8717 *:-:* | *:-) cat >"$tmp/stdin" \
8718 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8723 ac_dir
=`$as_dirname -- "$ac_file" ||
8724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8725 X"$ac_file" : 'X\(//\)[^/]' \| \
8726 X"$ac_file" : 'X\(//\)$' \| \
8727 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8728 $as_echo X"$ac_file" |
8729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8746 as_dir
="$ac_dir"; as_fn_mkdir_p
8750 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8752 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8753 # A ".." for each directory in $ac_dir_suffix.
8754 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8755 case $ac_top_builddir_sub in
8756 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8757 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8760 ac_abs_top_builddir
=$ac_pwd
8761 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8762 # for backward compatibility:
8763 ac_top_builddir
=$ac_top_build_prefix
8766 .
) # We are building in place.
8768 ac_top_srcdir
=$ac_top_builddir_sub
8769 ac_abs_top_srcdir
=$ac_pwd ;;
8770 [\\/]* | ?
:[\\/]* ) # Absolute name.
8771 ac_srcdir
=$srcdir$ac_dir_suffix;
8772 ac_top_srcdir
=$srcdir
8773 ac_abs_top_srcdir
=$srcdir ;;
8775 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8776 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8777 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8779 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8789 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8790 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8794 [\\/$
]* | ?
:[\\/]* ) ;;
8795 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8799 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8800 # If the template does not know about datarootdir, expand it.
8801 # FIXME: This hack should be removed a few years after 2.60.
8802 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8813 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8814 *datarootdir
*) ac_datarootdir_seen
=yes;;
8815 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8817 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8820 ac_datarootdir_hack='
8821 s&@datadir@&$datadir&g
8822 s&@docdir@&$docdir&g
8823 s&@infodir@&$infodir&g
8824 s&@localedir@&$localedir&g
8825 s&@mandir@&$mandir&g
8826 s&\\\${datarootdir}&$datarootdir&g' ;;
8830 # Neutralize VPATH when `$srcdir' = `.'.
8831 # Shell code in configure.ac might set extrasub.
8832 # FIXME: do we really want to maintain this feature?
8833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8834 ac_sed_extra="$ac_vpsub
8837 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8839 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8840 s
|@configure_input@
|$ac_sed_conf_input|;t t
8841 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8842 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8843 s
&@srcdir@
&$ac_srcdir&;t t
8844 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8845 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8846 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8847 s
&@builddir@
&$ac_builddir&;t t
8848 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8849 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8850 s
&@INSTALL@
&$ac_INSTALL&;t t
8851 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8852 $ac_datarootdir_hack
8854 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8855 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8857 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8858 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8859 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8861 which seems to be undefined. Please make sure it is defined." >&5
8862 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8863 which seems to be undefined. Please make sure it is defined." >&2;}
8867 -) cat "$tmp/out" && rm -f "$tmp/out";;
8868 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8870 || as_fn_error "could not create $ac_file" "$LINENO" 5
8876 if test x"$ac_file" != x-; then
8878 $as_echo "/* $configure_input */" \
8879 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8880 } >"$tmp/config.h" \
8881 || as_fn_error "could not create $ac_file" "$LINENO" 5
8882 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8884 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8887 mv "$tmp/config.h" "$ac_file" \
8888 || as_fn_error "could not create $ac_file" "$LINENO" 5
8891 $as_echo "/* $configure_input */" \
8892 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8893 || as_fn_error "could not create -" "$LINENO" 5
8897 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8898 $as_echo "$as_me: executing $ac_file commands" >&6;}
8903 case $ac_file$ac_mode in
8905 for ac_file in $CONFIG_FILES; do
8906 # Support "outfile[:infile[:infile...]]"
8908 *:*) ac_file=`echo "$ac_file"|sed 's
%:.
*%%'` ;;
8910 # PO directories have a Makefile.in generated from Makefile.in.in.
8911 case "$ac_file" in */Makefile.in)
8912 # Adjust a relative srcdir.
8913 ac_dir=`echo "$ac_file"|sed 's
%/[^
/][^
/]*$
%%'`
8914 ac_dir_suffix="/`echo "$ac_dir"|sed 's
%^\.
/%%'`"
8915 ac_dots=`echo "$ac_dir_suffix"|sed 's
%/[^
/]*%..
/%g
'`
8916 # In autoconf-2.13 it is called $ac_given_srcdir.
8917 # In autoconf-2.50 it is called $srcdir.
8918 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8919 case "$ac_given_srcdir" in
8920 .) top_srcdir=`echo $ac_dots|sed 's
%/$
%%'` ;;
8921 /*) top_srcdir="$ac_given_srcdir" ;;
8922 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8924 # Treat a directory as a PO directory if and only if it has a
8925 # POTFILES.in file. This allows packages to have multiple PO
8926 # directories under different names or in different locations.
8927 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8928 rm -f "$ac_dir/POTFILES"
8929 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8930 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8931 POMAKEFILEDEPS="POTFILES.in"
8932 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8933 # on $ac_dir but don't depend on user
-specified configuration
8935 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8936 # The LINGUAS file contains the set of available languages.
8937 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8938 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8940 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8941 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8942 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8943 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8945 # The set of available languages was given in configure.in.
8946 # Hide the ALL_LINGUAS assigment from automake < 1.5.
8947 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8950 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8951 # Compute UPDATEPOFILES
8952 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8953 # Compute DUMMYPOFILES
8954 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8956 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8957 case "$ac_given_srcdir" in
8959 *) srcdirpre
='$(srcdir)/' ;;
8965 for lang
in $ALL_LINGUAS; do
8966 POFILES
="$POFILES $srcdirpre$lang.po"
8967 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8968 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8969 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8971 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8972 # environment variable.
8974 if test -n "$ALL_LINGUAS"; then
8975 for presentlang
in $ALL_LINGUAS; do
8977 if test "%UNSET%" != "$LINGUAS"; then
8978 desiredlanguages
="$LINGUAS"
8980 desiredlanguages
="$ALL_LINGUAS"
8982 for desiredlang
in $desiredlanguages; do
8983 # Use the presentlang catalog if desiredlang is
8984 # a. equal to presentlang, or
8985 # b. a variant of presentlang (because in this case,
8986 # presentlang can be used as a fallback for messages
8987 # which are not translated in the desiredlang catalog).
8988 case "$desiredlang" in
8989 "$presentlang"*) useit
=yes;;
8992 if test $useit = yes; then
8993 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8998 if test -n "$INST_LINGUAS"; then
8999 for lang
in $INST_LINGUAS; do
9000 CATALOGS
="$CATALOGS $lang.gmo"
9003 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
9004 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"
9005 for f
in "$ac_given_srcdir/$ac_dir"/Rules
-*; do
9006 if test -f "$f"; then
9008 *.orig
| *.bak
| *~
) ;;
9009 *) cat "$f" >> "$ac_dir/Makefile" ;;
9017 "default":C
) make -s dirs ;;
9025 ac_clean_files
=$ac_clean_files_save
9027 test $ac_write_fail = 0 ||
9028 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9031 # configure is writing to config.log, and then calls config.status.
9032 # config.status does its own redirection, appending to config.log.
9033 # Unfortunately, on DOS this fails, as config.log is still kept open
9034 # by configure, so config.status won't be able to write to it; its
9035 # output is simply discarded. So we exec the FD to /dev/null,
9036 # effectively closing config.log, so it can be properly (re)opened and
9037 # appended to by config.status. When coming back to configure, we
9038 # need to make the FD available again.
9039 if test "$no_create" != yes; then
9041 ac_config_status_args
=
9042 test "$silent" = yes &&
9043 ac_config_status_args
="$ac_config_status_args --quiet"
9045 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9047 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9048 # would make configure fail if this is the last instruction.
9049 $ac_cs_success || as_fn_exit $?
9051 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9053 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}