2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184 if (eval "$as_required") 2>/dev
/null
; then :
189 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
194 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir
=.
201 for as_base
in sh bash ksh sh5
; do
202 # Try only shells that exist, to save several forks.
203 as_shell
=$as_dir/$as_base
204 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$as_shell as_have_required
=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
215 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
217 CONFIG_SHELL
=$SHELL as_have_required
=yes
222 if test "x$CONFIG_SHELL" != x
; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
232 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x
$as_have_required = xno
; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x
${ZSH_VERSION+set} = xset
; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE
= GREP_OPTIONS
=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir
=.
/$as_dir;;
301 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
305 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs
="'$as_qdir' $as_dirs"
309 as_dir
=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
335 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
370 as_val
=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status
=$1; test $as_status -eq 0 && as_status
=1
384 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit
$as_status
391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
410 as_me
=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits
='0123456789'
434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
437 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
438 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x
"$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C
= ECHO_N
= ECHO_T
=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
481 rm -f conf$$ conf$$.exe conf$$.
file
482 if test -d conf$$.dir
; then
483 rm -f conf$$.dir
/conf$$.
file
486 mkdir conf$$.dir
2>/dev
/null
488 if (echo >conf$$.
file) 2>/dev
/null
; then
489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
509 as_mkdir_p
='mkdir -p "$as_dir"'
511 test -d .
/-p && rmdir .
/-p
515 if test -x / >/dev
/null
2>&1; then
518 if ls -dL / >/dev
/null
2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p
=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL
=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix
=/usr
/local
560 ac_config_libobj_dir
=.
567 # Identity of this package.
575 ac_unique_file
="lib/iconv.c"
576 # Factoring default headers for most tests.
577 ac_includes_default
="\
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
589 # ifdef HAVE_STDLIB_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
615 enable_option_checking
=no
616 ac_subst_vars
='gltests_LTLIBOBJS
631 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
632 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
633 LIBUNISTRING_UNIWIDTH_H
634 LIBUNISTRING_UNITYPES_H
636 NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
638 PTHREAD_H_DEFINES_STRUCT_TIMESPEC
639 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
640 TIME_H_DEFINES_STRUCT_TIMESPEC
641 NEXT_AS_FIRST_DIRECTIVE_TIME_H
650 HAVE_DECL_LOCALTIME_R
656 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
658 NEXT_AS_FIRST_DIRECTIVE_STRING_H
734 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
736 NEXT_AS_FIRST_DIRECTIVE_STDIO_H
738 GL_GENERATE_STDINT_H_FALSE
739 GL_GENERATE_STDINT_H_TRUE
748 HAVE_SIGNED_SIG_ATOMIC_T
751 BITSIZEOF_SIG_ATOMIC_T
757 NEXT_AS_FIRST_DIRECTIVE_STDINT_H
762 HAVE_UNSIGNED_LONG_LONG_INT
764 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
766 GL_GENERATE_STDDEF_H_FALSE
767 GL_GENERATE_STDDEF_H_TRUE
771 GL_GENERATE_STDBOOL_H_FALSE
772 GL_GENERATE_STDBOOL_H_TRUE
782 REPLACE_STDIO_WRITE_FUNCS
783 REPLACE_STDIO_READ_FUNCS
792 REPLACE_OBSTACK_PRINTF
814 HAVE_DECL_OBSTACK_PRINTF
820 GNULIB_VSPRINTF_POSIX
824 GNULIB_VFPRINTF_POSIX
831 GNULIB_STDIO_H_SIGPIPE
832 GNULIB_STDIO_H_NONBLOCKING
846 GNULIB_OBSTACK_PRINTF_POSIX
847 GNULIB_OBSTACK_PRINTF
872 NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
874 REPLACE_PTHREAD_SIGMASK
876 HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
877 HAVE_STRUCT_SIGACTION_SA_SIGACTION
882 HAVE_POSIX_SIGNALBLOCKING
885 GNULIB_SIGNAL_H_SIGPIPE
886 GNULIB_PTHREAD_SIGMASK
887 APPLE_UNIVERSAL_BUILD
920 NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
937 GL_GENERATE_ERRNO_H_FALSE
938 GL_GENERATE_ERRNO_H_TRUE
940 NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
944 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
946 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
947 UNISTD_H_HAVE_WINSOCK2_H
967 REPLACE_GETDOMAINNAME
977 HAVE_DECL_GETUSERSHELL
978 HAVE_DECL_GETPAGESIZE
980 HAVE_DECL_GETDOMAINNAME
1016 GNULIB_UNISTD_H_SIGPIPE
1017 GNULIB_UNISTD_H_NONBLOCKING
1018 GNULIB_UNISTD_H_GETOPT
1042 GNULIB_GETDTABLESIZE
1043 GNULIB_GETDOMAINNAME
1066 REPLACE_CANONICALIZE_FILE_NAME
1071 HAVE_STRUCT_RANDOM_DATA
1089 HAVE_DECL_GETLOADAVG
1090 HAVE_CANONICALIZE_FILE_NAME
1103 GNULIB_REALLOC_POSIX
1117 GNULIB_CANONICALIZE_FILE_NAME
1121 GL_GENERATE_ALLOCA_H_FALSE
1122 GL_GENERATE_ALLOCA_H_TRUE
1125 GL_COND_LIBTOOL_FALSE
1126 GL_COND_LIBTOOL_TRUE
1137 XGETTEXT_EXTRA_OPTIONS
1145 GETTEXT_MACRO_VERSION
1176 RELOCATABLE_BUILD_DIR
1178 RELOCATABLE_CONFIG_H_DIR
1179 RELOCATABLE_LIBRARY_PATH
1180 RELOCATABLE_VIA_WRAPPER_FALSE
1181 RELOCATABLE_VIA_WRAPPER_TRUE
1182 RELOCATABLE_VIA_LD_FALSE
1183 RELOCATABLE_VIA_LD_TRUE
1225 INSTALL_STRIP_PROGRAM
1267 program_transform_name
1280 enable_option_checking
1281 enable_dependency_tracking
1284 enable_extra_encodings
1292 with_libiconv_prefix
1296 ac_precious_vars
='build_alias
1306 ac_subdirs_all
='libcharset
1309 # Initialize some variables set by options.
1311 ac_init_version
=false
1312 ac_unrecognized_opts
=
1313 ac_unrecognized_sep
=
1314 # The variables have the same names as the options, with
1315 # dashes changed to underlines.
1316 cache_file
=/dev
/null
1323 program_transform_name
=s
,x
,x
,
1331 # Installation directory options.
1332 # These are left unexpanded so users can "make install exec_prefix=/foo"
1333 # and all the variables that are supposed to be based on exec_prefix
1334 # by default will actually change.
1335 # Use braces instead of parens because sh, perl, etc. also accept them.
1336 # (The list follows the same order as the GNU Coding Standards.)
1337 bindir
='${exec_prefix}/bin'
1338 sbindir
='${exec_prefix}/sbin'
1339 libexecdir
='${exec_prefix}/libexec'
1340 datarootdir
='${prefix}/share'
1341 datadir
='${datarootdir}'
1342 sysconfdir
='${prefix}/etc'
1343 sharedstatedir
='${prefix}/com'
1344 localstatedir
='${prefix}/var'
1345 includedir
='${prefix}/include'
1346 oldincludedir
='/usr/include'
1347 docdir
='${datarootdir}/doc/${PACKAGE}'
1348 infodir
='${datarootdir}/info'
1353 libdir
='${exec_prefix}/lib'
1354 localedir
='${datarootdir}/locale'
1355 mandir
='${datarootdir}/man'
1361 # If the previous option needs an argument, assign it.
1362 if test -n "$ac_prev"; then
1363 eval $ac_prev=\
$ac_option
1369 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1374 # Accept the important Cygnus configure options, so we can diagnose typos.
1376 case $ac_dashdash$ac_option in
1380 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1382 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1383 bindir
=$ac_optarg ;;
1385 -build |
--build |
--buil |
--bui |
--bu)
1386 ac_prev
=build_alias
;;
1387 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1388 build_alias
=$ac_optarg ;;
1390 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1391 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1392 ac_prev
=cache_file
;;
1393 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1394 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1395 cache_file
=$ac_optarg ;;
1397 --config-cache |
-C)
1398 cache_file
=config.cache
;;
1400 -datadir |
--datadir |
--datadi |
--datad)
1402 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1403 datadir
=$ac_optarg ;;
1405 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1406 |
--dataroo |
--dataro |
--datar)
1407 ac_prev
=datarootdir
;;
1408 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1409 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1410 datarootdir
=$ac_optarg ;;
1412 -disable-* |
--disable-*)
1413 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1416 as_fn_error $?
"invalid feature name: $ac_useropt"
1417 ac_useropt_orig
=$ac_useropt
1418 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1419 case $ac_user_opts in
1421 "enable_
$ac_useropt"
1423 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1424 ac_unrecognized_sep
=', ';;
1426 eval enable_
$ac_useropt=no
;;
1428 -docdir |
--docdir |
--docdi |
--doc |
--do)
1430 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1431 docdir
=$ac_optarg ;;
1433 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1435 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1436 dvidir
=$ac_optarg ;;
1438 -enable-* |
--enable-*)
1439 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1442 as_fn_error $?
"invalid feature name: $ac_useropt"
1443 ac_useropt_orig
=$ac_useropt
1444 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1445 case $ac_user_opts in
1447 "enable_
$ac_useropt"
1449 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1450 ac_unrecognized_sep
=', ';;
1452 eval enable_
$ac_useropt=\
$ac_optarg ;;
1454 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1455 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1456 |
--exec |
--exe |
--ex)
1457 ac_prev
=exec_prefix
;;
1458 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1459 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1460 |
--exec=* |
--exe=* |
--ex=*)
1461 exec_prefix
=$ac_optarg ;;
1463 -gas |
--gas |
--ga |
--g)
1464 # Obsolete; use --with-gas.
1467 -help |
--help |
--hel |
--he |
-h)
1468 ac_init_help
=long
;;
1469 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1470 ac_init_help
=recursive
;;
1471 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1472 ac_init_help
=short
;;
1474 -host |
--host |
--hos |
--ho)
1475 ac_prev
=host_alias
;;
1476 -host=* |
--host=* |
--hos=* |
--ho=*)
1477 host_alias
=$ac_optarg ;;
1479 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1481 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1483 htmldir
=$ac_optarg ;;
1485 -includedir |
--includedir |
--includedi |
--included |
--include \
1486 |
--includ |
--inclu |
--incl |
--inc)
1487 ac_prev
=includedir
;;
1488 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1489 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1490 includedir
=$ac_optarg ;;
1492 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1494 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1495 infodir
=$ac_optarg ;;
1497 -libdir |
--libdir |
--libdi |
--libd)
1499 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1500 libdir
=$ac_optarg ;;
1502 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1503 |
--libexe |
--libex |
--libe)
1504 ac_prev
=libexecdir
;;
1505 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1506 |
--libexe=* |
--libex=* |
--libe=*)
1507 libexecdir
=$ac_optarg ;;
1509 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1510 ac_prev
=localedir
;;
1511 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1512 localedir
=$ac_optarg ;;
1514 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1515 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1516 ac_prev
=localstatedir
;;
1517 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1518 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1519 localstatedir
=$ac_optarg ;;
1521 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1523 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1524 mandir
=$ac_optarg ;;
1526 -nfp |
--nfp |
--nf)
1527 # Obsolete; use --without-fp.
1530 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1531 |
--no-cr |
--no-c |
-n)
1534 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1535 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1538 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1539 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1540 |
--oldin |
--oldi |
--old |
--ol |
--o)
1541 ac_prev
=oldincludedir
;;
1542 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1543 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1544 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1545 oldincludedir
=$ac_optarg ;;
1547 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1549 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1550 prefix
=$ac_optarg ;;
1552 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1553 |
--program-pre |
--program-pr |
--program-p)
1554 ac_prev
=program_prefix
;;
1555 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1556 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1557 program_prefix
=$ac_optarg ;;
1559 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1560 |
--program-suf |
--program-su |
--program-s)
1561 ac_prev
=program_suffix
;;
1562 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1563 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1564 program_suffix
=$ac_optarg ;;
1566 -program-transform-name |
--program-transform-name \
1567 |
--program-transform-nam |
--program-transform-na \
1568 |
--program-transform-n |
--program-transform- \
1569 |
--program-transform |
--program-transfor \
1570 |
--program-transfo |
--program-transf \
1571 |
--program-trans |
--program-tran \
1572 |
--progr-tra |
--program-tr |
--program-t)
1573 ac_prev
=program_transform_name
;;
1574 -program-transform-name=* |
--program-transform-name=* \
1575 |
--program-transform-nam=* |
--program-transform-na=* \
1576 |
--program-transform-n=* |
--program-transform-=* \
1577 |
--program-transform=* |
--program-transfor=* \
1578 |
--program-transfo=* |
--program-transf=* \
1579 |
--program-trans=* |
--program-tran=* \
1580 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1581 program_transform_name
=$ac_optarg ;;
1583 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1585 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1586 pdfdir
=$ac_optarg ;;
1588 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1590 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1593 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1594 |
-silent |
--silent |
--silen |
--sile |
--sil)
1597 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1599 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1601 sbindir
=$ac_optarg ;;
1603 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1604 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1605 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1607 ac_prev
=sharedstatedir
;;
1608 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1609 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1610 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1612 sharedstatedir
=$ac_optarg ;;
1614 -site |
--site |
--sit)
1616 -site=* |
--site=* |
--sit=*)
1619 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1621 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1622 srcdir
=$ac_optarg ;;
1624 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1625 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1626 ac_prev
=sysconfdir
;;
1627 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1628 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1629 sysconfdir
=$ac_optarg ;;
1631 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1632 ac_prev
=target_alias
;;
1633 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1634 target_alias
=$ac_optarg ;;
1636 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1639 -version |
--version |
--versio |
--versi |
--vers |
-V)
1640 ac_init_version
=: ;;
1643 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1644 # Reject names that are not valid shell variable names.
1645 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1646 as_fn_error $?
"invalid package name: $ac_useropt"
1647 ac_useropt_orig
=$ac_useropt
1648 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1649 case $ac_user_opts in
1653 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1654 ac_unrecognized_sep
=', ';;
1656 eval with_
$ac_useropt=\
$ac_optarg ;;
1658 -without-* |
--without-*)
1659 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1660 # Reject names that are not valid shell variable names.
1661 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1662 as_fn_error $?
"invalid package name: $ac_useropt"
1663 ac_useropt_orig
=$ac_useropt
1664 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1665 case $ac_user_opts in
1669 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1670 ac_unrecognized_sep
=', ';;
1672 eval with_
$ac_useropt=no
;;
1675 # Obsolete; use --with-x.
1678 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1679 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1680 ac_prev
=x_includes
;;
1681 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1682 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1683 x_includes
=$ac_optarg ;;
1685 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1686 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1687 ac_prev
=x_libraries
;;
1688 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1689 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1690 x_libraries
=$ac_optarg ;;
1692 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1693 Try \`$0 --help' for more information"
1697 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1698 # Reject names that are not valid shell variable names.
1699 case $ac_envvar in #(
1700 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1701 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1703 eval $ac_envvar=\
$ac_optarg
1704 export $ac_envvar ;;
1707 # FIXME: should be removed in autoconf 3.0.
1708 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1709 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1710 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1711 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1717 if test -n "$ac_prev"; then
1718 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1719 as_fn_error $?
"missing argument to $ac_option"
1722 if test -n "$ac_unrecognized_opts"; then
1723 case $enable_option_checking in
1725 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1726 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1730 # Check all directory arguments for consistency.
1731 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1732 datadir sysconfdir sharedstatedir localstatedir includedir \
1733 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1734 libdir localedir mandir
1736 eval ac_val
=\$
$ac_var
1737 # Remove trailing slashes.
1740 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1741 eval $ac_var=\
$ac_val;;
1743 # Be sure to have absolute directory names.
1745 [\\/$
]* | ?
:[\\/]* ) continue;;
1746 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1748 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1751 # There might be people who depend on the old broken behavior: `$host'
1752 # used to hold the argument of --host etc.
1753 # FIXME: To remove some day.
1756 target
=$target_alias
1758 # FIXME: To remove some day.
1759 if test "x$host_alias" != x
; then
1760 if test "x$build_alias" = x
; then
1761 cross_compiling
=maybe
1762 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1763 If a cross compiler is detected then cross compile mode will be used" >&2
1764 elif test "x$build_alias" != "x$host_alias"; then
1770 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1772 test "$silent" = yes && exec 6>/dev
/null
1775 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1776 ac_ls_di
=`ls -di .` &&
1777 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1778 as_fn_error $?
"working directory cannot be determined"
1779 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1780 as_fn_error $?
"pwd does not report name of working directory"
1783 # Find the source files, if location was not specified.
1784 if test -z "$srcdir"; then
1785 ac_srcdir_defaulted
=yes
1786 # Try the directory containing this script, then the parent directory.
1787 ac_confdir
=`$as_dirname -- "$as_myself" ||
1788 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1789 X"$as_myself" : 'X\(//\)[^/]' \| \
1790 X"$as_myself" : 'X\(//\)$' \| \
1791 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1792 $as_echo X"$as_myself" |
1793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1811 if test ! -r "$srcdir/$ac_unique_file"; then
1815 ac_srcdir_defaulted
=no
1817 if test ! -r "$srcdir/$ac_unique_file"; then
1818 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1819 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1821 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1823 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1825 # When building in place, set srcdir=.
1826 if test "$ac_abs_confdir" = "$ac_pwd"; then
1829 # Remove unnecessary trailing slashes from srcdir.
1830 # Double slashes in file names in object file debugging info
1831 # mess up M-x gdb in Emacs.
1833 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1835 for ac_var
in $ac_precious_vars; do
1836 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1837 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1838 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1839 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1843 # Report the --help message.
1845 if test "$ac_init_help" = "long"; then
1846 # Omit some internal or obsolete options to make the list less imposing.
1847 # This message is too long to be a string in the A/UX 3.1 sh.
1849 \`configure' configures this package to adapt to many kinds of systems.
1851 Usage: $0 [OPTION]... [VAR=VALUE]...
1853 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1854 VAR=VALUE. See below for descriptions of some of the useful variables.
1856 Defaults for the options are specified in brackets.
1859 -h, --help display this help and exit
1860 --help=short display options specific to this package
1861 --help=recursive display the short help of all the included packages
1862 -V, --version display version information and exit
1863 -q, --quiet, --silent do not print \`checking ...' messages
1864 --cache-file=FILE cache test results in FILE [disabled]
1865 -C, --config-cache alias for \`--cache-file=config.cache'
1866 -n, --no-create do not create output files
1867 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1869 Installation directories:
1870 --prefix=PREFIX install architecture-independent files in PREFIX
1871 [$ac_default_prefix]
1872 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1875 By default, \`make install' will install all the files in
1876 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1877 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1878 for instance \`--prefix=\$HOME'.
1880 For better control, use the options below.
1882 Fine tuning of the installation directories:
1883 --bindir=DIR user executables [EPREFIX/bin]
1884 --sbindir=DIR system admin executables [EPREFIX/sbin]
1885 --libexecdir=DIR program executables [EPREFIX/libexec]
1886 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1887 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1888 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1889 --libdir=DIR object code libraries [EPREFIX/lib]
1890 --includedir=DIR C header files [PREFIX/include]
1891 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1892 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1893 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1894 --infodir=DIR info documentation [DATAROOTDIR/info]
1895 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1896 --mandir=DIR man documentation [DATAROOTDIR/man]
1897 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1898 --htmldir=DIR html documentation [DOCDIR]
1899 --dvidir=DIR dvi documentation [DOCDIR]
1900 --pdfdir=DIR pdf documentation [DOCDIR]
1901 --psdir=DIR ps documentation [DOCDIR]
1907 --program-prefix=PREFIX prepend PREFIX to installed program names
1908 --program-suffix=SUFFIX append SUFFIX to installed program names
1909 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1912 --build=BUILD configure
for building on BUILD
[guessed
]
1913 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1917 if test -n "$ac_init_help"; then
1922 --disable-option-checking ignore unrecognized
--enable/--with options
1923 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1924 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1925 --disable-dependency-tracking speeds up one-time build
1926 --enable-dependency-tracking do not reject slow dependency extractors
1927 --enable-relocatable install a package that can be moved
in the
file
1929 --enable-extra-encodings
1930 add support
for a few rarely used encodings
1931 --enable-static[=PKGS
] build static libraries
[default
=no
]
1932 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1933 --enable-fast-install[=PKGS
]
1934 optimize
for fast installation
[default
=yes]
1935 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1936 --disable-rpath do not hardcode runtime library paths
1937 --disable-nls do not use Native Language Support
1940 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1941 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1942 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1943 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1945 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1946 --with-sysroot=DIR Search
for dependent libraries within DIR
1947 (or the compiler
's sysroot if not specified).
1948 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1949 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1950 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1951 --without-libintl-prefix don
't search for libintl in includedir and libdir
1953 Some influential environment variables:
1954 CC C compiler command
1955 CFLAGS C compiler flags
1956 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1957 nonstandard directory <lib dir>
1958 LIBS libraries to pass to the linker, e.g. -l<library>
1959 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1960 you have headers in a nonstandard directory <include dir>
1963 Use these variables to override the choices made by `configure' or to
help
1964 it to
find libraries and programs with nonstandard names
/locations.
1966 Report bugs to the package provider.
1971 if test "$ac_init_help" = "recursive"; then
1972 # If there are subdirs, report their specific --help.
1973 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1974 test -d "$ac_dir" ||
1975 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1980 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1982 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1983 # A ".." for each directory in $ac_dir_suffix.
1984 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1985 case $ac_top_builddir_sub in
1986 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1987 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1990 ac_abs_top_builddir
=$ac_pwd
1991 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1992 # for backward compatibility:
1993 ac_top_builddir
=$ac_top_build_prefix
1996 .
) # We are building in place.
1998 ac_top_srcdir
=$ac_top_builddir_sub
1999 ac_abs_top_srcdir
=$ac_pwd ;;
2000 [\\/]* | ?
:[\\/]* ) # Absolute name.
2001 ac_srcdir
=$srcdir$ac_dir_suffix;
2002 ac_top_srcdir
=$srcdir
2003 ac_abs_top_srcdir
=$srcdir ;;
2005 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2006 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2007 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2009 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2011 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2012 # Check for guested configure.
2013 if test -f "$ac_srcdir/configure.gnu"; then
2015 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2016 elif test -f "$ac_srcdir/configure"; then
2018 $SHELL "$ac_srcdir/configure" --help=recursive
2020 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2022 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2026 test -n "$ac_init_help" && exit $ac_status
2027 if $ac_init_version; then
2030 generated by GNU Autoconf
2.68
2032 Copyright
(C
) 2010 Free Software Foundation
, Inc.
2033 This configure
script is free software
; the Free Software Foundation
2034 gives unlimited permission to copy
, distribute and modify it.
2039 ## ------------------------ ##
2040 ## Autoconf initialization. ##
2041 ## ------------------------ ##
2043 # ac_fn_c_try_compile LINENO
2044 # --------------------------
2045 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2046 ac_fn_c_try_compile
()
2048 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2049 rm -f conftest.
$ac_objext
2050 if { { ac_try
="$ac_compile"
2052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2053 *) ac_try_echo=$ac_try;;
2055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2056 $as_echo "$ac_try_echo"; } >&5
2057 (eval "$ac_compile") 2>conftest.err
2059 if test -s conftest.err; then
2060 grep -v '^ *+' conftest.err >conftest.er1
2061 cat conftest.er1 >&5
2062 mv -f conftest.er1 conftest.err
2064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065 test $ac_status = 0; } && {
2066 test -z "$ac_c_werror_flag" ||
2067 test ! -s conftest.err
2068 } && test -s conftest.$ac_objext; then :
2071 $as_echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.$ac_ext >&5
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 as_fn_set_status $ac_retval
2079 } # ac_fn_c_try_compile
2081 # ac_fn_c_try_cpp LINENO
2082 # ----------------------
2083 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087 if { { ac_try="$ac_cpp conftest.$ac_ext"
2089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2090 *) ac_try_echo
=$ac_try;;
2092 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2093 $as_echo "$ac_try_echo"; } >&5
2094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2096 if test -s conftest.err
; then
2097 grep -v '^ *+' conftest.err
>conftest.er1
2098 cat conftest.er1
>&5
2099 mv -f conftest.er1 conftest.err
2101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2102 test $ac_status = 0; } > conftest.i
&& {
2103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2104 test ! -s conftest.err
2108 $as_echo "$as_me: failed program was:" >&5
2109 sed 's/^/| /' conftest.
$ac_ext >&5
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 as_fn_set_status
$ac_retval
2118 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2119 # -------------------------------------------------------
2120 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2121 # the include files in INCLUDES and setting the cache variable VAR
2123 ac_fn_c_check_header_mongrel
()
2125 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2126 if eval \
${$3+:} false
; then :
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2128 $as_echo_n "checking for $2... " >&6; }
2129 if eval \
${$3+:} false
; then :
2130 $as_echo_n "(cached) " >&6
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2136 # Is the header compilable?
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2138 $as_echo_n "checking $2 usability... " >&6; }
2139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2144 if ac_fn_c_try_compile
"$LINENO"; then :
2145 ac_header_compiler
=yes
2147 ac_header_compiler
=no
2149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2151 $as_echo "$ac_header_compiler" >&6; }
2153 # Is the header present?
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2155 $as_echo_n "checking $2 presence... " >&6; }
2156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2160 if ac_fn_c_try_cpp
"$LINENO"; then :
2161 ac_header_preproc
=yes
2163 ac_header_preproc
=no
2165 rm -f conftest.err conftest.i conftest.
$ac_ext
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2167 $as_echo "$ac_header_preproc" >&6; }
2169 # So? What about this header?
2170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2173 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2179 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2181 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2183 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2185 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2187 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191 $as_echo_n "checking for $2... " >&6; }
2192 if eval \
${$3+:} false
; then :
2193 $as_echo_n "(cached) " >&6
2195 eval "$3=\$ac_header_compiler"
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2203 } # ac_fn_c_check_header_mongrel
2205 # ac_fn_c_try_run LINENO
2206 # ----------------------
2207 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2208 # that executables *can* be run.
2211 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2212 if { { ac_try
="$ac_link"
2214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_link") 2>&5
2221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2222 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2223 { { case "(($ac_try" in
2224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2225 *) ac_try_echo
=$ac_try;;
2227 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2228 $as_echo "$ac_try_echo"; } >&5
2229 (eval "$ac_try") 2>&5
2231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2232 test $ac_status = 0; }; }; then :
2235 $as_echo "$as_me: program exited with status $ac_status" >&5
2236 $as_echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.
$ac_ext >&5
2239 ac_retval
=$ac_status
2241 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 as_fn_set_status
$ac_retval
2247 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2248 # -------------------------------------------------------
2249 # Tests whether HEADER exists and can be compiled using the include files in
2250 # INCLUDES, setting the cache variable VAR accordingly.
2251 ac_fn_c_check_header_compile
()
2253 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2255 $as_echo_n "checking for $2... " >&6; }
2256 if eval \
${$3+:} false
; then :
2257 $as_echo_n "(cached) " >&6
2259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2264 if ac_fn_c_try_compile
"$LINENO"; then :
2269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2276 } # ac_fn_c_check_header_compile
2278 # ac_fn_c_try_link LINENO
2279 # -----------------------
2280 # Try to link conftest.$ac_ext, and return whether this succeeded.
2283 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2284 rm -f conftest.
$ac_objext conftest
$ac_exeext
2285 if { { ac_try
="$ac_link"
2287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2288 *) ac_try_echo=$ac_try;;
2290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2291 $as_echo "$ac_try_echo"; } >&5
2292 (eval "$ac_link") 2>conftest.err
2294 if test -s conftest.err; then
2295 grep -v '^ *+' conftest.err >conftest.er1
2296 cat conftest.er1 >&5
2297 mv -f conftest.er1 conftest.err
2299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2300 test $ac_status = 0; } && {
2301 test -z "$ac_c_werror_flag" ||
2302 test ! -s conftest.err
2303 } && test -s conftest$ac_exeext && {
2304 test "$cross_compiling" = yes ||
2305 $as_test_x conftest$ac_exeext
2309 $as_echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.$ac_ext >&5
2314 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2315 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2316 # interfere with the next link command; also delete a directory that is
2317 # left behind by Apple's compiler. We do this before executing the actions.
2318 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 as_fn_set_status $ac_retval
2322 } # ac_fn_c_try_link
2324 # ac_fn_c_check_func LINENO FUNC VAR
2325 # ----------------------------------
2326 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2327 ac_fn_c_check_func ()
2329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2331 $as_echo_n "checking for $2... " >&6; }
2332 if eval \${$3+:} false; then :
2333 $as_echo_n "(cached) " >&6
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2337 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2339 #define $2 innocuous_$2
2341 /* System header to define __stub macros and hopefully few prototypes,
2342 which can conflict with char $2 (); below.
2343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2344 <limits.h> exists even on freestanding compilers. */
2347 # include <limits.h>
2349 # include <assert.h>
2354 /* Override any GCC internal prototype to avoid an error.
2355 Use char because int might match the return type of a GCC
2356 builtin and then its argument prototype would still apply. */
2361 /* The GNU C library defines this for functions which it implements
2362 to always fail with ENOSYS. Some functions are actually named
2363 something starting with __ and the normal name is an alias. */
2364 #if defined __stub_$2 || defined __stub___$2
2376 if ac_fn_c_try_link "$LINENO"; then :
2381 rm -f core conftest.err conftest.$ac_objext \
2382 conftest$ac_exeext conftest.$ac_ext
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2386 $as_echo "$ac_res" >&6; }
2387 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2389 } # ac_fn_c_check_func
2391 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2392 # --------------------------------------------
2393 # Tries to find the compile-time value of EXPR in a program that includes
2394 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2396 ac_fn_c_compute_int ()
2398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2399 if test "$cross_compiling" = yes; then
2400 # Depending upon the size, compute the lo and hi bounds.
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2407 static int test_array [1 - 2 * !(($2) >= 0)];
2414 if ac_fn_c_try_compile "$LINENO"; then :
2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2423 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2430 if ac_fn_c_try_compile "$LINENO"; then :
2431 ac_hi=$ac_mid; break
2433 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2434 if test $ac_lo -le $ac_mid; then
2438 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444 /* end confdefs.h. */
2449 static int test_array [1 - 2 * !(($2) < 0)];
2456 if ac_fn_c_try_compile "$LINENO"; then :
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2465 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2472 if ac_fn_c_try_compile "$LINENO"; then :
2473 ac_lo=$ac_mid; break
2475 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2476 if test $ac_mid -le $ac_hi; then
2480 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490 # Binary search between lo and hi bounds.
2491 while test "x$ac_lo" != "x$ac_hi"; do
2492 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494 /* end confdefs.h. */
2499 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2506 if ac_fn_c_try_compile "$LINENO"; then :
2509 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2514 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2521 static long int longval () { return $2; }
2522 static unsigned long int ulongval () { return $2; }
2529 FILE *f = fopen ("conftest.val", "w");
2534 long int i = longval ();
2537 fprintf (f, "%ld", i);
2541 unsigned long int i = ulongval ();
2544 fprintf (f, "%lu", i);
2546 /* Do not output a trailing newline, as this causes \r\n confusion
2547 on some platforms. */
2548 return ferror (f) || fclose (f) != 0;
2554 if ac_fn_c_try_run "$LINENO"; then :
2555 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2560 conftest.$ac_objext conftest.beam conftest.$ac_ext
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2565 as_fn_set_status $ac_retval
2567 } # ac_fn_c_compute_int
2569 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2570 # -------------------------------------------
2571 # Tests whether TYPE exists after having included INCLUDES, setting cache
2572 # variable VAR accordingly.
2573 ac_fn_c_check_type ()
2575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2577 $as_echo_n "checking for $2... " >&6; }
2578 if eval \${$3+:} false; then :
2579 $as_echo_n "(cached) " >&6
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2583 /* end confdefs.h. */
2594 if ac_fn_c_try_compile "$LINENO"; then :
2595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2607 if ac_fn_c_try_compile "$LINENO"; then :
2612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2618 $as_echo "$ac_res" >&6; }
2619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2621 } # ac_fn_c_check_type
2623 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2624 # ---------------------------------------------
2625 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2627 ac_fn_c_check_decl ()
2629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2630 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2631 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2633 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2634 if eval \${$3+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2638 /* end confdefs.h. */
2643 #ifndef $as_decl_name
2645 (void) $as_decl_use;
2647 (void) $as_decl_name;
2655 if ac_fn_c_try_compile "$LINENO"; then :
2660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2664 $as_echo "$ac_res" >&6; }
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 } # ac_fn_c_check_decl
2668 cat >config.log <<_ACEOF
2669 This file contains any messages produced by compilers while
2670 running configure, to aid debugging if configure makes a mistake.
2672 It was created by $as_me, which was
2673 generated by GNU Autoconf 2.68. Invocation command line was
2685 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2686 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2687 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2688 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2689 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2691 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2692 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2694 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2695 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2696 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2697 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2698 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2699 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2700 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 $as_echo "PATH: $as_dir"
2725 # Keep a trace of the command line.
2726 # Strip out --no-create and --no-recursion so they do not pile up.
2727 # Strip out --silent because we don't want to record it for future runs.
2728 # Also quote any args containing shell meta-characters.
2729 # Make two passes to allow for proper duplicate-argument suppression.
2733 ac_must_keep_next=false
2739 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2741 | -silent | --silent | --silen | --sile | --sil)
2744 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2747 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2749 as_fn_append ac_configure_args1 " '$ac_arg'"
2750 if test $ac_must_keep_next = true; then
2751 ac_must_keep_next=false # Got value, back to normal.
2754 *=* | --config-cache | -C | -disable-* | --disable-* \
2755 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2756 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2757 | -with-* | --with-* | -without-* | --without-* | --x)
2758 case "$ac_configure_args0 " in
2759 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2762 -* ) ac_must_keep_next=true ;;
2765 as_fn_append ac_configure_args " '$ac_arg'"
2770 { ac_configure_args0=; unset ac_configure_args0;}
2771 { ac_configure_args1=; unset ac_configure_args1;}
2773 # When interrupted or exit'd, cleanup temporary files, and complete
2774 # config.log. We remove comments because anyway the quotes in there
2775 # would cause problems or look ugly.
2776 # WARNING: Use '\'' to represent an apostrophe within the trap.
2777 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2778 trap 'exit_status=$?
2779 # Save into config.log some information that might help in debugging.
2783 $as_echo "## ---------------- ##
2784 ## Cache variables. ##
2785 ## ---------------- ##"
2787 # The following way of writing the cache mishandles newlines in values,
2789 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2790 eval ac_val=\$$ac_var
2794 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2798 _ | IFS | as_nl) ;; #(
2799 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2800 *) { eval $ac_var=; unset $ac_var;} ;;
2805 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2806 *${as_nl}ac_space=\ *)
2808 "s/'\''/'\''\\\\'\'''\''/g;
2809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2819 $as_echo "## ----------------- ##
2820 ## Output variables. ##
2821 ## ----------------- ##"
2823 for ac_var in $ac_subst_vars
2825 eval ac_val=\$$ac_var
2827 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2829 $as_echo "$ac_var='\''$ac_val'\''"
2833 if test -n "$ac_subst_files"; then
2834 $as_echo "## ------------------- ##
2835 ## File substitutions. ##
2836 ## ------------------- ##"
2838 for ac_var in $ac_subst_files
2840 eval ac_val=\$$ac_var
2842 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2844 $as_echo "$ac_var='\''$ac_val'\''"
2849 if test -s confdefs.h; then
2850 $as_echo "## ----------- ##
2857 test "$ac_signal" != 0 &&
2858 $as_echo "$as_me: caught signal $ac_signal"
2859 $as_echo "$as_me: exit $exit_status"
2861 rm -f core *.core core.conftest.* &&
2862 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2865 for ac_signal in 1 2 13 15; do
2866 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2871 rm -f -r conftest* confdefs.h
2873 $as_echo "/* confdefs.h */" > confdefs.h
2875 # Predefined preprocessor variables.
2877 cat >>confdefs.h <<_ACEOF
2878 #define PACKAGE_NAME "$PACKAGE_NAME"
2881 cat >>confdefs.h <<_ACEOF
2882 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2885 cat >>confdefs.h <<_ACEOF
2886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2889 cat >>confdefs.h <<_ACEOF
2890 #define PACKAGE_STRING "$PACKAGE_STRING"
2893 cat >>confdefs.h <<_ACEOF
2894 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2897 cat >>confdefs.h <<_ACEOF
2898 #define PACKAGE_URL "$PACKAGE_URL"
2902 # Let the site file select an alternate cache file if it wants to.
2903 # Prefer an explicitly selected file to automatically selected ones.
2906 if test -n "$CONFIG_SITE"; then
2907 # We do not want a PATH search for config.site.
2908 case $CONFIG_SITE in #((
2909 -*) ac_site_file1=./$CONFIG_SITE;;
2910 */*) ac_site_file1=$CONFIG_SITE;;
2911 *) ac_site_file1=./$CONFIG_SITE;;
2913 elif test "x$prefix" != xNONE; then
2914 ac_site_file1=$prefix/share/config.site
2915 ac_site_file2=$prefix/etc/config.site
2917 ac_site_file1=$ac_default_prefix/share/config.site
2918 ac_site_file2=$ac_default_prefix/etc/config.site
2920 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2922 test "x$ac_site_file" = xNONE && continue
2923 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2925 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2926 sed 's/^/| /' "$ac_site_file" >&5
2928 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2930 as_fn_error $? "failed to load site
script $ac_site_file
2931 See \
`config.log' for more details" "$LINENO" 5; }
2935 if test -r "$cache_file"; then
2936 # Some versions of bash will fail to source /dev/null (special files
2937 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2938 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2940 $as_echo "$as_me: loading cache $cache_file" >&6;}
2942 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2943 *) . "./$cache_file";;
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2948 $as_echo "$as_me: creating cache $cache_file" >&6;}
2952 gt_needs="$gt_needs need-ngettext"
2953 as_fn_append ac_header_list " stdlib.h"
2954 as_fn_append ac_header_list " string.h"
2955 as_fn_append ac_func_list " canonicalize_file_name"
2956 as_fn_append ac_func_list " getcwd"
2957 as_fn_append ac_func_list " readlink"
2958 as_fn_append ac_func_list " realpath"
2959 as_fn_append ac_header_list " sys/param.h"
2960 as_fn_append ac_func_list " readlinkat"
2961 as_fn_append ac_func_list " lstat"
2962 as_fn_append ac_func_list " setenv"
2963 as_fn_append ac_header_list " unistd.h"
2964 as_fn_append ac_header_list " wchar.h"
2965 as_fn_append ac_header_list " stdint.h"
2966 as_fn_append ac_header_list " sys/socket.h"
2967 as_fn_append ac_header_list " sys/stat.h"
2968 as_fn_append ac_header_list " sys/time.h"
2969 # Check that the precious variables saved in the cache have kept the same
2971 ac_cache_corrupted=false
2972 for ac_var in $ac_precious_vars; do
2973 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2974 eval ac_new_set=\$ac_env_${ac_var}_set
2975 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2976 eval ac_new_val=\$ac_env_${ac_var}_value
2977 case $ac_old_set,$ac_new_set in
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2980 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2981 ac_cache_corrupted=: ;;
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2984 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2985 ac_cache_corrupted=: ;;
2988 if test "x$ac_old_val" != "x$ac_new_val"; then
2989 # differences in whitespace do not lead to failure.
2990 ac_old_val_w=`echo x
$ac_old_val`
2991 ac_new_val_w=`echo x
$ac_new_val`
2992 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2994 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2995 ac_cache_corrupted=:
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2998 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2999 eval $ac_var=\$ac_old_val
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3002 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3004 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3007 # Pass precious variables to config.status.
3008 if test "$ac_new_set" = set; then
3010 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3011 *) ac_arg=$ac_var=$ac_new_val ;;
3013 case " $ac_configure_args " in
3014 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3015 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3019 if $ac_cache_corrupted; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3023 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3024 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
3026 ## -------------------- ##
3027 ## Main body of script. ##
3028 ## -------------------- ##
3031 ac_cpp='$CPP $CPPFLAGS'
3032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3039 for ac_dir in build-aux "$srcdir"/build-aux; do
3040 if test -f "$ac_dir/install-sh"; then
3042 ac_install_sh="$ac_aux_dir/install-sh -c"
3044 elif test -f "$ac_dir/install.sh"; then
3046 ac_install_sh="$ac_aux_dir/install.sh -c"
3048 elif test -f "$ac_dir/shtool"; then
3050 ac_install_sh="$ac_aux_dir/shtool install -c"
3054 if test -z "$ac_aux_dir"; then
3055 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
3058 # These three variables are undocumented and unsupported,
3059 # and are intended to be withdrawn in a future Autoconf release.
3060 # They can cause serious problems if a builder's source tree is in a directory
3061 # whose full name contains unusual characters.
3062 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3063 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3064 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3067 am__api_version='1.11'
3069 # Find a good install program. We prefer a C program (faster),
3070 # so one script is as good as another. But avoid the broken or
3071 # incompatible versions:
3072 # SysV /etc/install, /usr/sbin/install
3073 # SunOS /usr/etc/install
3074 # IRIX /sbin/install
3076 # AmigaOS /C/install, which installs bootblocks on floppy discs
3077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3080 # OS/2's system install, which has a completely different semantic
3081 # ./install, which can be erroneously created by make from ./install.sh.
3082 # Reject install programs that cannot install multiple files.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3085 if test -z "$INSTALL"; then
3086 if ${ac_cv_path_install+:} false; then :
3087 $as_echo_n "(cached) " >&6
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 # Account for people who put trailing slashes in PATH elements.
3095 case $as_dir/ in #((
3096 ./ | .// | /[cC]/* | \
3097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3098 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3101 # OSF1 and SCO ODT 3.0 have their own names for install.
3102 # Don't use installbsd from OSF since it installs stuff as root
3104 for ac_prog in ginstall scoinst install; do
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3107 if test $ac_prog = install &&
3108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3109 # AIX install. It has an incompatible calling convention.
3111 elif test $ac_prog = install &&
3112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113 # program-specific install script used by HP pwplus--don't use.
3116 rm -rf conftest.one conftest.two conftest.dir
3117 echo one > conftest.one
3118 echo two > conftest.two
3120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3121 test -s conftest.one && test -s conftest.two &&
3122 test -s conftest.dir/conftest.one &&
3123 test -s conftest.dir/conftest.two
3125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3138 rm -rf conftest.one conftest.two conftest.dir
3141 if test "${ac_cv_path_install+set}" = set; then
3142 INSTALL=$ac_cv_path_install
3144 # As a last resort, use the slow shell script. Don't cache a
3145 # value for INSTALL within a source directory, because that will
3146 # break other packages using the cache if that directory is
3147 # removed, or if the value is a relative name.
3148 INSTALL=$ac_install_sh
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3152 $as_echo "$INSTALL" >&6; }
3154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3155 # It thinks the first close brace ends the variable substitution.
3156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 $as_echo_n "checking whether build environment is sane... " >&6; }
3166 echo timestamp > conftest.file
3167 # Reject unsafe characters in $srcdir or the absolute working directory
3168 # name. Accept space and tab only in the latter.
3172 *[\\\"\#\$\&\'\`$am_lf]*)
3173 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3176 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3177 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3180 # Do `set' in a subshell so we don't clobber the current shell's
3181 # arguments. Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3186 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3187 if test "$*" = "X"; then
3189 set X
`ls -t "$srcdir/configure" conftest.file`
3192 if test "$*" != "X $srcdir/configure conftest.file" \
3193 && test "$*" != "X conftest.file $srcdir/configure"; then
3195 # If neither matched, then we have a broken ls. This can happen
3196 # if, for instance, CONFIG_SHELL is bash and it inherits a
3197 # broken ls alias from the environment. This has actually
3198 # happened. Such a system could not be considered "sane".
3199 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3200 alias in your environment" "$LINENO" 5
3203 test "$2" = conftest.
file
3209 as_fn_error $?
"newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 test "$program_prefix" != NONE
&&
3215 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE
&&
3218 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s,x,x', remove it if useless.
3221 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3224 # expand $ac_aux_dir to an absolute path
3225 am_aux_dir
=`cd $ac_aux_dir && pwd`
3227 if test x
"${MISSING+set}" != xset
; then
3230 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3232 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3235 # Use eval to expand $SHELL
3236 if eval "$MISSING --run true"; then
3237 am_missing_run
="$MISSING --run "
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3241 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3244 if test x
"${install_sh}" != xset
; then
3247 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3249 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3253 # Installed binaries are usually stripped using `strip' when the user
3254 # run `make install-strip'. However `strip' might not be the right
3255 # tool to use in cross-compilation environments, therefore Automake
3256 # will honor the `STRIP' environment variable to overrule this program.
3257 if test "$cross_compiling" != no
; then
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3260 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if ${ac_cv_prog_STRIP+:} false
; then :
3264 $as_echo_n "(cached) " >&6
3266 if test -n "$STRIP"; then
3267 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir
=.
3274 for ac_exec_ext
in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 STRIP
=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 $as_echo "$STRIP" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3297 if test -z "$ac_cv_prog_STRIP"; then
3299 # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip
; ac_word
=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -n "$ac_ct_STRIP"; then
3307 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir
=.
3314 for ac_exec_ext
in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_STRIP
="strip"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3327 if test -n "$ac_ct_STRIP"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3329 $as_echo "$ac_ct_STRIP" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3335 if test "x$ac_ct_STRIP" = x
; then
3338 case $cross_compiling:$ac_tool_warned in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned
=yes ;;
3347 STRIP
="$ac_cv_prog_STRIP"
3351 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3354 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3355 if test -z "$MKDIR_P"; then
3356 if ${ac_cv_path_mkdir+:} false
; then :
3357 $as_echo_n "(cached) " >&6
3359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3360 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3363 test -z "$as_dir" && as_dir
=.
3364 for ac_prog
in mkdir gmkdir
; do
3365 for ac_exec_ext
in '' $ac_executable_extensions; do
3366 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3367 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3368 'mkdir (GNU coreutils) '* | \
3369 'mkdir (coreutils) '* | \
3370 'mkdir (fileutils) '4.1*)
3371 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3381 test -d .
/--version && rmdir .
/--version
3382 if test "${ac_cv_path_mkdir+set}" = set; then
3383 MKDIR_P
="$ac_cv_path_mkdir -p"
3385 # As a last resort, use the slow shell script. Don't cache a
3386 # value for MKDIR_P within a source directory, because that will
3387 # break other packages using the cache if that directory is
3388 # removed, or if the value is a relative name.
3389 MKDIR_P
="$ac_install_sh -d"
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3393 $as_echo "$MKDIR_P" >&6; }
3398 [\\/$
]* | ?
:[\\/]*) ;;
3399 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3402 for ac_prog
in gawk mawk nawk
awk
3404 # Extract the first word of "$ac_prog", so it can be a program name with args.
3405 set dummy
$ac_prog; ac_word
=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if ${ac_cv_prog_AWK+:} false
; then :
3409 $as_echo_n "(cached) " >&6
3411 if test -n "$AWK"; then
3412 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 ac_cv_prog_AWK
="$ac_prog"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test -n "$AWK"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3434 $as_echo "$AWK" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3441 test -n "$AWK" && break
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3445 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3447 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3448 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3449 $as_echo_n "(cached) " >&6
3451 cat >conftest.
make <<\_ACEOF
3454 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3456 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3457 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3459 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3461 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3465 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3467 $as_echo "yes" >&6; }
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 $as_echo "no" >&6; }
3472 SET_MAKE
="MAKE=${MAKE-make}"
3475 rm -rf .tst
2>/dev
/null
3476 mkdir .tst
2>/dev
/null
3477 if test -d .tst
; then
3482 rmdir .tst
2>/dev
/null
3484 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3485 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3486 # is not polluted with repeated "-I."
3487 am__isrc
=' -I$(srcdir)'
3488 # test to see if srcdir already configured
3489 if test -f $srcdir/config.status
; then
3490 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3494 # test whether we have cygpath
3495 if test -z "$CYGPATH_W"; then
3496 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3497 CYGPATH_W
='cygpath -w'
3504 # Define the identity of the package.
3509 cat >>confdefs.h
<<_ACEOF
3510 #define PACKAGE "$PACKAGE"
3514 cat >>confdefs.h
<<_ACEOF
3515 #define VERSION "$VERSION"
3518 # Some tools Automake needs.
3520 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3523 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3526 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3529 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3532 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3534 # We need awk for the "check" target. The system "awk" is bad on
3536 # Always define AMTAR for backward compatibility.
3538 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3540 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3546 ac_config_headers
="$ac_config_headers config.h lib/config.h"
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3549 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3551 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3552 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3553 $as_echo_n "(cached) " >&6
3555 cat >conftest.
make <<\_ACEOF
3558 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3560 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3561 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3563 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3565 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3569 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3571 $as_echo "yes" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3576 SET_MAKE
="MAKE=${MAKE-make}"
3582 ac_cpp
='$CPP $CPPFLAGS'
3583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3586 if test -n "$ac_tool_prefix"; then
3587 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3588 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 $as_echo_n "checking for $ac_word... " >&6; }
3591 if ${ac_cv_prog_CC+:} false
; then :
3592 $as_echo_n "(cached) " >&6
3594 if test -n "$CC"; then
3595 ac_cv_prog_CC
="$CC" # Let the user override the test.
3597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3601 test -z "$as_dir" && as_dir
=.
3602 for ac_exec_ext
in '' $ac_executable_extensions; do
3603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3604 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 if test -n "$CC"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3617 $as_echo "$CC" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3625 if test -z "$ac_cv_prog_CC"; then
3627 # Extract the first word of "gcc", so it can be a program name with args.
3628 set dummy gcc
; ac_word
=$2
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 $as_echo_n "checking for $ac_word... " >&6; }
3631 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -n "$ac_ct_CC"; then
3635 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir
=.
3642 for ac_exec_ext
in '' $ac_executable_extensions; do
3643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3644 ac_cv_prog_ac_ct_CC
="gcc"
3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3655 if test -n "$ac_ct_CC"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3657 $as_echo "$ac_ct_CC" >&6; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3663 if test "x$ac_ct_CC" = x
; then
3666 case $cross_compiling:$ac_tool_warned in
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3670 ac_tool_warned
=yes ;;
3678 if test -z "$CC"; then
3679 if test -n "$ac_tool_prefix"; then
3680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3681 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_CC+:} false
; then :
3685 $as_echo_n "(cached) " >&6
3687 if test -n "$CC"; then
3688 ac_cv_prog_CC
="$CC" # Let the user override the test.
3690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3694 test -z "$as_dir" && as_dir
=.
3695 for ac_exec_ext
in '' $ac_executable_extensions; do
3696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3697 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 if test -n "$CC"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3710 $as_echo "$CC" >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3719 if test -z "$CC"; then
3720 # Extract the first word of "cc", so it can be a program name with args.
3721 set dummy cc
; ac_word
=$2
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3723 $as_echo_n "checking for $ac_word... " >&6; }
3724 if ${ac_cv_prog_CC+:} false
; then :
3725 $as_echo_n "(cached) " >&6
3727 if test -n "$CC"; then
3728 ac_cv_prog_CC
="$CC" # Let the user override the test.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3739 ac_prog_rejected
=yes
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 if test $ac_prog_rejected = yes; then
3751 # We found a bogon in the path, so make sure we never use it.
3752 set dummy
$ac_cv_prog_CC
3754 if test $# != 0; then
3755 # We chose a different compiler from the bogus one.
3756 # However, it has the same basename, so the bogon will be chosen
3757 # first if we set CC to just the basename; use the full file name.
3759 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$CC"; then
3776 if test -n "$ac_tool_prefix"; then
3777 for ac_prog
in cl.exe
3779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3780 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_CC+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$CC"; then
3787 ac_cv_prog_CC
="$CC" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 if test -n "$CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3809 $as_echo "$CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$CC" && break
3819 if test -z "$CC"; then
3821 for ac_prog
in cl.exe
3823 # Extract the first word of "$ac_prog", so it can be a program name with args.
3824 set dummy
$ac_prog; ac_word
=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -n "$ac_ct_CC"; then
3831 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3840 ac_cv_prog_ac_ct_CC
="$ac_prog"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3851 if test -n "$ac_ct_CC"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3853 $as_echo "$ac_ct_CC" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3860 test -n "$ac_ct_CC" && break
3863 if test "x$ac_ct_CC" = x
; then
3866 case $cross_compiling:$ac_tool_warned in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned
=yes ;;
3879 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 as_fn_error $?
"no acceptable C compiler found in \$PATH
3882 See \`config.log' for more details" "$LINENO" 5; }
3884 # Provide some information about the compiler.
3885 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3888 for ac_option
in --version -v -V -qversion; do
3889 { { ac_try
="$ac_compiler $ac_option >&5"
3891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3892 *) ac_try_echo=$ac_try;;
3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3898 if test -s conftest.err; then
3900 ... rest of stderr output deleted ...
3901 10q' conftest.err >conftest.er1
3902 cat conftest.er1 >&5
3904 rm -f conftest.er1 conftest.err
3905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3906 test $ac_status = 0; }
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3920 ac_clean_files_save=$ac_clean_files
3921 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3922 # Try to create an executable without -o first, disregard a.out.
3923 # It will help us diagnose broken compilers, and finding out an intuition
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3926 $as_echo_n "checking whether the C compiler works... " >&6; }
3927 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3929 # The possible output files:
3930 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3933 for ac_file in $ac_files
3936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3937 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3942 if { { ac_try="$ac_link_default"
3944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3945 *) ac_try_echo
=$ac_try;;
3947 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949 (eval "$ac_link_default") 2>&5
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }; then :
3953 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3954 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3955 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3956 # so that the user can short-circuit this test for compilers unknown to
3958 for ac_file
in $ac_files ''
3960 test -f "$ac_file" ||
continue
3962 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3965 # We found the default executable, but exeext='' is most
3969 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3971 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3973 # We set ac_cv_exeext here because the later test for it is not
3974 # safe: cross compilers may not add the suffix if given an `-o'
3975 # argument, so we may need to know it at that point already.
3976 # Even if this section looks crufty: it has the advantage of
3983 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3988 if test -z "$ac_file"; then :
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3991 $as_echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.
$ac_ext >&5
3994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3996 as_fn_error
77 "C compiler cannot create executables
3997 See \`config.log' for more details" "$LINENO" 5; }
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4000 $as_echo "yes" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4003 $as_echo_n "checking for C compiler default output file name... " >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4005 $as_echo "$ac_file" >&6; }
4006 ac_exeext
=$ac_cv_exeext
4008 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4009 ac_clean_files
=$ac_clean_files_save
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4011 $as_echo_n "checking for suffix of executables... " >&6; }
4012 if { { ac_try
="$ac_link"
4014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_link") 2>&5
4021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4022 test $ac_status = 0; }; then :
4023 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4024 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4025 # work properly (i.e., refer to `conftest.exe'), while it won't with
4027 for ac_file
in conftest.exe conftest conftest.
*; do
4028 test -f "$ac_file" ||
continue
4030 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4031 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 rm -f conftest conftest
$ac_cv_exeext
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4044 $as_echo "$ac_cv_exeext" >&6; }
4046 rm -f conftest.
$ac_ext
4047 EXEEXT
=$ac_cv_exeext
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4055 FILE *f = fopen ("conftest.out", "w");
4056 return ferror (f) || fclose (f) != 0;
4062 ac_clean_files
="$ac_clean_files conftest.out"
4063 # Check that the compiler produces executables we can run. If not, either
4064 # the compiler is broken, or we cross compile.
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4066 $as_echo_n "checking whether we are cross compiling... " >&6; }
4067 if test "$cross_compiling" != yes; then
4068 { { ac_try
="$ac_link"
4070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_link") 2>&5
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }
4079 if { ac_try='./conftest$ac_cv_exeext'
4080 { { case "(($ac_try" in
4081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4082 *) ac_try_echo
=$ac_try;;
4084 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_try") 2>&5
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; }; then
4092 if test "$cross_compiling" = maybe
; then
4095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4097 as_fn_error $?
"cannot run C compiled programs.
4098 If you meant to cross compile, use \`--host'.
4099 See \`config.log' for more details" "$LINENO" 5; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4104 $as_echo "$cross_compiling" >&6; }
4106 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4107 ac_clean_files
=$ac_clean_files_save
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4109 $as_echo_n "checking for suffix of object files... " >&6; }
4110 if ${ac_cv_objext+:} false
; then :
4111 $as_echo_n "(cached) " >&6
4113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4124 rm -f conftest.o conftest.obj
4125 if { { ac_try
="$ac_compile"
4127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131 $as_echo "$ac_try_echo"; } >&5
4132 (eval "$ac_compile") 2>&5
4134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4135 test $ac_status = 0; }; then :
4136 for ac_file in conftest.o conftest.obj conftest.*; do
4137 test -f "$ac_file" || continue;
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4140 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4145 $as_echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4150 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4151 See \
`config.log' for more details" "$LINENO" 5; }
4153 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4156 $as_echo "$ac_cv_objext" >&6; }
4157 OBJEXT=$ac_cv_objext
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4160 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4161 if ${ac_cv_c_compiler_gnu+:} false; then :
4162 $as_echo_n "(cached) " >&6
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4178 if ac_fn_c_try_compile "$LINENO"; then :
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4188 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4189 if test $ac_compiler_gnu = yes; then
4194 ac_test_CFLAGS=${CFLAGS+set}
4195 ac_save_CFLAGS=$CFLAGS
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4197 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4198 if ${ac_cv_prog_cc_g+:} false; then :
4199 $as_echo_n "(cached) " >&6
4201 ac_save_c_werror_flag=$ac_c_werror_flag
4202 ac_c_werror_flag=yes
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4216 if ac_fn_c_try_compile "$LINENO"; then :
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4231 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_c_werror_flag=$ac_save_c_werror_flag
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 if ac_fn_c_try_compile "$LINENO"; then :
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 ac_c_werror_flag=$ac_save_c_werror_flag
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4258 $as_echo "$ac_cv_prog_cc_g" >&6; }
4259 if test "$ac_test_CFLAGS" = set; then
4260 CFLAGS=$ac_save_CFLAGS
4261 elif test $ac_cv_prog_cc_g = yes; then
4262 if test "$GCC" = yes; then
4268 if test "$GCC" = yes; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4275 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4276 if ${ac_cv_prog_cc_c89+:} false; then :
4277 $as_echo_n "(cached) " >&6
4279 ac_cv_prog_cc_c89=no
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4285 #include <sys/types.h>
4286 #include <sys/stat.h>
4287 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4288 struct buf { int x; };
4289 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4290 static char *e (p, i)
4296 static char *f (char * (*g) (char **, int), char **p, ...)
4301 s = g (p, va_arg (v,int));
4306 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4307 function prototypes and stuff, but not '\xHH' hex character constants.
4308 These don't provoke an error unfortunately, instead are silently treated
4309 as 'x'. The following induces an error, until -std is added to get
4310 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4311 array size at least. It's necessary to write '\x00'==0 to get something
4312 that's true only with -std. */
4313 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4315 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4316 inside strings and character constants. */
4318 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4320 int test (int i, double x);
4321 struct s1 {int (*f) (int a);};
4322 struct s2 {int (*f) (double a);};
4323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4334 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4335 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4337 CC="$ac_save_CC $ac_arg"
4338 if ac_fn_c_try_compile "$LINENO"; then :
4339 ac_cv_prog_cc_c89=$ac_arg
4341 rm -f core conftest.err conftest.$ac_objext
4342 test "x$ac_cv_prog_cc_c89" != "xno" && break
4344 rm -f conftest.$ac_ext
4349 case "x$ac_cv_prog_cc_c89" in
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4352 $as_echo "none needed" >&6; } ;;
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4355 $as_echo "unsupported" >&6; } ;;
4357 CC="$CC $ac_cv_prog_cc_c89"
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4359 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4361 if test "x$ac_cv_prog_cc_c89" != xno; then :
4366 ac_cpp='$CPP $CPPFLAGS'
4367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370 DEPDIR="${am__leading_dot}deps"
4372 ac_config_commands="$ac_config_commands depfiles"
4375 am_make=${MAKE-make}
4376 cat > confinc << 'END'
4378 @echo this is the am__doit target
4381 # If we don't find an include directive, just comment out the code.
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4383 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4387 # First try GNU make style include.
4388 echo "include confinc" > confmf
4389 # Ignore all kinds of additional output from `make'.
4390 case `$am_make -s -f confmf 2> /dev/null` in #(
4391 *the\ am__doit\ target*)
4397 # Now try BSD make style include.
4398 if test "$am__include" = "#"; then
4399 echo '.include
"confinc"' > confmf
4400 case `$am_make -s -f confmf 2> /dev/null` in #(
4401 *the\ am__doit\ target*)
4402 am__include=.include
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4411 $as_echo "$_am_result" >&6; }
4412 rm -f confinc confmf
4414 # Check whether --enable-dependency-tracking was given.
4415 if test "${enable_dependency_tracking+set}" = set; then :
4416 enableval=$enable_dependency_tracking;
4419 if test "x$enable_dependency_tracking" != xno; then
4420 am_depcomp="$ac_aux_dir/depcomp"
4423 if test "x$enable_dependency_tracking" != xno
; then
4433 depcc
="$CC" am_compiler_list
=
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4436 $as_echo_n "checking dependency style of $depcc... " >&6; }
4437 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4441 # We make a subdir and do the tests there. Otherwise we can end up
4442 # making bogus files that we don't know about and never remove. For
4443 # instance it was reported that on HP-UX the gcc test will end up
4444 # making a dummy file named `D' -- because `-MD' means `put the output
4447 # Copy depcomp to subdir because otherwise we won't find it if we're
4448 # using a relative directory.
4449 cp "$am_depcomp" conftest.dir
4451 # We will build objects and dependencies in a subdirectory because
4452 # it helps to detect inapplicable dependency modes. For instance
4453 # both Tru64's cc and ICC support -MD to output dependencies as a
4454 # side effect of compilation, but ICC will put the dependencies in
4455 # the current directory while Tru64 will put them in the object
4459 am_cv_CC_dependencies_compiler_type
=none
4460 if test "$am_compiler_list" = ""; then
4461 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4464 case " $depcc " in #(
4465 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4468 for depmode
in $am_compiler_list; do
4469 # Setup a source with many dependencies, because some compilers
4470 # like to wrap large dependency lists on column 80 (with \), and
4471 # we should not choose a depcomp mode which is confused by this.
4473 # We need to recreate these files for each test, as the compiler may
4474 # overwrite some of them when testing with obscure command lines.
4475 # This happens at least with the AIX C compiler.
4477 for i
in 1 2 3 4 5 6; do
4478 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4479 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4480 # Solaris 8's {/usr,}/bin/sh.
4481 touch sub
/conftst
$i.h
4483 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4485 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4486 # mode. It turns out that the SunPro C++ compiler does not properly
4487 # handle `-M -o', and we need to detect this. Also, some Intel
4488 # versions had trouble with output in subdirs
4489 am__obj
=sub
/conftest.
${OBJEXT-o}
4490 am__minus_obj
="-o $am__obj"
4493 # This depmode causes a compiler race in universal mode.
4494 test "$am__universal" = false ||
continue
4497 # after this tag, mechanisms are not by side-effect, so they'll
4498 # only be used when explicitly requested
4499 if test "x$enable_dependency_tracking" = xyes
; then
4505 msvisualcpp | msvcmsys
)
4506 # This compiler won't grok `-c -o', but also, the minuso test has
4507 # not run yet. These depmodes are late enough in the game, and
4508 # so weak that their functioning should not be impacted.
4509 am__obj
=conftest.
${OBJEXT-o}
4514 if depmode
=$depmode \
4515 source=sub
/conftest.c object
=$am__obj \
4516 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4517 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4518 >/dev
/null
2>conftest.err
&&
4519 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4520 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4521 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4522 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4523 # icc doesn't choke on unknown options, it will just issue warnings
4524 # or remarks (even with -Werror). So we grep stderr for any message
4525 # that says an option was ignored or not supported.
4526 # When given -MP, icc 7.0 and 7.1 complain thusly:
4527 # icc: Command line warning: ignoring option '-M'; no argument required
4528 # The diagnosis changed in icc 8.0:
4529 # icc: Command line remark: option '-MP' not supported
4530 if (grep 'ignoring option' conftest.err ||
4531 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4532 am_cv_CC_dependencies_compiler_type
=$depmode
4541 am_cv_CC_dependencies_compiler_type
=none
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4546 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4547 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4550 test "x$enable_dependency_tracking" != xno \
4551 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4553 am__fastdepCC_FALSE
='#'
4555 am__fastdepCC_TRUE
='#'
4556 am__fastdepCC_FALSE
=
4561 ac_cpp
='$CPP $CPPFLAGS'
4562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4566 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4567 # On Suns, sometimes $CPP names a directory.
4568 if test -n "$CPP" && test -d "$CPP"; then
4571 if test -z "$CPP"; then
4572 if ${ac_cv_prog_CPP+:} false
; then :
4573 $as_echo_n "(cached) " >&6
4575 # Double quotes because CPP needs to be expanded
4576 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4579 for ac_c_preproc_warn_flag
in '' yes
4581 # Use a header file that comes with gcc, so configuring glibc
4582 # with a fresh cross-compiler works.
4583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4584 # <limits.h> exists even on freestanding compilers.
4585 # On the NeXT, cc -E runs the code through the compiler's parser,
4586 # not just through cpp. "Syntax error" is here to catch this case.
4587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4590 # include <limits.h>
4592 # include <assert.h>
4596 if ac_fn_c_try_cpp
"$LINENO"; then :
4599 # Broken: fails on valid input.
4602 rm -f conftest.err conftest.i conftest.
$ac_ext
4604 # OK, works on sane cases. Now check whether nonexistent headers
4605 # can be detected and how.
4606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4608 #include <ac_nonexistent.h>
4610 if ac_fn_c_try_cpp
"$LINENO"; then :
4611 # Broken: success on invalid input.
4614 # Passes both tests.
4618 rm -f conftest.err conftest.i conftest.
$ac_ext
4621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4622 rm -f conftest.i conftest.err conftest.
$ac_ext
4623 if $ac_preproc_ok; then :
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4636 $as_echo "$CPP" >&6; }
4638 for ac_c_preproc_warn_flag
in '' yes
4640 # Use a header file that comes with gcc, so configuring glibc
4641 # with a fresh cross-compiler works.
4642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4643 # <limits.h> exists even on freestanding compilers.
4644 # On the NeXT, cc -E runs the code through the compiler's parser,
4645 # not just through cpp. "Syntax error" is here to catch this case.
4646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4649 # include <limits.h>
4651 # include <assert.h>
4655 if ac_fn_c_try_cpp
"$LINENO"; then :
4658 # Broken: fails on valid input.
4661 rm -f conftest.err conftest.i conftest.
$ac_ext
4663 # OK, works on sane cases. Now check whether nonexistent headers
4664 # can be detected and how.
4665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667 #include <ac_nonexistent.h>
4669 if ac_fn_c_try_cpp
"$LINENO"; then :
4670 # Broken: success on invalid input.
4673 # Passes both tests.
4677 rm -f conftest.err conftest.i conftest.
$ac_ext
4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681 rm -f conftest.i conftest.err conftest.
$ac_ext
4682 if $ac_preproc_ok; then :
4685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4687 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4688 See \`config.log' for more details" "$LINENO" 5; }
4692 ac_cpp
='$CPP $CPPFLAGS'
4693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4699 # Extract the first word of "strip", so it can be a program name with args.
4700 set dummy strip
; ac_word
=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_path_STRIP+:} false
; then :
4704 $as_echo_n "(cached) " >&6
4708 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
4711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir
=.
4716 for ac_exec_ext
in '' $ac_executable_extensions; do
4717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4718 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
4719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP
=":"
4730 STRIP
=$ac_cv_path_STRIP
4731 if test -n "$STRIP"; then
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4733 $as_echo "$STRIP" >&6; }
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4739 # Installed binaries are usually stripped using `strip' when the user
4740 # run `make install-strip'. However `strip' might not be the right
4741 # tool to use in cross-compilation environments, therefore Automake
4742 # will honor the `STRIP' environment variable to overrule this program.
4743 if test "$cross_compiling" != no
; then
4744 if test -n "$ac_tool_prefix"; then
4745 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4746 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if ${ac_cv_prog_STRIP+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4752 if test -n "$STRIP"; then
4753 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4762 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 STRIP
=$ac_cv_prog_STRIP
4773 if test -n "$STRIP"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4775 $as_echo "$STRIP" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4783 if test -z "$ac_cv_prog_STRIP"; then
4785 # Extract the first word of "strip", so it can be a program name with args.
4786 set dummy strip
; ac_word
=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 if test -n "$ac_ct_STRIP"; then
4793 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4802 ac_cv_prog_ac_ct_STRIP
="strip"
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4813 if test -n "$ac_ct_STRIP"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4815 $as_echo "$ac_ct_STRIP" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4821 if test "x$ac_ct_STRIP" = x
; then
4824 case $cross_compiling:$ac_tool_warned in
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4828 ac_tool_warned
=yes ;;
4833 STRIP
="$ac_cv_prog_STRIP"
4837 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4840 # Make sure we can run config.sub.
4841 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4842 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4845 $as_echo_n "checking build system type... " >&6; }
4846 if ${ac_cv_build+:} false
; then :
4847 $as_echo_n "(cached) " >&6
4849 ac_build_alias
=$build_alias
4850 test "x$ac_build_alias" = x
&&
4851 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4852 test "x$ac_build_alias" = x
&&
4853 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4854 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4855 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4859 $as_echo "$ac_cv_build" >&6; }
4860 case $ac_cv_build in
4862 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4865 ac_save_IFS
=$IFS; IFS
='-'
4871 # Remember, the first character of IFS is used to create $*,
4872 # except with old shells:
4875 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4879 $as_echo_n "checking host system type... " >&6; }
4880 if ${ac_cv_host+:} false
; then :
4881 $as_echo_n "(cached) " >&6
4883 if test "x$host_alias" = x
; then
4884 ac_cv_host
=$ac_cv_build
4886 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4887 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4892 $as_echo "$ac_cv_host" >&6; }
4895 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4898 ac_save_IFS
=$IFS; IFS
='-'
4904 # Remember, the first character of IFS is used to create $*,
4905 # except with old shells:
4908 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4922 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4923 if ${ac_cv_path_GREP+:} false
; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -z "$GREP"; then
4927 ac_path_GREP_found
=false
4928 # Loop through the user's path and test for each of PROGNAME-LIST
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_prog
in grep ggrep
; do
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4938 # Check for GNU ac_path_GREP and select it if it is found.
4939 # Check for GNU $ac_path_GREP
4940 case `"$ac_path_GREP" --version 2>&1` in
4942 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4945 $as_echo_n 0123456789 >"conftest.in"
4948 cat "conftest.in" "conftest.in" >"conftest.tmp"
4949 mv "conftest.tmp" "conftest.in"
4950 cp "conftest.in" "conftest.nl"
4951 $as_echo 'GREP' >> "conftest.nl"
4952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4953 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4954 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4956 # Best one so far, save it but keep looking for a better one
4957 ac_cv_path_GREP
="$ac_path_GREP"
4958 ac_path_GREP_max
=$ac_count
4960 # 10*(2^10) chars as input seems more than enough
4961 test $ac_count -gt 10 && break
4963 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4966 $ac_path_GREP_found && break 3
4971 if test -z "$ac_cv_path_GREP"; then
4972 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4975 ac_cv_path_GREP
=$GREP
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4980 $as_echo "$ac_cv_path_GREP" >&6; }
4981 GREP
="$ac_cv_path_GREP"
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4985 $as_echo_n "checking for egrep... " >&6; }
4986 if ${ac_cv_path_EGREP+:} false
; then :
4987 $as_echo_n "(cached) " >&6
4989 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4990 then ac_cv_path_EGREP
="$GREP -E"
4992 if test -z "$EGREP"; then
4993 ac_path_EGREP_found
=false
4994 # Loop through the user's path and test for each of PROGNAME-LIST
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_prog
in egrep; do
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5003 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5004 # Check for GNU ac_path_EGREP and select it if it is found.
5005 # Check for GNU $ac_path_EGREP
5006 case `"$ac_path_EGREP" --version 2>&1` in
5008 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5011 $as_echo_n 0123456789 >"conftest.in"
5014 cat "conftest.in" "conftest.in" >"conftest.tmp"
5015 mv "conftest.tmp" "conftest.in"
5016 cp "conftest.in" "conftest.nl"
5017 $as_echo 'EGREP' >> "conftest.nl"
5018 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5019 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5020 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5021 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5022 # Best one so far, save it but keep looking for a better one
5023 ac_cv_path_EGREP
="$ac_path_EGREP"
5024 ac_path_EGREP_max
=$ac_count
5026 # 10*(2^10) chars as input seems more than enough
5027 test $ac_count -gt 10 && break
5029 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5032 $ac_path_EGREP_found && break 3
5037 if test -z "$ac_cv_path_EGREP"; then
5038 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5041 ac_cv_path_EGREP
=$EGREP
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5047 $as_echo "$ac_cv_path_EGREP" >&6; }
5048 EGREP
="$ac_cv_path_EGREP"
5053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5062 $EGREP "Amsterdam" >/dev
/null
2>&1; then :
5070 if test -n "$ac_tool_prefix"; then
5071 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5072 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_RANLIB+:} false
; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$RANLIB"; then
5079 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 RANLIB
=$ac_cv_prog_RANLIB
5099 if test -n "$RANLIB"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5101 $as_echo "$RANLIB" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5109 if test -z "$ac_cv_prog_RANLIB"; then
5110 ac_ct_RANLIB
=$RANLIB
5111 # Extract the first word of "ranlib", so it can be a program name with args.
5112 set dummy ranlib
; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$ac_ct_RANLIB"; then
5119 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5139 if test -n "$ac_ct_RANLIB"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5141 $as_echo "$ac_ct_RANLIB" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5147 if test "x$ac_ct_RANLIB" = x
; then
5150 case $cross_compiling:$ac_tool_warned in
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5154 ac_tool_warned
=yes ;;
5156 RANLIB
=$ac_ct_RANLIB
5159 RANLIB
="$ac_cv_prog_RANLIB"
5169 if test "x$CC" != xcc
; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5171 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5174 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5176 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5177 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5178 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
5179 $as_echo_n "(cached) " >&6
5181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5182 /* end confdefs.h. */
5192 # Make sure it works both with $CC and with simple cc.
5193 # We do the test twice because some compilers refuse to overwrite an
5194 # existing .o file with -o, though they will create one.
5195 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5197 if { { case "(($ac_try" in
5198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5202 $as_echo "$ac_try_echo"; } >&5
5203 (eval "$ac_try") 2>&5
5205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5206 test $ac_status = 0; } &&
5207 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5209 *) ac_try_echo
=$ac_try;;
5211 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5212 $as_echo "$ac_try_echo"; } >&5
5213 (eval "$ac_try") 2>&5
5215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5216 test $ac_status = 0; };
5218 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5219 if test "x$CC" != xcc
; then
5220 # Test first that cc exists at all.
5221 if { ac_try
='cc -c conftest.$ac_ext >&5'
5222 { { case "(($ac_try" in
5223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227 $as_echo "$ac_try_echo"; } >&5
5228 (eval "$ac_try") 2>&5
5230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }; }; then
5232 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5234 if { { case "(($ac_try" in
5235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5236 *) ac_try_echo
=$ac_try;;
5238 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 $as_echo "$ac_try_echo"; } >&5
5240 (eval "$ac_try") 2>&5
5242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; } &&
5244 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5246 *) ac_try_echo=$ac_try;;
5248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5249 $as_echo "$ac_try_echo"; } >&5
5250 (eval "$ac_try") 2>&5
5252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5253 test $ac_status = 0; };
5258 # cc exists but doesn't like -o.
5259 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5264 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5266 rm -f core conftest*
5269 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5271 $as_echo "yes" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5276 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5280 # FIXME: we rely on the cache variable name because
5281 # there is no other way.
5283 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5284 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5285 if test "$am_t" != yes; then
5286 # Losing compiler, so override with the script.
5287 # FIXME: It is wrong to rewrite CC.
5288 # But if we don't then we get into trouble of one sort or another.
5289 # A longer-term fix would be to have automake use am__CC in this case,
5290 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5291 CC="$am_aux_dir/compile $CC"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5296 $as_echo_n "checking for ANSI C header files... " >&6; }
5297 if ${ac_cv_header_stdc+:} false; then :
5298 $as_echo_n "(cached) " >&6
5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5315 if ac_fn_c_try_compile "$LINENO"; then :
5316 ac_cv_header_stdc=yes
5318 ac_cv_header_stdc=no
5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5322 if test $ac_cv_header_stdc = yes; then
5323 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5330 $EGREP "memchr" >/dev/null 2>&1; then :
5333 ac_cv_header_stdc=no
5339 if test $ac_cv_header_stdc = yes; then
5340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5347 $EGREP "free" >/dev/null 2>&1; then :
5350 ac_cv_header_stdc=no
5356 if test $ac_cv_header_stdc = yes; then
5357 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5358 if test "$cross_compiling" = yes; then :
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 #if ((' ' & 0x0FF) == 0x020)
5366 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5367 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5369 # define ISLOWER(c) \
5370 (('a' <= (c) && (c) <= 'i') \
5371 || ('j' <= (c) && (c) <= 'r') \
5372 || ('s' <= (c) && (c) <= 'z'))
5373 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5376 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5381 for (i = 0; i < 256; i++)
5382 if (XOR (islower (i), ISLOWER (i))
5383 || toupper (i) != TOUPPER (i))
5388 if ac_fn_c_try_run "$LINENO"; then :
5391 ac_cv_header_stdc=no
5393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5394 conftest.$ac_objext conftest.beam conftest.$ac_ext
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5400 $as_echo "$ac_cv_header_stdc" >&6; }
5401 if test $ac_cv_header_stdc = yes; then
5403 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5407 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5408 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5409 inttypes.h stdint.h unistd.h
5411 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5412 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5415 cat >>confdefs.h <<_ACEOF
5416 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5427 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5428 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5435 if test "$MINIX" = yes; then
5437 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5440 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5443 $as_echo "#define _MINIX 1" >>confdefs.h
5450 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5457 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5458 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5459 $as_echo_n "(cached) " >&6
5461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5462 /* end confdefs.h. */
5464 # define __EXTENSIONS__ 1
5465 $ac_includes_default
5474 if ac_fn_c_try_compile "$LINENO"; then :
5475 ac_cv_safe_to_define___extensions__=yes
5477 ac_cv_safe_to_define___extensions__=no
5479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5482 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5483 test $ac_cv_safe_to_define___extensions__ = yes &&
5484 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5486 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5488 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5490 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5492 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5494 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5506 # Code from module alloca-opt:
5507 # Code from module allocator:
5508 # Code from module areadlink:
5509 # Code from module binary-io:
5510 # Code from module canonicalize-lgpl:
5511 # Code from module careadlinkat:
5512 # Code from module dosname:
5513 # Code from module double-slash-root:
5514 # Code from module environ:
5515 # Code from module errno:
5516 # Code from module error:
5517 # Code from module extensions:
5519 # Code from module fcntl-h:
5520 # Code from module gettext:
5521 # Code from module gettext-h:
5522 # Code from module havelib:
5523 # Code from module include_next:
5524 # Code from module intprops:
5525 # Code from module largefile:
5526 # Code from module libiconv-misc:
5527 # Code from module lstat:
5528 # Code from module malloca:
5529 # Code from module mbstate:
5530 # Code from module memmove:
5531 # Code from module multiarch:
5532 # Code from module nocrash:
5533 # Code from module pathmax:
5534 # Code from module progname:
5535 # Code from module read:
5536 # Code from module readlink:
5537 # Code from module relocatable-prog:
5538 # Code from module relocatable-prog-wrapper:
5539 # Code from module safe-read:
5540 # Code from module signal:
5541 # Code from module sigpipe:
5542 # Code from module sigprocmask:
5543 # Code from module snippet/_Noreturn:
5544 # Code from module snippet/arg-nonnull:
5545 # Code from module snippet/c++defs:
5546 # Code from module snippet/warn-on-use:
5547 # Code from module ssize_t:
5548 # Code from module stat:
5549 # Code from module stdbool:
5550 # Code from module stddef:
5551 # Code from module stdint:
5552 # Code from module stdio:
5553 # Code from module stdlib:
5554 # Code from module streq:
5555 # Code from module strerror:
5556 # Code from module strerror-override:
5557 # Code from module string:
5558 # Code from module sys_stat:
5559 # Code from module time:
5560 # Code from module unistd:
5561 # Code from module unitypes:
5562 # Code from module uniwidth/base:
5563 # Code from module uniwidth/width:
5564 # Code from module unlocked-io:
5565 # Code from module verify:
5566 # Code from module xalloc:
5567 # Code from module xreadlink:
5572 # Check whether --with-gnu-ld was given.
5573 if test "${with_gnu_ld+set}" = set; then :
5574 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5579 # Prepare PATH_SEPARATOR.
5580 # The user is always right.
5581 if test "${PATH_SEPARATOR+set}" != set; then
5582 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5583 # contains only /bin. Note that ksh looks also at the FPATH variable,
5584 # so we have to set that as well for the test.
5586 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5587 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5588 || PATH_SEPARATOR=';'
5592 if test "$GCC" = yes; then
5593 # Check if gcc -print-prog-name=ld gives a path.
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5595 $as_echo_n "checking for ld used by GCC... " >&6; }
5598 # gcc leaves a trailing carriage return which upsets mingw
5599 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5601 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5604 # Accept absolute paths.
5605 [\\/]* | [A-Za-z]:[\\/]*)
5606 re_direlt='/[^/][^/]*/\.\./'
5607 # Canonicalize the path of ld
5608 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
5609 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5610 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
5612 test -z "$LD" && LD="$ac_prog"
5615 # If it fails, then pretend we aren't using GCC.
5619 # If it is relative, then search for the first ld in PATH.
5623 elif test "$with_gnu_ld" = yes; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5625 $as_echo_n "checking for GNU ld... " >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5628 $as_echo_n "checking for non-GNU ld... " >&6; }
5630 if ${acl_cv_path_LD+:} false; then :
5631 $as_echo_n "(cached) " >&6
5633 if test -z "$LD"; then
5634 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5635 for ac_dir in $PATH; do
5636 test -z "$ac_dir" && ac_dir=.
5637 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5638 acl_cv_path_LD="$ac_dir/$ac_prog"
5639 # Check to see if the program is GNU ld. I'd rather use --version,
5640 # but apparently some GNU ld's only accept -v.
5641 # Break only if it was the GNU/non-GNU ld that we prefer.
5642 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
5643 *GNU* | *'with BFD'*)
5644 test "$with_gnu_ld" != no && break ;;
5646 test "$with_gnu_ld" != yes && break ;;
5652 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5656 LD="$acl_cv_path_LD"
5657 if test -n "$LD"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5659 $as_echo "$LD" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5664 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5666 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5667 if ${acl_cv_prog_gnu_ld+:} false; then :
5668 $as_echo_n "(cached) " >&6
5670 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5671 case `$LD -v 2>&1 </dev
/null
` in
5672 *GNU* | *'with BFD'*)
5673 acl_cv_prog_gnu_ld=yes ;;
5675 acl_cv_prog_gnu_ld=no ;;
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5679 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5680 with_gnu_ld=$acl_cv_prog_gnu_ld
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library path variable" >&5
5685 $as_echo_n "checking for shared library path variable... " >&6; }
5686 if ${acl_cv_libpath+:} false; then :
5687 $as_echo_n "(cached) " >&6
5691 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh
5694 acl_cv_libpath=${acl_cv_shlibpath_var:-none}
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libpath" >&5
5698 $as_echo "$acl_cv_libpath" >&6; }
5699 shlibpath_var="$acl_cv_shlibpath_var"
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5
5703 $as_echo_n "checking whether to activate relocatable installation... " >&6; }
5704 # Check whether --enable-relocatable was given.
5705 if test "${enable_relocatable+set}" = set; then :
5706 enableval=$enable_relocatable; if test "$enableval" != no; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5
5718 $as_echo "$RELOCATABLE" >&6; }
5722 if test "X$prefix" = "XNONE"; then
5723 reloc_final_prefix="$ac_default_prefix"
5725 reloc_final_prefix="$prefix"
5728 cat >>confdefs.h <<_ACEOF
5729 #define INSTALLPREFIX "${reloc_final_prefix}"
5732 if test $RELOCATABLE = yes; then
5734 $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
5744 use_elf_origin_trick=no
5746 if test $RELOCATABLE = yes; then
5747 # --enable-relocatable implies --disable-rpath
5749 for ac_header in mach-o/dyld.h
5751 ac_fn_c_check_header_mongrel "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
5752 if test "x$ac_cv_header_mach_o_dyld_h" = xyes; then :
5753 cat >>confdefs.h <<_ACEOF
5754 #define HAVE_MACH_O_DYLD_H 1
5761 for ac_func in _NSGetExecutablePath
5763 ac_fn_c_check_func "$LINENO" "_NSGetExecutablePath" "ac_cv_func__NSGetExecutablePath"
5764 if test "x$ac_cv_func__NSGetExecutablePath" = xyes; then :
5765 cat >>confdefs.h <<_ACEOF
5766 #define HAVE__NSGETEXECUTABLEPATH 1
5773 mingw*) is_noop=yes ;;
5774 linux*) use_elf_origin_trick=yes ;;
5776 if test $is_noop = yes; then
5777 RELOCATABLE_LDFLAGS=:
5780 if test $use_elf_origin_trick = yes; then
5781 case "$ac_aux_dir" in
5782 /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;;
5783 *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;;
5785 RELOCATABLE_LDFLAGS="\"$reloc_ldflags\" \"\$(host)\" \"\$(RELOCATABLE_LIBRARY_PATH)\""
5789 INSTALL_PROGRAM_ENV="RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_DESTDIR=\"\$(DESTDIR)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_EXEEXT=\"\$(EXEEXT)\" RELOC_STRIP_PROG=\"\$(RELOCATABLE_STRIP)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\""
5791 case "$ac_aux_dir" in
5792 /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;;
5793 *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;;
5798 if test $is_noop = yes || test $use_elf_origin_trick = yes; then
5799 RELOCATABLE_VIA_LD_TRUE=
5800 RELOCATABLE_VIA_LD_FALSE='#'
5802 RELOCATABLE_VIA_LD_TRUE='#'
5803 RELOCATABLE_VIA_LD_FALSE=
5806 if test $use_wrapper = yes; then
5807 RELOCATABLE_VIA_WRAPPER_TRUE=
5808 RELOCATABLE_VIA_WRAPPER_FALSE='#'
5810 RELOCATABLE_VIA_WRAPPER_TRUE='#'
5811 RELOCATABLE_VIA_WRAPPER_FALSE=
5821 RELOCATABLE_STRIP=':'
5829 : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'}
5830 RELOCATABLE_SRC_DIR="\$(top_srcdir)/$gl_source_base"
5831 RELOCATABLE_BUILD_DIR="\$(top_builddir)/$gl_source_base"
5834 # Check whether --enable-extra-encodings was given.
5835 if test "${enable_extra_encodings+set}" = set; then :
5836 enableval=$enable_extra_encodings;
5837 $as_echo "#define ENABLE_EXTRA 1" >>confdefs.h
5839 USE_EXTRA_ENCODINGS=yes
5841 USE_EXTRA_ENCODINGS=no
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to copy files" >&5
5848 $as_echo_n "checking how to copy files... " >&6; }
5849 if ${cl_cv_prog_cp+:} false; then :
5850 $as_echo_n "(cached) " >&6
5853 echo "blabla" > conftest.x
5854 err=`/bin
/sh
-c "cp -p conftest.x conftest.y 2>&1"`
5855 if test -z "$err"; then
5856 cl_cv_prog_cp='cp -p'
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_cp" >&5
5864 $as_echo "$cl_cv_prog_cp" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5
5868 $as_echo_n "checking how to make hard links... " >&6; }
5869 if ${cl_cv_prog_LN+:} false; then :
5870 $as_echo_n "(cached) " >&6
5873 rm -f conftestdata conftestfile
5874 echo data > conftestfile
5875 if ln conftestfile conftestdata 2>/dev/null; then
5878 cl_cv_prog_LN="$cl_cv_prog_cp"
5880 rm -f conftestdata conftestfile
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5
5884 $as_echo "$cl_cv_prog_LN" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5888 $as_echo_n "checking whether ln -s works... " >&6; }
5890 if test "$LN_S" = "ln -s"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5892 $as_echo "yes" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5895 $as_echo "no, using $LN_S" >&6; }
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5907 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5913 macro_revision='1.3293'
5927 ltmain="$ac_aux_dir/ltmain.sh"
5929 # Backslashify metacharacters that are still active within
5930 # double-quoted strings.
5931 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5933 # Same as above, but do not quote variable references.
5934 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5936 # Sed substitution to delay expansion of an escaped shell variable in a
5937 # double_quote_subst'ed string.
5938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5940 # Sed substitution to delay expansion of an escaped single quote.
5941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5943 # Sed substitution to avoid accidental globbing in evaled expressions
5944 no_glob_subst='s/\*/\\\*/g'
5946 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5947 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5948 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5951 $as_echo_n "checking how to print
strings...
" >&6; }
5952 # Test print first, because it will be a builtin if present.
5953 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5954 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5956 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5959 # Use this function as a fallback that always works.
5960 func_fallback_echo ()
5962 eval 'cat <<_LTECHO_EOF
5966 ECHO='func_fallback_echo'
5969 # func_echo_all arg...
5970 # Invoke $ECHO with all args, space-separated.
5977 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5978 $as_echo "printf" >&6; } ;;
5979 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5980 $as_echo "print
-r" >&6; } ;;
5981 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5982 $as_echo "cat" >&6; } ;;
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5999 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6000 if ${ac_cv_path_SED+:} false; then :
6001 $as_echo_n "(cached
) " >&6
6003 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6004 for ac_i in 1 2 3 4 5 6 7; do
6005 ac_script="$ac_script$as_nl$ac_script"
6007 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6008 { ac_script=; unset ac_script;}
6009 if test -z "$SED"; then
6010 ac_path_SED_found=false
6011 # Loop through the user's path and test for each of PROGNAME-LIST
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 test -z "$as_dir" && as_dir=.
6017 for ac_prog in sed gsed; do
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6020 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6021 # Check for GNU ac_path_SED and select it if it is found.
6022 # Check for GNU $ac_path_SED
6023 case `"$ac_path_SED" --version 2>&1` in
6025 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6028 $as_echo_n 0123456789 >"conftest.
in"
6031 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6032 mv "conftest.tmp
" "conftest.
in"
6033 cp "conftest.
in" "conftest.
nl"
6034 $as_echo '' >> "conftest.
nl"
6035 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6036 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6037 as_fn_arith $ac_count + 1 && ac_count=$as_val
6038 if test $ac_count -gt ${ac_path_SED_max-0}; then
6039 # Best one so far, save it but keep looking for a better one
6040 ac_cv_path_SED="$ac_path_SED"
6041 ac_path_SED_max=$ac_count
6043 # 10*(2^10) chars as input seems more than enough
6044 test $ac_count -gt 10 && break
6046 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6049 $ac_path_SED_found && break 3
6054 if test -z "$ac_cv_path_SED"; then
6055 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6063 $as_echo "$ac_cv_path_SED" >&6; }
6064 SED="$ac_cv_path_SED"
6067 test -z "$SED" && SED=sed
6068 Xsed="$SED -e 1s
/^X
//"
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6081 $as_echo_n "checking
for fgrep...
" >&6; }
6082 if ${ac_cv_path_FGREP+:} false; then :
6083 $as_echo_n "(cached
) " >&6
6085 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6086 then ac_cv_path_FGREP="$GREP -F"
6088 if test -z "$FGREP"; then
6089 ac_path_FGREP_found=false
6090 # Loop through the user's path and test for each of PROGNAME-LIST
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6095 test -z "$as_dir" && as_dir=.
6096 for ac_prog in fgrep; do
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6099 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6100 # Check for GNU ac_path_FGREP and select it if it is found.
6101 # Check for GNU $ac_path_FGREP
6102 case `"$ac_path_FGREP" --version 2>&1` in
6104 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6107 $as_echo_n 0123456789 >"conftest.
in"
6110 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6111 mv "conftest.tmp
" "conftest.
in"
6112 cp "conftest.
in" "conftest.
nl"
6113 $as_echo 'FGREP' >> "conftest.
nl"
6114 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6115 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6116 as_fn_arith $ac_count + 1 && ac_count=$as_val
6117 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6118 # Best one so far, save it but keep looking for a better one
6119 ac_cv_path_FGREP="$ac_path_FGREP"
6120 ac_path_FGREP_max=$ac_count
6122 # 10*(2^10) chars as input seems more than enough
6123 test $ac_count -gt 10 && break
6125 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6128 $ac_path_FGREP_found && break 3
6133 if test -z "$ac_cv_path_FGREP"; then
6134 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6137 ac_cv_path_FGREP=$FGREP
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6143 $as_echo "$ac_cv_path_FGREP" >&6; }
6144 FGREP="$ac_cv_path_FGREP"
6147 test -z "$GREP" && GREP=grep
6167 # Check whether --with-gnu-ld was given.
6168 if test "${with_gnu_ld+set}" = set; then :
6169 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6175 if test "$GCC" = yes; then
6176 # Check if gcc -print-prog-name=ld gives a path.
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6178 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6181 # gcc leaves a trailing carriage return which upsets mingw
6182 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6184 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6187 # Accept absolute paths.
6189 re_direlt='/[^/][^/]*/\.\./'
6190 # Canonicalize the pathname of ld
6191 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6192 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6193 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6195 test -z "$LD" && LD="$ac_prog"
6198 # If it fails, then pretend we aren't using GCC.
6202 # If it is relative, then search for the first ld in PATH.
6206 elif test "$with_gnu_ld" = yes; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6208 $as_echo_n "checking
for GNU ld...
" >&6; }
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6211 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6213 if ${lt_cv_path_LD+:} false; then :
6214 $as_echo_n "(cached
) " >&6
6216 if test -z "$LD"; then
6217 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6218 for ac_dir in $PATH; do
6220 test -z "$ac_dir" && ac_dir=.
6221 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6222 lt_cv_path_LD="$ac_dir/$ac_prog"
6223 # Check to see if the program is GNU ld. I'd rather use --version,
6224 # but apparently some variants of GNU ld only accept -v.
6225 # Break only if it was the GNU/non-GNU ld that we prefer.
6226 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6227 *GNU* | *'with BFD'*)
6228 test "$with_gnu_ld" != no && break
6231 test "$with_gnu_ld" != yes && break
6238 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6243 if test -n "$LD"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6245 $as_echo "$LD" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6248 $as_echo "no
" >&6; }
6250 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6252 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6253 if ${lt_cv_prog_gnu_ld+:} false; then :
6254 $as_echo_n "(cached
) " >&6
6256 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6257 case `$LD -v 2>&1 </dev/null` in
6258 *GNU* | *'with BFD'*)
6259 lt_cv_prog_gnu_ld=yes
6262 lt_cv_prog_gnu_ld=no
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6267 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6268 with_gnu_ld=$lt_cv_prog_gnu_ld
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6279 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6280 if ${lt_cv_path_NM+:} false; then :
6281 $as_echo_n "(cached
) " >&6
6283 if test -n "$NM"; then
6284 # Let the user override the test.
6287 lt_nm_to_check="${ac_tool_prefix}nm
"
6288 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6289 lt_nm_to_check="$lt_nm_to_check nm
"
6291 for lt_tmp_nm in $lt_nm_to_check; do
6292 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6293 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6295 test -z "$ac_dir" && ac_dir=.
6296 tmp_nm="$ac_dir/$lt_tmp_nm"
6297 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6298 # Check to see if the nm accepts a BSD-compat flag.
6299 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6300 # nm: unknown option "B
" ignored
6301 # Tru64's nm complains that /dev/null is an invalid object file
6302 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6303 */dev/null* | *'Invalid file or object type'*)
6304 lt_cv_path_NM="$tmp_nm -B"
6308 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6310 lt_cv_path_NM="$tmp_nm -p"
6314 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6315 continue # so that we can try to find one that supports BSD flags
6324 : ${lt_cv_path_NM=no}
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6328 $as_echo "$lt_cv_path_NM" >&6; }
6329 if test "$lt_cv_path_NM" != "no
"; then
6332 # Didn't find any BSD compatible name lister, look for dumpbin.
6333 if test -n "$DUMPBIN"; then :
6334 # Let the user override the test.
6336 if test -n "$ac_tool_prefix"; then
6337 for ac_prog in dumpbin "link
-dump"
6339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6342 $as_echo_n "checking
for $ac_word...
" >&6; }
6343 if ${ac_cv_prog_DUMPBIN+:} false; then :
6344 $as_echo_n "(cached
) " >&6
6346 if test -n "$DUMPBIN"; then
6347 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6366 DUMPBIN=$ac_cv_prog_DUMPBIN
6367 if test -n "$DUMPBIN"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6369 $as_echo "$DUMPBIN" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6372 $as_echo "no
" >&6; }
6376 test -n "$DUMPBIN" && break
6379 if test -z "$DUMPBIN"; then
6380 ac_ct_DUMPBIN=$DUMPBIN
6381 for ac_prog in dumpbin "link
-dump"
6383 # Extract the first word of "$ac_prog", so it can be a program name with args.
6384 set dummy $ac_prog; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6386 $as_echo_n "checking
for $ac_word...
" >&6; }
6387 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6388 $as_echo_n "(cached
) " >&6
6390 if test -n "$ac_ct_DUMPBIN"; then
6391 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6410 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6411 if test -n "$ac_ct_DUMPBIN"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6413 $as_echo "$ac_ct_DUMPBIN" >&6; }
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6416 $as_echo "no
" >&6; }
6420 test -n "$ac_ct_DUMPBIN" && break
6423 if test "x
$ac_ct_DUMPBIN" = x; then
6426 case $cross_compiling:$ac_tool_warned in
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6429 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6430 ac_tool_warned=yes ;;
6432 DUMPBIN=$ac_ct_DUMPBIN
6436 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6438 DUMPBIN="$DUMPBIN -symbols"
6446 if test "$DUMPBIN" != ":"; then
6450 test -z "$NM" && NM=nm
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6458 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6459 if ${lt_cv_nm_interface+:} false; then :
6460 $as_echo_n "(cached
) " >&6
6462 lt_cv_nm_interface="BSD nm
"
6463 echo "int some_variable
= 0;" > conftest.$ac_ext
6464 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6465 (eval "$ac_compile" 2>conftest.err)
6466 cat conftest.err >&5
6467 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6468 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6469 cat conftest.err >&5
6470 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6471 cat conftest.out >&5
6472 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6473 lt_cv_nm_interface="MS dumpbin
"
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6478 $as_echo "$lt_cv_nm_interface" >&6; }
6480 # find the maximum length of command line arguments
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6482 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6483 if ${lt_cv_sys_max_cmd_len+:} false; then :
6484 $as_echo_n "(cached
) " >&6
6491 # On DJGPP, this test can blow up pretty badly due to problems in libc
6492 # (any single argument exceeding 2000 bytes causes a buffer overrun
6493 # during glob expansion). Even if it were fixed, the result of this
6494 # check would be larger than it should be.
6495 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6499 # Under GNU Hurd, this test is not required because there is
6500 # no limit to the length of command line arguments.
6501 # Libtool will interpret -1 as no limit whatsoever
6502 lt_cv_sys_max_cmd_len=-1;
6505 cygwin* | mingw* | cegcc*)
6506 # On Win9x/ME, this test blows up -- it succeeds, but takes
6507 # about 5 minutes as the teststring grows exponentially.
6508 # Worse, since 9x/ME are not pre-emptively multitasking,
6509 # you end up with a "frozen
" computer, even though with patience
6510 # the test eventually succeeds (with a max line length of 256k).
6511 # Instead, let's just punt: use the minimum linelength reported by
6512 # all of the supported platforms: 8192 (on NT/2K/XP).
6513 lt_cv_sys_max_cmd_len=8192;
6517 # On MiNT this can take a long time and run out of memory.
6518 lt_cv_sys_max_cmd_len=8192;
6522 # On AmigaOS with pdksh, this test takes hours, literally.
6523 # So we just punt and use a minimum line length of 8192.
6524 lt_cv_sys_max_cmd_len=8192;
6527 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6528 # This has been around since 386BSD, at least. Likely further.
6529 if test -x /sbin/sysctl; then
6530 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6531 elif test -x /usr/sbin/sysctl; then
6532 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6534 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6536 # And add a safety zone
6537 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6538 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6542 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6543 lt_cv_sys_max_cmd_len=196608
6547 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6548 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6549 # nice to cause kernel panics so lets avoid the loop below.
6550 # First set a reasonable default.
6551 lt_cv_sys_max_cmd_len=16384
6553 if test -x /sbin/sysconfig; then
6554 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6555 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6560 lt_cv_sys_max_cmd_len=102400
6562 sysv5* | sco5v6* | sysv4.2uw2*)
6563 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6564 if test -n "$kargmax"; then
6565 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6567 lt_cv_sys_max_cmd_len=32768
6571 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6572 if test -n "$lt_cv_sys_max_cmd_len"; then
6573 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6574 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6576 # Make teststring a little bigger before we do anything with it.
6577 # a 1K string should be a reasonable start.
6578 for i in 1 2 3 4 5 6 7 8 ; do
6579 teststring=$teststring$teststring
6581 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6582 # If test is not a shell built-in, we'll probably end up computing a
6583 # maximum length that is only half of the actual maximum length, but
6585 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6586 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6587 test $i != 17 # 1/2 MB should be enough
6590 teststring=$teststring$teststring
6592 # Only check the string length outside the loop.
6593 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6595 # Add a significant safety factor because C++ compilers can tack on
6596 # massive amounts of additional arguments before passing them to the
6597 # linker. It appears as though 1/2 is a usable value.
6598 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6605 if test -n $lt_cv_sys_max_cmd_len ; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6607 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6610 $as_echo "none
" >&6; }
6612 max_cmd_len=$lt_cv_sys_max_cmd_len
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6624 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6625 # Try some XSI features
6628 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6630 && eval 'test $(( 1 + 1 )) -eq 2 \
6631 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6634 $as_echo "$xsi_shell" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6638 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6640 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6642 && lt_shell_append
=yes
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6644 $as_echo "$lt_shell_append" >&6; }
6647 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6657 # test EBCDIC or ASCII
6658 case `echo X|tr X '\101'` in
6659 A
) # ASCII based system
6660 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6661 lt_SP2NL
='tr \040 \012'
6662 lt_NL2SP
='tr \015\012 \040\040'
6664 *) # EBCDIC based system
6665 lt_SP2NL
='tr \100 \n'
6666 lt_NL2SP
='tr \r\n \100\100'
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6679 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6680 if ${lt_cv_to_host_file_cmd+:} false
; then :
6681 $as_echo_n "(cached) " >&6
6686 *-*-mingw* ) # actually msys
6687 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6690 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6692 * ) # otherwise, assume *nix
6693 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6699 *-*-mingw* ) # actually msys
6700 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6703 lt_cv_to_host_file_cmd
=func_convert_file_noop
6705 * ) # otherwise, assume *nix
6706 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6710 * ) # unhandled hosts (and "normal" native builds)
6711 lt_cv_to_host_file_cmd
=func_convert_file_noop
6717 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6719 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6726 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6727 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 #assume ordinary cross tools, or native build.
6731 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6735 *-*-mingw* ) # actually msys
6736 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6744 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6746 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6753 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6754 if ${lt_cv_ld_reload_flag+:} false
; then :
6755 $as_echo_n "(cached) " >&6
6757 lt_cv_ld_reload_flag
='-r'
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6760 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6761 reload_flag
=$lt_cv_ld_reload_flag
6762 case $reload_flag in
6764 *) reload_flag
=" $reload_flag" ;;
6766 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6768 cygwin
* | mingw
* | pw32
* | cegcc
*)
6769 if test "$GCC" != yes; then
6774 if test "$GCC" = yes; then
6775 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6777 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6790 if test -n "$ac_tool_prefix"; then
6791 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6792 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6794 $as_echo_n "checking for $ac_word... " >&6; }
6795 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6796 $as_echo_n "(cached) " >&6
6798 if test -n "$OBJDUMP"; then
6799 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir
=.
6806 for ac_exec_ext
in '' $ac_executable_extensions; do
6807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818 OBJDUMP
=$ac_cv_prog_OBJDUMP
6819 if test -n "$OBJDUMP"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6821 $as_echo "$OBJDUMP" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 $as_echo "no" >&6; }
6829 if test -z "$ac_cv_prog_OBJDUMP"; then
6830 ac_ct_OBJDUMP
=$OBJDUMP
6831 # Extract the first word of "objdump", so it can be a program name with args.
6832 set dummy objdump
; ac_word
=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 $as_echo_n "checking for $ac_word... " >&6; }
6835 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6836 $as_echo_n "(cached) " >&6
6838 if test -n "$ac_ct_OBJDUMP"; then
6839 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir
=.
6846 for ac_exec_ext
in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6859 if test -n "$ac_ct_OBJDUMP"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6861 $as_echo "$ac_ct_OBJDUMP" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6867 if test "x$ac_ct_OBJDUMP" = x
; then
6870 case $cross_compiling:$ac_tool_warned in
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6874 ac_tool_warned
=yes ;;
6876 OBJDUMP
=$ac_ct_OBJDUMP
6879 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6882 test -z "$OBJDUMP" && OBJDUMP
=objdump
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6890 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6891 if ${lt_cv_deplibs_check_method+:} false
; then :
6892 $as_echo_n "(cached) " >&6
6894 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6895 lt_cv_file_magic_test_file
=
6896 lt_cv_deplibs_check_method
='unknown'
6897 # Need to set the preceding variable on all platforms that support
6898 # interlibrary dependencies.
6899 # 'none' -- dependencies not supported.
6900 # `unknown' -- same as none, but documents that we really don't know.
6901 # 'pass_all' -- all dependencies passed with no checks.
6902 # 'test_compile' -- check by making test program.
6903 # 'file_magic [[regex]]' -- check by looking for files in library path
6904 # which responds to the $file_magic_cmd with a given extended regex.
6905 # If you have `file' or equivalent on your system and you're not sure
6906 # whether `pass_all' will *always* work, you probably want this one.
6910 lt_cv_deplibs_check_method
=pass_all
6914 lt_cv_deplibs_check_method
=pass_all
6918 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6919 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6920 lt_cv_file_magic_test_file
=/shlib
/libc.so
6924 # func_win32_libid is a shell function defined in ltmain.sh
6925 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6926 lt_cv_file_magic_cmd
='func_win32_libid'
6930 # Base MSYS/MinGW do not provide the 'file' command needed by
6931 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6932 # unless we find 'file', for example because we are cross-compiling.
6933 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6934 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6935 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6936 lt_cv_file_magic_cmd
='func_win32_libid'
6938 # Keep this pattern in sync with the one in func_win32_libid.
6939 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6940 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6945 # use the weaker test based on 'objdump'. See mingw*.
6946 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6947 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6950 darwin
* | rhapsody
*)
6951 lt_cv_deplibs_check_method
=pass_all
6954 freebsd
* | dragonfly
*)
6955 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6958 # Not sure whether the presence of OpenBSD here was a mistake.
6959 # Let's accept both of them until this is cleared up.
6960 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6961 lt_cv_file_magic_cmd
=/usr
/bin
/file
6962 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6966 lt_cv_deplibs_check_method
=pass_all
6971 lt_cv_deplibs_check_method
=pass_all
6975 lt_cv_deplibs_check_method
=pass_all
6978 hpux10.20
* | hpux11
*)
6979 lt_cv_file_magic_cmd
=/usr
/bin
/file
6982 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6983 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6986 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6987 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6990 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6991 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6997 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6998 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7001 irix5
* | irix6
* | nonstopux
*)
7003 *-32|
*"-32 ") libmagic
=32-bit;;
7004 *-n32|
*"-n32 ") libmagic
=N32
;;
7005 *-64|
*"-64 ") libmagic
=64-bit;;
7006 *) libmagic
=never-match
;;
7008 lt_cv_deplibs_check_method
=pass_all
7011 # This must be Linux ELF.
7012 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7013 lt_cv_deplibs_check_method
=pass_all
7017 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7018 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7020 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7025 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7026 lt_cv_file_magic_cmd
=/usr
/bin
/file
7027 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7031 lt_cv_deplibs_check_method
=pass_all
7035 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7036 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7038 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7042 osf3
* | osf4
* | osf5
*)
7043 lt_cv_deplibs_check_method
=pass_all
7047 lt_cv_deplibs_check_method
=pass_all
7051 lt_cv_deplibs_check_method
=pass_all
7054 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7055 lt_cv_deplibs_check_method
=pass_all
7059 case $host_vendor in
7061 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7062 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7065 lt_cv_deplibs_check_method
=pass_all
7068 lt_cv_file_magic_cmd
='/bin/file'
7069 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7072 lt_cv_file_magic_cmd
='/bin/file'
7073 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7074 lt_cv_file_magic_test_file
=/lib
/libc.so
7077 lt_cv_deplibs_check_method
=pass_all
7080 lt_cv_deplibs_check_method
=pass_all
7086 lt_cv_deplibs_check_method
=pass_all
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7092 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7096 if test "$build" = "$host"; then
7099 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
7102 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7108 file_magic_cmd
=$lt_cv_file_magic_cmd
7109 deplibs_check_method
=$lt_cv_deplibs_check_method
7110 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7133 if test -n "$ac_tool_prefix"; then
7134 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7135 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7139 $as_echo_n "(cached) " >&6
7141 if test -n "$DLLTOOL"; then
7142 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir
=.
7149 for ac_exec_ext
in '' $ac_executable_extensions; do
7150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 DLLTOOL
=$ac_cv_prog_DLLTOOL
7162 if test -n "$DLLTOOL"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7164 $as_echo "$DLLTOOL" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 $as_echo "no" >&6; }
7172 if test -z "$ac_cv_prog_DLLTOOL"; then
7173 ac_ct_DLLTOOL
=$DLLTOOL
7174 # Extract the first word of "dlltool", so it can be a program name with args.
7175 set dummy dlltool
; ac_word
=$2
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177 $as_echo_n "checking for $ac_word... " >&6; }
7178 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7179 $as_echo_n "(cached) " >&6
7181 if test -n "$ac_ct_DLLTOOL"; then
7182 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7188 test -z "$as_dir" && as_dir
=.
7189 for ac_exec_ext
in '' $ac_executable_extensions; do
7190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7191 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7201 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7202 if test -n "$ac_ct_DLLTOOL"; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7204 $as_echo "$ac_ct_DLLTOOL" >&6; }
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207 $as_echo "no" >&6; }
7210 if test "x$ac_ct_DLLTOOL" = x
; then
7213 case $cross_compiling:$ac_tool_warned in
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7217 ac_tool_warned
=yes ;;
7219 DLLTOOL
=$ac_ct_DLLTOOL
7222 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7225 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7234 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7235 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7236 $as_echo_n "(cached) " >&6
7238 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7241 cygwin
* | mingw
* | pw32
* | cegcc
*)
7242 # two different shell functions defined in ltmain.sh
7243 # decide which to use based on capabilities of $DLLTOOL
7244 case `$DLLTOOL --help 2>&1` in
7245 *--identify-strict*)
7246 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7249 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7254 # fallback: assume linklib IS sharedlib
7255 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7261 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7262 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7263 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7271 if test -n "$ac_tool_prefix"; then
7274 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7275 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 $as_echo_n "checking for $ac_word... " >&6; }
7278 if ${ac_cv_prog_AR+:} false
; then :
7279 $as_echo_n "(cached) " >&6
7281 if test -n "$AR"; then
7282 ac_cv_prog_AR
="$AR" # Let the user override the test.
7284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7288 test -z "$as_dir" && as_dir
=.
7289 for ac_exec_ext
in '' $ac_executable_extensions; do
7290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 if test -n "$AR"; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7304 $as_echo "$AR" >&6; }
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 $as_echo "no" >&6; }
7311 test -n "$AR" && break
7314 if test -z "$AR"; then
7318 # Extract the first word of "$ac_prog", so it can be a program name with args.
7319 set dummy
$ac_prog; ac_word
=$2
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 $as_echo_n "checking for $ac_word... " >&6; }
7322 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7323 $as_echo_n "(cached) " >&6
7325 if test -n "$ac_ct_AR"; then
7326 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7332 test -z "$as_dir" && as_dir
=.
7333 for ac_exec_ext
in '' $ac_executable_extensions; do
7334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7335 ac_cv_prog_ac_ct_AR
="$ac_prog"
7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7346 if test -n "$ac_ct_AR"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7348 $as_echo "$ac_ct_AR" >&6; }
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7355 test -n "$ac_ct_AR" && break
7358 if test "x$ac_ct_AR" = x
; then
7361 case $cross_compiling:$ac_tool_warned in
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365 ac_tool_warned
=yes ;;
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7385 $as_echo_n "checking for archiver @FILE support... " >&6; }
7386 if ${lt_cv_ar_at_file+:} false
; then :
7387 $as_echo_n "(cached) " >&6
7390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7391 /* end confdefs.h. */
7401 if ac_fn_c_try_compile
"$LINENO"; then :
7402 echo conftest.
$ac_objext > conftest.lst
7403 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7404 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7405 (eval $lt_ar_try) 2>&5
7407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7408 test $ac_status = 0; }
7409 if test "$ac_status" -eq 0; then
7410 # Ensure the archiver fails upon bogus file names.
7411 rm -f conftest.
$ac_objext libconftest.a
7412 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7413 (eval $lt_ar_try) 2>&5
7415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7416 test $ac_status = 0; }
7417 if test "$ac_status" -ne 0; then
7421 rm -f conftest.
* libconftest.a
7424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7428 $as_echo "$lt_cv_ar_at_file" >&6; }
7430 if test "x$lt_cv_ar_at_file" = xno
; then
7433 archiver_list_spec
=$lt_cv_ar_at_file
7442 if test -n "$ac_tool_prefix"; then
7443 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7444 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7446 $as_echo_n "checking for $ac_word... " >&6; }
7447 if ${ac_cv_prog_STRIP+:} false
; then :
7448 $as_echo_n "(cached) " >&6
7450 if test -n "$STRIP"; then
7451 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir
=.
7458 for ac_exec_ext
in '' $ac_executable_extensions; do
7459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7460 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 STRIP
=$ac_cv_prog_STRIP
7471 if test -n "$STRIP"; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7473 $as_echo "$STRIP" >&6; }
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7476 $as_echo "no" >&6; }
7481 if test -z "$ac_cv_prog_STRIP"; then
7483 # Extract the first word of "strip", so it can be a program name with args.
7484 set dummy strip
; ac_word
=$2
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7486 $as_echo_n "checking for $ac_word... " >&6; }
7487 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7488 $as_echo_n "(cached) " >&6
7490 if test -n "$ac_ct_STRIP"; then
7491 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7497 test -z "$as_dir" && as_dir
=.
7498 for ac_exec_ext
in '' $ac_executable_extensions; do
7499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7500 ac_cv_prog_ac_ct_STRIP
="strip"
7501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7511 if test -n "$ac_ct_STRIP"; then
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7513 $as_echo "$ac_ct_STRIP" >&6; }
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7516 $as_echo "no" >&6; }
7519 if test "x$ac_ct_STRIP" = x
; then
7522 case $cross_compiling:$ac_tool_warned in
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7526 ac_tool_warned
=yes ;;
7531 STRIP
="$ac_cv_prog_STRIP"
7534 test -z "$STRIP" && STRIP
=:
7541 if test -n "$ac_tool_prefix"; then
7542 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7543 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545 $as_echo_n "checking for $ac_word... " >&6; }
7546 if ${ac_cv_prog_RANLIB+:} false
; then :
7547 $as_echo_n "(cached) " >&6
7549 if test -n "$RANLIB"; then
7550 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7556 test -z "$as_dir" && as_dir
=.
7557 for ac_exec_ext
in '' $ac_executable_extensions; do
7558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7559 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 RANLIB
=$ac_cv_prog_RANLIB
7570 if test -n "$RANLIB"; then
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7572 $as_echo "$RANLIB" >&6; }
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 $as_echo "no" >&6; }
7580 if test -z "$ac_cv_prog_RANLIB"; then
7581 ac_ct_RANLIB
=$RANLIB
7582 # Extract the first word of "ranlib", so it can be a program name with args.
7583 set dummy ranlib
; ac_word
=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7587 $as_echo_n "(cached) " >&6
7589 if test -n "$ac_ct_RANLIB"; then
7590 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir
=.
7597 for ac_exec_ext
in '' $ac_executable_extensions; do
7598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7599 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7610 if test -n "$ac_ct_RANLIB"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7612 $as_echo "$ac_ct_RANLIB" >&6; }
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7618 if test "x$ac_ct_RANLIB" = x
; then
7621 case $cross_compiling:$ac_tool_warned in
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7625 ac_tool_warned
=yes ;;
7627 RANLIB
=$ac_ct_RANLIB
7630 RANLIB
="$ac_cv_prog_RANLIB"
7633 test -z "$RANLIB" && RANLIB
=:
7640 # Determine commands to create old-style static archives.
7641 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7642 old_postinstall_cmds
='chmod 644 $oldlib'
7643 old_postuninstall_cmds
=
7645 if test -n "$RANLIB"; then
7648 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7651 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7654 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7659 lock_old_archive_extraction
=yes ;;
7661 lock_old_archive_extraction
=no
;;
7702 # If no C compiler was specified, use CC.
7705 # If no C compiler flags were specified, use CFLAGS.
7706 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7708 # Allow CC to be a program name with arguments.
7712 # Check for command to grab the raw symbol name followed by C symbol from nm.
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7714 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7715 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7716 $as_echo_n "(cached) " >&6
7719 # These are sane defaults that work on at least a few old systems.
7720 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7722 # Character class describing NM global symbol codes.
7723 symcode
='[BCDEGRST]'
7725 # Regexp to match symbols that can be accessed directly from C.
7726 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7728 # Define system-specific variables.
7733 cygwin
* | mingw
* | pw32
* | cegcc
*)
7734 symcode
='[ABCDGISTW]'
7737 if test "$host_cpu" = ia64
; then
7738 symcode
='[ABCDEGRST]'
7742 symcode
='[BCDEGRST]'
7745 symcode
='[BCDEGQRST]'
7756 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7764 # If we're using GNU nm, then use its standard symbol codes.
7765 case `$NM -V 2>&1` in
7766 *GNU
* |
*'with BFD'*)
7767 symcode
='[ABCDGIRSTW]' ;;
7770 # Transform an extracted symbol line into a proper C declaration.
7771 # Some systems (esp. on ia64) link data and code symbols differently,
7772 # so use this general approach.
7773 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7775 # Transform an extracted symbol line into symbol name and symbol address
7776 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7777 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7779 # Handle CRLF in mingw tool chain
7783 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7787 # Try without a prefix underscore, then with it.
7788 for ac_symprfx
in "" "_"; do
7790 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7791 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7793 # Write the raw and C identifiers.
7794 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7795 # Fake it for dumpbin and say T for any non-static function
7796 # and D for any global variable.
7797 # Also find C++ and __fastcall symbols from MSVC++,
7798 # which start with @ or ?.
7799 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7800 " {last_section=section; section=\$ 3};"\
7801 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7802 " \$ 0!~/External *\|/{next};"\
7803 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7804 " {if(hide[section]) next};"\
7805 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7806 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7807 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7808 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7809 " ' prfx=^$ac_symprfx"
7811 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7813 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7815 # Check to see that the pipe works correctly.
7819 cat > conftest.
$ac_ext <<_LT_EOF
7824 void nm_test_func(void);
7825 void nm_test_func(void){}
7829 int main(){nm_test_var='a';nm_test_func();return(0);}
7832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7833 (eval $ac_compile) 2>&5
7835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7836 test $ac_status = 0; }; then
7837 # Now try to grab the symbols.
7839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7840 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7843 test $ac_status = 0; } && test -s "$nlist"; then
7844 # Try sorting and uniquifying the output.
7845 if sort "$nlist" |
uniq > "$nlist"T
; then
7846 mv -f "$nlist"T
"$nlist"
7851 # Make sure that we snagged all the symbols we need.
7852 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7853 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7854 cat <<_LT_EOF > conftest.$ac_ext
7855 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7856 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7857 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7858 relocations are performed -- see ld's documentation on pseudo-relocs. */
7859 # define LT_DLSYM_CONST
7860 #elif defined(__osf__)
7861 /* This system does not cope well with relocations in const data. */
7862 # define LT_DLSYM_CONST
7864 # define LT_DLSYM_CONST const
7872 # Now generate the symbol file.
7873 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7875 cat <<_LT_EOF >> conftest.$ac_ext
7877 /* The mapping between symbol names and symbols. */
7878 LT_DLSYM_CONST struct {
7882 lt__PROGRAM__LTX_preloaded_symbols[] =
7884 { "@PROGRAM@", (void *) 0 },
7886 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7887 cat <<\_LT_EOF
>> conftest.
$ac_ext
7891 /* This works around a problem
in FreeBSD linker
*/
7892 #ifdef FREEBSD_WORKAROUND
7893 static const void
*lt_preloaded_setup
() {
7894 return lt__PROGRAM__LTX_preloaded_symbols
;
7902 # Now try linking the two files.
7903 mv conftest.
$ac_objext conftstm.
$ac_objext
7904 lt_globsym_save_LIBS
=$LIBS
7905 lt_globsym_save_CFLAGS
=$CFLAGS
7906 LIBS
="conftstm.$ac_objext"
7907 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7909 (eval $ac_link) 2>&5
7911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7912 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7915 LIBS
=$lt_globsym_save_LIBS
7916 CFLAGS
=$lt_globsym_save_CFLAGS
7918 echo "cannot find nm_test_func in $nlist" >&5
7921 echo "cannot find nm_test_var in $nlist" >&5
7924 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7927 echo "$progname: failed program was:" >&5
7928 cat conftest.
$ac_ext >&5
7930 rm -rf conftest
* conftst
*
7932 # Do not use the global_symbol_pipe unless it works.
7933 if test "$pipe_works" = yes; then
7936 lt_cv_sys_global_symbol_pipe
=
7942 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7943 lt_cv_sys_global_symbol_to_cdecl
=
7945 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7947 $as_echo "failed" >&6; }
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7950 $as_echo "ok" >&6; }
7953 # Response file support.
7954 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7955 nm_file_list_spec
='@'
7956 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7957 nm_file_list_spec
='@'
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7987 $as_echo_n "checking for sysroot... " >&6; }
7989 # Check whether --with-sysroot was given.
7990 if test "${with_sysroot+set}" = set; then :
7991 withval
=$with_sysroot;
7998 case ${with_sysroot} in #(
8000 if test "$GCC" = yes; then
8001 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
8005 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8011 $as_echo "${with_sysroot}" >&6; }
8012 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8017 $as_echo "${lt_sysroot:-no}" >&6; }
8023 # Check whether --enable-libtool-lock was given.
8024 if test "${enable_libtool_lock+set}" = set; then :
8025 enableval
=$enable_libtool_lock;
8028 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8030 # Some flags need to be propagated to the compiler or linker for good
8034 # Find out which ABI we are using.
8035 echo 'int i;' > conftest.
$ac_ext
8036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8037 (eval $ac_compile) 2>&5
8039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8040 test $ac_status = 0; }; then
8041 case `/usr/bin/file conftest.$ac_objext` in
8053 # Find out which ABI we are using.
8054 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8056 (eval $ac_compile) 2>&5
8058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8059 test $ac_status = 0; }; then
8060 if test "$lt_cv_prog_gnu_ld" = yes; then
8061 case `/usr/bin/file conftest.$ac_objext` in
8063 LD
="${LD-ld} -melf32bsmip"
8066 LD
="${LD-ld} -melf32bmipn32"
8069 LD
="${LD-ld} -melf64bmip"
8073 case `/usr/bin/file conftest.$ac_objext` in
8089 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
8090 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8091 # Find out which ABI we are using.
8092 echo 'int i;' > conftest.
$ac_ext
8093 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8094 (eval $ac_compile) 2>&5
8096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8097 test $ac_status = 0; }; then
8098 case `/usr/bin/file conftest.o` in
8101 x86_64-
*kfreebsd
*-gnu)
8102 LD
="${LD-ld} -m elf_i386_fbsd"
8105 LD
="${LD-ld} -m elf_i386"
8107 ppc64-
*linux
*|powerpc64-
*linux
*)
8108 LD
="${LD-ld} -m elf32ppclinux"
8111 LD
="${LD-ld} -m elf_s390"
8114 LD
="${LD-ld} -m elf32_sparc"
8120 x86_64-
*kfreebsd
*-gnu)
8121 LD
="${LD-ld} -m elf_x86_64_fbsd"
8124 LD
="${LD-ld} -m elf_x86_64"
8126 ppc
*-*linux
*|powerpc
*-*linux
*)
8127 LD
="${LD-ld} -m elf64ppc"
8129 s390
*-*linux
*|s390
*-*tpf
*)
8130 LD
="${LD-ld} -m elf64_s390"
8133 LD
="${LD-ld} -m elf64_sparc"
8143 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8144 SAVE_CFLAGS
="$CFLAGS"
8145 CFLAGS
="$CFLAGS -belf"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8147 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8148 if ${lt_cv_cc_needs_belf+:} false
; then :
8149 $as_echo_n "(cached) " >&6
8152 ac_cpp
='$CPP $CPPFLAGS'
8153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8168 if ac_fn_c_try_link
"$LINENO"; then :
8169 lt_cv_cc_needs_belf
=yes
8171 lt_cv_cc_needs_belf
=no
8173 rm -f core conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8176 ac_cpp
='$CPP $CPPFLAGS'
8177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8183 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8184 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8185 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8186 CFLAGS
="$SAVE_CFLAGS"
8190 # Find out which ABI we are using.
8191 echo 'int i;' > conftest.
$ac_ext
8192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8193 (eval $ac_compile) 2>&5
8195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8196 test $ac_status = 0; }; then
8197 case `/usr/bin/file conftest.o` in
8199 case $lt_cv_prog_gnu_ld in
8200 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8202 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8214 need_locks
="$enable_libtool_lock"
8216 if test -n "$ac_tool_prefix"; then
8217 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8218 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8220 $as_echo_n "checking for $ac_word... " >&6; }
8221 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8222 $as_echo_n "(cached) " >&6
8224 if test -n "$MANIFEST_TOOL"; then
8225 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8231 test -z "$as_dir" && as_dir
=.
8232 for ac_exec_ext
in '' $ac_executable_extensions; do
8233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8245 if test -n "$MANIFEST_TOOL"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8247 $as_echo "$MANIFEST_TOOL" >&6; }
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8250 $as_echo "no" >&6; }
8255 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8256 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8257 # Extract the first word of "mt", so it can be a program name with args.
8258 set dummy mt
; ac_word
=$2
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8260 $as_echo_n "checking for $ac_word... " >&6; }
8261 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8262 $as_echo_n "(cached) " >&6
8264 if test -n "$ac_ct_MANIFEST_TOOL"; then
8265 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8271 test -z "$as_dir" && as_dir
=.
8272 for ac_exec_ext
in '' $ac_executable_extensions; do
8273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8274 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8285 if test -n "$ac_ct_MANIFEST_TOOL"; then
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8287 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8290 $as_echo "no" >&6; }
8293 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8296 case $cross_compiling:$ac_tool_warned in
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8300 ac_tool_warned
=yes ;;
8302 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8305 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8308 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8310 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8311 if ${lt_cv_path_mainfest_tool+:} false
; then :
8312 $as_echo_n "(cached) " >&6
8314 lt_cv_path_mainfest_tool
=no
8315 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8316 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8317 cat conftest.err
>&5
8318 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8319 lt_cv_path_mainfest_tool
=yes
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8324 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8325 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
8335 rhapsody
* | darwin
*)
8336 if test -n "$ac_tool_prefix"; then
8337 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8338 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8340 $as_echo_n "checking for $ac_word... " >&6; }
8341 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8342 $as_echo_n "(cached) " >&6
8344 if test -n "$DSYMUTIL"; then
8345 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir
=.
8352 for ac_exec_ext
in '' $ac_executable_extensions; do
8353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8354 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8365 if test -n "$DSYMUTIL"; then
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8367 $as_echo "$DSYMUTIL" >&6; }
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8370 $as_echo "no" >&6; }
8375 if test -z "$ac_cv_prog_DSYMUTIL"; then
8376 ac_ct_DSYMUTIL
=$DSYMUTIL
8377 # Extract the first word of "dsymutil", so it can be a program name with args.
8378 set dummy dsymutil
; ac_word
=$2
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8380 $as_echo_n "checking for $ac_word... " >&6; }
8381 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8382 $as_echo_n "(cached) " >&6
8384 if test -n "$ac_ct_DSYMUTIL"; then
8385 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8391 test -z "$as_dir" && as_dir
=.
8392 for ac_exec_ext
in '' $ac_executable_extensions; do
8393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8394 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8405 if test -n "$ac_ct_DSYMUTIL"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8407 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8413 if test "x$ac_ct_DSYMUTIL" = x
; then
8416 case $cross_compiling:$ac_tool_warned in
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8420 ac_tool_warned
=yes ;;
8422 DSYMUTIL
=$ac_ct_DSYMUTIL
8425 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8428 if test -n "$ac_tool_prefix"; then
8429 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8430 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8432 $as_echo_n "checking for $ac_word... " >&6; }
8433 if ${ac_cv_prog_NMEDIT+:} false
; then :
8434 $as_echo_n "(cached) " >&6
8436 if test -n "$NMEDIT"; then
8437 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8443 test -z "$as_dir" && as_dir
=.
8444 for ac_exec_ext
in '' $ac_executable_extensions; do
8445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8446 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456 NMEDIT
=$ac_cv_prog_NMEDIT
8457 if test -n "$NMEDIT"; then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8459 $as_echo "$NMEDIT" >&6; }
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8462 $as_echo "no" >&6; }
8467 if test -z "$ac_cv_prog_NMEDIT"; then
8468 ac_ct_NMEDIT
=$NMEDIT
8469 # Extract the first word of "nmedit", so it can be a program name with args.
8470 set dummy nmedit
; ac_word
=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8472 $as_echo_n "checking for $ac_word... " >&6; }
8473 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8474 $as_echo_n "(cached) " >&6
8476 if test -n "$ac_ct_NMEDIT"; then
8477 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8483 test -z "$as_dir" && as_dir
=.
8484 for ac_exec_ext
in '' $ac_executable_extensions; do
8485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8486 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8496 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8497 if test -n "$ac_ct_NMEDIT"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8499 $as_echo "$ac_ct_NMEDIT" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8505 if test "x$ac_ct_NMEDIT" = x
; then
8508 case $cross_compiling:$ac_tool_warned in
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8512 ac_tool_warned
=yes ;;
8514 NMEDIT
=$ac_ct_NMEDIT
8517 NMEDIT
="$ac_cv_prog_NMEDIT"
8520 if test -n "$ac_tool_prefix"; then
8521 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8522 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8524 $as_echo_n "checking for $ac_word... " >&6; }
8525 if ${ac_cv_prog_LIPO+:} false
; then :
8526 $as_echo_n "(cached) " >&6
8528 if test -n "$LIPO"; then
8529 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8535 test -z "$as_dir" && as_dir
=.
8536 for ac_exec_ext
in '' $ac_executable_extensions; do
8537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8538 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 LIPO
=$ac_cv_prog_LIPO
8549 if test -n "$LIPO"; then
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8551 $as_echo "$LIPO" >&6; }
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8554 $as_echo "no" >&6; }
8559 if test -z "$ac_cv_prog_LIPO"; then
8561 # Extract the first word of "lipo", so it can be a program name with args.
8562 set dummy lipo
; ac_word
=$2
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8564 $as_echo_n "checking for $ac_word... " >&6; }
8565 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8566 $as_echo_n "(cached) " >&6
8568 if test -n "$ac_ct_LIPO"; then
8569 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8575 test -z "$as_dir" && as_dir
=.
8576 for ac_exec_ext
in '' $ac_executable_extensions; do
8577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8578 ac_cv_prog_ac_ct_LIPO
="lipo"
8579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8588 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8589 if test -n "$ac_ct_LIPO"; then
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8591 $as_echo "$ac_ct_LIPO" >&6; }
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8594 $as_echo "no" >&6; }
8597 if test "x$ac_ct_LIPO" = x
; then
8600 case $cross_compiling:$ac_tool_warned in
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8604 ac_tool_warned
=yes ;;
8609 LIPO
="$ac_cv_prog_LIPO"
8612 if test -n "$ac_tool_prefix"; then
8613 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8614 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8616 $as_echo_n "checking for $ac_word... " >&6; }
8617 if ${ac_cv_prog_OTOOL+:} false
; then :
8618 $as_echo_n "(cached) " >&6
8620 if test -n "$OTOOL"; then
8621 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8627 test -z "$as_dir" && as_dir
=.
8628 for ac_exec_ext
in '' $ac_executable_extensions; do
8629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8630 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 OTOOL
=$ac_cv_prog_OTOOL
8641 if test -n "$OTOOL"; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8643 $as_echo "$OTOOL" >&6; }
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8646 $as_echo "no" >&6; }
8651 if test -z "$ac_cv_prog_OTOOL"; then
8653 # Extract the first word of "otool", so it can be a program name with args.
8654 set dummy otool
; ac_word
=$2
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8656 $as_echo_n "checking for $ac_word... " >&6; }
8657 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8658 $as_echo_n "(cached) " >&6
8660 if test -n "$ac_ct_OTOOL"; then
8661 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir
=.
8668 for ac_exec_ext
in '' $ac_executable_extensions; do
8669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8670 ac_cv_prog_ac_ct_OTOOL
="otool"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8680 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8681 if test -n "$ac_ct_OTOOL"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8683 $as_echo "$ac_ct_OTOOL" >&6; }
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686 $as_echo "no" >&6; }
8689 if test "x$ac_ct_OTOOL" = x
; then
8692 case $cross_compiling:$ac_tool_warned in
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8696 ac_tool_warned
=yes ;;
8701 OTOOL
="$ac_cv_prog_OTOOL"
8704 if test -n "$ac_tool_prefix"; then
8705 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8706 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8708 $as_echo_n "checking for $ac_word... " >&6; }
8709 if ${ac_cv_prog_OTOOL64+:} false
; then :
8710 $as_echo_n "(cached) " >&6
8712 if test -n "$OTOOL64"; then
8713 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8719 test -z "$as_dir" && as_dir
=.
8720 for ac_exec_ext
in '' $ac_executable_extensions; do
8721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8722 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732 OTOOL64
=$ac_cv_prog_OTOOL64
8733 if test -n "$OTOOL64"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8735 $as_echo "$OTOOL64" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738 $as_echo "no" >&6; }
8743 if test -z "$ac_cv_prog_OTOOL64"; then
8744 ac_ct_OTOOL64
=$OTOOL64
8745 # Extract the first word of "otool64", so it can be a program name with args.
8746 set dummy otool64
; ac_word
=$2
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8748 $as_echo_n "checking for $ac_word... " >&6; }
8749 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8750 $as_echo_n "(cached) " >&6
8752 if test -n "$ac_ct_OTOOL64"; then
8753 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8759 test -z "$as_dir" && as_dir
=.
8760 for ac_exec_ext
in '' $ac_executable_extensions; do
8761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8762 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8772 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8773 if test -n "$ac_ct_OTOOL64"; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8775 $as_echo "$ac_ct_OTOOL64" >&6; }
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8778 $as_echo "no" >&6; }
8781 if test "x$ac_ct_OTOOL64" = x
; then
8784 case $cross_compiling:$ac_tool_warned in
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8788 ac_tool_warned
=yes ;;
8790 OTOOL64
=$ac_ct_OTOOL64
8793 OTOOL64
="$ac_cv_prog_OTOOL64"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8823 $as_echo_n "checking for -single_module linker flag... " >&6; }
8824 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 lt_cv_apple_cc_single_mod
=no
8828 if test -z "${LT_MULTI_MODULE}"; then
8829 # By default we will add the -single_module flag. You can override
8830 # by either setting the environment variable LT_MULTI_MODULE
8831 # non-empty at configure time, or by adding -multi_module to the
8833 rm -rf libconftest.dylib
*
8834 echo "int foo(void){return 1;}" > conftest.c
8835 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8836 -dynamiclib -Wl,-single_module conftest.c" >&5
8837 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8838 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8840 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8841 lt_cv_apple_cc_single_mod
=yes
8843 cat conftest.err
>&5
8845 rm -rf libconftest.dylib
*
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8850 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8852 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8853 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8854 $as_echo_n "(cached) " >&6
8856 lt_cv_ld_exported_symbols_list
=no
8857 save_LDFLAGS
=$LDFLAGS
8858 echo "_main" > conftest.sym
8859 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8861 /* end confdefs.h. */
8871 if ac_fn_c_try_link
"$LINENO"; then :
8872 lt_cv_ld_exported_symbols_list
=yes
8874 lt_cv_ld_exported_symbols_list
=no
8876 rm -f core conftest.err conftest.
$ac_objext \
8877 conftest
$ac_exeext conftest.
$ac_ext
8878 LDFLAGS
="$save_LDFLAGS"
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8882 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8884 $as_echo_n "checking for -force_load linker flag... " >&6; }
8885 if ${lt_cv_ld_force_load+:} false
; then :
8886 $as_echo_n "(cached) " >&6
8888 lt_cv_ld_force_load
=no
8889 cat > conftest.c
<< _LT_EOF
8890 int forced_loaded() { return 2;}
8892 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8893 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8894 echo "$AR cru libconftest.a conftest.o" >&5
8895 $AR cru libconftest.a conftest.o
2>&5
8896 echo "$RANLIB libconftest.a" >&5
8897 $RANLIB libconftest.a
2>&5
8898 cat > conftest.c
<< _LT_EOF
8899 int main() { return 0;}
8901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8904 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8905 lt_cv_ld_force_load
=yes
8907 cat conftest.err
>&5
8909 rm -f conftest.err libconftest.a conftest conftest.c
8910 rm -rf conftest.dSYM
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8914 $as_echo "$lt_cv_ld_force_load" >&6; }
8916 rhapsody
* | darwin1.
[012])
8917 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8919 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8920 darwin
*) # darwin 5.x on
8921 # if running on 10.5 or later, the deployment target defaults
8922 # to the OS version, if on x86, and 10.4, the deployment
8923 # target defaults to 10.4. Don't you love it?
8924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8925 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8926 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8928 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8930 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8935 _lt_dar_single_mod
='$single_module'
8937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8938 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8940 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8943 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8950 for ac_header
in dlfcn.h
8952 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8954 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8955 cat >>confdefs.h
<<_ACEOF
8956 #define HAVE_DLFCN_H 1
8968 # Check whether --enable-static was given.
8969 if test "${enable_static+set}" = set; then :
8970 enableval
=$enable_static; p
=${PACKAGE-default}
8972 yes) enable_static
=yes ;;
8973 no
) enable_static
=no
;;
8976 # Look at the argument we got. We use all the common list separators.
8977 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8978 for pkg
in $enableval; do
8980 if test "X$pkg" = "X$p"; then
8997 enable_win32_dll
=yes
9000 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
9001 if test -n "$ac_tool_prefix"; then
9002 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9003 set dummy
${ac_tool_prefix}as
; ac_word
=$2
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9005 $as_echo_n "checking for $ac_word... " >&6; }
9006 if ${ac_cv_prog_AS+:} false
; then :
9007 $as_echo_n "(cached) " >&6
9009 if test -n "$AS"; then
9010 ac_cv_prog_AS
="$AS" # Let the user override the test.
9012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9016 test -z "$as_dir" && as_dir
=.
9017 for ac_exec_ext
in '' $ac_executable_extensions; do
9018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9019 ac_cv_prog_AS
="${ac_tool_prefix}as"
9020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9030 if test -n "$AS"; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9032 $as_echo "$AS" >&6; }
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9035 $as_echo "no" >&6; }
9040 if test -z "$ac_cv_prog_AS"; then
9042 # Extract the first word of "as", so it can be a program name with args.
9043 set dummy as
; ac_word
=$2
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9045 $as_echo_n "checking for $ac_word... " >&6; }
9046 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
9047 $as_echo_n "(cached) " >&6
9049 if test -n "$ac_ct_AS"; then
9050 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
9052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9056 test -z "$as_dir" && as_dir
=.
9057 for ac_exec_ext
in '' $ac_executable_extensions; do
9058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9059 ac_cv_prog_ac_ct_AS
="as"
9060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9069 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
9070 if test -n "$ac_ct_AS"; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9072 $as_echo "$ac_ct_AS" >&6; }
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9075 $as_echo "no" >&6; }
9078 if test "x$ac_ct_AS" = x
; then
9081 case $cross_compiling:$ac_tool_warned in
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9085 ac_tool_warned
=yes ;;
9093 if test -n "$ac_tool_prefix"; then
9094 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9095 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9097 $as_echo_n "checking for $ac_word... " >&6; }
9098 if ${ac_cv_prog_DLLTOOL+:} false
; then :
9099 $as_echo_n "(cached) " >&6
9101 if test -n "$DLLTOOL"; then
9102 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9108 test -z "$as_dir" && as_dir
=.
9109 for ac_exec_ext
in '' $ac_executable_extensions; do
9110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9111 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9121 DLLTOOL
=$ac_cv_prog_DLLTOOL
9122 if test -n "$DLLTOOL"; then
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9124 $as_echo "$DLLTOOL" >&6; }
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9127 $as_echo "no" >&6; }
9132 if test -z "$ac_cv_prog_DLLTOOL"; then
9133 ac_ct_DLLTOOL
=$DLLTOOL
9134 # Extract the first word of "dlltool", so it can be a program name with args.
9135 set dummy dlltool
; ac_word
=$2
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9137 $as_echo_n "checking for $ac_word... " >&6; }
9138 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
9139 $as_echo_n "(cached) " >&6
9141 if test -n "$ac_ct_DLLTOOL"; then
9142 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9148 test -z "$as_dir" && as_dir
=.
9149 for ac_exec_ext
in '' $ac_executable_extensions; do
9150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9151 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9161 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9162 if test -n "$ac_ct_DLLTOOL"; then
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9164 $as_echo "$ac_ct_DLLTOOL" >&6; }
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9167 $as_echo "no" >&6; }
9170 if test "x$ac_ct_DLLTOOL" = x
; then
9173 case $cross_compiling:$ac_tool_warned in
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9177 ac_tool_warned
=yes ;;
9179 DLLTOOL
=$ac_ct_DLLTOOL
9182 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9185 if test -n "$ac_tool_prefix"; then
9186 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9187 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9189 $as_echo_n "checking for $ac_word... " >&6; }
9190 if ${ac_cv_prog_OBJDUMP+:} false
; then :
9191 $as_echo_n "(cached) " >&6
9193 if test -n "$OBJDUMP"; then
9194 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
9196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9200 test -z "$as_dir" && as_dir
=.
9201 for ac_exec_ext
in '' $ac_executable_extensions; do
9202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9203 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
9204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9213 OBJDUMP
=$ac_cv_prog_OBJDUMP
9214 if test -n "$OBJDUMP"; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9216 $as_echo "$OBJDUMP" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9224 if test -z "$ac_cv_prog_OBJDUMP"; then
9225 ac_ct_OBJDUMP
=$OBJDUMP
9226 # Extract the first word of "objdump", so it can be a program name with args.
9227 set dummy objdump
; ac_word
=$2
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9229 $as_echo_n "checking for $ac_word... " >&6; }
9230 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
9231 $as_echo_n "(cached) " >&6
9233 if test -n "$ac_ct_OBJDUMP"; then
9234 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
9236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9240 test -z "$as_dir" && as_dir
=.
9241 for ac_exec_ext
in '' $ac_executable_extensions; do
9242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9243 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
9244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9253 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
9254 if test -n "$ac_ct_OBJDUMP"; then
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9256 $as_echo "$ac_ct_OBJDUMP" >&6; }
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9259 $as_echo "no" >&6; }
9262 if test "x$ac_ct_OBJDUMP" = x
; then
9265 case $cross_compiling:$ac_tool_warned in
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9269 ac_tool_warned
=yes ;;
9271 OBJDUMP
=$ac_ct_OBJDUMP
9274 OBJDUMP
="$ac_cv_prog_OBJDUMP"
9280 test -z "$AS" && AS
=as
9286 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9292 test -z "$OBJDUMP" && OBJDUMP
=objdump
9304 # Check whether --enable-shared was given.
9305 if test "${enable_shared+set}" = set; then :
9306 enableval
=$enable_shared; p
=${PACKAGE-default}
9308 yes) enable_shared
=yes ;;
9309 no
) enable_shared
=no
;;
9312 # Look at the argument we got. We use all the common list separators.
9313 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9314 for pkg
in $enableval; do
9316 if test "X$pkg" = "X$p"; then
9337 # Check whether --with-pic was given.
9338 if test "${with_pic+set}" = set; then :
9339 withval
=$with_pic; pic_mode
="$withval"
9345 test -z "$pic_mode" && pic_mode
=default
9353 # Check whether --enable-fast-install was given.
9354 if test "${enable_fast_install+set}" = set; then :
9355 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9357 yes) enable_fast_install
=yes ;;
9358 no
) enable_fast_install
=no
;;
9360 enable_fast_install
=no
9361 # Look at the argument we got. We use all the common list separators.
9362 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9363 for pkg
in $enableval; do
9365 if test "X$pkg" = "X$p"; then
9366 enable_fast_install
=yes
9373 enable_fast_install
=yes
9386 # This can be used to rebuild libtool when needed
9387 LIBTOOL_DEPS
="$ltmain"
9389 # Always use our own libtool.
9390 LIBTOOL
="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool'
9417 test -z "$LN_S" && LN_S
="ln -s"
9432 if test -n "${ZSH_VERSION+set}" ; then
9433 setopt NO_GLOB_SUBST
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9437 $as_echo_n "checking for objdir... " >&6; }
9438 if ${lt_cv_objdir+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 rm -f .libs
2>/dev
/null
9442 mkdir .libs
2>/dev
/null
9443 if test -d .libs
; then
9446 # MS-DOS does not allow filenames that begin with a dot.
9449 rmdir .libs
2>/dev
/null
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9452 $as_echo "$lt_cv_objdir" >&6; }
9453 objdir
=$lt_cv_objdir
9459 cat >>confdefs.h
<<_ACEOF
9460 #define LT_OBJDIR "$lt_cv_objdir/"
9468 # AIX sometimes has problems with the GCC collect2 program. For some
9469 # reason, if we set the COLLECT_NAMES environment variable, the problems
9470 # vanish in a puff of smoke.
9471 if test "X${COLLECT_NAMES+set}" != Xset
; then
9473 export COLLECT_NAMES
9480 can_build_shared
=yes
9482 # All known linkers require a `.a' archive for static linking (except MSVC,
9483 # which needs '.lib').
9486 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9489 old_CFLAGS
="$CFLAGS"
9491 # Set sane defaults for various variables
9492 test -z "$CC" && CC
=cc
9493 test -z "$LTCC" && LTCC
=$CC
9494 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9495 test -z "$LD" && LD
=ld
9496 test -z "$ac_objext" && ac_objext
=o
9498 for cc_temp
in $compiler""; do
9500 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9501 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9506 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9509 # Only perform the check for file, if the check method requires it
9510 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9511 case $deplibs_check_method in
9513 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9515 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9516 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9517 $as_echo_n "(cached) " >&6
9521 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9524 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9525 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9526 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9527 for ac_dir
in $ac_dummy; do
9529 test -z "$ac_dir" && ac_dir
=.
9530 if test -f $ac_dir/${ac_tool_prefix}file; then
9531 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9532 if test -n "$file_magic_test_file"; then
9533 case $deplibs_check_method in
9535 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9536 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9537 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9538 $EGREP "$file_magic_regex" > /dev
/null
; then
9543 *** Warning: the command libtool uses to detect shared libraries,
9544 *** $file_magic_cmd, produces output that libtool cannot recognize.
9545 *** The result is that libtool may fail to recognize shared libraries
9546 *** as such. This will affect the creation of libtool libraries that
9547 *** depend on shared libraries, but programs linked with such libtool
9548 *** libraries will work regardless of this problem. Nevertheless, you
9549 *** may want to report the problem to your system manager and/or to
9550 *** bug-libtool@gnu.org
9560 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9565 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9566 if test -n "$MAGIC_CMD"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9568 $as_echo "$MAGIC_CMD" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 $as_echo "no" >&6; }
9578 if test -z "$lt_cv_path_MAGIC_CMD"; then
9579 if test -n "$ac_tool_prefix"; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9581 $as_echo_n "checking for file... " >&6; }
9582 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9583 $as_echo_n "(cached) " >&6
9587 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9590 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9591 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9592 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9593 for ac_dir
in $ac_dummy; do
9595 test -z "$ac_dir" && ac_dir
=.
9596 if test -f $ac_dir/file; then
9597 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9598 if test -n "$file_magic_test_file"; then
9599 case $deplibs_check_method in
9601 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9602 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9603 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9604 $EGREP "$file_magic_regex" > /dev
/null
; then
9609 *** Warning: the command libtool uses to detect shared libraries,
9610 *** $file_magic_cmd, produces output that libtool cannot recognize.
9611 *** The result is that libtool may fail to recognize shared libraries
9612 *** as such. This will affect the creation of libtool libraries that
9613 *** depend on shared libraries, but programs linked with such libtool
9614 *** libraries will work regardless of this problem. Nevertheless, you
9615 *** may want to report the problem to your system manager and/or to
9616 *** bug-libtool@gnu.org
9626 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9631 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9632 if test -n "$MAGIC_CMD"; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9634 $as_echo "$MAGIC_CMD" >&6; }
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9637 $as_echo "no" >&6; }
9650 # Use C for the default configuration in the libtool script
9654 ac_cpp
='$CPP $CPPFLAGS'
9655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9660 # Source file extension for C test sources.
9663 # Object file extension for compiled C test sources.
9667 # Code to be used in simple compile tests
9668 lt_simple_compile_test_code
="int some_variable = 0;"
9670 # Code to be used in simple link tests
9671 lt_simple_link_test_code
='int main(){return(0);}'
9679 # If no C compiler was specified, use CC.
9682 # If no C compiler flags were specified, use CFLAGS.
9683 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9685 # Allow CC to be a program name with arguments.
9688 # Save the default compiler, since it gets overwritten when the other
9689 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9690 compiler_DEFAULT
=$CC
9692 # save warnings/boilerplate of simple test code
9693 ac_outfile
=conftest.
$ac_objext
9694 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9695 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9696 _lt_compiler_boilerplate
=`cat conftest.err`
9699 ac_outfile
=conftest.
$ac_objext
9700 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9701 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9702 _lt_linker_boilerplate
=`cat conftest.err`
9707 ## There is no encapsulation within the following macros, do not change
9708 ## the running order or otherwise move them around unless you know exactly
9709 ## what you are doing...
9710 if test -n "$compiler"; then
9712 lt_prog_compiler_no_builtin_flag
=
9714 if test "$GCC" = yes; then
9715 case $cc_basename in
9717 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9719 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9723 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9724 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9725 $as_echo_n "(cached) " >&6
9727 lt_cv_prog_compiler_rtti_exceptions
=no
9728 ac_outfile
=conftest.
$ac_objext
9729 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9730 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9731 # Insert the option either (1) after the last *FLAGS variable, or
9732 # (2) before a word containing "conftest.", or (3) at the end.
9733 # Note that $ac_compile itself does not contain backslashes and begins
9734 # with a dollar sign (not a hyphen), so the echo should work correctly.
9735 # The option is referenced via a variable to avoid confusing sed.
9736 lt_compile
=`echo "$ac_compile" | $SED \
9737 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9738 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9739 -e 's:$: $lt_compiler_flag:'`
9740 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9741 (eval "$lt_compile" 2>conftest.err
)
9743 cat conftest.err
>&5
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 if (exit $ac_status) && test -s "$ac_outfile"; then
9746 # The compiler can only warn and ignore the option if not recognized
9747 # So say no if there are warnings other than the usual output.
9748 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9749 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9750 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9751 lt_cv_prog_compiler_rtti_exceptions
=yes
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9758 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9760 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9761 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9773 lt_prog_compiler_wl
=
9774 lt_prog_compiler_pic
=
9775 lt_prog_compiler_static
=
9778 if test "$GCC" = yes; then
9779 lt_prog_compiler_wl
='-Wl,'
9780 lt_prog_compiler_static
='-static'
9784 # All AIX code is PIC.
9785 if test "$host_cpu" = ia64
; then
9786 # AIX 5 now supports IA64 processor
9787 lt_prog_compiler_static
='-Bstatic'
9794 # see comment about AmigaOS4 .so support
9795 lt_prog_compiler_pic
='-fPIC'
9798 # FIXME: we need at least 68020 code to build shared libraries, but
9799 # adding the `-m68020' flag to GCC prevents building anything better,
9801 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9806 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9807 # PIC is the default for these OSes.
9810 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9811 # This hack is so that the source file can tell whether it is being
9812 # built for inclusion in a dll (and should export symbols for example).
9813 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9814 # (--disable-auto-import) libraries
9815 lt_prog_compiler_pic
='-DDLL_EXPORT'
9818 darwin
* | rhapsody
*)
9819 # PIC is the default on this platform
9820 # Common symbols not allowed in MH_DYLIB files
9821 lt_prog_compiler_pic
='-fno-common'
9825 # PIC is the default for Haiku.
9826 # The "-static" flag exists, but is broken.
9827 lt_prog_compiler_static
=
9831 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9832 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9833 # sets the default TLS model and affects inlining.
9839 lt_prog_compiler_pic
='-fPIC'
9845 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9846 # Instead, we relocate shared libraries at runtime.
9850 # Just because we use GCC doesn't mean we suddenly get shared libraries
9851 # on systems that don't support them.
9852 lt_prog_compiler_can_build_shared
=no
9857 # QNX uses GNU C++, but need to define -shared option too, otherwise
9859 lt_prog_compiler_pic
='-fPIC -shared'
9863 if test -d /usr
/nec
; then
9864 lt_prog_compiler_pic
=-Kconform_pic
9869 lt_prog_compiler_pic
='-fPIC'
9873 case $cc_basename in
9874 nvcc
*) # Cuda Compiler Driver 2.2
9875 lt_prog_compiler_wl
='-Xlinker '
9876 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9880 # PORTME Check for flag to pass linker flags through the system compiler.
9883 lt_prog_compiler_wl
='-Wl,'
9884 if test "$host_cpu" = ia64
; then
9885 # AIX 5 now supports IA64 processor
9886 lt_prog_compiler_static
='-Bstatic'
9888 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9892 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9893 # This hack is so that the source file can tell whether it is being
9894 # built for inclusion in a dll (and should export symbols for example).
9895 lt_prog_compiler_pic
='-DDLL_EXPORT'
9898 hpux9
* | hpux10
* | hpux11
*)
9899 lt_prog_compiler_wl
='-Wl,'
9900 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9907 lt_prog_compiler_pic
='+Z'
9910 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9911 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9914 irix5
* | irix6
* | nonstopux
*)
9915 lt_prog_compiler_wl
='-Wl,'
9916 # PIC (with -KPIC) is the default.
9917 lt_prog_compiler_static
='-non_shared'
9920 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9921 case $cc_basename in
9922 # old Intel for x86_64 which still supported -KPIC.
9924 lt_prog_compiler_wl
='-Wl,'
9925 lt_prog_compiler_pic
='-KPIC'
9926 lt_prog_compiler_static
='-static'
9928 # icc used to be incompatible with GCC.
9929 # ICC 10 doesn't accept -KPIC any more.
9931 lt_prog_compiler_wl
='-Wl,'
9932 lt_prog_compiler_pic
='-fPIC'
9933 lt_prog_compiler_static
='-static'
9935 # Lahey Fortran 8.1.
9937 lt_prog_compiler_wl
='-Wl,'
9938 lt_prog_compiler_pic
='--shared'
9939 lt_prog_compiler_static
='--static'
9942 # NAG Fortran compiler
9943 lt_prog_compiler_wl
='-Wl,-Wl,,'
9944 lt_prog_compiler_pic
='-PIC'
9945 lt_prog_compiler_static
='-Bstatic'
9947 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9948 # Portland Group compilers (*not* the Pentium gcc compiler,
9949 # which looks to be a dead project)
9950 lt_prog_compiler_wl
='-Wl,'
9951 lt_prog_compiler_pic
='-fpic'
9952 lt_prog_compiler_static
='-Bstatic'
9955 lt_prog_compiler_wl
='-Wl,'
9956 # All Alpha code is PIC.
9957 lt_prog_compiler_static
='-non_shared'
9959 xl
* | bgxl
* | bgf
* | mpixl
*)
9960 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9961 lt_prog_compiler_wl
='-Wl,'
9962 lt_prog_compiler_pic
='-qpic'
9963 lt_prog_compiler_static
='-qstaticlink'
9966 case `$CC -V 2>&1 | sed 5q` in
9967 *Sun\ F
* |
*Sun
*Fortran
*)
9968 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9969 lt_prog_compiler_pic
='-KPIC'
9970 lt_prog_compiler_static
='-Bstatic'
9971 lt_prog_compiler_wl
=''
9975 lt_prog_compiler_pic
='-KPIC'
9976 lt_prog_compiler_static
='-Bstatic'
9977 lt_prog_compiler_wl
='-Wl,'
9985 lt_prog_compiler_pic
='-KPIC'
9986 lt_prog_compiler_static
='-Bstatic'
9990 # QNX uses GNU C++, but need to define -shared option too, otherwise
9992 lt_prog_compiler_pic
='-fPIC -shared'
9995 osf3
* | osf4
* | osf5
*)
9996 lt_prog_compiler_wl
='-Wl,'
9997 # All OSF/1 code is PIC.
9998 lt_prog_compiler_static
='-non_shared'
10002 lt_prog_compiler_static
='-non_shared'
10006 lt_prog_compiler_pic
='-KPIC'
10007 lt_prog_compiler_static
='-Bstatic'
10008 case $cc_basename in
10009 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10010 lt_prog_compiler_wl
='-Qoption ld ';;
10012 lt_prog_compiler_wl
='-Wl,';;
10017 lt_prog_compiler_wl
='-Qoption ld '
10018 lt_prog_compiler_pic
='-PIC'
10019 lt_prog_compiler_static
='-Bstatic'
10022 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10023 lt_prog_compiler_wl
='-Wl,'
10024 lt_prog_compiler_pic
='-KPIC'
10025 lt_prog_compiler_static
='-Bstatic'
10029 if test -d /usr
/nec
;then
10030 lt_prog_compiler_pic
='-Kconform_pic'
10031 lt_prog_compiler_static
='-Bstatic'
10035 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10036 lt_prog_compiler_wl
='-Wl,'
10037 lt_prog_compiler_pic
='-KPIC'
10038 lt_prog_compiler_static
='-Bstatic'
10042 lt_prog_compiler_wl
='-Wl,'
10043 lt_prog_compiler_can_build_shared
=no
10047 lt_prog_compiler_pic
='-pic'
10048 lt_prog_compiler_static
='-Bstatic'
10052 lt_prog_compiler_can_build_shared
=no
10058 # For platforms which do not support PIC, -DPIC is meaningless:
10060 lt_prog_compiler_pic
=
10063 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10068 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10069 if ${lt_cv_prog_compiler_pic+:} false
; then :
10070 $as_echo_n "(cached) " >&6
10072 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10075 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10076 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10079 # Check to make sure the PIC flag actually works.
10081 if test -n "$lt_prog_compiler_pic"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10083 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10084 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10085 $as_echo_n "(cached) " >&6
10087 lt_cv_prog_compiler_pic_works
=no
10088 ac_outfile
=conftest.
$ac_objext
10089 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10090 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10091 # Insert the option either (1) after the last *FLAGS variable, or
10092 # (2) before a word containing "conftest.", or (3) at the end.
10093 # Note that $ac_compile itself does not contain backslashes and begins
10094 # with a dollar sign (not a hyphen), so the echo should work correctly.
10095 # The option is referenced via a variable to avoid confusing sed.
10096 lt_compile
=`echo "$ac_compile" | $SED \
10097 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10098 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10099 -e 's:$: $lt_compiler_flag:'`
10100 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10101 (eval "$lt_compile" 2>conftest.err
)
10103 cat conftest.err
>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 if (exit $ac_status) && test -s "$ac_outfile"; then
10106 # The compiler can only warn and ignore the option if not recognized
10107 # So say no if there are warnings other than the usual output.
10108 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10109 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10110 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10111 lt_cv_prog_compiler_pic_works
=yes
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10118 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10120 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10121 case $lt_prog_compiler_pic in
10123 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10126 lt_prog_compiler_pic
=
10127 lt_prog_compiler_can_build_shared
=no
10143 # Check to make sure the static flag actually works.
10145 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10147 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10148 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10149 $as_echo_n "(cached) " >&6
10151 lt_cv_prog_compiler_static_works
=no
10152 save_LDFLAGS
="$LDFLAGS"
10153 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10154 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10155 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10156 # The linker can only warn and ignore the option if not recognized
10157 # So say no if there are warnings
10158 if test -s conftest.err
; then
10159 # Append any errors to the config.log.
10160 cat conftest.err
1>&5
10161 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10162 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10163 if diff conftest.exp conftest.er2
>/dev
/null
; then
10164 lt_cv_prog_compiler_static_works
=yes
10167 lt_cv_prog_compiler_static_works
=yes
10171 LDFLAGS
="$save_LDFLAGS"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10175 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10177 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10180 lt_prog_compiler_static
=
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10190 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10191 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10192 $as_echo_n "(cached) " >&6
10194 lt_cv_prog_compiler_c_o
=no
10195 $RM -r conftest
2>/dev
/null
10199 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10201 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10202 # Insert the option either (1) after the last *FLAGS variable, or
10203 # (2) before a word containing "conftest.", or (3) at the end.
10204 # Note that $ac_compile itself does not contain backslashes and begins
10205 # with a dollar sign (not a hyphen), so the echo should work correctly.
10206 lt_compile
=`echo "$ac_compile" | $SED \
10207 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10208 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10209 -e 's:$: $lt_compiler_flag:'`
10210 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10211 (eval "$lt_compile" 2>out
/conftest.err
)
10213 cat out
/conftest.err
>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10217 # The compiler can only warn and ignore the option if not recognized
10218 # So say no if there are warnings
10219 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10220 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10221 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10222 lt_cv_prog_compiler_c_o
=yes
10227 # SGI C++ compiler will create directory out/ii_files/ for
10228 # template instantiation
10229 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10230 $RM out
/* && rmdir out
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10237 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10245 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10246 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10247 $as_echo_n "(cached) " >&6
10249 lt_cv_prog_compiler_c_o
=no
10250 $RM -r conftest
2>/dev
/null
10254 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10256 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10257 # Insert the option either (1) after the last *FLAGS variable, or
10258 # (2) before a word containing "conftest.", or (3) at the end.
10259 # Note that $ac_compile itself does not contain backslashes and begins
10260 # with a dollar sign (not a hyphen), so the echo should work correctly.
10261 lt_compile
=`echo "$ac_compile" | $SED \
10262 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10263 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10264 -e 's:$: $lt_compiler_flag:'`
10265 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10266 (eval "$lt_compile" 2>out
/conftest.err
)
10268 cat out
/conftest.err
>&5
10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10270 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10272 # The compiler can only warn and ignore the option if not recognized
10273 # So say no if there are warnings
10274 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10275 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10276 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10277 lt_cv_prog_compiler_c_o
=yes
10282 # SGI C++ compiler will create directory out/ii_files/ for
10283 # template instantiation
10284 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10285 $RM out
/* && rmdir out
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10292 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10297 hard_links
="nottested"
10298 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10299 # do not overwrite the value of need_locks provided by the user
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10301 $as_echo_n "checking if we can lock with hard links... " >&6; }
10304 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10306 ln conftest.a conftest.b
2>&5 || hard_links
=no
10307 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10309 $as_echo "$hard_links" >&6; }
10310 if test "$hard_links" = no
; then
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10312 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10325 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10328 allow_undefined_flag
=
10329 always_export_symbols
=no
10331 archive_expsym_cmds
=
10332 compiler_needs_object
=no
10333 enable_shared_with_static_runtimes
=no
10334 export_dynamic_flag_spec
=
10335 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10336 hardcode_automatic
=no
10338 hardcode_direct_absolute
=no
10339 hardcode_libdir_flag_spec
=
10340 hardcode_libdir_flag_spec_ld
=
10341 hardcode_libdir_separator
=
10342 hardcode_minus_L
=no
10343 hardcode_shlibpath_var
=unsupported
10345 link_all_deplibs
=unknown
10347 module_expsym_cmds
=
10348 old_archive_from_new_cmds
=
10349 old_archive_from_expsyms_cmds
=
10350 thread_safe_flag_spec
=
10351 whole_archive_flag_spec
=
10352 # include_expsyms should be a list of space-separated symbols to be *always*
10353 # included in the symbol list
10355 # exclude_expsyms can be an extended regexp of symbols to exclude
10356 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10357 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10358 # as well as any symbol that contains `d'.
10359 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10360 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10361 # platforms (ab)use it in PIC code, but their linkers get confused if
10362 # the symbol is explicitly referenced. Since portable code cannot
10363 # rely on this symbol name, it's probably fine to never include it in
10364 # preloaded symbol tables.
10365 # Exclude shared library initialization/finalization symbols.
10366 extract_expsyms_cmds
=
10369 cygwin
* | mingw
* | pw32
* | cegcc
*)
10370 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10371 # When not using gcc, we currently assume that we are using
10372 # Microsoft Visual C++.
10373 if test "$GCC" != yes; then
10378 # we just hope/assume this is gcc and not c89 (= MSVC++)
10388 # On some targets, GNU ld is compatible enough with the native linker
10389 # that we're better off using the native interface for both.
10390 lt_use_gnu_ld_interface
=no
10391 if test "$with_gnu_ld" = yes; then
10394 # The AIX port of GNU ld has always aspired to compatibility
10395 # with the native linker. However, as the warning in the GNU ld
10396 # block says, versions before 2.19.5* couldn't really create working
10397 # shared libraries, regardless of the interface used.
10398 case `$LD -v 2>&1` in
10399 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10400 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10401 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10403 lt_use_gnu_ld_interface
=yes
10408 lt_use_gnu_ld_interface
=yes
10413 if test "$lt_use_gnu_ld_interface" = yes; then
10414 # If archive_cmds runs LD, not CC, wlarc should be empty
10417 # Set some defaults for GNU ld with shared library support. These
10418 # are reset later if shared libraries are not supported. Putting them
10419 # here allows them to be overridden if necessary.
10420 runpath_var
=LD_RUN_PATH
10421 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10422 export_dynamic_flag_spec
='${wl}--export-dynamic'
10423 # ancient GNU ld didn't support --whole-archive et. al.
10424 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10425 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10427 whole_archive_flag_spec
=
10429 supports_anon_versioning
=no
10430 case `$LD -v 2>&1` in
10431 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10432 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10433 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10434 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10435 *\
2.11.
*) ;; # other 2.11 versions
10436 *) supports_anon_versioning
=yes ;;
10439 # See if GNU ld supports shared libraries.
10442 # On AIX/PPC, the GNU linker is very broken
10443 if test "$host_cpu" != ia64
; then
10447 *** Warning: the GNU linker, at least up to release 2.19, is reported
10448 *** to be unable to reliably create shared libraries on AIX.
10449 *** Therefore, libtool is disabling shared libraries support. If you
10450 *** really care for shared libraries, you may want to install binutils
10451 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10452 *** You will then need to restart the configuration process.
10461 # see comment about AmigaOS4 .so support
10462 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10463 archive_expsym_cmds
=''
10466 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10467 hardcode_libdir_flag_spec
='-L$libdir'
10468 hardcode_minus_L
=yes
10474 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10475 allow_undefined_flag
=unsupported
10476 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10477 # support --undefined. This deserves some investigation. FIXME
10478 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10484 cygwin
* | mingw
* | pw32
* | cegcc
*)
10485 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10486 # as there is no search path for DLLs.
10487 hardcode_libdir_flag_spec
='-L$libdir'
10488 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10489 allow_undefined_flag
=unsupported
10490 always_export_symbols
=no
10491 enable_shared_with_static_runtimes
=yes
10492 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10493 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10495 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10497 # If the export-symbols file already is a .def file (1st line
10498 # is EXPORTS), use it as is; otherwise, prepend...
10499 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10500 cp $export_symbols $output_objdir/$soname.def;
10502 echo EXPORTS > $output_objdir/$soname.def;
10503 cat $export_symbols >> $output_objdir/$soname.def;
10505 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10512 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10513 link_all_deplibs
=yes
10518 hardcode_shlibpath_var
=no
10519 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10520 export_dynamic_flag_spec
='${wl}-E'
10521 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10522 # Instead, shared libraries are loaded at an image base (0x10000000 by
10523 # default) and relocated if they conflict, which is a slow very memory
10524 # consuming and fragmenting process. To avoid this, we pick a random,
10525 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10526 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10527 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10528 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10531 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10533 if test "$host_os" = linux-dietlibc
; then
10534 case $cc_basename in
10535 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10538 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10539 && test "$tmp_diet" = no
10541 tmp_addflag
=' $pic_flag'
10542 tmp_sharedflag
='-shared'
10543 case $cc_basename,$host_cpu in
10544 pgcc
*) # Portland Group C compiler
10545 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10546 tmp_addflag
=' $pic_flag'
10548 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10549 # Portland Group f77 and f90 compilers
10550 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10551 tmp_addflag
=' $pic_flag -Mnomain' ;;
10552 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10553 tmp_addflag
=' -i_dynamic' ;;
10554 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10555 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10556 ifc
* | ifort
*) # Intel Fortran compiler
10557 tmp_addflag
=' -nofor_main' ;;
10558 lf95
*) # Lahey Fortran 8.1
10559 whole_archive_flag_spec
=
10560 tmp_sharedflag
='--shared' ;;
10561 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10562 tmp_sharedflag
='-qmkshrobj'
10564 nvcc
*) # Cuda Compiler Driver 2.2
10565 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10566 compiler_needs_object
=yes
10569 case `$CC -V 2>&1 | sed 5q` in
10570 *Sun\ C
*) # Sun C 5.9
10571 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10572 compiler_needs_object
=yes
10573 tmp_sharedflag
='-G' ;;
10574 *Sun\ F
*) # Sun Fortran 8.3
10575 tmp_sharedflag
='-G' ;;
10577 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10579 if test "x$supports_anon_versioning" = xyes
; then
10580 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10581 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10582 echo "local: *; };" >> $output_objdir/$libname.ver~
10583 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10586 case $cc_basename in
10587 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10588 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10589 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10590 hardcode_libdir_flag_spec
=
10591 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10592 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10593 if test "x$supports_anon_versioning" = xyes
; then
10594 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10595 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10596 echo "local: *; };" >> $output_objdir/$libname.ver~
10597 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10607 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10608 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10611 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10612 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10617 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10621 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10622 *** create shared libraries on Solaris systems. Therefore, libtool
10623 *** is disabling shared libraries support. We urge you to upgrade GNU
10624 *** binutils to release 2.9.1 or newer. Another option is to modify
10625 *** your PATH or compiler configuration so that the native linker is
10626 *** used, and then restart.
10629 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10630 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10631 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10637 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10638 case `$LD -v 2>&1` in
10639 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10643 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10644 *** reliably create shared libraries on SCO systems. Therefore, libtool
10645 *** is disabling shared libraries support. We urge you to upgrade GNU
10646 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10647 *** your PATH or compiler configuration so that the native linker is
10648 *** used, and then restart.
10653 # For security reasons, it is highly recommended that you always
10654 # use absolute paths for naming shared libraries, and exclude the
10655 # DT_RUNPATH tag from executables and libraries. But doing so
10656 # requires that you compile everything twice, which is a pain.
10657 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10658 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10659 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10660 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10669 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10671 hardcode_direct
=yes
10672 hardcode_shlibpath_var
=no
10676 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10677 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10678 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10685 if test "$ld_shlibs" = no
; then
10687 hardcode_libdir_flag_spec
=
10688 export_dynamic_flag_spec
=
10689 whole_archive_flag_spec
=
10692 # PORTME fill in a description of your system's linker (not GNU ld)
10695 allow_undefined_flag
=unsupported
10696 always_export_symbols
=yes
10697 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10698 # Note: this linker hardcodes the directories in LIBPATH if there
10699 # are no directories specified by -L.
10700 hardcode_minus_L
=yes
10701 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10702 # Neither direct hardcoding nor static linking is supported with a
10704 hardcode_direct
=unsupported
10709 if test "$host_cpu" = ia64
; then
10710 # On IA64, the linker does run time linking by default, so we don't
10711 # have to do anything special.
10712 aix_use_runtimelinking
=no
10713 exp_sym_flag
='-Bexport'
10716 # If we're using GNU nm, then we don't want the "-C" option.
10717 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10718 # Also, AIX nm treats weak defined symbols like other global
10719 # defined symbols, whereas GNU nm marks them as "W".
10720 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10721 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10723 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10725 aix_use_runtimelinking
=no
10727 # Test if we are trying to use run time linking or normal
10728 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10729 # need to do runtime linking.
10730 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10731 for ld_flag
in $LDFLAGS; do
10732 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10733 aix_use_runtimelinking
=yes
10740 exp_sym_flag
='-bexport'
10741 no_entry_flag
='-bnoentry'
10744 # When large executables or shared objects are built, AIX ld can
10745 # have problems creating the table of contents. If linking a library
10746 # or program results in "error TOC overflow" add -mminimal-toc to
10747 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10748 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10751 hardcode_direct
=yes
10752 hardcode_direct_absolute
=yes
10753 hardcode_libdir_separator
=':'
10754 link_all_deplibs
=yes
10755 file_list_spec
='${wl}-f,'
10757 if test "$GCC" = yes; then
10758 case $host_os in aix4.
[012]|aix4.
[012].
*)
10759 # We only want to do this on AIX 4.2 and lower, the check
10760 # below for broken collect2 doesn't work under 4.3+
10761 collect2name
=`${CC} -print-prog-name=collect2`
10762 if test -f "$collect2name" &&
10763 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10765 # We have reworked collect2
10768 # We have old collect2
10769 hardcode_direct
=unsupported
10770 # It fails to find uninstalled libraries when the uninstalled
10771 # path is not listed in the libpath. Setting hardcode_minus_L
10772 # to unsupported forces relinking
10773 hardcode_minus_L
=yes
10774 hardcode_libdir_flag_spec
='-L$libdir'
10775 hardcode_libdir_separator
=
10779 shared_flag
='-shared'
10780 if test "$aix_use_runtimelinking" = yes; then
10781 shared_flag
="$shared_flag "'${wl}-G'
10785 if test "$host_cpu" = ia64
; then
10786 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10787 # chokes on -Wl,-G. The following line is correct:
10790 if test "$aix_use_runtimelinking" = yes; then
10791 shared_flag
='${wl}-G'
10793 shared_flag
='${wl}-bM:SRE'
10798 export_dynamic_flag_spec
='${wl}-bexpall'
10799 # It seems that -bexpall does not export symbols beginning with
10800 # underscore (_), so it is better to generate a list of symbols to export.
10801 always_export_symbols
=yes
10802 if test "$aix_use_runtimelinking" = yes; then
10803 # Warning - without using the other runtime loading flags (-brtl),
10804 # -berok will link without error, but may produce a broken library.
10805 allow_undefined_flag
='-berok'
10806 # Determine the default libpath from the value encoded in an
10807 # empty executable.
10808 if test "${lt_cv_aix_libpath+set}" = set; then
10809 aix_libpath
=$lt_cv_aix_libpath
10811 if ${lt_cv_aix_libpath_+:} false
; then :
10812 $as_echo_n "(cached) " >&6
10814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10825 if ac_fn_c_try_link
"$LINENO"; then :
10827 lt_aix_libpath_sed
='
10828 /Import File Strings/,/^$/ {
10830 s/^0 *\([^ ]*\) *$/\1/
10834 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10835 # Check for a 64-bit object if we didn't find anything.
10836 if test -z "$lt_cv_aix_libpath_"; then
10837 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10840 rm -f core conftest.err conftest.
$ac_objext \
10841 conftest
$ac_exeext conftest.
$ac_ext
10842 if test -z "$lt_cv_aix_libpath_"; then
10843 lt_cv_aix_libpath_
="/usr/lib:/lib"
10848 aix_libpath
=$lt_cv_aix_libpath_
10851 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10852 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10854 if test "$host_cpu" = ia64
; then
10855 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10856 allow_undefined_flag
="-z nodefs"
10857 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10859 # Determine the default libpath from the value encoded in an
10860 # empty executable.
10861 if test "${lt_cv_aix_libpath+set}" = set; then
10862 aix_libpath
=$lt_cv_aix_libpath
10864 if ${lt_cv_aix_libpath_+:} false
; then :
10865 $as_echo_n "(cached) " >&6
10867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10878 if ac_fn_c_try_link
"$LINENO"; then :
10880 lt_aix_libpath_sed
='
10881 /Import File Strings/,/^$/ {
10883 s/^0 *\([^ ]*\) *$/\1/
10887 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10888 # Check for a 64-bit object if we didn't find anything.
10889 if test -z "$lt_cv_aix_libpath_"; then
10890 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10893 rm -f core conftest.err conftest.
$ac_objext \
10894 conftest
$ac_exeext conftest.
$ac_ext
10895 if test -z "$lt_cv_aix_libpath_"; then
10896 lt_cv_aix_libpath_
="/usr/lib:/lib"
10901 aix_libpath
=$lt_cv_aix_libpath_
10904 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10905 # Warning - without using the other run time loading flags,
10906 # -berok will link without error, but may produce a broken library.
10907 no_undefined_flag
=' ${wl}-bernotok'
10908 allow_undefined_flag
=' ${wl}-berok'
10909 if test "$with_gnu_ld" = yes; then
10910 # We only use this code for GNU lds that support --whole-archive.
10911 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10913 # Exported symbols can be pulled into shared objects from archives
10914 whole_archive_flag_spec
='$convenience'
10916 archive_cmds_need_lc
=yes
10917 # This is similar to how AIX traditionally builds its shared libraries.
10918 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10926 # see comment about AmigaOS4 .so support
10927 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10928 archive_expsym_cmds
=''
10931 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10932 hardcode_libdir_flag_spec
='-L$libdir'
10933 hardcode_minus_L
=yes
10939 export_dynamic_flag_spec
=-rdynamic
10942 cygwin
* | mingw
* | pw32
* | cegcc
*)
10943 # When not using gcc, we currently assume that we are using
10944 # Microsoft Visual C++.
10945 # hardcode_libdir_flag_spec is actually meaningless, as there is
10946 # no search path for DLLs.
10947 case $cc_basename in
10950 hardcode_libdir_flag_spec
=' '
10951 allow_undefined_flag
=unsupported
10952 always_export_symbols
=yes
10954 # Tell ltmain to make .lib files, not .a files.
10956 # Tell ltmain to make .dll files, not .so files.
10958 # FIXME: Setting linknames here is a bad hack.
10959 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10960 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10961 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10963 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10965 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10967 # The linker will not automatically build a static lib if we build a DLL.
10968 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10969 enable_shared_with_static_runtimes
=yes
10970 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10972 old_postinstall_cmds
='chmod 644 $oldlib'
10973 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10974 lt_tool_outputfile="@TOOL_OUTPUT@"~
10975 case $lt_outputfile in
10978 lt_outputfile="$lt_outputfile.exe"
10979 lt_tool_outputfile="$lt_tool_outputfile.exe"
10982 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10983 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10984 $RM "$lt_outputfile.manifest";
10988 # Assume MSVC wrapper
10989 hardcode_libdir_flag_spec
=' '
10990 allow_undefined_flag
=unsupported
10991 # Tell ltmain to make .lib files, not .a files.
10993 # Tell ltmain to make .dll files, not .so files.
10995 # FIXME: Setting linknames here is a bad hack.
10996 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10997 # The linker will automatically build a .lib file if we build a DLL.
10998 old_archive_from_new_cmds
='true'
10999 # FIXME: Should let the user specify the lib program.
11000 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11001 enable_shared_with_static_runtimes
=yes
11006 darwin
* | rhapsody
*)
11009 archive_cmds_need_lc
=no
11011 hardcode_automatic
=yes
11012 hardcode_shlibpath_var
=unsupported
11013 if test "$lt_cv_ld_force_load" = "yes"; then
11014 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11016 whole_archive_flag_spec
=''
11018 link_all_deplibs
=yes
11019 allow_undefined_flag
="$_lt_dar_allow_undefined"
11020 case $cc_basename in
11021 ifort
*) _lt_dar_can_shared
=yes ;;
11022 *) _lt_dar_can_shared
=$GCC ;;
11024 if test "$_lt_dar_can_shared" = "yes"; then
11025 output_verbose_link_cmd
=func_echo_all
11026 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11027 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11028 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11029 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11039 hardcode_libdir_flag_spec
='-L$libdir'
11040 hardcode_shlibpath_var
=no
11047 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11048 # support. Future versions do this automatically, but an explicit c++rt0.o
11049 # does not break anything, and helps significantly (at the cost of a little
11052 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11053 hardcode_libdir_flag_spec
='-R$libdir'
11054 hardcode_direct
=yes
11055 hardcode_shlibpath_var
=no
11058 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11060 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11061 hardcode_direct
=yes
11062 hardcode_minus_L
=yes
11063 hardcode_shlibpath_var
=no
11066 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11067 freebsd
* | dragonfly
*)
11068 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11069 hardcode_libdir_flag_spec
='-R$libdir'
11070 hardcode_direct
=yes
11071 hardcode_shlibpath_var
=no
11075 if test "$GCC" = yes; then
11076 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11078 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11080 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11081 hardcode_libdir_separator
=:
11082 hardcode_direct
=yes
11084 # hardcode_minus_L: Not really in the search PATH,
11085 # but as the default location of the library.
11086 hardcode_minus_L
=yes
11087 export_dynamic_flag_spec
='${wl}-E'
11091 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11092 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11094 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11096 if test "$with_gnu_ld" = no
; then
11097 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11098 hardcode_libdir_flag_spec_ld
='+b $libdir'
11099 hardcode_libdir_separator
=:
11100 hardcode_direct
=yes
11101 hardcode_direct_absolute
=yes
11102 export_dynamic_flag_spec
='${wl}-E'
11103 # hardcode_minus_L: Not really in the search PATH,
11104 # but as the default location of the library.
11105 hardcode_minus_L
=yes
11110 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11113 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11116 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11119 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11125 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11128 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11132 # Older versions of the 11.00 compiler do not understand -b yet
11133 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11135 $as_echo_n "checking if $CC understands -b... " >&6; }
11136 if ${lt_cv_prog_compiler__b+:} false
; then :
11137 $as_echo_n "(cached) " >&6
11139 lt_cv_prog_compiler__b
=no
11140 save_LDFLAGS
="$LDFLAGS"
11141 LDFLAGS
="$LDFLAGS -b"
11142 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11143 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11144 # The linker can only warn and ignore the option if not recognized
11145 # So say no if there are warnings
11146 if test -s conftest.err
; then
11147 # Append any errors to the config.log.
11148 cat conftest.err
1>&5
11149 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11150 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11151 if diff conftest.exp conftest.er2
>/dev
/null
; then
11152 lt_cv_prog_compiler__b
=yes
11155 lt_cv_prog_compiler__b
=yes
11159 LDFLAGS
="$save_LDFLAGS"
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11163 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11165 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11166 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11168 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11174 if test "$with_gnu_ld" = no
; then
11175 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11176 hardcode_libdir_separator
=:
11181 hardcode_shlibpath_var
=no
11184 hardcode_direct
=yes
11185 hardcode_direct_absolute
=yes
11186 export_dynamic_flag_spec
='${wl}-E'
11188 # hardcode_minus_L: Not really in the search PATH,
11189 # but as the default location of the library.
11190 hardcode_minus_L
=yes
11196 irix5
* | irix6
* | nonstopux
*)
11197 if test "$GCC" = yes; then
11198 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11199 # Try to use the -exported_symbol ld option, if it does not
11200 # work, assume that -exports_file does not work either and
11201 # implicitly export all symbols.
11202 # This should be the same for all languages, so no per-tag cache variable.
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11204 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11205 if ${lt_cv_irix_exported_symbol+:} false
; then :
11206 $as_echo_n "(cached) " >&6
11208 save_LDFLAGS
="$LDFLAGS"
11209 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 int foo (void) { return 0; }
11214 if ac_fn_c_try_link
"$LINENO"; then :
11215 lt_cv_irix_exported_symbol
=yes
11217 lt_cv_irix_exported_symbol
=no
11219 rm -f core conftest.err conftest.
$ac_objext \
11220 conftest
$ac_exeext conftest.
$ac_ext
11221 LDFLAGS
="$save_LDFLAGS"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11224 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11225 if test "$lt_cv_irix_exported_symbol" = yes; then
11226 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11229 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11230 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11232 archive_cmds_need_lc
='no'
11233 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11234 hardcode_libdir_separator
=:
11236 link_all_deplibs
=yes
11240 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11241 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11243 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11245 hardcode_libdir_flag_spec
='-R$libdir'
11246 hardcode_direct
=yes
11247 hardcode_shlibpath_var
=no
11251 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11252 hardcode_direct
=yes
11253 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11254 hardcode_libdir_separator
=:
11255 hardcode_shlibpath_var
=no
11262 if test -f /usr
/libexec
/ld.so
; then
11263 hardcode_direct
=yes
11264 hardcode_shlibpath_var
=no
11265 hardcode_direct_absolute
=yes
11266 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11267 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11268 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11269 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11270 export_dynamic_flag_spec
='${wl}-E'
11273 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11274 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11275 hardcode_libdir_flag_spec
='-R$libdir'
11278 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11279 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11289 hardcode_libdir_flag_spec
='-L$libdir'
11290 hardcode_minus_L
=yes
11291 allow_undefined_flag
=unsupported
11292 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11293 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11297 if test "$GCC" = yes; then
11298 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11299 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11301 allow_undefined_flag
=' -expect_unresolved \*'
11302 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11304 archive_cmds_need_lc
='no'
11305 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11306 hardcode_libdir_separator
=:
11309 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11310 if test "$GCC" = yes; then
11311 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11312 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11313 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11315 allow_undefined_flag
=' -expect_unresolved \*'
11316 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11317 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11318 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11320 # Both c and cxx compiler support -rpath directly
11321 hardcode_libdir_flag_spec
='-rpath $libdir'
11323 archive_cmds_need_lc
='no'
11324 hardcode_libdir_separator
=:
11328 no_undefined_flag
=' -z defs'
11329 if test "$GCC" = yes; then
11331 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11332 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11333 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11335 case `$CC -V 2>&1` in
11338 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11339 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11340 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11344 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11345 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11346 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11350 hardcode_libdir_flag_spec
='-R$libdir'
11351 hardcode_shlibpath_var
=no
11353 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11355 # The compiler driver will combine and reorder linker options,
11356 # but understands `-z linker_flag'. GCC discards it without `$wl',
11357 # but is careful enough not to reorder.
11358 # Supported since Solaris 2.6 (maybe 2.5.1?)
11359 if test "$GCC" = yes; then
11360 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11362 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11366 link_all_deplibs
=yes
11370 if test "x$host_vendor" = xsequent
; then
11371 # Use $CC to link under sequent, because it throws in some extra .o
11372 # files that make .init and .fini sections work.
11373 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11375 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11377 hardcode_libdir_flag_spec
='-L$libdir'
11378 hardcode_direct
=yes
11379 hardcode_minus_L
=yes
11380 hardcode_shlibpath_var
=no
11384 case $host_vendor in
11386 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11387 hardcode_direct
=yes # is this really true???
11390 ## LD is ld it makes a PLAMLIB
11391 ## CC just makes a GrossModule.
11392 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11393 reload_cmds
='$CC -r -o $output$reload_objs'
11397 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11398 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11401 runpath_var
='LD_RUN_PATH'
11402 hardcode_shlibpath_var
=no
11406 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11407 hardcode_shlibpath_var
=no
11408 export_dynamic_flag_spec
='-Bexport'
11412 if test -d /usr
/nec
; then
11413 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11414 hardcode_shlibpath_var
=no
11415 runpath_var
=LD_RUN_PATH
11416 hardcode_runpath_var
=yes
11421 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11422 no_undefined_flag
='${wl}-z,text'
11423 archive_cmds_need_lc
=no
11424 hardcode_shlibpath_var
=no
11425 runpath_var
='LD_RUN_PATH'
11427 if test "$GCC" = yes; then
11428 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11429 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11431 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11432 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11436 sysv5
* | sco3.2v5
* | sco5v6
*)
11437 # Note: We can NOT use -z defs as we might desire, because we do not
11438 # link with -lc, and that would cause any symbols used from libc to
11439 # always be unresolved, which means just about no library would
11440 # ever link correctly. If we're not using GNU ld we use -z text
11441 # though, which does catch some bad symbols but isn't as heavy-handed
11443 no_undefined_flag
='${wl}-z,text'
11444 allow_undefined_flag
='${wl}-z,nodefs'
11445 archive_cmds_need_lc
=no
11446 hardcode_shlibpath_var
=no
11447 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11448 hardcode_libdir_separator
=':'
11449 link_all_deplibs
=yes
11450 export_dynamic_flag_spec
='${wl}-Bexport'
11451 runpath_var
='LD_RUN_PATH'
11453 if test "$GCC" = yes; then
11454 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11455 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11457 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11458 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11463 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11464 hardcode_libdir_flag_spec
='-L$libdir'
11465 hardcode_shlibpath_var
=no
11473 if test x
$host_vendor = xsni
; then
11475 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11476 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11483 $as_echo "$ld_shlibs" >&6; }
11484 test "$ld_shlibs" = no
&& can_build_shared
=no
11486 with_gnu_ld
=$with_gnu_ld
11503 # Do we need to explicitly link libc?
11505 case "x$archive_cmds_need_lc" in
11507 # Assume -lc should be added
11508 archive_cmds_need_lc
=yes
11510 if test "$enable_shared" = yes && test "$GCC" = yes; then
11511 case $archive_cmds in
11513 # FIXME: we may have to deal with multi-command sequences.
11516 # Test whether the compiler implicitly links with -lc since on some
11517 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11518 # to ld, don't add -lc before -lgcc.
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11520 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11521 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11522 $as_echo_n "(cached) " >&6
11525 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11528 (eval $ac_compile) 2>&5
11530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11531 test $ac_status = 0; } 2>conftest.err
; then
11534 libobjs
=conftest.
$ac_objext
11536 wl
=$lt_prog_compiler_wl
11537 pic_flag
=$lt_prog_compiler_pic
11543 lt_save_allow_undefined_flag
=$allow_undefined_flag
11544 allow_undefined_flag
=
11545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11546 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11549 test $ac_status = 0; }
11551 lt_cv_archive_cmds_need_lc
=no
11553 lt_cv_archive_cmds_need_lc
=yes
11555 allow_undefined_flag
=$lt_save_allow_undefined_flag
11557 cat conftest.err
1>&5
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11563 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11564 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11728 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11730 if test "$GCC" = yes; then
11732 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11733 *) lt_awk_arg
="/^libraries:/" ;;
11736 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11737 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11739 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11740 case $lt_search_path_spec in
11742 # if the path contains ";" then we assume it to be the separator
11743 # otherwise default to the standard path separator (i.e. ":") - it is
11744 # assumed that no part of a normal pathname contains ";" but that should
11745 # okay in the real world where ";" in dirpaths is itself problematic.
11746 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11749 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11752 # Ok, now we have the path, separated by spaces, we can step through it
11753 # and add multilib dir if necessary.
11754 lt_tmp_lt_search_path_spec
=
11755 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11756 for lt_sys_path
in $lt_search_path_spec; do
11757 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11758 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11760 test -d "$lt_sys_path" && \
11761 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11764 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11765 BEGIN {RS=" "; FS="/|\n";} {
11768 for (lt_i = NF; lt_i > 0; lt_i--) {
11769 if ($lt_i != "" && $lt_i != ".") {
11770 if ($lt_i == "..") {
11773 if (lt_count == 0) {
11774 lt_foo="/" $lt_i lt_foo;
11781 if (lt_foo != "") { lt_freq[lt_foo]++; }
11782 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11784 # AWK program above erroneously prepends '/' to C:/dos/paths
11787 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11788 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11790 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11792 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11794 library_names_spec
=
11795 libname_spec
='lib$name'
11799 postuninstall_cmds
=
11803 shlibpath_overrides_runpath
=unknown
11805 dynamic_linker
="$host_os ld.so"
11806 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11807 need_lib_prefix
=unknown
11808 hardcode_into_libs
=no
11810 # when you set need_version to no, make sure it does not cause -set_version
11811 # flags to be left without arguments
11812 need_version
=unknown
11817 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11818 shlibpath_var
=LIBPATH
11820 # AIX 3 has no versioning support, so we append a major version to the name.
11821 soname_spec
='${libname}${release}${shared_ext}$major'
11828 hardcode_into_libs
=yes
11829 if test "$host_cpu" = ia64
; then
11830 # AIX 5 supports IA64
11831 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11832 shlibpath_var
=LD_LIBRARY_PATH
11834 # With GCC up to 2.95.x, collect2 would create an import file
11835 # for dependence libraries. The import file would start with
11836 # the line `#! .'. This would cause the generated library to
11837 # depend on `.', always an invalid library. This was fixed in
11838 # development snapshots of GCC prior to 3.0.
11840 aix4 | aix4.
[01] | aix4.
[01].
*)
11841 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11843 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11846 can_build_shared
=no
11850 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11851 # soname into executable. Probably we can add versioning support to
11852 # collect2, so additional links can be useful in future.
11853 if test "$aix_use_runtimelinking" = yes; then
11854 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11855 # instead of lib<name>.a to let people know that these are not
11856 # typical AIX shared libraries.
11857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11859 # We preserve .a as extension for shared libraries through AIX4.2
11860 # and later when we are not doing run time linking.
11861 library_names_spec
='${libname}${release}.a $libname.a'
11862 soname_spec
='${libname}${release}${shared_ext}$major'
11864 shlibpath_var
=LIBPATH
11871 # Since July 2007 AmigaOS4 officially supports .so libraries.
11872 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11876 library_names_spec
='$libname.ixlibrary $libname.a'
11877 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11878 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11884 library_names_spec
='${libname}${shared_ext}'
11885 dynamic_linker
="$host_os ld.so"
11886 shlibpath_var
=LIBRARY_PATH
11892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11893 soname_spec
='${libname}${release}${shared_ext}$major'
11894 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11895 shlibpath_var
=LD_LIBRARY_PATH
11896 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11897 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11898 # the default ld.so.conf also contains /usr/contrib/lib and
11899 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11900 # libtool to hard-code these into programs
11903 cygwin
* | mingw
* | pw32
* | cegcc
*)
11904 version_type
=windows
11909 case $GCC,$cc_basename in
11912 library_names_spec
='$libname.dll.a'
11913 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11914 postinstall_cmds
='base_file=`basename \${file}`~
11915 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11916 dldir=$destdir/`dirname \$dlpath`~
11917 test -d \$dldir || mkdir -p \$dldir~
11918 $install_prog $dir/$dlname \$dldir/$dlname~
11919 chmod a+x \$dldir/$dlname~
11920 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11921 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11923 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11924 dlpath=$dir/\$dldll~
11926 shlibpath_overrides_runpath
=yes
11930 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11931 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11933 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11936 # MinGW DLLs use traditional 'lib' prefix
11937 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11940 # pw32 DLLs use 'pw' prefix rather than 'lib'
11941 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11944 dynamic_linker
='Win32 ld.exe'
11949 libname_spec
='$name'
11950 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11951 library_names_spec
='${libname}.dll.lib'
11955 sys_lib_search_path_spec
=
11958 for lt_path
in $LIB
11961 # Let DOS variable expansion print the short 8.3 style file name.
11962 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11963 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11966 # Convert to MSYS style.
11967 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11970 # Convert to unix form, then to dos form, then back to unix form
11971 # but this time dos style (no spaces!) so that the unix form looks
11972 # like /cygdrive/c/PROGRA~1:/cygdr...
11973 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11974 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11975 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11978 sys_lib_search_path_spec
="$LIB"
11979 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11980 # It is most probably a Windows format PATH.
11981 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11983 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11985 # FIXME: find the short name or the path components, as spaces are
11986 # common. (e.g. "Program Files" -> "PROGRA~1")
11990 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11991 postinstall_cmds
='base_file=`basename \${file}`~
11992 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11993 dldir=$destdir/`dirname \$dlpath`~
11994 test -d \$dldir || mkdir -p \$dldir~
11995 $install_prog $dir/$dlname \$dldir/$dlname'
11996 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11997 dlpath=$dir/\$dldll~
11999 shlibpath_overrides_runpath
=yes
12000 dynamic_linker
='Win32 link.exe'
12004 # Assume MSVC wrapper
12005 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12006 dynamic_linker
='Win32 ld.exe'
12009 # FIXME: first we should search . and the directory the executable is in
12013 darwin
* | rhapsody
*)
12014 dynamic_linker
="$host_os dyld"
12015 version_type
=darwin
12018 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12019 soname_spec
='${libname}${release}${major}$shared_ext'
12020 shlibpath_overrides_runpath
=yes
12021 shlibpath_var
=DYLD_LIBRARY_PATH
12022 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12024 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12025 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12033 soname_spec
='${libname}${release}${shared_ext}$major'
12034 shlibpath_var
=LD_LIBRARY_PATH
12041 freebsd
* | dragonfly
*)
12042 # DragonFly does not have aout. When/if they implement a new
12043 # versioning mechanism, adjust this.
12044 if test -x /usr
/bin
/objformat
; then
12045 objformat
=`/usr/bin/objformat`
12048 freebsd
[123]*) objformat
=aout
;;
12049 *) objformat
=elf
;;
12052 version_type
=freebsd-
$objformat
12053 case $version_type in
12055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12060 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12064 shlibpath_var
=LD_LIBRARY_PATH
12067 shlibpath_overrides_runpath
=yes
12069 freebsd3.
[01]* | freebsdelf3.
[01]*)
12070 shlibpath_overrides_runpath
=yes
12071 hardcode_into_libs
=yes
12073 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12074 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12075 shlibpath_overrides_runpath
=no
12076 hardcode_into_libs
=yes
12078 *) # from 4.6 on, and DragonFly
12079 shlibpath_overrides_runpath
=yes
12080 hardcode_into_libs
=yes
12089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12090 soname_spec
='${libname}${release}${shared_ext}$major'
12091 shlibpath_var
=LD_LIBRARY_PATH
12092 hardcode_into_libs
=yes
12099 dynamic_linker
="$host_os runtime_loader"
12100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12101 soname_spec
='${libname}${release}${shared_ext}$major'
12102 shlibpath_var
=LIBRARY_PATH
12103 shlibpath_overrides_runpath
=yes
12104 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12105 hardcode_into_libs
=yes
12108 hpux9
* | hpux10
* | hpux11
*)
12109 # Give a soname corresponding to the major version so that dld.sl refuses to
12110 # link against other versions.
12117 hardcode_into_libs
=yes
12118 dynamic_linker
="$host_os dld.so"
12119 shlibpath_var
=LD_LIBRARY_PATH
12120 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12122 soname_spec
='${libname}${release}${shared_ext}$major'
12123 if test "X$HPUX_IA64_MODE" = X32
; then
12124 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12126 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12128 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12132 hardcode_into_libs
=yes
12133 dynamic_linker
="$host_os dld.sl"
12134 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12135 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12137 soname_spec
='${libname}${release}${shared_ext}$major'
12138 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12139 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12143 dynamic_linker
="$host_os dld.sl"
12144 shlibpath_var
=SHLIB_PATH
12145 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12147 soname_spec
='${libname}${release}${shared_ext}$major'
12150 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12151 postinstall_cmds
='chmod 555 $lib'
12152 # or fails outright, so override atomically:
12153 install_override_mode
=555
12160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12161 soname_spec
='${libname}${release}${shared_ext}$major'
12162 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12163 shlibpath_var
=LD_LIBRARY_PATH
12164 shlibpath_overrides_runpath
=no
12165 hardcode_into_libs
=yes
12168 irix5
* | irix6
* | nonstopux
*)
12170 nonstopux
*) version_type
=nonstopux
;;
12172 if test "$lt_cv_prog_gnu_ld" = yes; then
12180 soname_spec
='${libname}${release}${shared_ext}$major'
12181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12183 irix5
* | nonstopux
*)
12184 libsuff
= shlibsuff
=
12187 case $LD in # libtool.m4 will add one of these switches to LD
12188 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12189 libsuff
= shlibsuff
= libmagic
=32-bit;;
12190 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12191 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12192 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12193 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12194 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12198 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12199 shlibpath_overrides_runpath
=no
12200 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12201 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12202 hardcode_into_libs
=yes
12205 # No shared lib support for Linux oldld, aout, or coff.
12206 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12210 # This must be Linux ELF.
12211 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12216 soname_spec
='${libname}${release}${shared_ext}$major'
12217 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12218 shlibpath_var
=LD_LIBRARY_PATH
12219 shlibpath_overrides_runpath
=no
12221 # Some binutils ld are patched to set DT_RUNPATH
12222 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 lt_cv_shlibpath_overrides_runpath
=no
12226 save_LDFLAGS
=$LDFLAGS
12227 save_libdir
=$libdir
12228 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12229 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12241 if ac_fn_c_try_link
"$LINENO"; then :
12242 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12243 lt_cv_shlibpath_overrides_runpath
=yes
12246 rm -f core conftest.err conftest.
$ac_objext \
12247 conftest
$ac_exeext conftest.
$ac_ext
12248 LDFLAGS
=$save_LDFLAGS
12249 libdir
=$save_libdir
12253 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12255 # This implies no fast_install, which is unacceptable.
12256 # Some rework will be needed to allow for fast_install
12257 # before this can be enabled.
12258 hardcode_into_libs
=yes
12260 # Append ld.so.conf contents to the search path
12261 if test -f /etc
/ld.so.conf
; then
12262 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12263 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12266 # We used to test for /lib/ld.so.1 and disable shared libraries on
12267 # powerpc, because MkLinux only supported shared libraries with the
12268 # GNU dynamic linker. Since this was broken with cross compilers,
12269 # most powerpc-linux boxes support dynamic linking these days and
12270 # people can always --disable-shared, the test was removed, and we
12271 # assume the GNU/Linux dynamic linker is in use.
12272 dynamic_linker
='GNU/Linux ld.so'
12279 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12281 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12282 dynamic_linker
='NetBSD (a.out) ld.so'
12284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12285 soname_spec
='${libname}${release}${shared_ext}$major'
12286 dynamic_linker
='NetBSD ld.elf_so'
12288 shlibpath_var
=LD_LIBRARY_PATH
12289 shlibpath_overrides_runpath
=yes
12290 hardcode_into_libs
=yes
12295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12296 shlibpath_var
=LD_LIBRARY_PATH
12297 shlibpath_overrides_runpath
=yes
12304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12305 soname_spec
='${libname}${release}${shared_ext}$major'
12306 shlibpath_var
=LD_LIBRARY_PATH
12307 shlibpath_overrides_runpath
=no
12308 hardcode_into_libs
=yes
12309 dynamic_linker
='ldqnx.so'
12314 sys_lib_dlsearch_path_spec
="/usr/lib"
12316 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12318 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12319 *) need_version
=no
;;
12321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12322 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12323 shlibpath_var
=LD_LIBRARY_PATH
12324 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12326 openbsd2.
[89] | openbsd2.
[89].
*)
12327 shlibpath_overrides_runpath
=no
12330 shlibpath_overrides_runpath
=yes
12334 shlibpath_overrides_runpath
=yes
12339 libname_spec
='$name'
12342 library_names_spec
='$libname${shared_ext} $libname.a'
12343 dynamic_linker
='OS/2 ld.exe'
12344 shlibpath_var
=LIBPATH
12347 osf3
* | osf4
* | osf5
*)
12351 soname_spec
='${libname}${release}${shared_ext}$major'
12352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12353 shlibpath_var
=LD_LIBRARY_PATH
12354 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12355 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12367 soname_spec
='${libname}${release}${shared_ext}$major'
12368 shlibpath_var
=LD_LIBRARY_PATH
12369 shlibpath_overrides_runpath
=yes
12370 hardcode_into_libs
=yes
12371 # ldd complains unless libraries are executable
12372 postinstall_cmds
='chmod +x $lib'
12377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12378 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12379 shlibpath_var
=LD_LIBRARY_PATH
12380 shlibpath_overrides_runpath
=yes
12381 if test "$with_gnu_ld" = yes; then
12389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12390 soname_spec
='${libname}${release}${shared_ext}$major'
12391 shlibpath_var
=LD_LIBRARY_PATH
12392 case $host_vendor in
12394 shlibpath_overrides_runpath
=no
12396 runpath_var
=LD_RUN_PATH
12404 shlibpath_overrides_runpath
=no
12405 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12411 if test -d /usr
/nec
;then
12413 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12414 soname_spec
='$libname${shared_ext}.$major'
12415 shlibpath_var
=LD_LIBRARY_PATH
12419 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12420 version_type
=freebsd-elf
12423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12424 soname_spec
='${libname}${release}${shared_ext}$major'
12425 shlibpath_var
=LD_LIBRARY_PATH
12426 shlibpath_overrides_runpath
=yes
12427 hardcode_into_libs
=yes
12428 if test "$with_gnu_ld" = yes; then
12429 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12431 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12434 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12438 sys_lib_dlsearch_path_spec
='/usr/lib'
12442 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12447 shlibpath_var
=LD_LIBRARY_PATH
12448 shlibpath_overrides_runpath
=no
12449 hardcode_into_libs
=yes
12454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12455 soname_spec
='${libname}${release}${shared_ext}$major'
12456 shlibpath_var
=LD_LIBRARY_PATH
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12464 $as_echo "$dynamic_linker" >&6; }
12465 test "$dynamic_linker" = no
&& can_build_shared
=no
12467 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12468 if test "$GCC" = yes; then
12469 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12472 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12473 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12475 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12476 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12571 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12573 if test -n "$hardcode_libdir_flag_spec" ||
12574 test -n "$runpath_var" ||
12575 test "X$hardcode_automatic" = "Xyes" ; then
12577 # We can hardcode non-existent directories.
12578 if test "$hardcode_direct" != no
&&
12579 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12580 # have to relink, otherwise we might link with an installed library
12581 # when we should be linking with a yet-to-be-installed one
12582 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12583 test "$hardcode_minus_L" != no
; then
12584 # Linking always hardcodes the temporary library directory.
12585 hardcode_action
=relink
12587 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12588 hardcode_action
=immediate
12591 # We cannot hardcode anything, or else we can only hardcode existing
12593 hardcode_action
=unsupported
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12596 $as_echo "$hardcode_action" >&6; }
12598 if test "$hardcode_action" = relink ||
12599 test "$inherit_rpath" = yes; then
12600 # Fast installation is not supported
12601 enable_fast_install
=no
12602 elif test "$shlibpath_overrides_runpath" = yes ||
12603 test "$enable_shared" = no
; then
12604 # Fast installation is not necessary
12605 enable_fast_install
=needless
12613 if test "x$enable_dlopen" != xyes
; then
12614 enable_dlopen
=unknown
12615 enable_dlopen_self
=unknown
12616 enable_dlopen_self_static
=unknown
12623 lt_cv_dlopen
="load_add_on"
12625 lt_cv_dlopen_self
=yes
12628 mingw
* | pw32
* | cegcc
*)
12629 lt_cv_dlopen
="LoadLibrary"
12634 lt_cv_dlopen
="dlopen"
12639 # if libdl is installed we need to link against it
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12641 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12642 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12643 $as_echo_n "(cached) " >&6
12645 ac_check_lib_save_LIBS
=$LIBS
12647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12650 /* Override any GCC internal prototype to avoid an error.
12651 Use char because int might match the return type of a GCC
12652 builtin and then its argument prototype would still apply. */
12665 if ac_fn_c_try_link
"$LINENO"; then :
12666 ac_cv_lib_dl_dlopen
=yes
12668 ac_cv_lib_dl_dlopen
=no
12670 rm -f core conftest.err conftest.
$ac_objext \
12671 conftest
$ac_exeext conftest.
$ac_ext
12672 LIBS
=$ac_check_lib_save_LIBS
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12675 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12676 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12677 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12680 lt_cv_dlopen
="dyld"
12682 lt_cv_dlopen_self
=yes
12689 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12690 if test "x$ac_cv_func_shl_load" = xyes
; then :
12691 lt_cv_dlopen
="shl_load"
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12694 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12695 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12696 $as_echo_n "(cached) " >&6
12698 ac_check_lib_save_LIBS
=$LIBS
12700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12713 return shl_load ();
12718 if ac_fn_c_try_link
"$LINENO"; then :
12719 ac_cv_lib_dld_shl_load
=yes
12721 ac_cv_lib_dld_shl_load
=no
12723 rm -f core conftest.err conftest.
$ac_objext \
12724 conftest
$ac_exeext conftest.
$ac_ext
12725 LIBS
=$ac_check_lib_save_LIBS
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12728 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12729 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12730 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12732 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12733 if test "x$ac_cv_func_dlopen" = xyes
; then :
12734 lt_cv_dlopen
="dlopen"
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12737 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12738 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12739 $as_echo_n "(cached) " >&6
12741 ac_check_lib_save_LIBS
=$LIBS
12743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12761 if ac_fn_c_try_link
"$LINENO"; then :
12762 ac_cv_lib_dl_dlopen
=yes
12764 ac_cv_lib_dl_dlopen
=no
12766 rm -f core conftest.err conftest.
$ac_objext \
12767 conftest
$ac_exeext conftest.
$ac_ext
12768 LIBS
=$ac_check_lib_save_LIBS
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12771 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12772 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12773 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12776 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12777 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12778 $as_echo_n "(cached) " >&6
12780 ac_check_lib_save_LIBS
=$LIBS
12781 LIBS
="-lsvld $LIBS"
12782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12800 if ac_fn_c_try_link
"$LINENO"; then :
12801 ac_cv_lib_svld_dlopen
=yes
12803 ac_cv_lib_svld_dlopen
=no
12805 rm -f core conftest.err conftest.
$ac_objext \
12806 conftest
$ac_exeext conftest.
$ac_ext
12807 LIBS
=$ac_check_lib_save_LIBS
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12810 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12811 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12812 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12815 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12816 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12817 $as_echo_n "(cached) " >&6
12819 ac_check_lib_save_LIBS
=$LIBS
12821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12822 /* end confdefs.h. */
12824 /* Override any GCC internal prototype to avoid an error.
12825 Use char because int might match the return type of a GCC
12826 builtin and then its argument prototype would still apply. */
12834 return dld_link ();
12839 if ac_fn_c_try_link
"$LINENO"; then :
12840 ac_cv_lib_dld_dld_link
=yes
12842 ac_cv_lib_dld_dld_link
=no
12844 rm -f core conftest.err conftest.
$ac_objext \
12845 conftest
$ac_exeext conftest.
$ac_ext
12846 LIBS
=$ac_check_lib_save_LIBS
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12849 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12850 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12851 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12872 if test "x$lt_cv_dlopen" != xno
; then
12878 case $lt_cv_dlopen in
12880 save_CPPFLAGS
="$CPPFLAGS"
12881 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12883 save_LDFLAGS
="$LDFLAGS"
12884 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12887 LIBS
="$lt_cv_dlopen_libs $LIBS"
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12890 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12891 if ${lt_cv_dlopen_self+:} false
; then :
12892 $as_echo_n "(cached) " >&6
12894 if test "$cross_compiling" = yes; then :
12895 lt_cv_dlopen_self
=cross
12897 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12898 lt_status
=$lt_dlunknown
12899 cat > conftest.
$ac_ext <<_LT_EOF
12900 #line $LINENO "configure"
12901 #include "confdefs.h"
12910 # define LT_DLGLOBAL RTLD_GLOBAL
12913 # define LT_DLGLOBAL DL_GLOBAL
12915 # define LT_DLGLOBAL 0
12919 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12920 find out it does not work in some platform. */
12921 #ifndef LT_DLLAZY_OR_NOW
12923 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12926 # define LT_DLLAZY_OR_NOW DL_LAZY
12929 # define LT_DLLAZY_OR_NOW RTLD_NOW
12932 # define LT_DLLAZY_OR_NOW DL_NOW
12934 # define LT_DLLAZY_OR_NOW 0
12941 /* When -fvisbility=hidden is used, assume the code has been annotated
12942 correspondingly for the symbols needed. */
12943 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12944 int fnord () __attribute__((visibility("default")));
12947 int fnord () { return 42; }
12950 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12951 int status = $lt_dlunknown;
12955 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12958 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12959 else puts (dlerror ());
12961 /* dlclose (self); */
12969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12970 (eval $ac_link) 2>&5
12972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12973 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12974 (.
/conftest
; exit; ) >&5 2>/dev
/null
12976 case x
$lt_status in
12977 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12978 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12979 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12982 # compilation failed
12983 lt_cv_dlopen_self
=no
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12991 $as_echo "$lt_cv_dlopen_self" >&6; }
12993 if test "x$lt_cv_dlopen_self" = xyes
; then
12994 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12996 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12997 if ${lt_cv_dlopen_self_static+:} false
; then :
12998 $as_echo_n "(cached) " >&6
13000 if test "$cross_compiling" = yes; then :
13001 lt_cv_dlopen_self_static
=cross
13003 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13004 lt_status
=$lt_dlunknown
13005 cat > conftest.
$ac_ext <<_LT_EOF
13006 #line $LINENO "configure"
13007 #include "confdefs.h"
13016 # define LT_DLGLOBAL RTLD_GLOBAL
13019 # define LT_DLGLOBAL DL_GLOBAL
13021 # define LT_DLGLOBAL 0
13025 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13026 find out it does not work in some platform. */
13027 #ifndef LT_DLLAZY_OR_NOW
13029 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13032 # define LT_DLLAZY_OR_NOW DL_LAZY
13035 # define LT_DLLAZY_OR_NOW RTLD_NOW
13038 # define LT_DLLAZY_OR_NOW DL_NOW
13040 # define LT_DLLAZY_OR_NOW 0
13047 /* When -fvisbility=hidden is used, assume the code has been annotated
13048 correspondingly for the symbols needed. */
13049 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13050 int fnord () __attribute__((visibility("default")));
13053 int fnord () { return 42; }
13056 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13057 int status = $lt_dlunknown;
13061 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13064 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13065 else puts (dlerror ());
13067 /* dlclose (self); */
13075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13076 (eval $ac_link) 2>&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13079 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13080 (.
/conftest
; exit; ) >&5 2>/dev
/null
13082 case x
$lt_status in
13083 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13084 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13085 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13088 # compilation failed
13089 lt_cv_dlopen_self_static
=no
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13097 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13100 CPPFLAGS
="$save_CPPFLAGS"
13101 LDFLAGS
="$save_LDFLAGS"
13106 case $lt_cv_dlopen_self in
13107 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13108 *) enable_dlopen_self
=unknown
;;
13111 case $lt_cv_dlopen_self_static in
13112 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13113 *) enable_dlopen_self_static
=unknown
;;
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13136 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13137 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13138 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13139 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13141 $as_echo "yes" >&6; }
13143 # FIXME - insert some real tests, host_os isn't really good enough
13146 if test -n "$STRIP" ; then
13147 striplib
="$STRIP -x"
13148 old_striplib
="$STRIP -S"
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13150 $as_echo "yes" >&6; }
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153 $as_echo "no" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13158 $as_echo "no" >&6; }
13174 # Report which library types will actually be built
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13176 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13178 $as_echo "$can_build_shared" >&6; }
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13181 $as_echo_n "checking whether to build shared libraries... " >&6; }
13182 test "$can_build_shared" = "no" && enable_shared
=no
13184 # On AIX, shared libraries and static libraries use the same namespace, and
13185 # are all built from PIC.
13188 test "$enable_shared" = yes && enable_static
=no
13189 if test -n "$RANLIB"; then
13190 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13191 postinstall_cmds
='$RANLIB $lib'
13196 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13197 test "$enable_shared" = yes && enable_static
=no
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13202 $as_echo "$enable_shared" >&6; }
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13205 $as_echo_n "checking whether to build static libraries... " >&6; }
13206 # Make sure either enable_shared or enable_static is yes.
13207 test "$enable_shared" = yes || enable_static
=yes
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13209 $as_echo "$enable_static" >&6; }
13216 ac_cpp
='$CPP $CPPFLAGS'
13217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13235 ac_config_commands
="$ac_config_commands libtool"
13240 # Only expand once:
13244 if test -n "$ac_tool_prefix"; then
13245 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13246 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13248 $as_echo_n "checking for $ac_word... " >&6; }
13249 if ${ac_cv_prog_RC+:} false
; then :
13250 $as_echo_n "(cached) " >&6
13252 if test -n "$RC"; then
13253 ac_cv_prog_RC
="$RC" # Let the user override the test.
13255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13256 for as_dir
in $PATH
13259 test -z "$as_dir" && as_dir
=.
13260 for ac_exec_ext
in '' $ac_executable_extensions; do
13261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13262 ac_cv_prog_RC
="${ac_tool_prefix}windres"
13263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13273 if test -n "$RC"; then
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
13275 $as_echo "$RC" >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13278 $as_echo "no" >&6; }
13283 if test -z "$ac_cv_prog_RC"; then
13285 # Extract the first word of "windres", so it can be a program name with args.
13286 set dummy windres
; ac_word
=$2
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13288 $as_echo_n "checking for $ac_word... " >&6; }
13289 if ${ac_cv_prog_ac_ct_RC+:} false
; then :
13290 $as_echo_n "(cached) " >&6
13292 if test -n "$ac_ct_RC"; then
13293 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
13295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13296 for as_dir
in $PATH
13299 test -z "$as_dir" && as_dir
=.
13300 for ac_exec_ext
in '' $ac_executable_extensions; do
13301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13302 ac_cv_prog_ac_ct_RC
="windres"
13303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13312 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
13313 if test -n "$ac_ct_RC"; then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
13315 $as_echo "$ac_ct_RC" >&6; }
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13318 $as_echo "no" >&6; }
13321 if test "x$ac_ct_RC" = x
; then
13324 case $cross_compiling:$ac_tool_warned in
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13328 ac_tool_warned
=yes ;;
13333 RC
="$ac_cv_prog_RC"
13339 # Source file extension for RC test sources.
13342 # Object file extension for compiled RC test sources.
13346 # Code to be used in simple compile tests
13347 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
13349 # Code to be used in simple link tests
13350 lt_simple_link_test_code
="$lt_simple_compile_test_code"
13352 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13359 # If no C compiler was specified, use CC.
13362 # If no C compiler flags were specified, use CFLAGS.
13363 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13365 # Allow CC to be a program name with arguments.
13369 # save warnings/boilerplate of simple test code
13370 ac_outfile
=conftest.
$ac_objext
13371 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13372 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13373 _lt_compiler_boilerplate
=`cat conftest.err`
13376 ac_outfile
=conftest.
$ac_objext
13377 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13378 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13379 _lt_linker_boilerplate
=`cat conftest.err`
13383 # Allow CC to be a program name with arguments.
13385 lt_save_CFLAGS
=$CFLAGS
13392 for cc_temp
in $compiler""; do
13394 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13395 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13400 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13402 lt_cv_prog_compiler_c_o_RC
=yes
13404 if test -n "$compiler"; then
13413 ac_cpp
='$CPP $CPPFLAGS'
13414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13419 CFLAGS
=$lt_save_CFLAGS
13423 mingw
* | cygwin
*) is_woe32
=yes ;;
13428 if test $WOE32 = yes; then
13429 if test -n "$ac_tool_prefix"; then
13430 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13431 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13433 $as_echo_n "checking for $ac_word... " >&6; }
13434 if ${ac_cv_prog_WINDRES+:} false
; then :
13435 $as_echo_n "(cached) " >&6
13437 if test -n "$WINDRES"; then
13438 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
13440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13441 for as_dir
in $PATH
13444 test -z "$as_dir" && as_dir
=.
13445 for ac_exec_ext
in '' $ac_executable_extensions; do
13446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13447 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
13448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13457 WINDRES
=$ac_cv_prog_WINDRES
13458 if test -n "$WINDRES"; then
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
13460 $as_echo "$WINDRES" >&6; }
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13463 $as_echo "no" >&6; }
13468 if test -z "$ac_cv_prog_WINDRES"; then
13469 ac_ct_WINDRES
=$WINDRES
13470 # Extract the first word of "windres", so it can be a program name with args.
13471 set dummy windres
; ac_word
=$2
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13473 $as_echo_n "checking for $ac_word... " >&6; }
13474 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
13475 $as_echo_n "(cached) " >&6
13477 if test -n "$ac_ct_WINDRES"; then
13478 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
13480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13481 for as_dir
in $PATH
13484 test -z "$as_dir" && as_dir
=.
13485 for ac_exec_ext
in '' $ac_executable_extensions; do
13486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13487 ac_cv_prog_ac_ct_WINDRES
="windres"
13488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13497 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
13498 if test -n "$ac_ct_WINDRES"; then
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
13500 $as_echo "$ac_ct_WINDRES" >&6; }
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503 $as_echo "no" >&6; }
13506 if test "x$ac_ct_WINDRES" = x
; then
13509 case $cross_compiling:$ac_tool_warned in
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13513 ac_tool_warned
=yes ;;
13515 WINDRES
=$ac_ct_WINDRES
13518 WINDRES
="$ac_cv_prog_WINDRES"
13527 if test -n "$GCC"; then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
13529 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
13530 if ${gl_cv_cc_vis_werror+:} false
; then :
13531 $as_echo_n "(cached) " >&6
13534 gl_save_CFLAGS
="$CFLAGS"
13535 CFLAGS
="$CFLAGS -Werror"
13536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13547 if ac_fn_c_try_compile
"$LINENO"; then :
13548 gl_cv_cc_vis_werror
=yes
13550 gl_cv_cc_vis_werror
=no
13552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13553 CFLAGS
="$gl_save_CFLAGS"
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
13557 $as_echo "$gl_cv_cc_vis_werror" >&6; }
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
13559 $as_echo_n "checking for simple visibility declarations... " >&6; }
13560 if ${gl_cv_cc_visibility+:} false
; then :
13561 $as_echo_n "(cached) " >&6
13564 gl_save_CFLAGS
="$CFLAGS"
13565 CFLAGS
="$CFLAGS -fvisibility=hidden"
13566 if test $gl_cv_cc_vis_werror = yes; then
13567 CFLAGS
="$CFLAGS -Werror"
13569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
13572 extern __attribute__((__visibility__("default"))) int exportedvar;
13573 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
13574 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
13575 void dummyfunc (void) {}
13585 if ac_fn_c_try_compile
"$LINENO"; then :
13586 gl_cv_cc_visibility
=yes
13588 gl_cv_cc_visibility
=no
13590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13591 CFLAGS
="$gl_save_CFLAGS"
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
13595 $as_echo "$gl_cv_cc_visibility" >&6; }
13596 if test $gl_cv_cc_visibility = yes; then
13597 CFLAG_VISIBILITY
="-fvisibility=hidden"
13604 cat >>confdefs.h
<<_ACEOF
13605 #define HAVE_VISIBILITY $HAVE_VISIBILITY
13610 if test "X$prefix" = "XNONE"; then
13611 acl_final_prefix
="$ac_default_prefix"
13613 acl_final_prefix
="$prefix"
13615 if test "X$exec_prefix" = "XNONE"; then
13616 acl_final_exec_prefix
='${prefix}'
13618 acl_final_exec_prefix
="$exec_prefix"
13620 acl_save_prefix
="$prefix"
13621 prefix
="$acl_final_prefix"
13622 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13623 prefix
="$acl_save_prefix"
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13628 $as_echo_n "checking for shared library run path origin... " >&6; }
13629 if ${acl_cv_rpath+:} false
; then :
13630 $as_echo_n "(cached) " >&6
13633 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13634 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13636 rm -f .
/conftest.sh
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13641 $as_echo "$acl_cv_rpath" >&6; }
13643 acl_libext
="$acl_cv_libext"
13644 acl_shlibext
="$acl_cv_shlibext"
13645 acl_libname_spec
="$acl_cv_libname_spec"
13646 acl_library_names_spec
="$acl_cv_library_names_spec"
13647 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13648 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13649 acl_hardcode_direct
="$acl_cv_hardcode_direct"
13650 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13651 # Check whether --enable-rpath was given.
13652 if test "${enable_rpath+set}" = set; then :
13653 enableval
=$enable_rpath; :
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13666 $as_echo_n "checking for 64-bit host... " >&6; }
13667 if ${gl_cv_solaris_64bit+:} false
; then :
13668 $as_echo_n "(cached) " >&6
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13679 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
13680 gl_cv_solaris_64bit
=yes
13682 gl_cv_solaris_64bit
=no
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13689 $as_echo "$gl_cv_solaris_64bit" >&6; }
13690 if test $gl_cv_solaris_64bit = yes; then
13691 acl_libdirstem
=lib
/64
13692 case "$host_cpu" in
13693 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
13694 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
13699 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13700 if test -n "$searchpath"; then
13701 acl_save_IFS
="${IFS= }"; IFS
=":"
13702 for searchdir
in $searchpath; do
13703 if test -d "$searchdir"; then
13704 case "$searchdir" in
13705 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
13707 # Better ignore directories of this form. They are misleading.
13709 *) searchdir
=`cd "$searchdir" && pwd`
13710 case "$searchdir" in
13711 */lib64
) acl_libdirstem
=lib64
;;
13716 IFS
="$acl_save_IFS"
13720 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
13735 acl_save_prefix
="$prefix"
13736 prefix
="$acl_final_prefix"
13737 acl_save_exec_prefix
="$exec_prefix"
13738 exec_prefix
="$acl_final_exec_prefix"
13740 eval additional_includedir
=\"$includedir\"
13741 eval additional_libdir
=\"$libdir\"
13743 exec_prefix
="$acl_save_exec_prefix"
13744 prefix
="$acl_save_prefix"
13747 # Check whether --with-libiconv-prefix was given.
13748 if test "${with_libiconv_prefix+set}" = set; then :
13749 withval
=$with_libiconv_prefix;
13750 if test "X$withval" = "Xno"; then
13753 if test "X$withval" = "X"; then
13755 acl_save_prefix
="$prefix"
13756 prefix
="$acl_final_prefix"
13757 acl_save_exec_prefix
="$exec_prefix"
13758 exec_prefix
="$acl_final_exec_prefix"
13760 eval additional_includedir
=\"$includedir\"
13761 eval additional_libdir
=\"$libdir\"
13763 exec_prefix
="$acl_save_exec_prefix"
13764 prefix
="$acl_save_prefix"
13767 additional_includedir
="$withval/include"
13768 additional_libdir
="$withval/$acl_libdirstem"
13769 if test "$acl_libdirstem2" != "$acl_libdirstem" \
13770 && ! test -d "$withval/$acl_libdirstem"; then
13771 additional_libdir
="$withval/$acl_libdirstem2"
13785 names_already_handled
=
13786 names_next_round
='iconv '
13787 while test -n "$names_next_round"; do
13788 names_this_round
="$names_next_round"
13790 for name
in $names_this_round; do
13792 for n
in $names_already_handled; do
13793 if test "$n" = "$name"; then
13794 already_handled
=yes
13798 if test -z "$already_handled"; then
13799 names_already_handled
="$names_already_handled $name"
13800 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
13801 eval value
=\"\
$HAVE_LIB$uppername\"
13802 if test -n "$value"; then
13803 if test "$value" = yes; then
13804 eval value
=\"\
$LIB$uppername\"
13805 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13806 eval value
=\"\
$LTLIB$uppername\"
13807 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13816 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
13817 if test -n "$acl_shlibext"; then
13818 shrext
=".$acl_shlibext" # typically: shrext=.so
13822 if test $use_additional = yes; then
13823 dir
="$additional_libdir"
13824 if test -n "$acl_shlibext"; then
13825 if test -f "$dir/$libname$shrext"; then
13827 found_so
="$dir/$libname$shrext"
13829 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13830 ver
=`(cd "$dir" && \
13831 for f in "$libname$shrext".*; do echo "$f"; done \
13832 | sed -e "s,^$libname$shrext\\\\.,," \
13833 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13834 | sed 1q ) 2>/dev/null`
13835 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13837 found_so
="$dir/$libname$shrext.$ver"
13840 eval library_names
=\"$acl_library_names_spec\"
13841 for f
in $library_names; do
13842 if test -f "$dir/$f"; then
13851 if test "X$found_dir" = "X"; then
13852 if test -f "$dir/$libname.$acl_libext"; then
13854 found_a
="$dir/$libname.$acl_libext"
13857 if test "X$found_dir" != "X"; then
13858 if test -f "$dir/$libname.la"; then
13859 found_la
="$dir/$libname.la"
13863 if test "X$found_dir" = "X"; then
13864 for x
in $LDFLAGS $LTLIBICONV; do
13866 acl_save_prefix
="$prefix"
13867 prefix
="$acl_final_prefix"
13868 acl_save_exec_prefix
="$exec_prefix"
13869 exec_prefix
="$acl_final_exec_prefix"
13871 exec_prefix
="$acl_save_exec_prefix"
13872 prefix
="$acl_save_prefix"
13876 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13877 if test -n "$acl_shlibext"; then
13878 if test -f "$dir/$libname$shrext"; then
13880 found_so
="$dir/$libname$shrext"
13882 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13883 ver
=`(cd "$dir" && \
13884 for f in "$libname$shrext".*; do echo "$f"; done \
13885 | sed -e "s,^$libname$shrext\\\\.,," \
13886 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13887 | sed 1q ) 2>/dev/null`
13888 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13890 found_so
="$dir/$libname$shrext.$ver"
13893 eval library_names
=\"$acl_library_names_spec\"
13894 for f
in $library_names; do
13895 if test -f "$dir/$f"; then
13904 if test "X$found_dir" = "X"; then
13905 if test -f "$dir/$libname.$acl_libext"; then
13907 found_a
="$dir/$libname.$acl_libext"
13910 if test "X$found_dir" != "X"; then
13911 if test -f "$dir/$libname.la"; then
13912 found_la
="$dir/$libname.la"
13917 if test "X$found_dir" != "X"; then
13922 if test "X$found_dir" != "X"; then
13923 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13924 if test "X$found_so" != "X"; then
13925 if test "$enable_rpath" = no \
13926 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
13927 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
13928 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13931 for x
in $ltrpathdirs; do
13932 if test "X$x" = "X$found_dir"; then
13937 if test -z "$haveit"; then
13938 ltrpathdirs
="$ltrpathdirs $found_dir"
13940 if test "$acl_hardcode_direct" = yes; then
13941 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13943 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
13944 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13946 for x
in $rpathdirs; do
13947 if test "X$x" = "X$found_dir"; then
13952 if test -z "$haveit"; then
13953 rpathdirs
="$rpathdirs $found_dir"
13957 for x
in $LDFLAGS $LIBICONV; do
13959 acl_save_prefix
="$prefix"
13960 prefix
="$acl_final_prefix"
13961 acl_save_exec_prefix
="$exec_prefix"
13962 exec_prefix
="$acl_final_exec_prefix"
13964 exec_prefix
="$acl_save_exec_prefix"
13965 prefix
="$acl_save_prefix"
13967 if test "X$x" = "X-L$found_dir"; then
13972 if test -z "$haveit"; then
13973 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13975 if test "$acl_hardcode_minus_L" != no
; then
13976 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13978 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13984 if test "X$found_a" != "X"; then
13985 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13987 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13990 additional_includedir
=
13991 case "$found_dir" in
13992 */$acl_libdirstem |
*/$acl_libdirstem/)
13993 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13994 if test "$name" = 'iconv'; then
13995 LIBICONV_PREFIX
="$basedir"
13997 additional_includedir
="$basedir/include"
13999 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
14000 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14001 if test "$name" = 'iconv'; then
14002 LIBICONV_PREFIX
="$basedir"
14004 additional_includedir
="$basedir/include"
14007 if test "X$additional_includedir" != "X"; then
14008 if test "X$additional_includedir" != "X/usr/include"; then
14010 if test "X$additional_includedir" = "X/usr/local/include"; then
14011 if test -n "$GCC"; then
14013 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14017 if test -z "$haveit"; then
14018 for x
in $CPPFLAGS $INCICONV; do
14020 acl_save_prefix
="$prefix"
14021 prefix
="$acl_final_prefix"
14022 acl_save_exec_prefix
="$exec_prefix"
14023 exec_prefix
="$acl_final_exec_prefix"
14025 exec_prefix
="$acl_save_exec_prefix"
14026 prefix
="$acl_save_prefix"
14028 if test "X$x" = "X-I$additional_includedir"; then
14033 if test -z "$haveit"; then
14034 if test -d "$additional_includedir"; then
14035 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14041 if test -n "$found_la"; then
14042 save_libdir
="$libdir"
14043 case "$found_la" in
14044 */* |
*\\*) .
"$found_la" ;;
14045 *) .
"./$found_la" ;;
14047 libdir
="$save_libdir"
14048 for dep
in $dependency_libs; do
14051 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14052 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14053 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14055 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14056 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14057 if test -n "$GCC"; then
14059 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14063 if test -z "$haveit"; then
14065 for x
in $LDFLAGS $LIBICONV; do
14067 acl_save_prefix
="$prefix"
14068 prefix
="$acl_final_prefix"
14069 acl_save_exec_prefix
="$exec_prefix"
14070 exec_prefix
="$acl_final_exec_prefix"
14072 exec_prefix
="$acl_save_exec_prefix"
14073 prefix
="$acl_save_prefix"
14075 if test "X$x" = "X-L$additional_libdir"; then
14080 if test -z "$haveit"; then
14081 if test -d "$additional_libdir"; then
14082 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14086 for x
in $LDFLAGS $LTLIBICONV; do
14088 acl_save_prefix
="$prefix"
14089 prefix
="$acl_final_prefix"
14090 acl_save_exec_prefix
="$exec_prefix"
14091 exec_prefix
="$acl_final_exec_prefix"
14093 exec_prefix
="$acl_save_exec_prefix"
14094 prefix
="$acl_save_prefix"
14096 if test "X$x" = "X-L$additional_libdir"; then
14101 if test -z "$haveit"; then
14102 if test -d "$additional_libdir"; then
14103 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14110 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14111 if test "$enable_rpath" != no
; then
14113 for x
in $rpathdirs; do
14114 if test "X$x" = "X$dir"; then
14119 if test -z "$haveit"; then
14120 rpathdirs
="$rpathdirs $dir"
14123 for x
in $ltrpathdirs; do
14124 if test "X$x" = "X$dir"; then
14129 if test -z "$haveit"; then
14130 ltrpathdirs
="$ltrpathdirs $dir"
14135 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14138 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14141 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14142 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14148 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14149 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14155 if test "X$rpathdirs" != "X"; then
14156 if test -n "$acl_hardcode_libdir_separator"; then
14158 for found_dir
in $rpathdirs; do
14159 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14161 acl_save_libdir
="$libdir"
14163 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
14164 libdir
="$acl_save_libdir"
14165 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14167 for found_dir
in $rpathdirs; do
14168 acl_save_libdir
="$libdir"
14169 libdir
="$found_dir"
14170 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
14171 libdir
="$acl_save_libdir"
14172 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14176 if test "X$ltrpathdirs" != "X"; then
14177 for found_dir
in $ltrpathdirs; do
14178 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14193 am_save_CPPFLAGS
="$CPPFLAGS"
14195 for element
in $INCICONV; do
14197 for x
in $CPPFLAGS; do
14199 acl_save_prefix
="$prefix"
14200 prefix
="$acl_final_prefix"
14201 acl_save_exec_prefix
="$exec_prefix"
14202 exec_prefix
="$acl_final_exec_prefix"
14204 exec_prefix
="$acl_save_exec_prefix"
14205 prefix
="$acl_save_prefix"
14207 if test "X$x" = "X$element"; then
14212 if test -z "$haveit"; then
14213 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14219 $as_echo_n "checking for iconv... " >&6; }
14220 if ${am_cv_func_iconv+:} false
; then :
14221 $as_echo_n "(cached) " >&6
14224 am_cv_func_iconv
="no, consider installing GNU libiconv"
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 #include <stdlib.h>
14235 iconv_t cd = iconv_open("","");
14236 iconv(cd,NULL,NULL,NULL,NULL);
14242 if ac_fn_c_try_link
"$LINENO"; then :
14243 am_cv_func_iconv
=yes
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14247 if test "$am_cv_func_iconv" != yes; then
14248 am_save_LIBS
="$LIBS"
14249 LIBS
="$LIBS $LIBICONV"
14250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 #include <stdlib.h>
14259 iconv_t cd = iconv_open("","");
14260 iconv(cd,NULL,NULL,NULL,NULL);
14266 if ac_fn_c_try_link
"$LINENO"; then :
14267 am_cv_lib_iconv
=yes
14268 am_cv_func_iconv
=yes
14270 rm -f core conftest.err conftest.
$ac_objext \
14271 conftest
$ac_exeext conftest.
$ac_ext
14272 LIBS
="$am_save_LIBS"
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14277 $as_echo "$am_cv_func_iconv" >&6; }
14278 if test "$am_cv_func_iconv" = yes; then
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14280 $as_echo_n "checking for working iconv... " >&6; }
14281 if ${am_cv_func_iconv_works+:} false
; then :
14282 $as_echo_n "(cached) " >&6
14285 am_save_LIBS
="$LIBS"
14286 if test $am_cv_lib_iconv = yes; then
14287 LIBS
="$LIBS $LIBICONV"
14289 if test "$cross_compiling" = yes; then :
14292 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
14293 *) am_cv_func_iconv_works
="guessing yes" ;;
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14301 #include <string.h>
14305 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14308 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14309 if (cd_utf8_to_88591 != (iconv_t)(-1))
14311 static const char input[] = "\342\202\254"; /* EURO SIGN */
14313 const char *inptr = input;
14314 size_t inbytesleft = strlen (input);
14315 char *outptr = buf;
14316 size_t outbytesleft = sizeof (buf);
14317 size_t res = iconv (cd_utf8_to_88591,
14318 (char **) &inptr, &inbytesleft,
14319 &outptr, &outbytesleft);
14322 iconv_close (cd_utf8_to_88591);
14325 /* Test against Solaris 10 bug: Failures are not distinguishable from
14326 successful returns. */
14328 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14329 if (cd_ascii_to_88591 != (iconv_t)(-1))
14331 static const char input[] = "\263";
14333 const char *inptr = input;
14334 size_t inbytesleft = strlen (input);
14335 char *outptr = buf;
14336 size_t outbytesleft = sizeof (buf);
14337 size_t res = iconv (cd_ascii_to_88591,
14338 (char **) &inptr, &inbytesleft,
14339 &outptr, &outbytesleft);
14342 iconv_close (cd_ascii_to_88591);
14345 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
14347 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
14348 if (cd_88591_to_utf8 != (iconv_t)(-1))
14350 static const char input[] = "\304";
14351 static char buf[2] = { (char)0xDE, (char)0xAD };
14352 const char *inptr = input;
14353 size_t inbytesleft = 1;
14354 char *outptr = buf;
14355 size_t outbytesleft = 1;
14356 size_t res = iconv (cd_88591_to_utf8,
14357 (char **) &inptr, &inbytesleft,
14358 &outptr, &outbytesleft);
14359 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
14361 iconv_close (cd_88591_to_utf8);
14364 #if 0 /* This bug could be worked around by the caller. */
14365 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14367 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14368 if (cd_88591_to_utf8 != (iconv_t)(-1))
14370 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14372 const char *inptr = input;
14373 size_t inbytesleft = strlen (input);
14374 char *outptr = buf;
14375 size_t outbytesleft = sizeof (buf);
14376 size_t res = iconv (cd_88591_to_utf8,
14377 (char **) &inptr, &inbytesleft,
14378 &outptr, &outbytesleft);
14381 iconv_close (cd_88591_to_utf8);
14385 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14387 if (/* Try standardized names. */
14388 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14389 /* Try IRIX, OSF/1 names. */
14390 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14391 /* Try AIX names. */
14392 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14393 /* Try HP-UX names. */
14394 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14399 if ac_fn_c_try_run
"$LINENO"; then :
14400 am_cv_func_iconv_works
=yes
14402 am_cv_func_iconv_works
=no
14404 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14405 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14408 LIBS
="$am_save_LIBS"
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14412 $as_echo "$am_cv_func_iconv_works" >&6; }
14413 case "$am_cv_func_iconv_works" in
14414 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
14415 *) am_func_iconv
=yes ;;
14418 am_func_iconv
=no am_cv_lib_iconv
=no
14420 if test "$am_func_iconv" = yes; then
14422 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14425 if test "$am_cv_lib_iconv" = yes; then
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14427 $as_echo_n "checking how to link with libiconv... " >&6; }
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14429 $as_echo "$LIBICONV" >&6; }
14431 CPPFLAGS
="$am_save_CPPFLAGS"
14438 if test "$am_cv_func_iconv" = yes; then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14440 $as_echo_n "checking for iconv declaration... " >&6; }
14441 if ${am_cv_proto_iconv+:} false
; then :
14442 $as_echo_n "(cached) " >&6
14445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 #include <stdlib.h>
14454 #if defined(__STDC__) || defined(__cplusplus)
14455 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14468 if ac_fn_c_try_compile
"$LINENO"; then :
14469 am_cv_proto_iconv_arg1
=""
14471 am_cv_proto_iconv_arg1
="const"
14473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14474 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
14477 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
14479 $am_cv_proto_iconv" >&5
14481 $am_cv_proto_iconv" >&6; }
14483 cat >>confdefs.h
<<_ACEOF
14484 #define ICONV_CONST $am_cv_proto_iconv_arg1
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14492 $as_echo_n "checking whether NLS is requested... " >&6; }
14493 # Check whether --enable-nls was given.
14494 if test "${enable_nls+set}" = set; then :
14495 enableval
=$enable_nls; USE_NLS
=$enableval
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14501 $as_echo "$USE_NLS" >&6; }
14506 GETTEXT_MACRO_VERSION
=0.18
14511 # Prepare PATH_SEPARATOR.
14512 # The user is always right.
14513 if test "${PATH_SEPARATOR+set}" != set; then
14514 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14515 # contains only /bin. Note that ksh looks also at the FPATH variable,
14516 # so we have to set that as well for the test.
14518 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
14519 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
14520 || PATH_SEPARATOR
=';'
14524 # Find out how to test for executable files. Don't use a zero-byte file,
14525 # as systems may use methods other than mode bits to determine executability.
14526 cat >conf$$.
file <<_ASEOF
14530 chmod +x conf$$.
file
14531 if test -x conf$$.
file >/dev
/null
2>&1; then
14532 ac_executable_p
="test -x"
14534 ac_executable_p
="test -f"
14538 # Extract the first word of "msgfmt", so it can be a program name with args.
14539 set dummy msgfmt
; ac_word
=$2
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14541 $as_echo_n "checking for $ac_word... " >&6; }
14542 if ${ac_cv_path_MSGFMT+:} false
; then :
14543 $as_echo_n "(cached) " >&6
14547 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
14550 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14551 for ac_dir
in $PATH; do
14553 test -z "$ac_dir" && ac_dir
=.
14554 for ac_exec_ext
in '' $ac_executable_extensions; do
14555 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14556 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14557 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
14558 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
14559 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
14566 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
14570 MSGFMT
="$ac_cv_path_MSGFMT"
14571 if test "$MSGFMT" != ":"; then
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14573 $as_echo "$MSGFMT" >&6; }
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14576 $as_echo "no" >&6; }
14579 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14580 set dummy gmsgfmt
; ac_word
=$2
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14582 $as_echo_n "checking for $ac_word... " >&6; }
14583 if ${ac_cv_path_GMSGFMT+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14588 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
14591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14592 for as_dir
in $PATH
14595 test -z "$as_dir" && as_dir
=.
14596 for ac_exec_ext
in '' $ac_executable_extensions; do
14597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14598 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
14599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14606 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
14610 GMSGFMT
=$ac_cv_path_GMSGFMT
14611 if test -n "$GMSGFMT"; then
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14613 $as_echo "$GMSGFMT" >&6; }
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14616 $as_echo "no" >&6; }
14621 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14622 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
14623 *) MSGFMT_015
=$MSGFMT ;;
14626 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14627 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
14628 *) GMSGFMT_015
=$GMSGFMT ;;
14633 # Prepare PATH_SEPARATOR.
14634 # The user is always right.
14635 if test "${PATH_SEPARATOR+set}" != set; then
14636 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14637 # contains only /bin. Note that ksh looks also at the FPATH variable,
14638 # so we have to set that as well for the test.
14640 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
14641 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
14642 || PATH_SEPARATOR
=';'
14646 # Find out how to test for executable files. Don't use a zero-byte file,
14647 # as systems may use methods other than mode bits to determine executability.
14648 cat >conf$$.
file <<_ASEOF
14652 chmod +x conf$$.
file
14653 if test -x conf$$.
file >/dev
/null
2>&1; then
14654 ac_executable_p
="test -x"
14656 ac_executable_p
="test -f"
14660 # Extract the first word of "xgettext", so it can be a program name with args.
14661 set dummy xgettext
; ac_word
=$2
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14663 $as_echo_n "checking for $ac_word... " >&6; }
14664 if ${ac_cv_path_XGETTEXT+:} false
; then :
14665 $as_echo_n "(cached) " >&6
14667 case "$XGETTEXT" in
14669 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
14672 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14673 for ac_dir
in $PATH; do
14675 test -z "$ac_dir" && ac_dir
=.
14676 for ac_exec_ext
in '' $ac_executable_extensions; do
14677 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14678 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14679 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
14680 (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
14681 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
14688 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
14692 XGETTEXT
="$ac_cv_path_XGETTEXT"
14693 if test "$XGETTEXT" != ":"; then
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14695 $as_echo "$XGETTEXT" >&6; }
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14698 $as_echo "no" >&6; }
14703 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14704 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
14705 *) XGETTEXT_015
=$XGETTEXT ;;
14710 # Prepare PATH_SEPARATOR.
14711 # The user is always right.
14712 if test "${PATH_SEPARATOR+set}" != set; then
14713 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
14714 # contains only /bin. Note that ksh looks also at the FPATH variable,
14715 # so we have to set that as well for the test.
14717 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
14718 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
14719 || PATH_SEPARATOR
=';'
14723 # Find out how to test for executable files. Don't use a zero-byte file,
14724 # as systems may use methods other than mode bits to determine executability.
14725 cat >conf$$.
file <<_ASEOF
14729 chmod +x conf$$.
file
14730 if test -x conf$$.
file >/dev
/null
2>&1; then
14731 ac_executable_p
="test -x"
14733 ac_executable_p
="test -f"
14737 # Extract the first word of "msgmerge", so it can be a program name with args.
14738 set dummy msgmerge
; ac_word
=$2
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14740 $as_echo_n "checking for $ac_word... " >&6; }
14741 if ${ac_cv_path_MSGMERGE+:} false
; then :
14742 $as_echo_n "(cached) " >&6
14744 case "$MSGMERGE" in
14746 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
14749 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14750 for ac_dir
in $PATH; do
14752 test -z "$ac_dir" && ac_dir
=.
14753 for ac_exec_ext
in '' $ac_executable_extensions; do
14754 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14755 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14756 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
14757 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
14764 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
14768 MSGMERGE
="$ac_cv_path_MSGMERGE"
14769 if test "$MSGMERGE" != ":"; then
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14771 $as_echo "$MSGMERGE" >&6; }
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14774 $as_echo "no" >&6; }
14778 test -n "$localedir" || localedir
='${datadir}/locale'
14781 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
14784 ac_config_commands
="$ac_config_commands po-directories"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14812 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14813 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
14814 $as_echo_n "(cached) " >&6
14816 gt_save_LIBS
="$LIBS"
14817 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 #include <CoreFoundation/CFPreferences.h>
14824 CFPreferencesCopyAppValue(NULL, NULL)
14829 if ac_fn_c_try_link
"$LINENO"; then :
14830 gt_cv_func_CFPreferencesCopyAppValue
=yes
14832 gt_cv_func_CFPreferencesCopyAppValue
=no
14834 rm -f core conftest.err conftest.
$ac_objext \
14835 conftest
$ac_exeext conftest.
$ac_ext
14836 LIBS
="$gt_save_LIBS"
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14839 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14840 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14842 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14846 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14847 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
14848 $as_echo_n "(cached) " >&6
14850 gt_save_LIBS
="$LIBS"
14851 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 #include <CoreFoundation/CFLocale.h>
14858 CFLocaleCopyCurrent();
14863 if ac_fn_c_try_link
"$LINENO"; then :
14864 gt_cv_func_CFLocaleCopyCurrent
=yes
14866 gt_cv_func_CFLocaleCopyCurrent
=no
14868 rm -f core conftest.err conftest.
$ac_objext \
14869 conftest
$ac_exeext conftest.
$ac_ext
14870 LIBS
="$gt_save_LIBS"
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14873 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14874 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14876 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14880 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14881 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
14893 case " $gt_needs " in
14894 *" need-formatstring-macros "*) gt_api_version
=3 ;;
14895 *" need-ngettext "*) gt_api_version
=2 ;;
14896 *) gt_api_version
=1 ;;
14898 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
14899 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
14901 if test "$USE_NLS" = "yes"; then
14902 gt_use_preinstalled_gnugettext
=no
14905 if test $gt_api_version -ge 3; then
14906 gt_revision_test_code
='
14907 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14908 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14910 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14913 gt_revision_test_code
=
14915 if test $gt_api_version -ge 2; then
14916 gt_expression_test_code
=' + * ngettext ("", "", 0)'
14918 gt_expression_test_code
=
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14922 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14923 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
14924 $as_echo_n "(cached) " >&6
14926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 #include <libintl.h>
14930 $gt_revision_test_code
14931 extern int _nl_msg_cat_cntr;
14932 extern int *_nl_domain_bindings;
14938 bindtextdomain ("", "");
14939 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14945 if ac_fn_c_try_link
"$LINENO"; then :
14946 eval "$gt_func_gnugettext_libc=yes"
14948 eval "$gt_func_gnugettext_libc=no"
14950 rm -f core conftest.err conftest.
$ac_objext \
14951 conftest
$ac_exeext conftest.
$ac_ext
14953 eval ac_res
=\$
$gt_func_gnugettext_libc
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14955 $as_echo "$ac_res" >&6; }
14957 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14963 am_save_CPPFLAGS
="$CPPFLAGS"
14965 for element
in $INCICONV; do
14967 for x
in $CPPFLAGS; do
14969 acl_save_prefix
="$prefix"
14970 prefix
="$acl_final_prefix"
14971 acl_save_exec_prefix
="$exec_prefix"
14972 exec_prefix
="$acl_final_exec_prefix"
14974 exec_prefix
="$acl_save_exec_prefix"
14975 prefix
="$acl_save_prefix"
14977 if test "X$x" = "X$element"; then
14982 if test -z "$haveit"; then
14983 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14989 $as_echo_n "checking for iconv... " >&6; }
14990 if ${am_cv_func_iconv+:} false
; then :
14991 $as_echo_n "(cached) " >&6
14994 am_cv_func_iconv
="no, consider installing GNU libiconv"
14996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14999 #include <stdlib.h>
15005 iconv_t cd = iconv_open("","");
15006 iconv(cd,NULL,NULL,NULL,NULL);
15012 if ac_fn_c_try_link
"$LINENO"; then :
15013 am_cv_func_iconv
=yes
15015 rm -f core conftest.err conftest.
$ac_objext \
15016 conftest
$ac_exeext conftest.
$ac_ext
15017 if test "$am_cv_func_iconv" != yes; then
15018 am_save_LIBS
="$LIBS"
15019 LIBS
="$LIBS $LIBICONV"
15020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15023 #include <stdlib.h>
15029 iconv_t cd = iconv_open("","");
15030 iconv(cd,NULL,NULL,NULL,NULL);
15036 if ac_fn_c_try_link
"$LINENO"; then :
15037 am_cv_lib_iconv
=yes
15038 am_cv_func_iconv
=yes
15040 rm -f core conftest.err conftest.
$ac_objext \
15041 conftest
$ac_exeext conftest.
$ac_ext
15042 LIBS
="$am_save_LIBS"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15047 $as_echo "$am_cv_func_iconv" >&6; }
15048 if test "$am_cv_func_iconv" = yes; then
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15050 $as_echo_n "checking for working iconv... " >&6; }
15051 if ${am_cv_func_iconv_works+:} false
; then :
15052 $as_echo_n "(cached) " >&6
15055 am_save_LIBS
="$LIBS"
15056 if test $am_cv_lib_iconv = yes; then
15057 LIBS
="$LIBS $LIBICONV"
15059 if test "$cross_compiling" = yes; then :
15062 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
15063 *) am_cv_func_iconv_works
="guessing yes" ;;
15067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15071 #include <string.h>
15075 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15078 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15079 if (cd_utf8_to_88591 != (iconv_t)(-1))
15081 static const char input[] = "\342\202\254"; /* EURO SIGN */
15083 const char *inptr = input;
15084 size_t inbytesleft = strlen (input);
15085 char *outptr = buf;
15086 size_t outbytesleft = sizeof (buf);
15087 size_t res = iconv (cd_utf8_to_88591,
15088 (char **) &inptr, &inbytesleft,
15089 &outptr, &outbytesleft);
15092 iconv_close (cd_utf8_to_88591);
15095 /* Test against Solaris 10 bug: Failures are not distinguishable from
15096 successful returns. */
15098 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
15099 if (cd_ascii_to_88591 != (iconv_t)(-1))
15101 static const char input[] = "\263";
15103 const char *inptr = input;
15104 size_t inbytesleft = strlen (input);
15105 char *outptr = buf;
15106 size_t outbytesleft = sizeof (buf);
15107 size_t res = iconv (cd_ascii_to_88591,
15108 (char **) &inptr, &inbytesleft,
15109 &outptr, &outbytesleft);
15112 iconv_close (cd_ascii_to_88591);
15115 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
15117 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
15118 if (cd_88591_to_utf8 != (iconv_t)(-1))
15120 static const char input[] = "\304";
15121 static char buf[2] = { (char)0xDE, (char)0xAD };
15122 const char *inptr = input;
15123 size_t inbytesleft = 1;
15124 char *outptr = buf;
15125 size_t outbytesleft = 1;
15126 size_t res = iconv (cd_88591_to_utf8,
15127 (char **) &inptr, &inbytesleft,
15128 &outptr, &outbytesleft);
15129 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
15131 iconv_close (cd_88591_to_utf8);
15134 #if 0 /* This bug could be worked around by the caller. */
15135 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15137 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15138 if (cd_88591_to_utf8 != (iconv_t)(-1))
15140 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15142 const char *inptr = input;
15143 size_t inbytesleft = strlen (input);
15144 char *outptr = buf;
15145 size_t outbytesleft = sizeof (buf);
15146 size_t res = iconv (cd_88591_to_utf8,
15147 (char **) &inptr, &inbytesleft,
15148 &outptr, &outbytesleft);
15151 iconv_close (cd_88591_to_utf8);
15155 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15157 if (/* Try standardized names. */
15158 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15159 /* Try IRIX, OSF/1 names. */
15160 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15161 /* Try AIX names. */
15162 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15163 /* Try HP-UX names. */
15164 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15169 if ac_fn_c_try_run
"$LINENO"; then :
15170 am_cv_func_iconv_works
=yes
15172 am_cv_func_iconv_works
=no
15174 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15175 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15178 LIBS
="$am_save_LIBS"
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15182 $as_echo "$am_cv_func_iconv_works" >&6; }
15183 case "$am_cv_func_iconv_works" in
15184 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
15185 *) am_func_iconv
=yes ;;
15188 am_func_iconv
=no am_cv_lib_iconv
=no
15190 if test "$am_func_iconv" = yes; then
15192 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15195 if test "$am_cv_lib_iconv" = yes; then
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15197 $as_echo_n "checking how to link with libiconv... " >&6; }
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15199 $as_echo "$LIBICONV" >&6; }
15201 CPPFLAGS
="$am_save_CPPFLAGS"
15218 acl_save_prefix
="$prefix"
15219 prefix
="$acl_final_prefix"
15220 acl_save_exec_prefix
="$exec_prefix"
15221 exec_prefix
="$acl_final_exec_prefix"
15223 eval additional_includedir
=\"$includedir\"
15224 eval additional_libdir
=\"$libdir\"
15226 exec_prefix
="$acl_save_exec_prefix"
15227 prefix
="$acl_save_prefix"
15230 # Check whether --with-libintl-prefix was given.
15231 if test "${with_libintl_prefix+set}" = set; then :
15232 withval
=$with_libintl_prefix;
15233 if test "X$withval" = "Xno"; then
15236 if test "X$withval" = "X"; then
15238 acl_save_prefix
="$prefix"
15239 prefix
="$acl_final_prefix"
15240 acl_save_exec_prefix
="$exec_prefix"
15241 exec_prefix
="$acl_final_exec_prefix"
15243 eval additional_includedir
=\"$includedir\"
15244 eval additional_libdir
=\"$libdir\"
15246 exec_prefix
="$acl_save_exec_prefix"
15247 prefix
="$acl_save_prefix"
15250 additional_includedir
="$withval/include"
15251 additional_libdir
="$withval/$acl_libdirstem"
15252 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15253 && ! test -d "$withval/$acl_libdirstem"; then
15254 additional_libdir
="$withval/$acl_libdirstem2"
15268 names_already_handled
=
15269 names_next_round
='intl '
15270 while test -n "$names_next_round"; do
15271 names_this_round
="$names_next_round"
15273 for name
in $names_this_round; do
15275 for n
in $names_already_handled; do
15276 if test "$n" = "$name"; then
15277 already_handled
=yes
15281 if test -z "$already_handled"; then
15282 names_already_handled
="$names_already_handled $name"
15283 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
15284 eval value
=\"\
$HAVE_LIB$uppername\"
15285 if test -n "$value"; then
15286 if test "$value" = yes; then
15287 eval value
=\"\
$LIB$uppername\"
15288 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
15289 eval value
=\"\
$LTLIB$uppername\"
15290 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
15299 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
15300 if test -n "$acl_shlibext"; then
15301 shrext
=".$acl_shlibext" # typically: shrext=.so
15305 if test $use_additional = yes; then
15306 dir
="$additional_libdir"
15307 if test -n "$acl_shlibext"; then
15308 if test -f "$dir/$libname$shrext"; then
15310 found_so
="$dir/$libname$shrext"
15312 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15313 ver
=`(cd "$dir" && \
15314 for f in "$libname$shrext".*; do echo "$f"; done \
15315 | sed -e "s,^$libname$shrext\\\\.,," \
15316 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15317 | sed 1q ) 2>/dev/null`
15318 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15320 found_so
="$dir/$libname$shrext.$ver"
15323 eval library_names
=\"$acl_library_names_spec\"
15324 for f
in $library_names; do
15325 if test -f "$dir/$f"; then
15334 if test "X$found_dir" = "X"; then
15335 if test -f "$dir/$libname.$acl_libext"; then
15337 found_a
="$dir/$libname.$acl_libext"
15340 if test "X$found_dir" != "X"; then
15341 if test -f "$dir/$libname.la"; then
15342 found_la
="$dir/$libname.la"
15346 if test "X$found_dir" = "X"; then
15347 for x
in $LDFLAGS $LTLIBINTL; do
15349 acl_save_prefix
="$prefix"
15350 prefix
="$acl_final_prefix"
15351 acl_save_exec_prefix
="$exec_prefix"
15352 exec_prefix
="$acl_final_exec_prefix"
15354 exec_prefix
="$acl_save_exec_prefix"
15355 prefix
="$acl_save_prefix"
15359 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15360 if test -n "$acl_shlibext"; then
15361 if test -f "$dir/$libname$shrext"; then
15363 found_so
="$dir/$libname$shrext"
15365 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15366 ver
=`(cd "$dir" && \
15367 for f in "$libname$shrext".*; do echo "$f"; done \
15368 | sed -e "s,^$libname$shrext\\\\.,," \
15369 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15370 | sed 1q ) 2>/dev/null`
15371 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15373 found_so
="$dir/$libname$shrext.$ver"
15376 eval library_names
=\"$acl_library_names_spec\"
15377 for f
in $library_names; do
15378 if test -f "$dir/$f"; then
15387 if test "X$found_dir" = "X"; then
15388 if test -f "$dir/$libname.$acl_libext"; then
15390 found_a
="$dir/$libname.$acl_libext"
15393 if test "X$found_dir" != "X"; then
15394 if test -f "$dir/$libname.la"; then
15395 found_la
="$dir/$libname.la"
15400 if test "X$found_dir" != "X"; then
15405 if test "X$found_dir" != "X"; then
15406 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15407 if test "X$found_so" != "X"; then
15408 if test "$enable_rpath" = no \
15409 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
15410 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15411 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15414 for x
in $ltrpathdirs; do
15415 if test "X$x" = "X$found_dir"; then
15420 if test -z "$haveit"; then
15421 ltrpathdirs
="$ltrpathdirs $found_dir"
15423 if test "$acl_hardcode_direct" = yes; then
15424 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15426 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
15427 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15429 for x
in $rpathdirs; do
15430 if test "X$x" = "X$found_dir"; then
15435 if test -z "$haveit"; then
15436 rpathdirs
="$rpathdirs $found_dir"
15440 for x
in $LDFLAGS $LIBINTL; do
15442 acl_save_prefix
="$prefix"
15443 prefix
="$acl_final_prefix"
15444 acl_save_exec_prefix
="$exec_prefix"
15445 exec_prefix
="$acl_final_exec_prefix"
15447 exec_prefix
="$acl_save_exec_prefix"
15448 prefix
="$acl_save_prefix"
15450 if test "X$x" = "X-L$found_dir"; then
15455 if test -z "$haveit"; then
15456 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15458 if test "$acl_hardcode_minus_L" != no
; then
15459 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15461 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15467 if test "X$found_a" != "X"; then
15468 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
15470 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15473 additional_includedir
=
15474 case "$found_dir" in
15475 */$acl_libdirstem |
*/$acl_libdirstem/)
15476 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15477 if test "$name" = 'intl'; then
15478 LIBINTL_PREFIX
="$basedir"
15480 additional_includedir
="$basedir/include"
15482 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
15483 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15484 if test "$name" = 'intl'; then
15485 LIBINTL_PREFIX
="$basedir"
15487 additional_includedir
="$basedir/include"
15490 if test "X$additional_includedir" != "X"; then
15491 if test "X$additional_includedir" != "X/usr/include"; then
15493 if test "X$additional_includedir" = "X/usr/local/include"; then
15494 if test -n "$GCC"; then
15496 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15500 if test -z "$haveit"; then
15501 for x
in $CPPFLAGS $INCINTL; do
15503 acl_save_prefix
="$prefix"
15504 prefix
="$acl_final_prefix"
15505 acl_save_exec_prefix
="$exec_prefix"
15506 exec_prefix
="$acl_final_exec_prefix"
15508 exec_prefix
="$acl_save_exec_prefix"
15509 prefix
="$acl_save_prefix"
15511 if test "X$x" = "X-I$additional_includedir"; then
15516 if test -z "$haveit"; then
15517 if test -d "$additional_includedir"; then
15518 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15524 if test -n "$found_la"; then
15525 save_libdir
="$libdir"
15526 case "$found_la" in
15527 */* |
*\\*) .
"$found_la" ;;
15528 *) .
"./$found_la" ;;
15530 libdir
="$save_libdir"
15531 for dep
in $dependency_libs; do
15534 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15535 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15536 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15538 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15539 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15540 if test -n "$GCC"; then
15542 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15546 if test -z "$haveit"; then
15548 for x
in $LDFLAGS $LIBINTL; do
15550 acl_save_prefix
="$prefix"
15551 prefix
="$acl_final_prefix"
15552 acl_save_exec_prefix
="$exec_prefix"
15553 exec_prefix
="$acl_final_exec_prefix"
15555 exec_prefix
="$acl_save_exec_prefix"
15556 prefix
="$acl_save_prefix"
15558 if test "X$x" = "X-L$additional_libdir"; then
15563 if test -z "$haveit"; then
15564 if test -d "$additional_libdir"; then
15565 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15569 for x
in $LDFLAGS $LTLIBINTL; do
15571 acl_save_prefix
="$prefix"
15572 prefix
="$acl_final_prefix"
15573 acl_save_exec_prefix
="$exec_prefix"
15574 exec_prefix
="$acl_final_exec_prefix"
15576 exec_prefix
="$acl_save_exec_prefix"
15577 prefix
="$acl_save_prefix"
15579 if test "X$x" = "X-L$additional_libdir"; then
15584 if test -z "$haveit"; then
15585 if test -d "$additional_libdir"; then
15586 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15593 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15594 if test "$enable_rpath" != no
; then
15596 for x
in $rpathdirs; do
15597 if test "X$x" = "X$dir"; then
15602 if test -z "$haveit"; then
15603 rpathdirs
="$rpathdirs $dir"
15606 for x
in $ltrpathdirs; do
15607 if test "X$x" = "X$dir"; then
15612 if test -z "$haveit"; then
15613 ltrpathdirs
="$ltrpathdirs $dir"
15618 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15621 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15624 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
15625 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15631 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15632 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15638 if test "X$rpathdirs" != "X"; then
15639 if test -n "$acl_hardcode_libdir_separator"; then
15641 for found_dir
in $rpathdirs; do
15642 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15644 acl_save_libdir
="$libdir"
15646 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15647 libdir
="$acl_save_libdir"
15648 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15650 for found_dir
in $rpathdirs; do
15651 acl_save_libdir
="$libdir"
15652 libdir
="$found_dir"
15653 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15654 libdir
="$acl_save_libdir"
15655 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15659 if test "X$ltrpathdirs" != "X"; then
15660 for found_dir
in $ltrpathdirs; do
15661 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15671 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15672 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
15673 $as_echo_n "(cached) " >&6
15675 gt_save_CPPFLAGS
="$CPPFLAGS"
15676 CPPFLAGS
="$CPPFLAGS $INCINTL"
15677 gt_save_LIBS
="$LIBS"
15678 LIBS
="$LIBS $LIBINTL"
15679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15682 #include <libintl.h>
15683 $gt_revision_test_code
15684 extern int _nl_msg_cat_cntr;
15689 const char *_nl_expand_alias (const char *);
15695 bindtextdomain ("", "");
15696 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15702 if ac_fn_c_try_link
"$LINENO"; then :
15703 eval "$gt_func_gnugettext_libintl=yes"
15705 eval "$gt_func_gnugettext_libintl=no"
15707 rm -f core conftest.err conftest.
$ac_objext \
15708 conftest
$ac_exeext conftest.
$ac_ext
15709 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15710 LIBS
="$LIBS $LIBICONV"
15711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15712 /* end confdefs.h. */
15714 #include <libintl.h>
15715 $gt_revision_test_code
15716 extern int _nl_msg_cat_cntr;
15721 const char *_nl_expand_alias (const char *);
15727 bindtextdomain ("", "");
15728 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15734 if ac_fn_c_try_link
"$LINENO"; then :
15735 LIBINTL
="$LIBINTL $LIBICONV"
15736 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
15737 eval "$gt_func_gnugettext_libintl=yes"
15740 rm -f core conftest.err conftest.
$ac_objext \
15741 conftest
$ac_exeext conftest.
$ac_ext
15743 CPPFLAGS
="$gt_save_CPPFLAGS"
15744 LIBS
="$gt_save_LIBS"
15746 eval ac_res
=\$
$gt_func_gnugettext_libintl
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15748 $as_echo "$ac_res" >&6; }
15751 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15752 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15753 && test "$PACKAGE" != gettext-runtime \
15754 && test "$PACKAGE" != gettext-tools
; }; then
15755 gt_use_preinstalled_gnugettext
=yes
15764 if test -n "$INTL_MACOSX_LIBS"; then
15765 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15766 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15767 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
15768 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
15772 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15773 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15775 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15783 $as_echo_n "checking whether to use NLS... " >&6; }
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15785 $as_echo "$USE_NLS" >&6; }
15786 if test "$USE_NLS" = "yes"; then
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15788 $as_echo_n "checking where the gettext function comes from... " >&6; }
15789 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15790 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15791 gt_source
="external libintl"
15796 gt_source
="included intl directory"
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15799 $as_echo "$gt_source" >&6; }
15802 if test "$USE_NLS" = "yes"; then
15804 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15805 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15807 $as_echo_n "checking how to link with libintl... " >&6; }
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15809 $as_echo "$LIBINTL" >&6; }
15811 for element
in $INCINTL; do
15813 for x
in $CPPFLAGS; do
15815 acl_save_prefix
="$prefix"
15816 prefix
="$acl_final_prefix"
15817 acl_save_exec_prefix
="$exec_prefix"
15818 exec_prefix
="$acl_final_exec_prefix"
15820 exec_prefix
="$acl_save_exec_prefix"
15821 prefix
="$acl_save_prefix"
15823 if test "X$x" = "X$element"; then
15828 if test -z "$haveit"; then
15829 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15836 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15839 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15848 INTLLIBS
="$LIBINTL"
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
15860 $as_echo_n "checking for mbstate_t... " >&6; }
15861 if ${ac_cv_type_mbstate_t+:} false
; then :
15862 $as_echo_n "(cached) " >&6
15864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15866 $ac_includes_default
15867 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
15869 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
15870 included before <wchar.h>. */
15871 #include <stddef.h>
15878 mbstate_t x; return sizeof x;
15883 if ac_fn_c_try_compile
"$LINENO"; then :
15884 ac_cv_type_mbstate_t
=yes
15886 ac_cv_type_mbstate_t
=no
15888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
15891 $as_echo "$ac_cv_type_mbstate_t" >&6; }
15892 if test $ac_cv_type_mbstate_t = yes; then
15894 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
15898 $as_echo "#define mbstate_t int" >>confdefs.h
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
15904 $as_echo_n "checking for wchar_t... " >&6; }
15905 if ${gt_cv_c_wchar_t+:} false
; then :
15906 $as_echo_n "(cached) " >&6
15908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #include <stddef.h>
15911 wchar_t foo = (wchar_t)'\0';
15920 if ac_fn_c_try_compile
"$LINENO"; then :
15921 gt_cv_c_wchar_t
=yes
15925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
15928 $as_echo "$gt_cv_c_wchar_t" >&6; }
15929 if test $gt_cv_c_wchar_t = yes; then
15931 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
15937 if test "$am_cv_func_iconv" = yes -a -n "$am_cv_proto_iconv_arg1"; then
15938 ICONV_CONST
="const"
15944 if test $gt_cv_c_wchar_t = yes; then
15951 for ac_func
in getc_unlocked mbrtowc wcrtomb mbsinit setlocale
15953 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15954 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15955 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15956 cat >>confdefs.h
<<_ACEOF
15957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15964 if test $ac_cv_func_wcrtomb = yes ||
test $ac_cv_func_mbrtowc = yes; then
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> is standalone" >&5
15972 $as_echo_n "checking whether <wchar.h> is standalone... " >&6; }
15973 if ${gl_cv_header_wchar_h_standalone+:} false
; then :
15974 $as_echo_n "(cached) " >&6
15976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15977 /* end confdefs.h. */
15988 if ac_fn_c_try_compile
"$LINENO"; then :
15989 gl_cv_header_wchar_h_standalone
=yes
15991 gl_cv_header_wchar_h_standalone
=no
15993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_standalone" >&5
15996 $as_echo "$gl_cv_header_wchar_h_standalone" >&6; }
15997 if test $gl_cv_header_wchar_h_standalone = yes; then
16004 for ac_func
in memmove
16006 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
16007 if test "x$ac_cv_func_memmove" = xyes
; then :
16008 cat >>confdefs.h
<<_ACEOF
16009 #define HAVE_MEMMOVE 1
16013 SRCLIBOBJS
="$SRCLIBOBJS $ac_func.$ac_objext"
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
16020 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
16021 if ${am_cv_langinfo_codeset+:} false
; then :
16022 $as_echo_n "(cached) " >&6
16024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16025 /* end confdefs.h. */
16026 #include <langinfo.h>
16030 char* cs = nl_langinfo(CODESET); return !cs;
16035 if ac_fn_c_try_link
"$LINENO"; then :
16036 am_cv_langinfo_codeset
=yes
16038 am_cv_langinfo_codeset
=no
16040 rm -f core conftest.err conftest.
$ac_objext \
16041 conftest
$ac_exeext conftest.
$ac_ext
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
16045 $as_echo "$am_cv_langinfo_codeset" >&6; }
16046 if test $am_cv_langinfo_codeset = yes; then
16048 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
16055 $as_echo_n "checking for working fcntl.h... " >&6; }
16056 if ${gl_cv_header_working_fcntl_h+:} false
; then :
16057 $as_echo_n "(cached) " >&6
16059 if test "$cross_compiling" = yes; then :
16060 gl_cv_header_working_fcntl_h
=cross-compiling
16062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16064 #include <sys/types.h>
16065 #include <sys/stat.h>
16066 #include <unistd.h>
16069 #define O_NOATIME 0
16072 #define O_NOFOLLOW 0
16074 static int const constants[] =
16076 O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
16077 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
16084 int status = !constants;
16086 static char const sym[] = "conftest.sym";
16087 if (symlink (".", sym) != 0
16088 || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0)
16093 static char const file[] = "confdefs.h";
16094 int fd = open (file, O_RDONLY | O_NOATIME);
16096 struct stat st0, st1;
16098 || fstat (fd, &st0) != 0
16100 || read (fd, &c, 1) != 1
16102 || stat (file, &st1) != 0
16103 || st0.st_atime != st1.st_atime)
16111 if ac_fn_c_try_run
"$LINENO"; then :
16112 gl_cv_header_working_fcntl_h
=yes
16115 32) gl_cv_header_working_fcntl_h
='no (bad O_NOFOLLOW)';; #(
16116 64) gl_cv_header_working_fcntl_h
='no (bad O_NOATIME)';; #(
16117 96) gl_cv_header_working_fcntl_h
='no (bad O_NOATIME, O_NOFOLLOW)';; #(
16118 *) gl_cv_header_working_fcntl_h
='no';;
16121 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16122 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
16127 $as_echo "$gl_cv_header_working_fcntl_h" >&6; }
16129 case $gl_cv_header_working_fcntl_h in #(
16130 *O_NOATIME
* | no | cross-compiling
) ac_val
=0;; #(
16134 cat >>confdefs.h
<<_ACEOF
16135 #define HAVE_WORKING_O_NOATIME $ac_val
16139 case $gl_cv_header_working_fcntl_h in #(
16140 *O_NOFOLLOW
* | no | cross-compiling
) ac_val
=0;; #(
16144 cat >>confdefs.h
<<_ACEOF
16145 #define HAVE_WORKING_O_NOFOLLOW $ac_val
16152 for ac_header
in wchar.h
16154 ac_fn_c_check_header_mongrel
"$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16155 if test "x$ac_cv_header_wchar_h" = xyes
; then :
16156 cat >>confdefs.h
<<_ACEOF
16157 #define HAVE_WCHAR_H 1
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EILSEQ" >&5
16166 $as_echo_n "checking for EILSEQ... " >&6; }
16167 if ${ac_cv_decl_EILSEQ+:} false
; then :
16168 $as_echo_n "(cached) " >&6
16171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16172 /* end confdefs.h. */
16180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16181 $EGREP "yes" >/dev
/null
2>&1; then :
16186 if test -n "$have_eilseq"; then
16187 ac_cv_decl_EILSEQ
=yes
16189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16202 $EGREP "yes" >/dev
/null
2>&1; then :
16207 if test -n "$have_eilseq"; then
16208 if ac_fn_c_compute_int
"$LINENO" "EILSEQ" "ac_cv_decl_EILSEQ" "
16213 /* The following two lines are a workaround against an autoconf-2.52 bug. */
16215 #include <stdlib.h>
16222 ac_cv_decl_EILSEQ
=ENOENT
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_EILSEQ" >&5
16228 $as_echo "$ac_cv_decl_EILSEQ" >&6; }
16229 if test "$ac_cv_decl_EILSEQ" != yes; then
16231 cat >>confdefs.h
<<_ACEOF
16232 #define EILSEQ $ac_cv_decl_EILSEQ
16235 EILSEQ
="$ac_cv_decl_EILSEQ"
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking byte ordering" >&5
16241 $as_echo_n "checking byte ordering... " >&6; }
16242 if ${cl_cv_sys_endian+:} false
; then :
16243 $as_echo_n "(cached) " >&6
16246 if test "$cross_compiling" = yes; then :
16247 : # must guess the endianness
16250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16253 /* Are we little or big endian? From Harbison&Steele. */
16257 char c[sizeof (long)];
16260 exit (u.c[0] == 1);
16263 if ac_fn_c_try_run
"$LINENO"; then :
16264 cl_cv_sys_endian
="big endian"
16266 cl_cv_sys_endian
="little endian"
16268 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16269 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16272 if test -z "$cl_cv_sys_endian"; then
16273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16274 /* end confdefs.h. */
16275 #if defined(m68k) || defined(__m68k__) || defined(mc68000) || defined(mc68020) || defined(__mc68020__) || defined(sparc) || defined(__sparc__) || defined(MIPSEB) || defined(__MIPSEB__) || defined(hppa) || defined(__hppa) || defined(m88000) || defined(__m88k__)
16280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16281 $EGREP "yes" >/dev
/null
2>&1; then :
16282 cl_cv_sys_endian
="big endian"
16287 if test -z "$cl_cv_sys_endian"; then
16288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 #if defined(i386) || defined(__i386) || defined(__i386__) || defined(_I386) || defined(MIPSEL) || defined(__MIPSEL__) || defined(__alpha)
16295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16296 $EGREP "yes" >/dev
/null
2>&1; then :
16297 cl_cv_sys_endian
="little endian"
16302 if test -z "$cl_cv_sys_endian"; then
16303 cl_cv_sys_endian
="guessing little endian"
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_sys_endian" >&5
16308 $as_echo "$cl_cv_sys_endian" >&6; }
16309 case "$cl_cv_sys_endian" in
16312 $as_echo "#define WORDS_LITTLEENDIAN 1" >>confdefs.h
16323 LIBC_FATAL_STDERR_
=1
16324 export LIBC_FATAL_STDERR_
16326 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16327 if test "x$ac_cv_type_size_t" = xyes
; then :
16331 cat >>confdefs.h
<<_ACEOF
16332 #define size_t unsigned int
16337 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16338 # for constant arguments. Useless!
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16340 $as_echo_n "checking for working alloca.h... " >&6; }
16341 if ${ac_cv_working_alloca_h+:} false
; then :
16342 $as_echo_n "(cached) " >&6
16344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16346 #include <alloca.h>
16350 char *p = (char *) alloca (2 * sizeof (int));
16356 if ac_fn_c_try_link
"$LINENO"; then :
16357 ac_cv_working_alloca_h
=yes
16359 ac_cv_working_alloca_h
=no
16361 rm -f core conftest.err conftest.
$ac_objext \
16362 conftest
$ac_exeext conftest.
$ac_ext
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16365 $as_echo "$ac_cv_working_alloca_h" >&6; }
16366 if test $ac_cv_working_alloca_h = yes; then
16368 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16373 $as_echo_n "checking for alloca... " >&6; }
16374 if ${ac_cv_func_alloca_works+:} false
; then :
16375 $as_echo_n "(cached) " >&6
16377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 # define alloca __builtin_alloca
16383 # include <malloc.h>
16384 # define alloca _alloca
16386 # ifdef HAVE_ALLOCA_H
16387 # include <alloca.h>
16392 # ifndef alloca /* predefined by HP cc +Olibcalls */
16393 void *alloca (size_t);
16403 char *p = (char *) alloca (1);
16409 if ac_fn_c_try_link
"$LINENO"; then :
16410 ac_cv_func_alloca_works
=yes
16412 ac_cv_func_alloca_works
=no
16414 rm -f core conftest.err conftest.
$ac_objext \
16415 conftest
$ac_exeext conftest.
$ac_ext
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16418 $as_echo "$ac_cv_func_alloca_works" >&6; }
16420 if test $ac_cv_func_alloca_works = yes; then
16422 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
16425 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16426 # that cause trouble. Some versions do not even contain alloca or
16427 # contain a buggy version. If you still want to use their alloca,
16428 # use ar to extract alloca.o from them instead of compiling alloca.c.
16434 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
16436 $as_echo "#define C_ALLOCA 1" >>confdefs.h
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16440 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16441 if ${ac_cv_os_cray+:} false
; then :
16442 $as_echo_n "(cached) " >&6
16444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16445 /* end confdefs.h. */
16446 #if defined CRAY && ! defined CRAY2
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "webecray" >/dev
/null
2>&1; then :
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16463 $as_echo "$ac_cv_os_cray" >&6; }
16464 if test $ac_cv_os_cray = yes; then
16465 for ac_func
in _getb67 GETB67 getb67
; do
16466 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16467 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16468 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16470 cat >>confdefs.h
<<_ACEOF
16471 #define CRAY_STACKSEG_END $ac_func
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16481 $as_echo_n "checking stack direction for C alloca... " >&6; }
16482 if ${ac_cv_c_stack_direction+:} false
; then :
16483 $as_echo_n "(cached) " >&6
16485 if test "$cross_compiling" = yes; then :
16486 ac_cv_c_stack_direction
=0
16488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16490 $ac_includes_default
16492 find_stack_direction ()
16494 static char *addr = 0;
16499 return find_stack_direction ();
16502 return (&dummy > addr) ? 1 : -1;
16508 return find_stack_direction () < 0;
16511 if ac_fn_c_try_run
"$LINENO"; then :
16512 ac_cv_c_stack_direction
=1
16514 ac_cv_c_stack_direction
=-1
16516 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16517 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16522 $as_echo "$ac_cv_c_stack_direction" >&6; }
16523 cat >>confdefs.h
<<_ACEOF
16524 #define STACK_DIRECTION $ac_cv_c_stack_direction
16533 for ac_header
in $ac_header_list
16535 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16536 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16538 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16539 cat >>confdefs.h
<<_ACEOF
16540 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16554 GNULIB_CALLOC_POSIX
=0;
16555 GNULIB_CANONICALIZE_FILE_NAME
=0;
16556 GNULIB_GETLOADAVG
=0;
16557 GNULIB_GETSUBOPT
=0;
16559 GNULIB_MALLOC_POSIX
=0;
16563 GNULIB_MKOSTEMPS
=0;
16569 GNULIB_REALLOC_POSIX
=0;
16576 GNULIB_SYSTEM_POSIX
=0;
16582 HAVE_CANONICALIZE_FILE_NAME
=1;
16583 HAVE_DECL_GETLOADAVG
=1;
16597 HAVE_DECL_SETENV
=1;
16601 HAVE_STRUCT_RANDOM_DATA
=1;
16602 HAVE_SYS_LOADAVG_H
=0;
16604 HAVE_DECL_UNSETENV
=1;
16606 REPLACE_CANONICALIZE_FILE_NAME
=0;
16612 REPLACE_REALPATH
=0;
16615 REPLACE_UNSETENV
=0;
16621 for ac_func
in $ac_func_list
16623 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16624 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16625 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16626 cat >>confdefs.h
<<_ACEOF
16627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
16642 $as_echo_n "checking whether // is distinct from /... " >&6; }
16643 if ${gl_cv_double_slash_root+:} false
; then :
16644 $as_echo_n "(cached) " >&6
16646 if test x
"$cross_compiling" = xyes
; then
16647 # When cross-compiling, there is no way to tell whether // is special
16648 # short of a list of hosts. However, the only known hosts to date
16649 # that have a distinct // are Apollo DomainOS (too old to port to),
16650 # Cygwin, and z/OS. If anyone knows of another system for which // has
16651 # special semantics and is distinct from /, please report it to
16652 # <bug-gnulib@gnu.org>.
16654 *-cygwin | i370-ibm-openedition
)
16655 gl_cv_double_slash_root
=yes ;;
16657 # Be optimistic and assume that / and // are the same when we
16659 gl_cv_double_slash_root
='unknown, assuming no' ;;
16662 set x
`ls -di / // 2>/dev/null`
16663 if test "$2" = "$4" && wc //dev
/null
>/dev
/null
2>&1; then
16664 gl_cv_double_slash_root
=no
16666 gl_cv_double_slash_root
=yes
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
16671 $as_echo "$gl_cv_double_slash_root" >&6; }
16672 if test "$gl_cv_double_slash_root" = yes; then
16674 $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
16683 $as_echo_n "checking whether realpath works... " >&6; }
16684 if ${gl_cv_func_realpath_works+:} false
; then :
16685 $as_echo_n "(cached) " >&6
16690 if test "$cross_compiling" = yes; then :
16691 gl_cv_func_realpath_works
="guessing no"
16693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16698 #include <stdlib.h>
16699 #if defined __MACH__ && defined __APPLE__
16700 /* Avoid a crash on MacOS X. */
16701 #include <mach/mach.h>
16702 #include <mach/mach_error.h>
16703 #include <mach/thread_status.h>
16704 #include <mach/exception.h>
16705 #include <mach/task.h>
16706 #include <pthread.h>
16707 /* The exception port on which our thread listens. */
16708 static mach_port_t our_exception_port;
16709 /* The main function of the thread listening for exceptions of type
16712 mach_exception_thread (void *arg)
16714 /* Buffer for a message to be received. */
16716 mach_msg_header_t head;
16717 mach_msg_body_t msgh_body;
16720 mach_msg_return_t retval;
16721 /* Wait for a message on the exception port. */
16722 retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
16723 our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
16724 if (retval != MACH_MSG_SUCCESS)
16729 nocrash_init (void)
16731 mach_port_t self = mach_task_self ();
16732 /* Allocate a port on which the thread shall listen for exceptions. */
16733 if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
16735 /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
16736 if (mach_port_insert_right (self, our_exception_port, our_exception_port,
16737 MACH_MSG_TYPE_MAKE_SEND)
16739 /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
16741 exception_mask_t mask = EXC_MASK_BAD_ACCESS;
16742 /* Create the thread listening on the exception port. */
16743 pthread_attr_t attr;
16745 if (pthread_attr_init (&attr) == 0
16746 && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
16747 && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
16748 pthread_attr_destroy (&attr);
16749 /* Replace the exception port info for these exceptions with our own.
16750 Note that we replace the exception port for the entire task, not only
16751 for a particular thread. This has the effect that when our exception
16752 port gets the message, the thread specific exception port has already
16753 been asked, and we don't need to bother about it.
16754 See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
16755 task_set_exception_ports (self, mask, our_exception_port,
16756 EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
16762 /* Avoid a crash on POSIX systems. */
16763 #include <signal.h>
16764 /* A POSIX signal handler. */
16766 exception_handler (int sig)
16771 nocrash_init (void)
16774 signal (SIGSEGV, exception_handler);
16777 signal (SIGBUS, exception_handler);
16782 #include <stdlib.h>
16783 #include <string.h>
16791 char *name = realpath ("conftest.a", NULL);
16792 if (!(name && *name == '/'))
16796 char *name = realpath ("conftest.b/../conftest.a", NULL);
16801 char *name = realpath ("conftest.a/", NULL);
16806 char *name1 = realpath (".", NULL);
16807 char *name2 = realpath ("conftest.d//./..", NULL);
16808 if (strcmp (name1, name2) != 0)
16818 if ac_fn_c_try_run
"$LINENO"; then :
16819 gl_cv_func_realpath_works
=yes
16821 gl_cv_func_realpath_works
=no
16823 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16824 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16827 rm -rf conftest.a conftest.d
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
16831 $as_echo "$gl_cv_func_realpath_works" >&6; }
16832 if test "$gl_cv_func_realpath_works" = yes; then
16834 $as_echo "#define FUNC_REALPATH_WORKS 1" >>confdefs.h
16855 GNULIB_EUIDACCESS
=0;
16856 GNULIB_FACCESSAT
=0;
16860 GNULIB_FTRUNCATE
=0;
16862 GNULIB_GETDOMAINNAME
=0;
16863 GNULIB_GETDTABLESIZE
=0;
16864 GNULIB_GETGROUPS
=0;
16865 GNULIB_GETHOSTNAME
=0;
16867 GNULIB_GETLOGIN_R
=0;
16868 GNULIB_GETPAGESIZE
=0;
16869 GNULIB_GETUSERSHELL
=0;
16870 GNULIB_GROUP_MEMBER
=0;
16881 GNULIB_READLINKAT
=0;
16885 GNULIB_SYMLINKAT
=0;
16886 GNULIB_TTYNAME_R
=0;
16887 GNULIB_UNISTD_H_GETOPT
=0;
16888 GNULIB_UNISTD_H_NONBLOCKING
=0;
16889 GNULIB_UNISTD_H_SIGPIPE
=0;
16903 HAVE_GETDTABLESIZE
=1;
16905 HAVE_GETHOSTNAME
=1;
16907 HAVE_GETPAGESIZE
=1;
16908 HAVE_GROUP_MEMBER
=1;
16923 HAVE_DECL_ENVIRON
=1;
16924 HAVE_DECL_FCHDIR
=1;
16925 HAVE_DECL_GETDOMAINNAME
=1;
16926 HAVE_DECL_GETLOGIN_R
=1;
16927 HAVE_DECL_GETPAGESIZE
=1;
16928 HAVE_DECL_GETUSERSHELL
=1;
16929 HAVE_DECL_TTYNAME_R
=1;
16931 HAVE_SYS_PARAM_H
=0;
16936 REPLACE_FCHOWNAT
=0;
16938 REPLACE_GETDOMAINNAME
=0;
16939 REPLACE_GETLOGIN_R
=0;
16940 REPLACE_GETGROUPS
=0;
16941 REPLACE_GETPAGESIZE
=0;
16949 REPLACE_READLINK
=0;
16953 REPLACE_TTYNAME_R
=0;
16955 REPLACE_UNLINKAT
=0;
16958 UNISTD_H_HAVE_WINSOCK2_H
=0;
16959 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
=0;
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
16968 $as_echo_n "checking if environ is properly declared... " >&6; }
16969 if ${gt_cv_var_environ_declaration+:} false
; then :
16970 $as_echo_n "(cached) " >&6
16973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <unistd.h>
16976 extern struct { int foo; } environ;
16985 if ac_fn_c_try_compile
"$LINENO"; then :
16986 gt_cv_var_environ_declaration
=no
16988 gt_cv_var_environ_declaration
=yes
16990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
16994 $as_echo "$gt_cv_var_environ_declaration" >&6; }
16995 if test $gt_cv_var_environ_declaration = yes; then
16997 $as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h
17002 if test $gt_cv_var_environ_declaration != yes; then
17003 HAVE_DECL_ENVIRON
=0
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
17009 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
17010 if ${gl_cv_have_include_next+:} false
; then :
17011 $as_echo_n "(cached) " >&6
17013 rm -rf conftestd1a conftestd1b conftestd2
17014 mkdir conftestd1a conftestd1b conftestd2
17015 cat <<EOF > conftestd1a/conftest.h
17016 #define DEFINED_IN_CONFTESTD1
17017 #include_next <conftest.h>
17018 #ifdef DEFINED_IN_CONFTESTD2
17021 #error "include_next doesn't work"
17024 cat <<EOF > conftestd1b/conftest.h
17025 #define DEFINED_IN_CONFTESTD1
17027 #include_next <conftest.h>
17028 #ifdef DEFINED_IN_CONFTESTD2
17031 #error "include_next doesn't work"
17034 cat <<EOF > conftestd2/conftest.h
17035 #ifndef DEFINED_IN_CONFTESTD1
17036 #error "include_next test doesn't work"
17038 #define DEFINED_IN_CONFTESTD2
17040 gl_save_CPPFLAGS
="$CPPFLAGS"
17041 CPPFLAGS
="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
17042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17044 #include <conftest.h>
17046 if ac_fn_c_try_compile
"$LINENO"; then :
17047 gl_cv_have_include_next
=yes
17049 CPPFLAGS
="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
17050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #include <conftest.h>
17054 if ac_fn_c_try_compile
"$LINENO"; then :
17055 gl_cv_have_include_next
=buggy
17057 gl_cv_have_include_next
=no
17059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17063 CPPFLAGS
="$gl_save_CPPFLAGS"
17064 rm -rf conftestd1a conftestd1b conftestd2
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
17068 $as_echo "$gl_cv_have_include_next" >&6; }
17069 PRAGMA_SYSTEM_HEADER
=
17070 if test $gl_cv_have_include_next = yes; then
17071 INCLUDE_NEXT
=include_next
17072 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include_next
17073 if test -n "$GCC"; then
17074 PRAGMA_SYSTEM_HEADER
='#pragma GCC system_header'
17077 if test $gl_cv_have_include_next = buggy
; then
17078 INCLUDE_NEXT
=include
17079 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include_next
17081 INCLUDE_NEXT
=include
17082 INCLUDE_NEXT_AS_FIRST_DIRECTIVE
=include
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
17089 $as_echo_n "checking whether system header files limit the line length... " >&6; }
17090 if ${gl_cv_pragma_columns+:} false
; then :
17091 $as_echo_n "(cached) " >&6
17093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17102 $EGREP "choke me" >/dev
/null
2>&1; then :
17103 gl_cv_pragma_columns
=yes
17105 gl_cv_pragma_columns
=no
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
17112 $as_echo "$gl_cv_pragma_columns" >&6; }
17113 if test $gl_cv_pragma_columns = yes; then
17114 PRAGMA_COLUMNS
="#pragma COLUMNS 10000"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
17123 $as_echo_n "checking for complete errno.h... " >&6; }
17124 if ${gl_cv_header_errno_h_complete+:} false
; then :
17125 $as_echo_n "(cached) " >&6
17128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17132 #if !defined ENOMSG
17138 #if !defined ENOLINK
17141 #if !defined EPROTO
17144 #if !defined EMULTIHOP
17147 #if !defined EBADMSG
17150 #if !defined EOVERFLOW
17153 #if !defined ENOTSUP
17156 #if !defined ENETRESET
17159 #if !defined ECONNABORTED
17162 #if !defined ESTALE
17165 #if !defined EDQUOT
17168 #if !defined ECANCELED
17173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17174 $EGREP "booboo" >/dev
/null
2>&1; then :
17175 gl_cv_header_errno_h_complete
=no
17177 gl_cv_header_errno_h_complete
=yes
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
17184 $as_echo "$gl_cv_header_errno_h_complete" >&6; }
17185 if test $gl_cv_header_errno_h_complete = yes; then
17196 if test $gl_cv_have_include_next = yes; then
17197 gl_cv_next_errno_h
='<'errno.h
'>'
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
17200 $as_echo_n "checking absolute name of <errno.h>... " >&6; }
17201 if ${gl_cv_next_errno_h+:} false
; then :
17202 $as_echo_n "(cached) " >&6
17205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17211 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
17212 *) gl_absname_cpp
="$ac_cpp" ;;
17214 gl_cv_next_errno_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
17215 sed -n '\#/errno.h#{
17216 s#.*"\(.*/errno.h\)".*#\1#
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
17225 $as_echo "$gl_cv_next_errno_h" >&6; }
17227 NEXT_ERRNO_H
=$gl_cv_next_errno_h
17229 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
17230 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
17231 gl_next_as_first_directive
='<'errno.h
'>'
17233 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
17234 gl_next_as_first_directive
=$gl_cv_next_errno_h
17236 NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
=$gl_next_as_first_directive
17244 if test -n "$ERRNO_H"; then
17245 GL_GENERATE_ERRNO_H_TRUE
=
17246 GL_GENERATE_ERRNO_H_FALSE
='#'
17248 GL_GENERATE_ERRNO_H_TRUE
='#'
17249 GL_GENERATE_ERRNO_H_FALSE
=
17253 if test -n "$ERRNO_H"; then
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
17255 $as_echo_n "checking for EMULTIHOP value... " >&6; }
17256 if ${gl_cv_header_errno_h_EMULTIHOP+:} false
; then :
17257 $as_echo_n "(cached) " >&6
17260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17270 $EGREP "yes" >/dev
/null
2>&1; then :
17271 gl_cv_header_errno_h_EMULTIHOP
=yes
17273 gl_cv_header_errno_h_EMULTIHOP
=no
17277 if test $gl_cv_header_errno_h_EMULTIHOP = no
; then
17278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17281 #define _XOPEN_SOURCE_EXTENDED 1
17288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17289 $EGREP "yes" >/dev
/null
2>&1; then :
17290 gl_cv_header_errno_h_EMULTIHOP
=hidden
17294 if test $gl_cv_header_errno_h_EMULTIHOP = hidden
; then
17295 if ac_fn_c_compute_int
"$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" "
17296 #define _XOPEN_SOURCE_EXTENDED 1
17298 /* The following two lines are a workaround against an autoconf-2.52 bug. */
17300 #include <stdlib.h>
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
17310 $as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
17311 case $gl_cv_header_errno_h_EMULTIHOP in
17313 EMULTIHOP_HIDDEN
=0; EMULTIHOP_VALUE
=
17316 EMULTIHOP_HIDDEN
=1; EMULTIHOP_VALUE
="$gl_cv_header_errno_h_EMULTIHOP"
17324 if test -n "$ERRNO_H"; then
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
17326 $as_echo_n "checking for ENOLINK value... " >&6; }
17327 if ${gl_cv_header_errno_h_ENOLINK+:} false
; then :
17328 $as_echo_n "(cached) " >&6
17331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17341 $EGREP "yes" >/dev
/null
2>&1; then :
17342 gl_cv_header_errno_h_ENOLINK
=yes
17344 gl_cv_header_errno_h_ENOLINK
=no
17348 if test $gl_cv_header_errno_h_ENOLINK = no
; then
17349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17352 #define _XOPEN_SOURCE_EXTENDED 1
17359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17360 $EGREP "yes" >/dev
/null
2>&1; then :
17361 gl_cv_header_errno_h_ENOLINK
=hidden
17365 if test $gl_cv_header_errno_h_ENOLINK = hidden
; then
17366 if ac_fn_c_compute_int
"$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" "
17367 #define _XOPEN_SOURCE_EXTENDED 1
17369 /* The following two lines are a workaround against an autoconf-2.52 bug. */
17371 #include <stdlib.h>
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
17381 $as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
17382 case $gl_cv_header_errno_h_ENOLINK in
17384 ENOLINK_HIDDEN
=0; ENOLINK_VALUE
=
17387 ENOLINK_HIDDEN
=1; ENOLINK_VALUE
="$gl_cv_header_errno_h_ENOLINK"
17395 if test -n "$ERRNO_H"; then
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
17397 $as_echo_n "checking for EOVERFLOW value... " >&6; }
17398 if ${gl_cv_header_errno_h_EOVERFLOW+:} false
; then :
17399 $as_echo_n "(cached) " >&6
17402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17412 $EGREP "yes" >/dev
/null
2>&1; then :
17413 gl_cv_header_errno_h_EOVERFLOW
=yes
17415 gl_cv_header_errno_h_EOVERFLOW
=no
17419 if test $gl_cv_header_errno_h_EOVERFLOW = no
; then
17420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17421 /* end confdefs.h. */
17423 #define _XOPEN_SOURCE_EXTENDED 1
17430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17431 $EGREP "yes" >/dev
/null
2>&1; then :
17432 gl_cv_header_errno_h_EOVERFLOW
=hidden
17436 if test $gl_cv_header_errno_h_EOVERFLOW = hidden
; then
17437 if ac_fn_c_compute_int
"$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" "
17438 #define _XOPEN_SOURCE_EXTENDED 1
17440 /* The following two lines are a workaround against an autoconf-2.52 bug. */
17442 #include <stdlib.h>
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
17452 $as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
17453 case $gl_cv_header_errno_h_EOVERFLOW in
17455 EOVERFLOW_HIDDEN
=0; EOVERFLOW_VALUE
=
17458 EOVERFLOW_HIDDEN
=1; EOVERFLOW_VALUE
="$gl_cv_header_errno_h_EOVERFLOW"
17466 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
17467 if test "x$ac_cv_have_decl_strerror_r" = xyes
; then :
17473 cat >>confdefs.h
<<_ACEOF
17474 #define HAVE_DECL_STRERROR_R $ac_have_decl
17477 for ac_func
in strerror_r
17479 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
17480 if test "x$ac_cv_func_strerror_r" = xyes
; then :
17481 cat >>confdefs.h
<<_ACEOF
17482 #define HAVE_STRERROR_R 1
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
17489 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
17490 if ${ac_cv_func_strerror_r_char_p+:} false
; then :
17491 $as_echo_n "(cached) " >&6
17494 ac_cv_func_strerror_r_char_p
=no
17495 if test $ac_cv_have_decl_strerror_r = yes; then
17496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 $ac_includes_default
17504 char x = *strerror_r (0, buf, sizeof buf);
17505 char *p = strerror_r (0, buf, sizeof buf);
17512 if ac_fn_c_try_compile
"$LINENO"; then :
17513 ac_cv_func_strerror_r_char_p
=yes
17515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17517 # strerror_r is not declared. Choose between
17518 # systems that have relatively inaccessible declarations for the
17519 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
17520 # former has a strerror_r that returns char*, while the latter
17521 # has a strerror_r that returns `int'.
17522 # This test should segfault on the DEC system.
17523 if test "$cross_compiling" = yes; then :
17526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 $ac_includes_default
17529 extern char *strerror_r ();
17534 char x = *strerror_r (0, buf, sizeof buf);
17535 return ! isalpha (x);
17540 if ac_fn_c_try_run
"$LINENO"; then :
17541 ac_cv_func_strerror_r_char_p
=yes
17543 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17544 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
17551 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
17552 if test $ac_cv_func_strerror_r_char_p = yes; then
17554 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17559 $as_echo_n "checking for inline... " >&6; }
17560 if ${ac_cv_c_inline+:} false
; then :
17561 $as_echo_n "(cached) " >&6
17564 for ac_kw
in inline __inline__ __inline
; do
17565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #ifndef __cplusplus
17569 static $ac_kw foo_t static_foo () {return 0; }
17570 $ac_kw foo_t foo () {return 0; }
17574 if ac_fn_c_try_compile
"$LINENO"; then :
17575 ac_cv_c_inline
=$ac_kw
17577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17578 test "$ac_cv_c_inline" != no
&& break
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17583 $as_echo "$ac_cv_c_inline" >&6; }
17585 case $ac_cv_c_inline in
17588 case $ac_cv_c_inline in
17590 *) ac_val
=$ac_cv_c_inline;;
17592 cat >>confdefs.h
<<_ACEOF
17593 #ifndef __cplusplus
17594 #define inline $ac_val
17601 XGETTEXT_EXTRA_OPTIONS
=
17605 GNULIB_NONBLOCKING
=0;
17626 GNULIB_UTIMENSAT
=0;
17640 REPLACE_FUTIMENS
=0;
17646 REPLACE_UTIMENSAT
=0;
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
17652 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
17653 if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
17654 $as_echo_n "(cached) " >&6
17656 rm -f conftest.sym conftest.
file
17657 echo >conftest.
file
17658 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
17659 if test "$cross_compiling" = yes; then :
17660 # When cross-compiling, be pessimistic so we will end up using the
17661 # replacement version of lstat that checks for trailing slashes and
17662 # calls lstat a second time when necessary.
17663 gl_cv_func_lstat_dereferences_slashed_symlink
=no
17666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 $ac_includes_default
17673 /* Linux will dereference the symlink and fail, as required by
17674 POSIX. That is better in the sense that it means we will not
17675 have to compile and use the lstat wrapper. */
17676 return lstat ("conftest.sym/", &sbuf) == 0;
17682 if ac_fn_c_try_run
"$LINENO"; then :
17683 gl_cv_func_lstat_dereferences_slashed_symlink
=yes
17685 gl_cv_func_lstat_dereferences_slashed_symlink
=no
17687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17692 # If the 'ln -s' command failed, then we probably don't even
17693 # have an lstat function.
17694 gl_cv_func_lstat_dereferences_slashed_symlink
=no
17696 rm -f conftest.sym conftest.
file
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5
17700 $as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; }
17701 test $gl_cv_func_lstat_dereferences_slashed_symlink = yes &&
17703 cat >>confdefs.h
<<_ACEOF
17704 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
17709 for ac_header
in stdlib.h
17711 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
17712 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
17713 cat >>confdefs.h
<<_ACEOF
17714 #define HAVE_STDLIB_H 1
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
17722 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
17723 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
17724 $as_echo_n "(cached) " >&6
17726 if test "$cross_compiling" = yes; then :
17727 ac_cv_func_malloc_0_nonnull
=no
17729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
17732 # include <stdlib.h>
17740 return ! malloc (0);
17745 if ac_fn_c_try_run
"$LINENO"; then :
17746 ac_cv_func_malloc_0_nonnull
=yes
17748 ac_cv_func_malloc_0_nonnull
=no
17750 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17751 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
17756 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
17757 if test $ac_cv_func_malloc_0_nonnull = yes; then :
17758 gl_cv_func_malloc_0_nonnull
=1
17760 gl_cv_func_malloc_0_nonnull
=0
17764 cat >>confdefs.h
<<_ACEOF
17765 #define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
17771 $as_echo_n "checking for unsigned long long int... " >&6; }
17772 if ${ac_cv_type_unsigned_long_long_int+:} false
; then :
17773 $as_echo_n "(cached) " >&6
17775 ac_cv_type_unsigned_long_long_int
=yes
17776 if test "x${ac_cv_prog_cc_c99-no}" = xno
; then
17777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17780 /* For now, do not test the preprocessor; as of 2007 there are too many
17781 implementations with broken preprocessors. Perhaps this can
17782 be revisited in 2012. In the meantime, code should not expect
17783 #if to work with literals wider than 32 bits. */
17784 /* Test literals. */
17785 long long int ll = 9223372036854775807ll;
17786 long long int nll = -9223372036854775807LL;
17787 unsigned long long int ull = 18446744073709551615ULL;
17788 /* Test constant expressions. */
17789 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
17791 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
17797 /* Test availability of runtime routines for shift and division. */
17798 long long int llmax = 9223372036854775807ll;
17799 unsigned long long int ullmax = 18446744073709551615ull;
17800 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
17801 | (llmax / ll) | (llmax % ll)
17802 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
17803 | (ullmax / ull) | (ullmax % ull));
17809 if ac_fn_c_try_link
"$LINENO"; then :
17812 ac_cv_type_unsigned_long_long_int
=no
17814 rm -f core conftest.err conftest.
$ac_objext \
17815 conftest
$ac_exeext conftest.
$ac_ext
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
17819 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
17820 if test $ac_cv_type_unsigned_long_long_int = yes; then
17822 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
17829 $as_echo_n "checking for long long int... " >&6; }
17830 if ${ac_cv_type_long_long_int+:} false
; then :
17831 $as_echo_n "(cached) " >&6
17833 ac_cv_type_long_long_int
=yes
17834 if test "x${ac_cv_prog_cc_c99-no}" = xno
; then
17835 ac_cv_type_long_long_int
=$ac_cv_type_unsigned_long_long_int
17836 if test $ac_cv_type_long_long_int = yes; then
17837 if test "$cross_compiling" = yes; then :
17840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17841 /* end confdefs.h. */
17842 #include <limits.h>
17845 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
17846 # define LLONG_MAX (HALF - 1 + HALF)
17851 long long int n = 1;
17855 long long int m = n << i;
17858 if (LLONG_MAX / 2 < m)
17866 if ac_fn_c_try_run
"$LINENO"; then :
17869 ac_cv_type_long_long_int
=no
17871 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17872 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
17879 $as_echo "$ac_cv_type_long_long_int" >&6; }
17880 if test $ac_cv_type_long_long_int = yes; then
17882 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
17887 gl_cv_c_multiarch
=no
17888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17890 #ifndef __APPLE_CC__
17891 not a universal capable compiler
17896 if ac_fn_c_try_compile
"$LINENO"; then :
17900 for word
in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
17901 if test -n "$prev"; then
17903 i?
86 | x86_64 | ppc | ppc64
)
17904 if test -z "$arch" ||
test "$arch" = "$word"; then
17907 gl_cv_c_multiarch
=yes
17913 if test "x$word" = "x-arch"; then
17920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17921 if test $gl_cv_c_multiarch = yes; then
17922 APPLE_UNIVERSAL_BUILD
=1
17924 APPLE_UNIVERSAL_BUILD
=0
17928 ac_fn_c_check_decl
"$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
17929 if test "x$ac_cv_have_decl_setenv" = xyes
; then :
17935 cat >>confdefs.h
<<_ACEOF
17936 #define HAVE_DECL_SETENV $ac_have_decl
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
17945 $as_echo_n "checking for ssize_t... " >&6; }
17946 if ${gt_cv_ssize_t+:} false
; then :
17947 $as_echo_n "(cached) " >&6
17949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17950 /* end confdefs.h. */
17951 #include <sys/types.h>
17955 int x = sizeof (ssize_t *) + sizeof (ssize_t);
17961 if ac_fn_c_try_compile
"$LINENO"; then :
17966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
17969 $as_echo "$gt_cv_ssize_t" >&6; }
17970 if test $gt_cv_ssize_t = no
; then
17972 $as_echo "#define ssize_t int" >>confdefs.h
17977 GNULIB_PTHREAD_SIGMASK
=0;
17978 GNULIB_SIGNAL_H_SIGPIPE
=0;
17979 GNULIB_SIGPROCMASK
=0;
17980 GNULIB_SIGACTION
=0;
17981 HAVE_POSIX_SIGNALBLOCKING
=1;
17982 HAVE_PTHREAD_SIGMASK
=1;
17986 HAVE_STRUCT_SIGACTION_SA_SIGACTION
=1;
17988 HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
=1;
17990 HAVE_SIGHANDLER_T
=1;
17991 REPLACE_PTHREAD_SIGMASK
=0;
17994 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "
17995 #include <signal.h>
17996 /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
17997 #include <sys/types.h>
18000 if test "x$ac_cv_type_sigset_t" = xyes
; then :
18002 cat >>confdefs.h
<<_ACEOF
18003 #define HAVE_SIGSET_T 1
18006 gl_cv_type_sigset_t
=yes
18008 gl_cv_type_sigset_t
=no
18011 if test $gl_cv_type_sigset_t != yes; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
18016 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
18017 if ${ac_cv_type_uid_t+:} false
; then :
18018 $as_echo_n "(cached) " >&6
18020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #include <sys/types.h>
18025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18026 $EGREP "uid_t" >/dev
/null
2>&1; then :
18027 ac_cv_type_uid_t
=yes
18029 ac_cv_type_uid_t
=no
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
18035 $as_echo "$ac_cv_type_uid_t" >&6; }
18036 if test $ac_cv_type_uid_t = no
; then
18038 $as_echo "#define uid_t int" >>confdefs.h
18041 $as_echo "#define gid_t int" >>confdefs.h
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGPIPE" >&5
18048 $as_echo_n "checking for SIGPIPE... " >&6; }
18049 if ${gl_cv_header_signal_h_SIGPIPE+:} false
; then :
18050 $as_echo_n "(cached) " >&6
18053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18056 #include <signal.h>
18057 #if !defined SIGPIPE
18062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18063 $EGREP "booboo" >/dev
/null
2>&1; then :
18064 gl_cv_header_signal_h_SIGPIPE
=no
18066 gl_cv_header_signal_h_SIGPIPE
=yes
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_signal_h_SIGPIPE" >&5
18073 $as_echo "$gl_cv_header_signal_h_SIGPIPE" >&6; }
18083 GNULIB_FPRINTF_POSIX
=0;
18100 GNULIB_OBSTACK_PRINTF
=0;
18101 GNULIB_OBSTACK_PRINTF_POSIX
=0;
18105 GNULIB_PRINTF_POSIX
=0;
18114 GNULIB_SPRINTF_POSIX
=0;
18115 GNULIB_STDIO_H_NONBLOCKING
=0;
18116 GNULIB_STDIO_H_SIGPIPE
=0;
18118 GNULIB_VASPRINTF
=0;
18123 GNULIB_VFPRINTF_POSIX
=0;
18125 GNULIB_VPRINTF_POSIX
=0;
18126 GNULIB_VSNPRINTF
=0;
18127 GNULIB_VSPRINTF_POSIX
=0;
18128 HAVE_DECL_FPURGE
=1;
18129 HAVE_DECL_FSEEKO
=1;
18130 HAVE_DECL_FTELLO
=1;
18131 HAVE_DECL_GETDELIM
=1;
18132 HAVE_DECL_GETLINE
=1;
18133 HAVE_DECL_OBSTACK_PRINTF
=1;
18134 HAVE_DECL_SNPRINTF
=1;
18135 HAVE_DECL_VSNPRINTF
=1;
18153 REPLACE_GETDELIM
=0;
18155 REPLACE_OBSTACK_PRINTF
=0;
18161 REPLACE_RENAMEAT
=0;
18162 REPLACE_SNPRINTF
=0;
18164 REPLACE_STDIO_READ_FUNCS
=0;
18165 REPLACE_STDIO_WRITE_FUNCS
=0;
18167 REPLACE_VASPRINTF
=0;
18168 REPLACE_VDPRINTF
=0;
18169 REPLACE_VFPRINTF
=0;
18171 REPLACE_VSNPRINTF
=0;
18172 REPLACE_VSPRINTF
=0;
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5
18176 $as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; }
18177 if ${gl_cv_prog_as_underscore+:} false
; then :
18178 $as_echo_n "(cached) " >&6
18180 cat > conftest.c
<<EOF
18182 extern "C" int foo (void);
18184 int foo(void) { return 0; }
18186 # Look for the assembly language name in the .s file.
18187 { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -S conftest.c'
18188 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
18189 (eval $ac_try) 2>&5
18191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18192 test $ac_status = 0; }; } >/dev
/null
2>&1
18193 if grep _foo conftest.s
>/dev
/null
; then
18194 gl_cv_prog_as_underscore
=yes
18196 gl_cv_prog_as_underscore
=no
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_as_underscore" >&5
18202 $as_echo "$gl_cv_prog_as_underscore" >&6; }
18203 if test $gl_cv_prog_as_underscore = yes; then
18204 USER_LABEL_PREFIX
=_
18209 cat >>confdefs.h
<<_ACEOF
18210 #define USER_LABEL_PREFIX $USER_LABEL_PREFIX
18213 ASM_SYMBOL_PREFIX
='"'${USER_LABEL_PREFIX}'"'
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18217 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18218 if ${ac_cv_header_stdbool_h+:} false
; then :
18219 $as_echo_n "(cached) " >&6
18221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18224 #include <stdbool.h>
18226 "error: bool is not defined"
18229 "error: false is not defined"
18232 "error: false is not 0"
18235 "error: true is not defined"
18238 "error: true is not 1"
18240 #ifndef __bool_true_false_are_defined
18241 "error: __bool_true_false_are_defined is not defined"
18244 struct s { _Bool s: 1; _Bool t; } s;
18246 char a[true == 1 ? 1 : -1];
18247 char b[false == 0 ? 1 : -1];
18248 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18249 char d[(bool) 0.5 == true ? 1 : -1];
18250 /* See body of main program for 'e'. */
18251 char f[(_Bool) 0.0 == false ? 1 : -1];
18253 char h[sizeof (_Bool)];
18254 char i[sizeof s.t];
18255 enum { j = false, k = true, l = false * true, m = true * 256 };
18256 /* The following fails for
18257 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18259 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18260 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18261 /* Catch a bug in an HP-UX C compiler. See
18262 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18263 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18275 /* Refer to every declared value, to avoid compiler optimizations. */
18276 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18277 + !m + !n + !o + !p + !q + !pq);
18283 if ac_fn_c_try_compile
"$LINENO"; then :
18284 ac_cv_header_stdbool_h
=yes
18286 ac_cv_header_stdbool_h
=no
18288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
18291 $as_echo "$ac_cv_header_stdbool_h" >&6; }
18292 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
18293 if test "x$ac_cv_type__Bool" = xyes
; then :
18295 cat >>confdefs.h
<<_ACEOF
18296 #define HAVE__BOOL 1
18314 if test $ac_cv_type_long_long_int = yes; then
18315 HAVE_LONG_LONG_INT
=1
18317 HAVE_LONG_LONG_INT
=0
18321 if test $ac_cv_type_unsigned_long_long_int = yes; then
18322 HAVE_UNSIGNED_LONG_LONG_INT
=1
18324 HAVE_UNSIGNED_LONG_LONG_INT
=0
18329 if test $ac_cv_header_wchar_h = yes; then
18336 if test $ac_cv_header_inttypes_h = yes; then
18343 if test $ac_cv_header_sys_types_h = yes; then
18359 if test $gl_cv_have_include_next = yes; then
18360 gl_cv_next_stdint_h
='<'stdint.h
'>'
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
18363 $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
18364 if ${gl_cv_next_stdint_h+:} false
; then :
18365 $as_echo_n "(cached) " >&6
18368 if test $ac_cv_header_stdint_h = yes; then
18371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18373 #include <stdint.h>
18377 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
18378 *) gl_absname_cpp
="$ac_cpp" ;;
18380 gl_cv_next_stdint_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
18381 sed -n '\#/stdint.h#{
18382 s#.*"\(.*/stdint.h\)".*#\1#
18388 gl_cv_next_stdint_h
='<'stdint.h
'>'
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
18394 $as_echo "$gl_cv_next_stdint_h" >&6; }
18396 NEXT_STDINT_H
=$gl_cv_next_stdint_h
18398 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
18399 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
18400 gl_next_as_first_directive
='<'stdint.h
'>'
18402 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
18403 gl_next_as_first_directive
=$gl_cv_next_stdint_h
18405 NEXT_AS_FIRST_DIRECTIVE_STDINT_H
=$gl_next_as_first_directive
18410 if test $ac_cv_header_stdint_h = yes; then
18417 if test $ac_cv_header_stdint_h = yes; then
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
18419 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
18420 if ${gl_cv_header_working_stdint_h+:} false
; then :
18421 $as_echo_n "(cached) " >&6
18423 gl_cv_header_working_stdint_h
=no
18424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18428 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
18429 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
18430 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
18431 #include <stdint.h>
18432 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
18433 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
18434 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
18438 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18439 included before <wchar.h>. */
18440 #include <stddef.h>
18441 #include <signal.h>
18443 # include <stdio.h>
18445 # include <wchar.h>
18450 int8_t a1 = INT8_MAX;
18451 int8_t a1min = INT8_MIN;
18454 int16_t a2 = INT16_MAX;
18455 int16_t a2min = INT16_MIN;
18458 int32_t a3 = INT32_MAX;
18459 int32_t a3min = INT32_MIN;
18462 int64_t a4 = INT64_MAX;
18463 int64_t a4min = INT64_MIN;
18466 uint8_t b1 = UINT8_MAX;
18468 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
18471 uint16_t b2 = UINT16_MAX;
18474 uint32_t b3 = UINT32_MAX;
18477 uint64_t b4 = UINT64_MAX;
18479 int_least8_t c1 = INT8_C (0x7f);
18480 int_least8_t c1max = INT_LEAST8_MAX;
18481 int_least8_t c1min = INT_LEAST8_MIN;
18482 int_least16_t c2 = INT16_C (0x7fff);
18483 int_least16_t c2max = INT_LEAST16_MAX;
18484 int_least16_t c2min = INT_LEAST16_MIN;
18485 int_least32_t c3 = INT32_C (0x7fffffff);
18486 int_least32_t c3max = INT_LEAST32_MAX;
18487 int_least32_t c3min = INT_LEAST32_MIN;
18488 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
18489 int_least64_t c4max = INT_LEAST64_MAX;
18490 int_least64_t c4min = INT_LEAST64_MIN;
18491 uint_least8_t d1 = UINT8_C (0xff);
18492 uint_least8_t d1max = UINT_LEAST8_MAX;
18493 uint_least16_t d2 = UINT16_C (0xffff);
18494 uint_least16_t d2max = UINT_LEAST16_MAX;
18495 uint_least32_t d3 = UINT32_C (0xffffffff);
18496 uint_least32_t d3max = UINT_LEAST32_MAX;
18497 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
18498 uint_least64_t d4max = UINT_LEAST64_MAX;
18499 int_fast8_t e1 = INT_FAST8_MAX;
18500 int_fast8_t e1min = INT_FAST8_MIN;
18501 int_fast16_t e2 = INT_FAST16_MAX;
18502 int_fast16_t e2min = INT_FAST16_MIN;
18503 int_fast32_t e3 = INT_FAST32_MAX;
18504 int_fast32_t e3min = INT_FAST32_MIN;
18505 int_fast64_t e4 = INT_FAST64_MAX;
18506 int_fast64_t e4min = INT_FAST64_MIN;
18507 uint_fast8_t f1 = UINT_FAST8_MAX;
18508 uint_fast16_t f2 = UINT_FAST16_MAX;
18509 uint_fast32_t f3 = UINT_FAST32_MAX;
18510 uint_fast64_t f4 = UINT_FAST64_MAX;
18512 intptr_t g = INTPTR_MAX;
18513 intptr_t gmin = INTPTR_MIN;
18516 uintptr_t h = UINTPTR_MAX;
18518 intmax_t i = INTMAX_MAX;
18519 uintmax_t j = UINTMAX_MAX;
18521 #include <limits.h> /* for CHAR_BIT */
18522 #define TYPE_MINIMUM(t) \
18523 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
18524 #define TYPE_MAXIMUM(t) \
18525 ((t) ((t) 0 < (t) -1 \
18527 : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
18530 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
18531 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
18533 /* Detect bug in FreeBSD 6.0 / ia64. */
18534 int check_SIG_ATOMIC:
18535 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
18536 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
18538 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
18540 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
18541 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
18543 /* Detect bug in mingw. */
18545 WINT_MIN == TYPE_MINIMUM (wint_t)
18546 && WINT_MAX == TYPE_MAXIMUM (wint_t)
18549 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
18551 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
18552 int check_UINT16_C:
18553 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
18555 /* Detect bugs in OpenBSD 3.9 stdint.h. */
18557 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
18560 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
18563 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
18566 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
18568 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
18569 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
18570 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
18571 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
18572 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
18573 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
18574 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
18575 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
18576 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
18577 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
18578 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
18589 if ac_fn_c_try_compile
"$LINENO"; then :
18590 if test "$cross_compiling" = yes; then :
18591 gl_cv_header_working_stdint_h
=yes
18594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h. */
18598 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
18599 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
18600 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
18601 #include <stdint.h>
18604 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18605 included before <wchar.h>. */
18606 #include <stddef.h>
18607 #include <signal.h>
18609 # include <stdio.h>
18611 # include <wchar.h>
18616 #include <string.h>
18617 #define MVAL(macro) MVAL1(macro)
18618 #define MVAL1(expression) #expression
18619 static const char *macro_values[] =
18653 for (mv = macro_values; *mv != NULL; mv++)
18655 const char *value = *mv;
18656 /* Test whether it looks like a cast expression. */
18657 if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
18658 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
18659 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
18660 || strncmp (value, "((int)"/*)*/, 6) == 0
18661 || strncmp (value, "((signed short)"/*)*/, 15) == 0
18662 || strncmp (value, "((signed char)"/*)*/, 14) == 0)
18663 return mv - macro_values + 1;
18671 if ac_fn_c_try_run
"$LINENO"; then :
18672 gl_cv_header_working_stdint_h
=yes
18674 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18675 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
18684 $as_echo "$gl_cv_header_working_stdint_h" >&6; }
18686 if test "$gl_cv_header_working_stdint_h" = yes; then
18689 for ac_header
in sys
/inttypes.h sys
/bitypes.h
18691 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18692 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18693 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18694 cat >>confdefs.h
<<_ACEOF
18695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18702 if test $ac_cv_header_sys_inttypes_h = yes; then
18703 HAVE_SYS_INTTYPES_H
=1
18705 HAVE_SYS_INTTYPES_H
=0
18708 if test $ac_cv_header_sys_bitypes_h = yes; then
18709 HAVE_SYS_BITYPES_H
=1
18711 HAVE_SYS_BITYPES_H
=0
18717 if test $APPLE_UNIVERSAL_BUILD = 0; then
18720 for gltype
in ptrdiff_t size_t
; do
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
18722 $as_echo_n "checking for bit size of $gltype... " >&6; }
18723 if eval \
${gl_cv_bitsizeof_${gltype}+:} false
; then :
18724 $as_echo_n "(cached) " >&6
18726 if ac_fn_c_compute_int
"$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
18727 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18728 included before <wchar.h>. */
18729 #include <stddef.h>
18730 #include <signal.h>
18732 # include <stdio.h>
18734 # include <wchar.h>
18737 #include <limits.h>"; then :
18743 eval gl_cv_bitsizeof_
${gltype}=\
$result
18746 eval ac_res
=\
$gl_cv_bitsizeof_${gltype}
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18748 $as_echo "$ac_res" >&6; }
18749 eval result
=\
$gl_cv_bitsizeof_${gltype}
18750 if test $result = unknown
; then
18753 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
18754 cat >>confdefs.h
<<_ACEOF
18755 #define BITSIZEOF_${GLTYPE} $result
18758 eval BITSIZEOF_
${GLTYPE}=\
$result
18765 for gltype
in sig_atomic_t wchar_t wint_t
; do
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
18767 $as_echo_n "checking for bit size of $gltype... " >&6; }
18768 if eval \
${gl_cv_bitsizeof_${gltype}+:} false
; then :
18769 $as_echo_n "(cached) " >&6
18771 if ac_fn_c_compute_int
"$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
18772 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18773 included before <wchar.h>. */
18774 #include <stddef.h>
18775 #include <signal.h>
18777 # include <stdio.h>
18779 # include <wchar.h>
18782 #include <limits.h>"; then :
18788 eval gl_cv_bitsizeof_
${gltype}=\
$result
18791 eval ac_res
=\
$gl_cv_bitsizeof_${gltype}
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18793 $as_echo "$ac_res" >&6; }
18794 eval result
=\
$gl_cv_bitsizeof_${gltype}
18795 if test $result = unknown
; then
18798 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
18799 cat >>confdefs.h
<<_ACEOF
18800 #define BITSIZEOF_${GLTYPE} $result
18803 eval BITSIZEOF_
${GLTYPE}=\
$result
18809 for gltype
in sig_atomic_t wchar_t wint_t
; do
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
18811 $as_echo_n "checking whether $gltype is signed... " >&6; }
18812 if eval \
${gl_cv_type_${gltype}_signed+:} false
; then :
18813 $as_echo_n "(cached) " >&6
18815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18818 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18819 included before <wchar.h>. */
18820 #include <stddef.h>
18821 #include <signal.h>
18823 # include <stdio.h>
18825 # include <wchar.h>
18828 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
18837 if ac_fn_c_try_compile
"$LINENO"; then :
18842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18843 eval gl_cv_type_
${gltype}_signed
=\
$result
18846 eval ac_res
=\
$gl_cv_type_${gltype}_signed
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18848 $as_echo "$ac_res" >&6; }
18849 eval result
=\
$gl_cv_type_${gltype}_signed
18850 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
18851 if test "$result" = yes; then
18852 cat >>confdefs.h
<<_ACEOF
18853 #define HAVE_SIGNED_${GLTYPE} 1
18856 eval HAVE_SIGNED_
${GLTYPE}=1
18858 eval HAVE_SIGNED_
${GLTYPE}=0
18863 gl_cv_type_ptrdiff_t_signed
=yes
18864 gl_cv_type_size_t_signed
=no
18865 if test $APPLE_UNIVERSAL_BUILD = 0; then
18868 for gltype
in ptrdiff_t size_t
; do
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
18870 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
18871 if eval \
${gl_cv_type_${gltype}_suffix+:} false
; then :
18872 $as_echo_n "(cached) " >&6
18874 eval gl_cv_type_
${gltype}_suffix
=no
18875 eval result
=\
$gl_cv_type_${gltype}_signed
18876 if test "$result" = yes; then
18881 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
18883 '') gltype1
='int';;
18884 l
) gltype1
='long int';;
18885 ll
) gltype1
='long long int';;
18886 i64
) gltype1
='__int64';;
18887 u
) gltype1
='unsigned int';;
18888 ul
) gltype1
='unsigned long int';;
18889 ull
) gltype1
='unsigned long long int';;
18890 ui64
)gltype1
='unsigned __int64';;
18892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18895 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18896 included before <wchar.h>. */
18897 #include <stddef.h>
18898 #include <signal.h>
18900 # include <stdio.h>
18902 # include <wchar.h>
18905 extern $gltype foo;
18906 extern $gltype1 foo;
18915 if ac_fn_c_try_compile
"$LINENO"; then :
18916 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
18918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18919 eval result
=\
$gl_cv_type_${gltype}_suffix
18920 test "$result" != no
&& break
18923 eval ac_res
=\
$gl_cv_type_${gltype}_suffix
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18925 $as_echo "$ac_res" >&6; }
18926 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
18927 eval result
=\
$gl_cv_type_${gltype}_suffix
18928 test "$result" = no
&& result
=
18929 eval ${GLTYPE}_SUFFIX
=\
$result
18930 cat >>confdefs.h
<<_ACEOF
18931 #define ${GLTYPE}_SUFFIX $result
18940 for gltype
in sig_atomic_t wchar_t wint_t
; do
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
18942 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
18943 if eval \
${gl_cv_type_${gltype}_suffix+:} false
; then :
18944 $as_echo_n "(cached) " >&6
18946 eval gl_cv_type_
${gltype}_suffix
=no
18947 eval result
=\
$gl_cv_type_${gltype}_signed
18948 if test "$result" = yes; then
18953 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
18955 '') gltype1
='int';;
18956 l
) gltype1
='long int';;
18957 ll
) gltype1
='long long int';;
18958 i64
) gltype1
='__int64';;
18959 u
) gltype1
='unsigned int';;
18960 ul
) gltype1
='unsigned long int';;
18961 ull
) gltype1
='unsigned long long int';;
18962 ui64
)gltype1
='unsigned __int64';;
18964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18965 /* end confdefs.h. */
18967 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
18968 included before <wchar.h>. */
18969 #include <stddef.h>
18970 #include <signal.h>
18972 # include <stdio.h>
18974 # include <wchar.h>
18977 extern $gltype foo;
18978 extern $gltype1 foo;
18987 if ac_fn_c_try_compile
"$LINENO"; then :
18988 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
18990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18991 eval result
=\
$gl_cv_type_${gltype}_suffix
18992 test "$result" != no
&& break
18995 eval ac_res
=\
$gl_cv_type_${gltype}_suffix
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18997 $as_echo "$ac_res" >&6; }
18998 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
18999 eval result
=\
$gl_cv_type_${gltype}_suffix
19000 test "$result" = no
&& result
=
19001 eval ${GLTYPE}_SUFFIX
=\
$result
19002 cat >>confdefs.h
<<_ACEOF
19003 #define ${GLTYPE}_SUFFIX $result
19013 if test -n "$STDINT_H"; then
19014 GL_GENERATE_STDINT_H_TRUE
=
19015 GL_GENERATE_STDINT_H_FALSE
='#'
19017 GL_GENERATE_STDINT_H_TRUE
='#'
19018 GL_GENERATE_STDINT_H_FALSE
=
19029 GNULIB_RAWMEMCHR
=0;
19032 GNULIB_STRCHRNUL
=0;
19040 GNULIB_STRCASESTR
=0;
19047 GNULIB_MBSCASECMP
=0;
19048 GNULIB_MBSNCASECMP
=0;
19049 GNULIB_MBSPCASECMP
=0;
19050 GNULIB_MBSCASESTR
=0;
19057 GNULIB_STRERROR_R
=0;
19058 GNULIB_STRSIGNAL
=0;
19059 GNULIB_STRVERSCMP
=0;
19064 HAVE_DECL_MEMMEM
=1;
19066 HAVE_DECL_MEMRCHR
=1;
19071 HAVE_DECL_STRDUP
=1;
19072 HAVE_DECL_STRNDUP
=1;
19073 HAVE_DECL_STRNLEN
=1;
19077 HAVE_DECL_STRTOK_R
=1;
19078 HAVE_DECL_STRERROR_R
=1;
19079 HAVE_DECL_STRSIGNAL
=1;
19086 REPLACE_STRCASESTR
=0;
19087 REPLACE_STRCHRNUL
=0;
19088 REPLACE_STRERROR
=0;
19089 REPLACE_STRERROR_R
=0;
19093 REPLACE_STRSIGNAL
=0;
19094 REPLACE_STRTOK_R
=0;
19095 UNDEFINE_STRTOK_R
=0;
19098 REPLACE_STRERROR_0
=0
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5
19100 $as_echo_n "checking whether strerror(0) succeeds... " >&6; }
19101 if ${gl_cv_func_strerror_0_works+:} false
; then :
19102 $as_echo_n "(cached) " >&6
19104 if test "$cross_compiling" = yes; then :
19105 gl_cv_func_strerror_0_works
="guessing no"
19107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19109 #include <string.h>
19118 str = strerror (0);
19119 if (!*str) result |= 1;
19120 if (errno) result |= 2;
19121 if (strstr (str, "nknown") || strstr (str, "ndefined"))
19128 if ac_fn_c_try_run
"$LINENO"; then :
19129 gl_cv_func_strerror_0_works
=yes
19131 gl_cv_func_strerror_0_works
=no
19133 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19134 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5
19140 $as_echo "$gl_cv_func_strerror_0_works" >&6; }
19141 if test "$gl_cv_func_strerror_0_works" != yes; then
19142 REPLACE_STRERROR_0
=1
19144 $as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
19151 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
19152 if ${ac_cv_c_restrict+:} false
; then :
19153 $as_echo_n "(cached) " >&6
19155 ac_cv_c_restrict
=no
19156 # The order here caters to the fact that C++ does not require restrict.
19157 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
19158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 typedef int * int_ptr;
19161 int foo (int_ptr $ac_kw ip) {
19168 int * $ac_kw t = s;
19175 if ac_fn_c_try_compile
"$LINENO"; then :
19176 ac_cv_c_restrict
=$ac_kw
19178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19179 test "$ac_cv_c_restrict" != no
&& break
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
19184 $as_echo "$ac_cv_c_restrict" >&6; }
19186 case $ac_cv_c_restrict in
19188 no
) $as_echo "#define restrict /**/" >>confdefs.h
19190 *) cat >>confdefs.h
<<_ACEOF
19191 #define restrict $ac_cv_c_restrict
19207 if test $gl_cv_have_include_next = yes; then
19208 gl_cv_next_string_h
='<'string.h
'>'
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
19211 $as_echo_n "checking absolute name of <string.h>... " >&6; }
19212 if ${gl_cv_next_string_h+:} false
; then :
19213 $as_echo_n "(cached) " >&6
19216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19217 /* end confdefs.h. */
19218 #include <string.h>
19222 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
19223 *) gl_absname_cpp
="$ac_cpp" ;;
19225 gl_cv_next_string_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19226 sed -n '\#/string.h#{
19227 s#.*"\(.*/string.h\)".*#\1#
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
19236 $as_echo "$gl_cv_next_string_h" >&6; }
19238 NEXT_STRING_H
=$gl_cv_next_string_h
19240 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
19241 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
19242 gl_next_as_first_directive
='<'string.h
'>'
19244 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
19245 gl_next_as_first_directive
=$gl_cv_next_string_h
19247 NEXT_AS_FIRST_DIRECTIVE_STRING_H
=$gl_next_as_first_directive
19254 for gl_func
in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp
; do
19255 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
19257 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
19258 if eval \
${$as_gl_Symbol+:} false
; then :
19259 $as_echo_n "(cached) " >&6
19261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19262 /* end confdefs.h. */
19263 #include <string.h>
19274 if ac_fn_c_try_compile
"$LINENO"; then :
19275 eval "$as_gl_Symbol=yes"
19277 eval "$as_gl_Symbol=no"
19279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19281 eval ac_res
=\$
$as_gl_Symbol
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19283 $as_echo "$ac_res" >&6; }
19284 if eval test \"x\$
"$as_gl_Symbol"\" = x
"yes"; then :
19285 cat >>confdefs.h
<<_ACEOF
19286 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
19289 eval ac_cv_have_decl_
$gl_func=yes
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
19295 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
19296 if ${ac_cv_header_stat_broken+:} false
; then :
19297 $as_echo_n "(cached) " >&6
19299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <sys/types.h>
19302 #include <sys/stat.h>
19304 #if defined S_ISBLK && defined S_IFDIR
19305 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
19308 #if defined S_ISBLK && defined S_IFCHR
19309 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
19312 #if defined S_ISLNK && defined S_IFREG
19313 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
19316 #if defined S_ISSOCK && defined S_IFREG
19317 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
19321 if ac_fn_c_try_compile
"$LINENO"; then :
19322 ac_cv_header_stat_broken
=no
19324 ac_cv_header_stat_broken
=yes
19326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
19329 $as_echo "$ac_cv_header_stat_broken" >&6; }
19330 if test $ac_cv_header_stat_broken = yes; then
19332 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
19340 GNULIB_NANOSLEEP
=0;
19344 HAVE_DECL_LOCALTIME_R
=1;
19348 REPLACE_LOCALTIME_R
=GNULIB_PORTCHECK
;
19349 REPLACE_MKTIME
=GNULIB_PORTCHECK
;
19350 REPLACE_NANOSLEEP
=GNULIB_PORTCHECK
;
19351 REPLACE_TIMEGM
=GNULIB_PORTCHECK
;
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
19358 $as_echo_n "checking for struct timespec in <time.h>... " >&6; }
19359 if ${gl_cv_sys_struct_timespec_in_time_h+:} false
; then :
19360 $as_echo_n "(cached) " >&6
19362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19363 /* end confdefs.h. */
19369 static struct timespec x; x.tv_sec = x.tv_nsec;
19374 if ac_fn_c_try_compile
"$LINENO"; then :
19375 gl_cv_sys_struct_timespec_in_time_h
=yes
19377 gl_cv_sys_struct_timespec_in_time_h
=no
19379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
19382 $as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
19384 TIME_H_DEFINES_STRUCT_TIMESPEC
=0
19385 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
=0
19386 PTHREAD_H_DEFINES_STRUCT_TIMESPEC
=0
19387 if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
19388 TIME_H_DEFINES_STRUCT_TIMESPEC
=1
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
19391 $as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
19392 if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false
; then :
19393 $as_echo_n "(cached) " >&6
19395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 #include <sys/time.h>
19402 static struct timespec x; x.tv_sec = x.tv_nsec;
19407 if ac_fn_c_try_compile
"$LINENO"; then :
19408 gl_cv_sys_struct_timespec_in_sys_time_h
=yes
19410 gl_cv_sys_struct_timespec_in_sys_time_h
=no
19412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
19415 $as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
19416 if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
19417 SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
=1
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
19420 $as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
19421 if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false
; then :
19422 $as_echo_n "(cached) " >&6
19424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19426 #include <pthread.h>
19431 static struct timespec x; x.tv_sec = x.tv_nsec;
19436 if ac_fn_c_try_compile
"$LINENO"; then :
19437 gl_cv_sys_struct_timespec_in_pthread_h
=yes
19439 gl_cv_sys_struct_timespec_in_pthread_h
=no
19441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
19444 $as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
19445 if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
19446 PTHREAD_H_DEFINES_STRUCT_TIMESPEC
=1
19465 if test $gl_cv_have_include_next = yes; then
19466 gl_cv_next_time_h
='<'time.h
'>'
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
19469 $as_echo_n "checking absolute name of <time.h>... " >&6; }
19470 if ${gl_cv_next_time_h+:} false
; then :
19471 $as_echo_n "(cached) " >&6
19474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19475 /* end confdefs.h. */
19480 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
19481 *) gl_absname_cpp
="$ac_cpp" ;;
19483 gl_cv_next_time_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19484 sed -n '\#/time.h#{
19485 s#.*"\(.*/time.h\)".*#\1#
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
19494 $as_echo "$gl_cv_next_time_h" >&6; }
19496 NEXT_TIME_H
=$gl_cv_next_time_h
19498 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
19499 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
19500 gl_next_as_first_directive
='<'time.h
'>'
19502 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
19503 gl_next_as_first_directive
=$gl_cv_next_time_h
19505 NEXT_AS_FIRST_DIRECTIVE_TIME_H
=$gl_next_as_first_directive
19518 gl_libunistring_sed_extract_major
='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;}
19523 gl_libunistring_sed_extract_minor
='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;}
19528 gl_libunistring_sed_extract_subminor
='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;}
19535 if test "$HAVE_LIBUNISTRING" = yes; then
19536 LIBUNISTRING_VERSION_MAJOR
=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"`
19537 LIBUNISTRING_VERSION_MINOR
=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"`
19538 LIBUNISTRING_VERSION_SUBMINOR
=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"`
19541 ac_fn_c_check_decl
"$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
19542 if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes
; then :
19548 cat >>confdefs.h
<<_ACEOF
19549 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
19552 ac_fn_c_check_decl
"$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
19553 if test "x$ac_cv_have_decl_feof_unlocked" = xyes
; then :
19559 cat >>confdefs.h
<<_ACEOF
19560 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
19563 ac_fn_c_check_decl
"$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
19564 if test "x$ac_cv_have_decl_ferror_unlocked" = xyes
; then :
19570 cat >>confdefs.h
<<_ACEOF
19571 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
19574 ac_fn_c_check_decl
"$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
19575 if test "x$ac_cv_have_decl_fflush_unlocked" = xyes
; then :
19581 cat >>confdefs.h
<<_ACEOF
19582 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
19585 ac_fn_c_check_decl
"$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
19586 if test "x$ac_cv_have_decl_fgets_unlocked" = xyes
; then :
19592 cat >>confdefs.h
<<_ACEOF
19593 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
19596 ac_fn_c_check_decl
"$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
19597 if test "x$ac_cv_have_decl_fputc_unlocked" = xyes
; then :
19603 cat >>confdefs.h
<<_ACEOF
19604 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
19607 ac_fn_c_check_decl
"$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
19608 if test "x$ac_cv_have_decl_fputs_unlocked" = xyes
; then :
19614 cat >>confdefs.h
<<_ACEOF
19615 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
19618 ac_fn_c_check_decl
"$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
19619 if test "x$ac_cv_have_decl_fread_unlocked" = xyes
; then :
19625 cat >>confdefs.h
<<_ACEOF
19626 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
19629 ac_fn_c_check_decl
"$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
19630 if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes
; then :
19636 cat >>confdefs.h
<<_ACEOF
19637 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
19640 ac_fn_c_check_decl
"$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
19641 if test "x$ac_cv_have_decl_getc_unlocked" = xyes
; then :
19647 cat >>confdefs.h
<<_ACEOF
19648 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
19651 ac_fn_c_check_decl
"$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
19652 if test "x$ac_cv_have_decl_getchar_unlocked" = xyes
; then :
19658 cat >>confdefs.h
<<_ACEOF
19659 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
19662 ac_fn_c_check_decl
"$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
19663 if test "x$ac_cv_have_decl_putc_unlocked" = xyes
; then :
19669 cat >>confdefs.h
<<_ACEOF
19670 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
19673 ac_fn_c_check_decl
"$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
19674 if test "x$ac_cv_have_decl_putchar_unlocked" = xyes
; then :
19680 cat >>confdefs.h
<<_ACEOF
19681 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
19686 GL_COND_LIBTOOL_TRUE
=
19687 GL_COND_LIBTOOL_FALSE
='#'
19689 GL_COND_LIBTOOL_TRUE
='#'
19690 GL_COND_LIBTOOL_FALSE
=
19693 gl_cond_libtool
=false
19706 gl_source_base
='srclib'
19712 if test $ac_cv_func_alloca_works = no
; then
19719 # Define an additional variable used in the Makefile substitution.
19721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19724 #if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H
19729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19730 $EGREP "Need own alloca" >/dev
/null
2>&1; then :
19738 if test -n "$ALLOCA_H"; then
19739 GL_GENERATE_ALLOCA_H_TRUE
=
19740 GL_GENERATE_ALLOCA_H_FALSE
='#'
19742 GL_GENERATE_ALLOCA_H_TRUE
='#'
19743 GL_GENERATE_ALLOCA_H_FALSE
=
19750 if test $ac_cv_func_canonicalize_file_name = no
; then
19751 HAVE_CANONICALIZE_FILE_NAME
=0
19752 if test $ac_cv_func_realpath = no
; then
19754 elif test "$gl_cv_func_realpath_works" != yes; then
19757 elif test "$gl_cv_func_realpath_works" != yes; then
19758 REPLACE_CANONICALIZE_FILE_NAME
=1
19762 if test $HAVE_CANONICALIZE_FILE_NAME = 0 ||
test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
19771 gl_LIBOBJS
="$gl_LIBOBJS canonicalize-lgpl.$ac_objext"
19776 cat >>confdefs.h
<<_ACEOF
19777 #define GNULIB_CANONICALIZE_LGPL 1
19786 GNULIB_CANONICALIZE_FILE_NAME
=1
19792 $as_echo "#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
19807 $as_echo "#define GNULIB_TEST_REALPATH 1" >>confdefs.h
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
19815 $as_echo_n "checking whether // is distinct from /... " >&6; }
19816 if ${gl_cv_double_slash_root+:} false
; then :
19817 $as_echo_n "(cached) " >&6
19819 if test x
"$cross_compiling" = xyes
; then
19820 # When cross-compiling, there is no way to tell whether // is special
19821 # short of a list of hosts. However, the only known hosts to date
19822 # that have a distinct // are Apollo DomainOS (too old to port to),
19823 # Cygwin, and z/OS. If anyone knows of another system for which // has
19824 # special semantics and is distinct from /, please report it to
19825 # <bug-gnulib@gnu.org>.
19827 *-cygwin | i370-ibm-openedition
)
19828 gl_cv_double_slash_root
=yes ;;
19830 # Be optimistic and assume that / and // are the same when we
19832 gl_cv_double_slash_root
='unknown, assuming no' ;;
19835 set x
`ls -di / // 2>/dev/null`
19836 if test "$2" = "$4" && wc //dev
/null
>/dev
/null
2>&1; then
19837 gl_cv_double_slash_root
=no
19839 gl_cv_double_slash_root
=yes
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
19844 $as_echo "$gl_cv_double_slash_root" >&6; }
19845 if test "$gl_cv_double_slash_root" = yes; then
19847 $as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
19863 $as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
19870 $as_echo_n "checking for error_at_line... " >&6; }
19871 if ${ac_cv_lib_error_at_line+:} false
; then :
19872 $as_echo_n "(cached) " >&6
19874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19880 error_at_line (0, 0, "", 0, "an error occurred");
19885 if ac_fn_c_try_link
"$LINENO"; then :
19886 ac_cv_lib_error_at_line
=yes
19888 ac_cv_lib_error_at_line
=no
19890 rm -f core conftest.err conftest.
$ac_objext \
19891 conftest
$ac_exeext conftest.
$ac_ext
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
19894 $as_echo "$ac_cv_lib_error_at_line" >&6; }
19896 if test $ac_cv_lib_error_at_line = no
; then
19905 gl_LIBOBJS
="$gl_LIBOBJS error.$ac_objext"
19915 XGETTEXT_EXTRA_OPTIONS
="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
19919 XGETTEXT_EXTRA_OPTIONS
="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
19932 if test $gl_cv_have_include_next = yes; then
19933 gl_cv_next_fcntl_h
='<'fcntl.h
'>'
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
19936 $as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
19937 if ${gl_cv_next_fcntl_h+:} false
; then :
19938 $as_echo_n "(cached) " >&6
19941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19947 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
19948 *) gl_absname_cpp
="$ac_cpp" ;;
19950 gl_cv_next_fcntl_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19951 sed -n '\#/fcntl.h#{
19952 s#.*"\(.*/fcntl.h\)".*#\1#
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
19961 $as_echo "$gl_cv_next_fcntl_h" >&6; }
19963 NEXT_FCNTL_H
=$gl_cv_next_fcntl_h
19965 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
19966 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
19967 gl_next_as_first_directive
='<'fcntl.h
'>'
19969 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
19970 gl_next_as_first_directive
=$gl_cv_next_fcntl_h
19972 NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
=$gl_next_as_first_directive
19979 for gl_func
in fcntl openat
; do
19980 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
19982 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
19983 if eval \
${$as_gl_Symbol+:} false
; then :
19984 $as_echo_n "(cached) " >&6
19986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19987 /* end confdefs.h. */
19999 if ac_fn_c_try_compile
"$LINENO"; then :
20000 eval "$as_gl_Symbol=yes"
20002 eval "$as_gl_Symbol=no"
20004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20006 eval ac_res
=\$
$as_gl_Symbol
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20008 $as_echo "$ac_res" >&6; }
20009 if eval test \"x\$
"$as_gl_Symbol"\" = x
"yes"; then :
20010 cat >>confdefs.h
<<_ACEOF
20011 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
20014 eval ac_cv_have_decl_
$gl_func=yes
20025 if test $ac_cv_func_lstat = yes; then
20027 if test $gl_cv_func_lstat_dereferences_slashed_symlink = no
; then
20034 if test $REPLACE_LSTAT = 1; then
20043 gl_LIBOBJS
="$gl_LIBOBJS lstat.$ac_objext"
20061 $as_echo "#define GNULIB_TEST_LSTAT 1" >>confdefs.h
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
20072 $as_echo_n "checking for mbstate_t... " >&6; }
20073 if ${ac_cv_type_mbstate_t+:} false
; then :
20074 $as_echo_n "(cached) " >&6
20076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20077 /* end confdefs.h. */
20078 $ac_includes_default
20079 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
20081 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
20082 included before <wchar.h>. */
20083 #include <stddef.h>
20090 mbstate_t x; return sizeof x;
20095 if ac_fn_c_try_compile
"$LINENO"; then :
20096 ac_cv_type_mbstate_t
=yes
20098 ac_cv_type_mbstate_t
=no
20100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
20103 $as_echo "$ac_cv_type_mbstate_t" >&6; }
20104 if test $ac_cv_type_mbstate_t = yes; then
20106 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
20110 $as_echo "#define mbstate_t int" >>confdefs.h
20115 for ac_func
in memmove
20117 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
20118 if test "x$ac_cv_func_memmove" = xyes
; then :
20119 cat >>confdefs.h
<<_ACEOF
20120 #define HAVE_MEMMOVE 1
20127 if test $ac_cv_func_memmove = no
; then
20136 gl_LIBOBJS
="$gl_LIBOBJS memmove.$ac_objext"
20146 ac_fn_c_check_decl
"$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
20148 if test "x$ac_cv_have_decl_program_invocation_name" = xyes
; then :
20154 cat >>confdefs.h
<<_ACEOF
20155 #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
20158 ac_fn_c_check_decl
"$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
20160 if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes
; then :
20166 cat >>confdefs.h
<<_ACEOF
20167 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
20174 if test $REPLACE_READ = 1; then
20183 gl_LIBOBJS
="$gl_LIBOBJS read.$ac_objext"
20197 $as_echo "#define GNULIB_TEST_READ 1" >>confdefs.h
20204 if test $ac_cv_func_readlink = no
; then
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
20208 $as_echo_n "checking whether readlink signature is correct... " >&6; }
20209 if ${gl_cv_decl_readlink_works+:} false
; then :
20210 $as_echo_n "(cached) " >&6
20212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20213 /* end confdefs.h. */
20214 #include <unistd.h>
20215 /* Cause compilation failure if original declaration has wrong type. */
20216 ssize_t readlink (const char *, char *, size_t);
20225 if ac_fn_c_try_compile
"$LINENO"; then :
20226 gl_cv_decl_readlink_works
=yes
20228 gl_cv_decl_readlink_works
=no
20230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5
20233 $as_echo "$gl_cv_decl_readlink_works" >&6; }
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
20235 $as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
20236 if ${gl_cv_func_readlink_works+:} false
; then :
20237 $as_echo_n "(cached) " >&6
20239 # We have readlink, so assume ln -s works.
20240 ln -s conftest.no-such conftest.link
20241 ln -s conftest.link conftest.lnk2
20242 if test "$cross_compiling" = yes; then :
20243 gl_cv_func_readlink_works
="guessing no"
20245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20247 #include <unistd.h>
20253 return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
20258 if ac_fn_c_try_run
"$LINENO"; then :
20259 gl_cv_func_readlink_works
=yes
20261 gl_cv_func_readlink_works
=no
20263 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20264 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20267 rm -f conftest.link conftest.lnk2
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
20270 $as_echo "$gl_cv_func_readlink_works" >&6; }
20271 if test "$gl_cv_func_readlink_works" != yes; then
20273 $as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
20276 elif test "$gl_cv_decl_readlink_works" != yes; then
20281 if test $HAVE_READLINK = 0 ||
test $REPLACE_READLINK = 1; then
20290 gl_LIBOBJS
="$gl_LIBOBJS readlink.$ac_objext"
20307 $as_echo "#define GNULIB_TEST_READLINK 1" >>confdefs.h
20316 : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'}
20317 RELOCATABLE_SRC_DIR
="\$(top_srcdir)/$gl_source_base"
20318 RELOCATABLE_BUILD_DIR
="\$(top_builddir)/$gl_source_base"
20320 if test $RELOCATABLE = yes; then
20329 gl_LIBOBJS
="$gl_LIBOBJS progreloc.$ac_objext"
20355 if test $ac_cv_have_decl_setenv = no
; then
20363 for ac_header
in search.h
20365 ac_fn_c_check_header_mongrel
"$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
20366 if test "x$ac_cv_header_search_h" = xyes
; then :
20367 cat >>confdefs.h
<<_ACEOF
20368 #define HAVE_SEARCH_H 1
20375 for ac_func
in tsearch
20377 ac_fn_c_check_func
"$LINENO" "tsearch" "ac_cv_func_tsearch"
20378 if test "x$ac_cv_func_tsearch" = xyes
; then :
20379 cat >>confdefs.h
<<_ACEOF
20380 #define HAVE_TSEARCH 1
20402 if test $gl_cv_have_include_next = yes; then
20403 gl_cv_next_signal_h
='<'signal.h
'>'
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
20406 $as_echo_n "checking absolute name of <signal.h>... " >&6; }
20407 if ${gl_cv_next_signal_h+:} false
; then :
20408 $as_echo_n "(cached) " >&6
20411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20413 #include <signal.h>
20417 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
20418 *) gl_absname_cpp
="$ac_cpp" ;;
20420 gl_cv_next_signal_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20421 sed -n '\#/signal.h#{
20422 s#.*"\(.*/signal.h\)".*#\1#
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
20431 $as_echo "$gl_cv_next_signal_h" >&6; }
20433 NEXT_SIGNAL_H
=$gl_cv_next_signal_h
20435 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
20436 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
20437 gl_next_as_first_directive
='<'signal.h
'>'
20439 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
20440 gl_next_as_first_directive
=$gl_cv_next_signal_h
20442 NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
=$gl_next_as_first_directive
20448 # AIX declares sig_atomic_t to already include volatile, and C89 compilers
20449 # then choke on 'volatile sig_atomic_t'. C99 requires that it compile.
20450 ac_fn_c_check_type
"$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
20451 #include <signal.h>
20454 if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes
; then :
20457 HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
=0
20464 ac_fn_c_check_type
"$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" "
20465 #include <signal.h>
20468 if test "x$ac_cv_type_sighandler_t" = xyes
; then :
20471 HAVE_SIGHANDLER_T
=0
20476 for gl_func
in pthread_sigmask sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask
; do
20477 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
20479 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
20480 if eval \
${$as_gl_Symbol+:} false
; then :
20481 $as_echo_n "(cached) " >&6
20483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20484 /* end confdefs.h. */
20485 #include <signal.h>
20496 if ac_fn_c_try_compile
"$LINENO"; then :
20497 eval "$as_gl_Symbol=yes"
20499 eval "$as_gl_Symbol=no"
20501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20503 eval ac_res
=\$
$as_gl_Symbol
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20505 $as_echo "$ac_res" >&6; }
20506 if eval test \"x\$
"$as_gl_Symbol"\" = x
"yes"; then :
20507 cat >>confdefs.h
<<_ACEOF
20508 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
20511 eval ac_cv_have_decl_
$gl_func=yes
20521 cat >>confdefs.h
<<_ACEOF
20522 #define GNULIB_SIGPIPE 1
20527 GNULIB_SIGNAL_H_SIGPIPE
=1
20530 GNULIB_STDIO_H_SIGPIPE
=1
20532 GNULIB_UNISTD_H_SIGPIPE
=1
20536 if test $gl_cv_type_sigset_t = yes; then
20537 ac_fn_c_check_func
"$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20538 if test "x$ac_cv_func_sigprocmask" = xyes
; then :
20539 gl_cv_func_sigprocmask
=1
20543 if test -z "$gl_cv_func_sigprocmask"; then
20544 HAVE_POSIX_SIGNALBLOCKING
=0
20547 if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
20556 gl_LIBOBJS
="$gl_LIBOBJS sigprocmask.$ac_objext"
20565 GNULIB_SIGPROCMASK
=1
20571 $as_echo "#define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
20577 $as_echo_n "checking for ssize_t... " >&6; }
20578 if ${gt_cv_ssize_t+:} false
; then :
20579 $as_echo_n "(cached) " >&6
20581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20582 /* end confdefs.h. */
20583 #include <sys/types.h>
20587 int x = sizeof (ssize_t *) + sizeof (ssize_t);
20593 if ac_fn_c_try_compile
"$LINENO"; then :
20598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
20601 $as_echo "$gt_cv_ssize_t" >&6; }
20602 if test $gt_cv_ssize_t = no
; then
20604 $as_echo "#define ssize_t int" >>confdefs.h
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
20612 $as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
20613 if ${gl_cv_func_stat_dir_slash+:} false
; then :
20614 $as_echo_n "(cached) " >&6
20616 if test "$cross_compiling" = yes; then :
20618 mingw
*) gl_cv_func_stat_dir_slash
="guessing no";;
20619 *) gl_cv_func_stat_dir_slash
="guessing yes";;
20622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h. */
20624 #include <sys/stat.h>
20629 struct stat st; return stat (".", &st) != stat ("./", &st);
20634 if ac_fn_c_try_run
"$LINENO"; then :
20635 gl_cv_func_stat_dir_slash
=yes
20637 gl_cv_func_stat_dir_slash
=no
20639 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20640 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5
20645 $as_echo "$gl_cv_func_stat_dir_slash" >&6; }
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
20647 $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
20648 if ${gl_cv_func_stat_file_slash+:} false
; then :
20649 $as_echo_n "(cached) " >&6
20652 # Assume that if we have lstat, we can also check symlinks.
20653 if test $ac_cv_func_lstat = yes; then
20654 ln -s conftest.tmp conftest.lnk
20656 if test "$cross_compiling" = yes; then :
20657 gl_cv_func_stat_file_slash
="guessing no"
20659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20661 #include <sys/stat.h>
20668 if (!stat ("conftest.tmp/", &st))
20671 if (!stat ("conftest.lnk/", &st))
20680 if ac_fn_c_try_run
"$LINENO"; then :
20681 gl_cv_func_stat_file_slash
=yes
20683 gl_cv_func_stat_file_slash
=no
20685 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20686 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20689 rm -f conftest.tmp conftest.lnk
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
20692 $as_echo "$gl_cv_func_stat_file_slash" >&6; }
20693 case $gl_cv_func_stat_dir_slash in
20694 *no
) REPLACE_STAT
=1
20696 $as_echo "#define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h
20699 case $gl_cv_func_stat_file_slash in
20700 *no
) REPLACE_STAT
=1
20702 $as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
20706 if test $REPLACE_STAT = 1; then
20715 gl_LIBOBJS
="$gl_LIBOBJS stat.$ac_objext"
20733 $as_echo "#define GNULIB_TEST_STAT 1" >>confdefs.h
20740 # Define two additional variables used in the Makefile substitution.
20742 if test "$ac_cv_header_stdbool_h" = yes; then
20745 STDBOOL_H
='stdbool.h'
20748 if test -n "$STDBOOL_H"; then
20749 GL_GENERATE_STDBOOL_H_TRUE
=
20750 GL_GENERATE_STDBOOL_H_FALSE
='#'
20752 GL_GENERATE_STDBOOL_H_TRUE
='#'
20753 GL_GENERATE_STDBOOL_H_FALSE
=
20757 if test "$ac_cv_type__Bool" = yes; then
20768 if test $gt_cv_c_wchar_t = no
; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
20773 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
20774 if ${gl_cv_decl_null_works+:} false
; then :
20775 $as_echo_n "(cached) " >&6
20777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h. */
20779 #include <stddef.h>
20780 int test[2 * (sizeof NULL == sizeof (void *)) -1];
20790 if ac_fn_c_try_compile
"$LINENO"; then :
20791 gl_cv_decl_null_works
=yes
20793 gl_cv_decl_null_works
=no
20795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
20798 $as_echo "$gl_cv_decl_null_works" >&6; }
20799 if test $gl_cv_decl_null_works = no
; then
20804 if test -n "$STDDEF_H"; then
20805 GL_GENERATE_STDDEF_H_TRUE
=
20806 GL_GENERATE_STDDEF_H_FALSE
='#'
20808 GL_GENERATE_STDDEF_H_TRUE
='#'
20809 GL_GENERATE_STDDEF_H_FALSE
=
20812 if test -n "$STDDEF_H"; then
20821 if test $gl_cv_have_include_next = yes; then
20822 gl_cv_next_stddef_h
='<'stddef.h
'>'
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
20825 $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
20826 if ${gl_cv_next_stddef_h+:} false
; then :
20827 $as_echo_n "(cached) " >&6
20830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #include <stddef.h>
20836 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
20837 *) gl_absname_cpp
="$ac_cpp" ;;
20839 gl_cv_next_stddef_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20840 sed -n '\#/stddef.h#{
20841 s#.*"\(.*/stddef.h\)".*#\1#
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
20850 $as_echo "$gl_cv_next_stddef_h" >&6; }
20852 NEXT_STDDEF_H
=$gl_cv_next_stddef_h
20854 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
20855 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
20856 gl_next_as_first_directive
='<'stddef.h
'>'
20858 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
20859 gl_next_as_first_directive
=$gl_cv_next_stddef_h
20861 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
=$gl_next_as_first_directive
20880 if test $gl_cv_have_include_next = yes; then
20881 gl_cv_next_stdio_h
='<'stdio.h
'>'
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
20884 $as_echo_n "checking absolute name of <stdio.h>... " >&6; }
20885 if ${gl_cv_next_stdio_h+:} false
; then :
20886 $as_echo_n "(cached) " >&6
20889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20890 /* end confdefs.h. */
20895 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
20896 *) gl_absname_cpp
="$ac_cpp" ;;
20898 gl_cv_next_stdio_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20899 sed -n '\#/stdio.h#{
20900 s#.*"\(.*/stdio.h\)".*#\1#
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
20909 $as_echo "$gl_cv_next_stdio_h" >&6; }
20911 NEXT_STDIO_H
=$gl_cv_next_stdio_h
20913 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
20914 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
20915 gl_next_as_first_directive
='<'stdio.h
'>'
20917 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
20918 gl_next_as_first_directive
=$gl_cv_next_stdio_h
20920 NEXT_AS_FIRST_DIRECTIVE_STDIO_H
=$gl_next_as_first_directive
20950 if test $gl_cv_header_signal_h_SIGPIPE != yes; then
20951 REPLACE_STDIO_WRITE_FUNCS
=1
20960 gl_LIBOBJS
="$gl_LIBOBJS stdio-write.$ac_objext"
20967 for gl_func
in dprintf fpurge fseeko ftello getdelim getline popen renameat snprintf tmpfile vdprintf vsnprintf
; do
20968 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
20970 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
20971 if eval \
${$as_gl_Symbol+:} false
; then :
20972 $as_echo_n "(cached) " >&6
20974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20987 if ac_fn_c_try_compile
"$LINENO"; then :
20988 eval "$as_gl_Symbol=yes"
20990 eval "$as_gl_Symbol=no"
20992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20994 eval ac_res
=\$
$as_gl_Symbol
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20996 $as_echo "$ac_res" >&6; }
20997 if eval test \"x\$
"$as_gl_Symbol"\" = x
"yes"; then :
20998 cat >>confdefs.h
<<_ACEOF
20999 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
21002 eval ac_cv_have_decl_
$gl_func=yes
21017 if test $gl_cv_have_include_next = yes; then
21018 gl_cv_next_stdlib_h
='<'stdlib.h
'>'
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
21021 $as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
21022 if ${gl_cv_next_stdlib_h+:} false
; then :
21023 $as_echo_n "(cached) " >&6
21026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21027 /* end confdefs.h. */
21028 #include <stdlib.h>
21032 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
21033 *) gl_absname_cpp
="$ac_cpp" ;;
21035 gl_cv_next_stdlib_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
21036 sed -n '\#/stdlib.h#{
21037 s#.*"\(.*/stdlib.h\)".*#\1#
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
21046 $as_echo "$gl_cv_next_stdlib_h" >&6; }
21048 NEXT_STDLIB_H
=$gl_cv_next_stdlib_h
21050 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
21051 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
21052 gl_next_as_first_directive
='<'stdlib.h
'>'
21054 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
21055 gl_next_as_first_directive
=$gl_cv_next_stdlib_h
21057 NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
=$gl_next_as_first_directive
21064 for gl_func
in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt unsetenv
; do
21065 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
21067 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
21068 if eval \
${$as_gl_Symbol+:} false
; then :
21069 $as_echo_n "(cached) " >&6
21071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21073 #include <stdlib.h>
21074 #if HAVE_SYS_LOADAVG_H
21075 # include <sys/loadavg.h>
21078 # include <random.h>
21090 if ac_fn_c_try_compile
"$LINENO"; then :
21091 eval "$as_gl_Symbol=yes"
21093 eval "$as_gl_Symbol=no"
21095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21097 eval ac_res
=\$
$as_gl_Symbol
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21099 $as_echo "$ac_res" >&6; }
21100 if eval test \"x\$
"$as_gl_Symbol"\" = x
"yes"; then :
21101 cat >>confdefs.h
<<_ACEOF
21102 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
21105 eval ac_cv_have_decl_
$gl_func=yes
21115 if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
21117 $as_echo_n "checking for working strerror function... " >&6; }
21118 if ${gl_cv_func_working_strerror+:} false
; then :
21119 $as_echo_n "(cached) " >&6
21121 if test "$cross_compiling" = yes; then :
21122 gl_cv_func_working_strerror
="guessing no"
21124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h. */
21126 #include <string.h>
21131 if (!*strerror (-2)) return 1;
21136 if ac_fn_c_try_run
"$LINENO"; then :
21137 gl_cv_func_working_strerror
=yes
21139 gl_cv_func_working_strerror
=no
21141 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21142 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
21148 $as_echo "$gl_cv_func_working_strerror" >&6; }
21149 if test "$gl_cv_func_working_strerror" != yes; then
21157 if test $REPLACE_STRERROR = 1; then
21166 gl_LIBOBJS
="$gl_LIBOBJS strerror.$ac_objext"
21171 cat >>confdefs.h
<<_ACEOF
21172 #define GNULIB_STRERROR 1
21187 $as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h
21193 if test -n "$ERRNO_H" ||
test $REPLACE_STRERROR_0 = 1; then
21202 gl_LIBOBJS
="$gl_LIBOBJS strerror-override.$ac_objext"
21208 if test $ac_cv_header_sys_socket_h != yes; then
21209 for ac_header
in winsock2.h
21211 ac_fn_c_check_header_mongrel
"$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
21212 if test "x$ac_cv_header_winsock2_h" = xyes
; then :
21213 cat >>confdefs.h
<<_ACEOF
21214 #define HAVE_WINSOCK2_H 1
21222 if test "$ac_cv_header_winsock2_h" = yes; then
21224 UNISTD_H_HAVE_WINSOCK2_H
=1
21225 SYS_IOCTL_H_HAVE_WINSOCK2_H
=1
21251 if test $gl_cv_have_include_next = yes; then
21252 gl_cv_next_sys_stat_h
='<'sys
/stat.h
'>'
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
21255 $as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
21256 if ${gl_cv_next_sys_stat_h+:} false
; then :
21257 $as_echo_n "(cached) " >&6
21260 if test $ac_cv_header_sys_stat_h = yes; then
21263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21264 /* end confdefs.h. */
21265 #include <sys/stat.h>
21269 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
21270 *) gl_absname_cpp
="$ac_cpp" ;;
21272 gl_cv_next_sys_stat_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
21273 sed -n '\#/sys/stat.h#{
21274 s#.*"\(.*/sys/stat.h\)".*#\1#
21280 gl_cv_next_sys_stat_h
='<'sys
/stat.h
'>'
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
21286 $as_echo "$gl_cv_next_sys_stat_h" >&6; }
21288 NEXT_SYS_STAT_H
=$gl_cv_next_sys_stat_h
21290 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
21291 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
21292 gl_next_as_first_directive
='<'sys
/stat.h
'>'
21294 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
21295 gl_next_as_first_directive
=$gl_cv_next_sys_stat_h
21297 NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
=$gl_next_as_first_directive
21303 ac_fn_c_check_type
"$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
21304 #include <sys/stat.h>
21306 if test "x$ac_cv_type_nlink_t" = xyes
; then :
21310 $as_echo "#define nlink_t int" >>confdefs.h
21316 for gl_func
in fchmodat fstatat futimens lchmod lstat mkdirat
mkfifo mkfifoat mknod mknodat stat utimensat
; do
21317 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
21319 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
21320 if eval \
${$as_gl_Symbol+:} false
; then :
21321 $as_echo_n "(cached) " >&6
21323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h. */
21325 #include <sys/stat.h>
21336 if ac_fn_c_try_compile
"$LINENO"; then :
21337 eval "$as_gl_Symbol=yes"
21339 eval "$as_gl_Symbol=no"
21341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21343 eval ac_res
=\$
$as_gl_Symbol
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21345 $as_echo "$ac_res" >&6; }
21346 if eval test \"x\$
"$as_gl_Symbol"\" = x
"yes"; then :
21347 cat >>confdefs.h
<<_ACEOF
21348 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
21351 eval ac_cv_have_decl_
$gl_func=yes
21373 if test $gl_cv_have_include_next = yes; then
21374 gl_cv_next_unistd_h
='<'unistd.h
'>'
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
21377 $as_echo_n "checking absolute name of <unistd.h>... " >&6; }
21378 if ${gl_cv_next_unistd_h+:} false
; then :
21379 $as_echo_n "(cached) " >&6
21382 if test $ac_cv_header_unistd_h = yes; then
21385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21386 /* end confdefs.h. */
21387 #include <unistd.h>
21391 aix
*) gl_absname_cpp
="$ac_cpp -C" ;;
21392 *) gl_absname_cpp
="$ac_cpp" ;;
21394 gl_cv_next_unistd_h
='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
21395 sed -n '\#/unistd.h#{
21396 s#.*"\(.*/unistd.h\)".*#\1#
21402 gl_cv_next_unistd_h
='<'unistd.h
'>'
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
21408 $as_echo "$gl_cv_next_unistd_h" >&6; }
21410 NEXT_UNISTD_H
=$gl_cv_next_unistd_h
21412 if test $gl_cv_have_include_next = yes ||
test $gl_cv_have_include_next = buggy
; then
21413 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
21414 gl_next_as_first_directive
='<'unistd.h
'>'
21416 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
21417 gl_next_as_first_directive
=$gl_cv_next_unistd_h
21419 NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
=$gl_next_as_first_directive
21424 if test $ac_cv_header_unistd_h = yes; then
21432 for gl_func
in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat
rmdir sleep symlink symlinkat ttyname_r unlink unlinkat
usleep; do
21433 as_gl_Symbol
=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
21435 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
21436 if eval \
${$as_gl_Symbol+:} false
; then :
21437 $as_echo_n "(cached) " >&6
21439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21440 /* end confdefs.h. */
21441 #include <unistd.h>
21442 /* Some systems declare various items in the wrong headers. */
21443 #if !(defined __GLIBC__ && !defined __UCLIBC__)
21444 # include <fcntl.h>
21445 # include <stdio.h>
21446 # include <stdlib.h>
21447 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
21461 if ac_fn_c_try_compile
"$LINENO"; then :
21462 eval "$as_gl_Symbol=yes"
21464 eval "$as_gl_Symbol=no"
21466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21468 eval ac_res
=\$
$as_gl_Symbol
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21470 $as_echo "$ac_res" >&6; }
21471 if eval test \"x\$
"$as_gl_Symbol"\" = x
"yes"; then :
21472 cat >>confdefs.h
<<_ACEOF
21473 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
21476 eval ac_cv_have_decl_
$gl_func=yes
21483 if { test "$HAVE_LIBUNISTRING" != yes \
21488 test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
21489 ||
{ test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
21490 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
21491 ||
{ test $LIBUNISTRING_VERSION_MINOR -eq 9 \
21492 && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
21502 LIBUNISTRING_UNITYPES_H
='unitypes.h'
21504 LIBUNISTRING_UNITYPES_H
=
21510 if { test "$HAVE_LIBUNISTRING" != yes \
21515 test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
21516 ||
{ test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
21517 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
21518 ||
{ test $LIBUNISTRING_VERSION_MINOR -eq 9 \
21519 && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0
21529 LIBUNISTRING_UNIWIDTH_H
='uniwidth.h'
21531 LIBUNISTRING_UNIWIDTH_H
=
21537 if { test "$HAVE_LIBUNISTRING" != yes \
21542 test $LIBUNISTRING_VERSION_MAJOR -lt 0 \
21543 ||
{ test $LIBUNISTRING_VERSION_MAJOR -eq 0 \
21544 && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \
21545 ||
{ test $LIBUNISTRING_VERSION_MINOR -eq 9 \
21546 && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4
21556 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
=
21557 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
='#'
21559 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE
='#'
21560 LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE
=
21566 $as_echo "#define USE_UNLOCKED_IO 1" >>confdefs.h
21585 # End of code from modules
21606 gl_source_base
='tests'
21607 gltests_WITNESS
=IN_
`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
21609 gl_module_indicator_condition
=$gltests_WITNESS
21619 LIBICRT_LIBDEPS
="$gl_libdeps"
21621 LIBICRT_LTLIBDEPS
="$gl_ltlibdeps"
21630 if test "$enable_shared" = yes; then
21632 mingw
* | cygwin
*) is_woe32dll
=yes ;;
21633 *) is_woe32dll
=no
;;
21638 WOE32DLL
=$is_woe32dll
21640 if test $is_woe32dll = yes; then
21641 DLL_VARIABLE
='__declspec (dllimport)'
21651 subdirs
="$subdirs libcharset"
21653 subdirs
="$subdirs preload"
21655 ac_config_files
="$ac_config_files Makefile"
21657 ac_config_files
="$ac_config_files lib/Makefile"
21659 ac_config_files
="$ac_config_files srclib/Makefile"
21661 ac_config_files
="$ac_config_files src/Makefile"
21663 ac_config_files
="$ac_config_files po/Makefile.in"
21665 ac_config_files
="$ac_config_files man/Makefile"
21667 if test -d "${srcdir}/tests"; then
21668 ac_config_files
="$ac_config_files tests/Makefile"
21671 ac_config_files
="$ac_config_files include/iconv.h:include/iconv.h.build.in"
21673 ac_config_files
="$ac_config_files include/iconv.h.inst:include/iconv.h.in"
21675 cat >confcache
<<\_ACEOF
21676 # This file is a shell script that caches the results of configure
21677 # tests run on this system so they can be shared between configure
21678 # scripts and configure runs, see configure's option --config-cache.
21679 # It is not useful on other systems. If it contains results you don't
21680 # want to keep, you may remove or edit it.
21682 # config.status only pays attention to the cache file if you give it
21683 # the --recheck option to rerun configure.
21685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21687 # following values.
21691 # The following way of writing the cache mishandles newlines in values,
21692 # but we know of no workaround that is simple, portable, and efficient.
21693 # So, we kill variables containing newlines.
21694 # Ultrix sh set writes to stderr and can't be redirected directly,
21695 # and sets the high bit in the cache file unless we assign to the vars.
21697 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21698 eval ac_val
=\$
$ac_var
21702 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21703 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21706 _ | IFS | as_nl
) ;; #(
21707 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21708 *) { eval $ac_var=; unset $ac_var;} ;;
21714 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21715 *${as_nl}ac_space
=\
*)
21716 # `set' does not quote correctly, so add quotes: double-quote
21717 # substitution turns \\\\ into \\, and sed turns \\ into \.
21720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21723 # `set' quotes correctly as required by POSIX, so do not add quotes.
21724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21733 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21735 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21737 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21738 if test -w "$cache_file"; then
21739 if test "x$cache_file" != "x/dev/null"; then
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21741 $as_echo "$as_me: updating cache $cache_file" >&6;}
21742 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
21743 cat confcache
>"$cache_file"
21745 case $cache_file in #(
21747 mv -f confcache
"$cache_file"$$
&&
21748 mv -f "$cache_file"$$
"$cache_file" ;; #(
21750 mv -f confcache
"$cache_file" ;;
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21756 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21761 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21762 # Let make expand exec_prefix.
21763 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21765 DEFS
=-DHAVE_CONFIG_H
21770 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21771 # 1. Remove the extension, and $U if already installed.
21772 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21773 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21774 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21775 # will be set to the directory where LIBOBJS objects are built.
21776 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21777 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21779 LIBOBJS
=$ac_libobjs
21781 LTLIBOBJS
=$ac_ltlibobjs
21784 if test -n "$EXEEXT"; then
21786 am__EXEEXT_FALSE
='#'
21788 am__EXEEXT_TRUE
='#'
21792 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21793 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21796 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21797 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21800 if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}"; then
21801 as_fn_error $?
"conditional \"RELOCATABLE_VIA_LD\" was never defined.
21802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21804 if test -z "${RELOCATABLE_VIA_WRAPPER_TRUE}" && test -z "${RELOCATABLE_VIA_WRAPPER_FALSE}"; then
21805 as_fn_error $?
"conditional \"RELOCATABLE_VIA_WRAPPER\" was never defined.
21806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21808 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
21809 as_fn_error $?
"conditional \"GL_COND_LIBTOOL\" was never defined.
21810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21812 if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then
21813 as_fn_error $?
"conditional \"GL_GENERATE_ALLOCA_H\" was never defined.
21814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21816 if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then
21817 as_fn_error $?
"conditional \"GL_GENERATE_ERRNO_H\" was never defined.
21818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21820 if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then
21821 as_fn_error $?
"conditional \"GL_GENERATE_STDBOOL_H\" was never defined.
21822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21824 if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then
21825 as_fn_error $?
"conditional \"GL_GENERATE_STDDEF_H\" was never defined.
21826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21828 if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then
21829 as_fn_error $?
"conditional \"GL_GENERATE_STDINT_H\" was never defined.
21830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21832 if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then
21833 as_fn_error $?
"conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH\" was never defined.
21834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21839 if test -n "$gl_LIBOBJS"; then
21840 # Remove the extension.
21841 sed_drop_objext
='s/\.o$//;s/\.obj$//'
21842 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
21843 gl_libobjs
="$gl_libobjs $i.$ac_objext"
21844 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
21847 gl_LIBOBJS
=$gl_libobjs
21849 gl_LTLIBOBJS
=$gl_ltlibobjs
21855 if test -n "$gltests_LIBOBJS"; then
21856 # Remove the extension.
21857 sed_drop_objext
='s/\.o$//;s/\.obj$//'
21858 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
21859 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
21860 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
21863 gltests_LIBOBJS
=$gltests_libobjs
21865 gltests_LTLIBOBJS
=$gltests_ltlibobjs
21869 : "${CONFIG_STATUS=./config.status}"
21871 ac_clean_files_save
=$ac_clean_files
21872 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21874 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21876 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21878 # Generated by $as_me.
21879 # Run this file to recreate the current configuration.
21880 # Compiler output produced by configure, useful for debugging
21881 # configure, is in config.log if it exists.
21884 ac_cs_recheck=false
21887 SHELL=\${CONFIG_SHELL-$SHELL}
21890 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
21891 ## -------------------- ##
21892 ## M4sh Initialization. ##
21893 ## -------------------- ##
21895 # Be more Bourne compatible
21896 DUALCASE
=1; export DUALCASE
# for MKS sh
21897 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21900 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21901 # is contrary to our usage. Disable this feature.
21902 alias -g '${1+"$@"}'='"$@"'
21903 setopt NO_GLOB_SUBST
21905 case `(set -o) 2>/dev/null` in #(
21917 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21918 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21919 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21920 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21921 # Prefer a ksh shell builtin over an external printf program on Solaris,
21922 # but without wasting forks for bash or zsh.
21923 if test -z "$BASH_VERSION$ZSH_VERSION" \
21924 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21925 as_echo='print
-r --'
21926 as_echo_n='print
-rn --'
21927 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21928 as_echo='printf %s
\n'
21929 as_echo_n='printf %s
'
21931 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21932 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21933 as_echo_n='/usr
/ucb
/echo -n'
21935 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21936 as_echo_n_body='eval
21940 expr "X$arg" : "X\\(.*\\)$as_nl";
21941 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21943 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21945 export as_echo_n_body
21946 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21948 export as_echo_body
21949 as_echo='sh
-c $as_echo_body as_echo
'
21952 # The user is always right.
21953 if test "${PATH_SEPARATOR+set}" != set; then
21955 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21956 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21963 # We need space, tab and new line, in precisely that order. Quoting is
21964 # there to prevent editors from complaining about space-tab.
21965 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21966 # splitting by setting IFS to empty value.)
21969 # Find who we are. Look in the path if we contain no directory separator.
21972 *[\\/]* ) as_myself=$0 ;;
21973 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21974 for as_dir in $PATH
21977 test -z "$as_dir" && as_dir=.
21978 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21984 # We did not find ourselves, most probably we were run as `sh COMMAND'
21985 # in which case we are not to be found in the path.
21986 if test "x$as_myself" = x
; then
21989 if test ! -f "$as_myself"; then
21990 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21994 # Unset variables that we do not need and which cause bugs (e.g. in
21995 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21996 # suppresses any "Segmentation fault" message there. '((' could
21997 # trigger a bug in pdksh 5.2.14.
21998 for as_var
in BASH_ENV ENV MAIL MAILPATH
21999 do eval test x\
${$as_var+set} = xset \
22000 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22013 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22016 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22017 # ----------------------------------------
22018 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22019 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22020 # script with STATUS, using 1 if that was 0.
22023 as_status
=$1; test $as_status -eq 0 && as_status
=1
22025 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22026 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22028 $as_echo "$as_me: error: $2" >&2
22029 as_fn_exit
$as_status
22033 # as_fn_set_status STATUS
22034 # -----------------------
22035 # Set $? to STATUS, without forking.
22036 as_fn_set_status
()
22039 } # as_fn_set_status
22041 # as_fn_exit STATUS
22042 # -----------------
22043 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22047 as_fn_set_status
$1
22053 # Portably unset VAR.
22056 { eval $1=; unset $1;}
22058 as_unset
=as_fn_unset
22059 # as_fn_append VAR VALUE
22060 # ----------------------
22061 # Append the text in VALUE to the end of the definition contained in VAR. Take
22062 # advantage of any shell optimizations that allow amortized linear growth over
22063 # repeated appends, instead of the typical quadratic growth present in naive
22065 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22066 eval 'as_fn_append ()
22077 # as_fn_arith ARG...
22078 # ------------------
22079 # Perform arithmetic evaluation on the ARGs, and store the result in the
22080 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22081 # must be portable across $(()) and expr.
22082 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22083 eval 'as_fn_arith ()
22090 as_val
=`expr "$@" || test $? -eq 1`
22095 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22096 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22102 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22103 as_basename
=basename
22108 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22114 as_me
=`$as_basename -- "$0" ||
22115 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22116 X"$0" : 'X\(//\)$' \| \
22117 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22119 sed '/^.*\/\([^/][^/]*\)\/*$/{
22133 # Avoid depending upon Character Ranges.
22134 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22135 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22136 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22137 as_cr_digits
='0123456789'
22138 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22140 ECHO_C
= ECHO_N
= ECHO_T
=
22141 case `echo -n x` in #(((((
22143 case `echo 'xy\c'` in
22144 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22146 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22153 rm -f conf$$ conf$$.exe conf$$.
file
22154 if test -d conf$$.dir
; then
22155 rm -f conf$$.dir
/conf$$.
file
22158 mkdir conf$$.dir
2>/dev
/null
22160 if (echo >conf$$.
file) 2>/dev
/null
; then
22161 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22163 # ... but there are two gotchas:
22164 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22165 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22166 # In both cases, we have to default to `cp -p'.
22167 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22169 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22177 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22178 rmdir conf$$.dir
2>/dev
/null
22183 # Create "$as_dir" as a directory, including parents if necessary.
22188 -*) as_dir
=.
/$as_dir;;
22190 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22194 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22195 *) as_qdir
=$as_dir;;
22197 as_dirs
="'$as_qdir' $as_dirs"
22198 as_dir
=`$as_dirname -- "$as_dir" ||
22199 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22200 X"$as_dir" : 'X\(//\)[^/]' \| \
22201 X"$as_dir" : 'X\(//\)$' \| \
22202 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22203 $as_echo X"$as_dir" |
22204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22208 /^X\(\/\/\)[^/].*/{
22221 test -d "$as_dir" && break
22223 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22224 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22228 if mkdir
-p .
2>/dev
/null
; then
22229 as_mkdir_p
='mkdir -p "$as_dir"'
22231 test -d .
/-p && rmdir .
/-p
22235 if test -x / >/dev
/null
2>&1; then
22236 as_test_x
='test -x'
22238 if ls -dL / >/dev
/null
2>&1; then
22245 if test -d "$1"; then
22251 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
22252 ???[sx]*):;;*)false;;esac;fi
22256 as_executable_p
=$as_test_x
22258 # Sed expression to map a string onto a valid CPP name.
22259 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22261 # Sed expression to map a string onto a valid variable name.
22262 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22266 ## ----------------------------------- ##
22267 ## Main body of $CONFIG_STATUS script. ##
22268 ## ----------------------------------- ##
22270 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22273 # Save the log message, to keep $0 and so on meaningful, and to
22274 # report actual input values of CONFIG_FILES etc. instead of their
22275 # values after options handling.
22277 This file was extended by $as_me, which was
22278 generated by GNU Autoconf 2.68. Invocation command line was
22280 CONFIG_FILES = $CONFIG_FILES
22281 CONFIG_HEADERS = $CONFIG_HEADERS
22282 CONFIG_LINKS = $CONFIG_LINKS
22283 CONFIG_COMMANDS = $CONFIG_COMMANDS
22286 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22291 case $ac_config_files in *"
22292 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22295 case $ac_config_headers in *"
22296 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22301 # Files that config.status was made for.
22302 config_files="$ac_config_files"
22303 config_headers="$ac_config_headers"
22304 config_commands="$ac_config_commands"
22308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22310 \`$as_me' instantiates files and other configuration actions
22311 from templates according to the current configuration. Unless the files
22312 and actions are specified as TAGs, all are instantiated by default.
22314 Usage: $0 [OPTION]... [TAG]...
22316 -h, --help print this help, then exit
22317 -V, --version print version number and configuration settings, then exit
22318 --config print configuration, then exit
22319 -q, --quiet, --silent
22320 do not print progress messages
22321 -d, --debug don't remove temporary files
22322 --recheck update $as_me by reconfiguring in the same conditions
22323 --file=FILE[:TEMPLATE]
22324 instantiate the configuration file FILE
22325 --header=FILE[:TEMPLATE]
22326 instantiate the configuration header FILE
22328 Configuration files:
22331 Configuration headers:
22334 Configuration commands:
22337 Report bugs to the package provider."
22340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22341 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22344 configured by $0, generated by GNU Autoconf 2.68,
22345 with options \\"\$ac_cs_config\\"
22347 Copyright (C) 2010 Free Software Foundation, Inc.
22348 This config.status script is free software; the Free Software Foundation
22349 gives unlimited permission to copy, distribute and modify it."
22356 test -n "\$AWK" || AWK=awk
22359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22360 # The default lists apply if the user does not specify any file.
22366 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22367 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22371 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22383 # Handling of the options.
22384 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22386 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22387 $as_echo "$ac_cs_version"; exit ;;
22388 --config |
--confi |
--conf |
--con |
--co |
--c )
22389 $as_echo "$ac_cs_config"; exit ;;
22390 --debug |
--debu |
--deb |
--de |
--d |
-d )
22392 --file |
--fil |
--fi |
--f )
22395 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22396 '') as_fn_error $?
"missing file argument" ;;
22398 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22399 ac_need_defaults
=false
;;
22400 --header |
--heade |
--head |
--hea )
22403 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22405 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22406 ac_need_defaults
=false
;;
22408 # Conflict between --help and --header
22409 as_fn_error $?
"ambiguous option: \`$1'
22410 Try \`$0 --help' for more information.";;
22411 --help |
--hel |
-h )
22412 $as_echo "$ac_cs_usage"; exit ;;
22413 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22414 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22417 # This is an error.
22418 -*) as_fn_error $?
"unrecognized option: \`$1'
22419 Try \`$0 --help' for more information." ;;
22421 *) as_fn_append ac_config_targets
" $1"
22422 ac_need_defaults
=false
;;
22428 ac_configure_extra_args
=
22430 if $ac_cs_silent; then
22432 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22437 if \$ac_cs_recheck; then
22438 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22440 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22441 CONFIG_SHELL='$SHELL'
22442 export CONFIG_SHELL
22447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22451 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22452 ## Running $as_me. ##
22458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22462 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22465 # The HP-UX ksh and POSIX shell print the target directory to stdout
22466 # if CDPATH is set.
22467 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22469 sed_quote_subst='$sed_quote_subst'
22470 double_quote_subst='$double_quote_subst'
22471 delay_variable_subst='$delay_variable_subst'
22472 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22473 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22474 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22475 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
22476 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22477 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22478 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22479 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22480 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22481 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22482 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22483 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22484 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22485 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22486 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22487 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22488 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22489 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22490 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22491 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22492 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22493 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22494 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22495 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22496 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22497 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22498 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22499 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22500 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22501 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22502 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22503 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22504 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22505 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22506 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22507 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22508 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22509 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22510 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22511 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22512 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22513 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22514 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22515 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22516 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22517 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22518 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22519 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22520 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22521 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22522 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22523 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22524 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22525 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22526 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22527 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22528 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
22529 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22530 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22531 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22532 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22533 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22534 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22535 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22536 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22537 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22538 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22539 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22540 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22541 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22542 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22543 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22544 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22545 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22546 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22547 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22548 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22549 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22550 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22551 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22552 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22553 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22554 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22555 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22556 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22557 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22558 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22559 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22560 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22561 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22562 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22563 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
22564 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22565 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22566 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22567 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22568 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22569 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22570 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22571 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22572 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22573 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22574 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22575 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22576 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22577 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22578 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22579 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22580 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22581 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22582 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22583 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22584 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22585 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22586 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22587 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22588 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22589 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22590 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22591 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22592 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22593 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22594 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22595 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22596 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22597 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22598 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22599 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22600 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22601 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22602 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22603 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
22604 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
22605 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
22606 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
22607 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
22608 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
22609 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
22610 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
22611 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
22612 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
22613 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
22614 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
22615 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
22616 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
22617 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
22618 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
22619 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
22620 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
22621 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
22622 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
22623 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
22624 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
22625 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
22626 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
22627 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
22628 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
22629 hardcode_libdir_flag_spec_ld_RC='`$ECHO "$hardcode_libdir_flag_spec_ld_RC" | $SED "$delay_single_quote_subst"`'
22630 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
22631 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
22632 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
22633 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
22634 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
22635 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
22636 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
22637 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
22638 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
22639 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
22640 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
22641 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
22642 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
22643 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
22644 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
22645 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
22648 LTCFLAGS='$LTCFLAGS'
22649 compiler='$compiler_DEFAULT'
22651 # A function that is used when there is no print builtin or printf.
22652 func_fallback_echo ()
22654 eval 'cat <<_LTECHO_EOF
22659 # Quote evaled strings.
22675 deplibs_check_method \
22679 sharedlib_from_linklib_cmd \
22682 archiver_list_spec \
22688 lt_cv_sys_global_symbol_pipe \
22689 lt_cv_sys_global_symbol_to_cdecl \
22690 lt_cv_sys_global_symbol_to_c_name_address \
22691 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22692 nm_file_list_spec \
22693 lt_prog_compiler_no_builtin_flag \
22694 lt_prog_compiler_pic \
22695 lt_prog_compiler_wl \
22696 lt_prog_compiler_static \
22697 lt_cv_prog_compiler_c_o \
22706 export_dynamic_flag_spec \
22707 whole_archive_flag_spec \
22708 compiler_needs_object \
22710 allow_undefined_flag \
22711 no_undefined_flag \
22712 hardcode_libdir_flag_spec \
22713 hardcode_libdir_flag_spec_ld \
22714 hardcode_libdir_separator \
22718 variables_saved_for_relink \
22720 library_names_spec \
22722 install_override_mode \
22729 lt_prog_compiler_no_builtin_flag_RC \
22730 lt_prog_compiler_pic_RC \
22731 lt_prog_compiler_wl_RC \
22732 lt_prog_compiler_static_RC \
22733 lt_cv_prog_compiler_c_o_RC \
22734 export_dynamic_flag_spec_RC \
22735 whole_archive_flag_spec_RC \
22736 compiler_needs_object_RC \
22738 allow_undefined_flag_RC \
22739 no_undefined_flag_RC \
22740 hardcode_libdir_flag_spec_RC \
22741 hardcode_libdir_flag_spec_ld_RC \
22742 hardcode_libdir_separator_RC \
22743 exclude_expsyms_RC \
22744 include_expsyms_RC \
22745 file_list_spec_RC; do
22746 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22747 *[\\\\\\\`\\"\\\$]*)
22748 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22751 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22756 # Double-quote double-evaled strings.
22757 for var in reload_cmds \
22758 old_postinstall_cmds \
22759 old_postuninstall_cmds \
22761 extract_expsyms_cmds \
22762 old_archive_from_new_cmds \
22763 old_archive_from_expsyms_cmds \
22765 archive_expsym_cmds \
22767 module_expsym_cmds \
22768 export_symbols_cmds \
22772 postuninstall_cmds \
22774 sys_lib_search_path_spec \
22775 sys_lib_dlsearch_path_spec \
22777 old_archive_cmds_RC \
22778 old_archive_from_new_cmds_RC \
22779 old_archive_from_expsyms_cmds_RC \
22781 archive_expsym_cmds_RC \
22783 module_expsym_cmds_RC \
22784 export_symbols_cmds_RC \
22786 postlink_cmds_RC; do
22787 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22788 *[\\\\\\\`\\"\\\$]*)
22789 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22792 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22797 ac_aux_dir='$ac_aux_dir'
22798 xsi_shell='$xsi_shell'
22799 lt_shell_append='$lt_shell_append'
22801 # See if we are running on zsh, and set the options which allow our
22802 # commands through without removal of \ escapes INIT.
22803 if test -n "\${ZSH_VERSION+set}" ; then
22804 setopt NO_GLOB_SUBST
22810 TIMESTAMP='$TIMESTAMP'
22818 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22819 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22820 # from automake < 1.5.
22821 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22822 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22823 LINGUAS="${LINGUAS-%UNSET%}"
22828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22830 # Handling of arguments.
22831 for ac_config_target
in $ac_config_targets
22833 case $ac_config_target in
22834 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22835 "lib/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/config.h" ;;
22836 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22837 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22838 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22839 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22840 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
22841 "srclib/Makefile") CONFIG_FILES
="$CONFIG_FILES srclib/Makefile" ;;
22842 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
22843 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22844 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
22845 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
22846 "include/iconv.h") CONFIG_FILES
="$CONFIG_FILES include/iconv.h:include/iconv.h.build.in" ;;
22847 "include/iconv.h.inst") CONFIG_FILES
="$CONFIG_FILES include/iconv.h.inst:include/iconv.h.in" ;;
22849 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22854 # If the user did not use the arguments to specify the items to instantiate,
22855 # then the envvar interface is used. Set only those that are not.
22856 # We use the long form for the default assignment because of an extremely
22857 # bizarre bug on SunOS 4.1.3.
22858 if $ac_need_defaults; then
22859 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22860 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22861 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22864 # Have a temporary directory for convenience. Make it in the build tree
22865 # simply because there is no reason against having it here, and in addition,
22866 # creating and moving files from /tmp can sometimes cause problems.
22867 # Hook for its removal unless debugging.
22868 # Note that there is a small window in which the directory will not be cleaned:
22869 # after its creation but before its name has been assigned to `$tmp'.
22873 trap 'exit_status=$?
22874 : "${ac_tmp:=$tmp}"
22875 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22877 trap 'as_fn_exit 1' 1 2 13 15
22879 # Create a (secure) tmp directory for tmp files.
22882 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22886 tmp
=.
/conf$$
-$RANDOM
22887 (umask 077 && mkdir
"$tmp")
22888 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22891 # Set up the scripts for CONFIG_FILES section.
22892 # No need to generate them if there are no CONFIG_FILES.
22893 # This happens for instance with `./config.status config.h'.
22894 if test -n "$CONFIG_FILES"; then
22897 ac_cr
=`echo X | tr X '\015'`
22898 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22899 # But we know of no other shell where ac_cr would be empty at this
22900 # point, so we can use a bashism as a fallback.
22901 if test "x$ac_cr" = x
; then
22902 eval ac_cr
=\$
\'\\r
\'
22904 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22905 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22908 ac_cs_awk_cr
=$ac_cr
22911 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22916 echo "cat >conf$$subs.awk <<_ACEOF" &&
22917 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22919 } >conf$$subs.sh ||
22920 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22923 for ac_last_try in false false false false false :; do
22924 . ./conf$$subs.sh ||
22925 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22927 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22928 if test $ac_delim_n = $ac_delim_num; then
22930 elif $ac_last_try; then
22931 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22933 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22936 rm -f conf$$subs.sh
22938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22939 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22943 s/^/S["/; s
/!.
*/"]=/
22953 s/\(.\{148\}\)..*/\1/
22955 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22960 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22967 s/\(.\{148\}\)..*/\1/
22969 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22973 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22978 ' <conf$$subs.awk | sed '
22983 ' >>$CONFIG_STATUS || ac_write_fail=1
22984 rm -f conf$$subs.awk
22985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22987 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22988 for (key in S) S_is_set[key] = 1
22994 nfields = split(line, field, "@
")
22996 len = length(field[1])
22997 for (i = 2; i < nfields; i++) {
22999 keylen = length(key)
23000 if (S_is_set[key]) {
23002 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23003 len += length(value) + length(field[++i])
23014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23015 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23016 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23019 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23020 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23023 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23024 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23025 # trailing colons and then remove the whole line if VPATH becomes empty
23026 # (actually we leave an empty line to preserve line numbers).
23027 if test "x
$srcdir" = x.; then
23028 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23047 fi # test -n "$CONFIG_FILES"
23049 # Set up the scripts for CONFIG_HEADERS section.
23050 # No need to generate them if there are no CONFIG_HEADERS.
23051 # This happens for instance with `./config.status Makefile'.
23052 if test -n "$CONFIG_HEADERS"; then
23053 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23057 # Transform confdefs.h into an awk script `defines.awk', embedded as
23058 # here-document in config.status, that substitutes the proper values into
23059 # config.h.in to produce config.h.
23061 # Create a delimiter string that does not exist in confdefs.h, to ease
23062 # handling of long lines.
23064 for ac_last_try in false false :; do
23065 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23066 if test -z "$ac_tt"; then
23068 elif $ac_last_try; then
23069 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23071 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23075 # For the awk script, D is an array of macro values keyed by name,
23076 # likewise P contains macro parameters if any. Preserve backslash
23077 # newline sequences.
23079 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23081 s/.\{148\}/&'"$ac_delim"'/g
23084 s/^[ ]*#[ ]*define[ ][ ]*/ /
23091 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23093 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23098 D["\
1"]=" \
3\\\\\\n
"\\/p
23100 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23105 s/.\{148\}/&'"$ac_delim"'/g
23110 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23113 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23115 ' <confdefs.h | sed '
23116 s/'"$ac_delim"'/"\\\
23117 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23120 for (key in D) D_is_set[key] = 1
23123 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23125 split(line, arg, " ")
23126 if (arg[1] == "#") {
23130 defundef
= substr
(arg
[1], 2)
23133 split(mac1
, mac2
, "(") #)
23135 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23136 if (D_is_set
[macro
]) {
23137 # Preserve the white space surrounding the "#".
23138 print prefix
"define", macro P
[macro
] D
[macro
]
23141 # Replace #undef with comments. This is necessary, for example,
23142 # in the case of _POSIX_SOURCE, which is predefined and required
23143 # on some systems where configure will not decide to define it.
23144 if (defundef
== "undef") {
23145 print
"/*", prefix defundef
, macro
, "*/"
23153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23154 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23155 fi # test -n "$CONFIG_HEADERS"
23158 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23163 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23165 case $ac_mode$ac_tag in
23167 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23168 :[FH
]-) ac_tag
=-:-;;
23169 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23186 -) ac_f
="$ac_tmp/stdin";;
23187 *) # Look for the file first in the build tree, then in the source tree
23188 # (if the path is not absolute). The absolute path cannot be DOS-style,
23189 # because $ac_f cannot contain `:'.
23193 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23195 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23197 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23198 as_fn_append ac_file_inputs
" '$ac_f'"
23201 # Let's still pretend it is `configure' which instantiates (i.e., don't
23202 # use $as_me), people would be surprised to read:
23203 # /* config.h. Generated by config.status. */
23204 configure_input
='Generated from '`
23205 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23207 if test x
"$ac_file" != x-
; then
23208 configure_input
="$ac_file. $configure_input"
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23210 $as_echo "$as_me: creating $ac_file" >&6;}
23212 # Neutralize special characters interpreted by sed in replacement strings.
23213 case $configure_input in #(
23214 *\
&* |
*\|
* |
*\\* )
23215 ac_sed_conf_input
=`$as_echo "$configure_input" |
23216 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23217 *) ac_sed_conf_input
=$configure_input;;
23221 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23222 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23227 ac_dir
=`$as_dirname -- "$ac_file" ||
23228 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23229 X"$ac_file" : 'X\(//\)[^/]' \| \
23230 X"$ac_file" : 'X\(//\)$' \| \
23231 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23232 $as_echo X"$ac_file" |
23233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23237 /^X\(\/\/\)[^/].*/{
23250 as_dir
="$ac_dir"; as_fn_mkdir_p
23254 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23256 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23257 # A ".." for each directory in $ac_dir_suffix.
23258 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23259 case $ac_top_builddir_sub in
23260 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23261 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23264 ac_abs_top_builddir
=$ac_pwd
23265 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23266 # for backward compatibility:
23267 ac_top_builddir
=$ac_top_build_prefix
23270 .
) # We are building in place.
23272 ac_top_srcdir
=$ac_top_builddir_sub
23273 ac_abs_top_srcdir
=$ac_pwd ;;
23274 [\\/]* | ?
:[\\/]* ) # Absolute name.
23275 ac_srcdir
=$srcdir$ac_dir_suffix;
23276 ac_top_srcdir
=$srcdir
23277 ac_abs_top_srcdir
=$srcdir ;;
23278 *) # Relative name.
23279 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23280 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23281 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23283 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23293 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23294 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23296 ac_MKDIR_P
=$MKDIR_P
23298 [\\/$
]* | ?
:[\\/]* ) ;;
23299 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23304 # If the template does not know about datarootdir, expand it.
23305 # FIXME: This hack should be removed a few years after 2.60.
23306 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23317 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23318 *datarootdir
*) ac_datarootdir_seen
=yes;;
23319 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23321 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23324 ac_datarootdir_hack='
23325 s&@datadir@&$datadir&g
23326 s&@docdir@&$docdir&g
23327 s&@infodir@&$infodir&g
23328 s&@localedir@&$localedir&g
23329 s&@mandir@&$mandir&g
23330 s&\\\${datarootdir}&$datarootdir&g' ;;
23334 # Neutralize VPATH when `$srcdir' = `.'.
23335 # Shell code in configure.ac might set extrasub.
23336 # FIXME: do we really want to maintain this feature?
23337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23338 ac_sed_extra="$ac_vpsub
23341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23343 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23344 s|@configure_input@|
$ac_sed_conf_input|
;t t
23345 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23346 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23347 s
&@srcdir@
&$ac_srcdir&;t t
23348 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23349 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23350 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23351 s
&@builddir@
&$ac_builddir&;t t
23352 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23353 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23354 s
&@INSTALL@
&$ac_INSTALL&;t t
23355 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23356 $ac_datarootdir_hack
23358 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23359 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23361 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23362 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23363 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23364 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23366 which seems to be undefined. Please make sure it is defined" >&5
23367 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23368 which seems to be undefined. Please make sure it is defined" >&2;}
23370 rm -f "$ac_tmp/stdin"
23372 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23373 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23375 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23381 if test x"$ac_file" != x-; then
23383 $as_echo "/* $configure_input */" \
23384 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23385 } >"$ac_tmp/config.h" \
23386 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23387 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23389 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23392 mv "$ac_tmp/config.h" "$ac_file" \
23393 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23396 $as_echo "/* $configure_input */" \
23397 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23398 || as_fn_error $? "could not create -" "$LINENO" 5
23400 # Compute "$ac_file"'s index
in $config_headers.
23403 for _am_header
in $config_headers :; do
23404 case $_am_header in
23405 $_am_arg |
$_am_arg:* )
23408 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23411 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23412 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23413 X"$_am_arg" : 'X\(//\)[^/]' \| \
23414 X"$_am_arg" : 'X\(//\)$' \| \
23415 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23416 $as_echo X"$_am_arg" |
23417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23421 /^X\(\/\/\)[^/].*/{
23433 s/.*/./; q'`/stamp-h
$_am_stamp_count
23436 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23437 $as_echo "$as_me: executing $ac_file commands" >&6;}
23442 case $ac_file$ac_mode in
23443 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23444 # Autoconf 2.62 quotes --file arguments for eval, but not when files
23445 # are listed without --file. Let's play safe and only enable the eval
23446 # if we detect the quoting.
23447 case $CONFIG_FILES in
23448 *\'*) eval set x
"$CONFIG_FILES" ;;
23449 *) set x
$CONFIG_FILES ;;
23454 # Strip MF so we end up with the name of the file.
23455 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23456 # Check whether this is an Automake generated Makefile or not.
23457 # We used to match only the files named `Makefile.in', but
23458 # some people rename them; so instead we look at the file content.
23459 # Grep'ing the first line is not enough: some people post-process
23460 # each Makefile.in and add a new line on top of each file to say so.
23461 # Grep'ing the whole file is not good either: AIX grep has a line
23462 # limit of 2048, but all sed's we know have understand at least 4000.
23463 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23464 dirpart
=`$as_dirname -- "$mf" ||
23465 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23466 X"$mf" : 'X\(//\)[^/]' \| \
23467 X"$mf" : 'X\(//\)$' \| \
23468 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23474 /^X\(\/\/\)[^/].*/{
23490 # Extract the definition of DEPDIR, am__include, and am__quote
23491 # from the Makefile without running `make'.
23492 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23493 test -z "$DEPDIR" && continue
23494 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23495 test -z "am__include" && continue
23496 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23497 # When using ansi2knr, U may be empty or an underscore; expand it
23498 U
=`sed -n 's/^U = //p' < "$mf"`
23499 # Find all dependency output files, they are included files with
23500 # $(DEPDIR) in their names. We invoke sed twice because it is the
23501 # simplest approach to changing $(DEPDIR) to its actual value in the
23503 for file in `sed -n "
23504 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23505 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23506 # Make sure the directory exists.
23507 test -f "$dirpart/$file" && continue
23508 fdir
=`$as_dirname -- "$file" ||
23509 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23510 X"$file" : 'X\(//\)[^/]' \| \
23511 X"$file" : 'X\(//\)$' \| \
23512 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23513 $as_echo X"$file" |
23514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23518 /^X\(\/\/\)[^/].*/{
23531 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23532 # echo "creating $dirpart/$file"
23533 echo '# dummy' > "$dirpart/$file"
23540 # See if we are running on zsh, and set the options which allow our
23541 # commands through without removal of \ escapes.
23542 if test -n "${ZSH_VERSION+set}" ; then
23543 setopt NO_GLOB_SUBST
23546 cfgfile
="${ofile}T"
23547 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23550 cat <<_LT_EOF >> "$cfgfile"
23553 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23554 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23555 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23556 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23558 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23559 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
23561 # Written by Gordon Matzigkeit, 1996
23563 # This file is part of GNU Libtool.
23565 # GNU Libtool is free software; you can redistribute it and/or
23566 # modify it under the terms of the GNU General Public License as
23567 # published by the Free Software Foundation; either version 2 of
23568 # the License, or (at your option) any later version.
23570 # As a special exception to the GNU General Public License,
23571 # if you distribute this file as part of a program or library that
23572 # is built using GNU Libtool, you may include this file under the
23573 # same distribution terms that you use for the rest of that program.
23575 # GNU Libtool is distributed in the hope that it will be useful,
23576 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23577 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23578 # GNU General Public License for more details.
23580 # You should have received a copy of the GNU General Public License
23581 # along with GNU Libtool; see the file COPYING. If not, a copy
23582 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23583 # obtained by writing to the Free Software Foundation, Inc.,
23584 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23587 # The names of the tagged configurations supported by this script.
23588 available_tags="RC "
23590 # ### BEGIN LIBTOOL CONFIG
23592 # Which release of libtool.m4 was used?
23593 macro_version=$macro_version
23594 macro_revision=$macro_revision
23596 # Whether or not to build static libraries.
23597 build_old_libs=$enable_static
23599 # Assembler program.
23602 # DLL creation program.
23603 DLLTOOL=$lt_DLLTOOL
23605 # Object dumper program.
23606 OBJDUMP=$lt_OBJDUMP
23608 # Whether or not to build shared libraries.
23609 build_libtool_libs=$enable_shared
23611 # What type of objects to build.
23614 # Whether or not to optimize for fast installation.
23615 fast_install=$enable_fast_install
23617 # Shell to use when invoking shell scripts.
23620 # An echo program that protects backslashes.
23624 host_alias=$host_alias
23628 # The build system.
23629 build_alias=$build_alias
23633 # A sed program that does not truncate output.
23636 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23637 Xsed="\$SED -e 1s/^X//"
23639 # A grep program that handles long lines.
23645 # A literal string matcher.
23648 # A BSD- or MS-compatible name lister.
23651 # Whether we need soft or hard links.
23654 # What is the maximum length of a command?
23655 max_cmd_len=$max_cmd_len
23657 # Object file suffix (normally "o").
23660 # Executable file suffix (normally "").
23663 # whether the shell understands "unset".
23666 # turn spaces into newlines.
23669 # turn newlines into spaces.
23672 # convert \$build file names to \$host format.
23673 to_host_file_cmd=$lt_cv_to_host_file_cmd
23675 # convert \$build files to toolchain format.
23676 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23678 # Method to check whether dependent libraries are shared objects.
23679 deplibs_check_method=$lt_deplibs_check_method
23681 # Command to use when deplibs_check_method = "file_magic".
23682 file_magic_cmd=$lt_file_magic_cmd
23684 # How to find potential files when deplibs_check_method = "file_magic".
23685 file_magic_glob=$lt_file_magic_glob
23687 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23688 want_nocaseglob=$lt_want_nocaseglob
23690 # Command to associate shared and link libraries.
23691 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23696 # Flags to create an archive.
23697 AR_FLAGS=$lt_AR_FLAGS
23699 # How to feed a file listing to the archiver.
23700 archiver_list_spec=$lt_archiver_list_spec
23702 # A symbol stripping program.
23705 # Commands used to install an old-style archive.
23707 old_postinstall_cmds=$lt_old_postinstall_cmds
23708 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23710 # Whether to use a lock for old archive extraction.
23711 lock_old_archive_extraction=$lock_old_archive_extraction
23716 # LTCC compiler flags.
23717 LTCFLAGS=$lt_CFLAGS
23719 # Take the output of nm and produce a listing of raw symbols and C names.
23720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23722 # Transform the output of nm in a proper C declaration.
23723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23725 # Transform the output of nm in a C name address pair.
23726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23728 # Transform the output of nm in a C name address pair when lib prefix is needed.
23729 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23731 # Specify filename containing input files for \$NM.
23732 nm_file_list_spec=$lt_nm_file_list_spec
23734 # The root where to search for dependent libraries,and in which our libraries should be installed.
23735 lt_sysroot=$lt_sysroot
23737 # The name of the directory that contains temporary libtool files.
23740 # Used to examine libraries when file_magic_cmd begins with "file".
23741 MAGIC_CMD=$MAGIC_CMD
23743 # Must we lock files when doing compilation?
23744 need_locks=$lt_need_locks
23747 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23749 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23750 DSYMUTIL=$lt_DSYMUTIL
23752 # Tool to change global to local symbols on Mac OS X.
23755 # Tool to manipulate fat objects and archives on Mac OS X.
23758 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23761 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23762 OTOOL64=$lt_OTOOL64
23764 # Old archive suffix (normally "a").
23767 # Shared library suffix (normally ".so").
23768 shrext_cmds=$lt_shrext_cmds
23770 # The commands to extract the exported symbol list from a shared archive.
23771 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23773 # Variables whose values should be saved in libtool wrapper scripts and
23774 # restored at link time.
23775 variables_saved_for_relink=$lt_variables_saved_for_relink
23777 # Do we need the "lib" prefix for modules?
23778 need_lib_prefix=$need_lib_prefix
23780 # Do we need a version for libraries?
23781 need_version=$need_version
23783 # Library versioning type.
23784 version_type=$version_type
23786 # Shared library runtime path variable.
23787 runpath_var=$runpath_var
23789 # Shared library path variable.
23790 shlibpath_var=$shlibpath_var
23792 # Is shlibpath searched before the hard-coded library search path?
23793 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23795 # Format of library name prefix.
23796 libname_spec=$lt_libname_spec
23798 # List of archive names. First name is the real one, the rest are links.
23799 # The last name is the one that the linker finds with -lNAME
23800 library_names_spec=$lt_library_names_spec
23802 # The coded name of the library, if different from the real name.
23803 soname_spec=$lt_soname_spec
23805 # Permission mode override for installation of shared libraries.
23806 install_override_mode=$lt_install_override_mode
23808 # Command to use after installation of a shared archive.
23809 postinstall_cmds=$lt_postinstall_cmds
23811 # Command to use after uninstallation of a shared archive.
23812 postuninstall_cmds=$lt_postuninstall_cmds
23814 # Commands used to finish a libtool library installation in a directory.
23815 finish_cmds=$lt_finish_cmds
23817 # As "finish_cmds", except a single script fragment to be evaled but
23819 finish_eval=$lt_finish_eval
23821 # Whether we should hardcode library paths into libraries.
23822 hardcode_into_libs=$hardcode_into_libs
23824 # Compile-time system search path for libraries.
23825 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23827 # Run-time system search path for libraries.
23828 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23830 # Whether dlopen is supported.
23831 dlopen_support=$enable_dlopen
23833 # Whether dlopen of programs is supported.
23834 dlopen_self=$enable_dlopen_self
23836 # Whether dlopen of statically linked programs is supported.
23837 dlopen_self_static=$enable_dlopen_self_static
23839 # Commands to strip libraries.
23840 old_striplib=$lt_old_striplib
23841 striplib=$lt_striplib
23844 # The linker used to build libraries.
23847 # How to create reloadable object files.
23848 reload_flag=$lt_reload_flag
23849 reload_cmds=$lt_reload_cmds
23851 # Commands used to build an old-style archive.
23852 old_archive_cmds=$lt_old_archive_cmds
23854 # A language specific compiler.
23857 # Is the compiler the GNU compiler?
23860 # Compiler flag to turn off builtin functions.
23861 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23863 # Additional compiler flags for building library objects.
23864 pic_flag=$lt_lt_prog_compiler_pic
23866 # How to pass a linker flag through the compiler.
23867 wl=$lt_lt_prog_compiler_wl
23869 # Compiler flag to prevent dynamic linking.
23870 link_static_flag=$lt_lt_prog_compiler_static
23872 # Does compiler simultaneously support -c and -o options?
23873 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23875 # Whether or not to add -lc for building shared libraries.
23876 build_libtool_need_lc=$archive_cmds_need_lc
23878 # Whether or not to disallow shared libs when runtime libs are static.
23879 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23881 # Compiler flag to allow reflexive dlopens.
23882 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23884 # Compiler flag to generate shared objects directly from archives.
23885 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23887 # Whether the compiler copes with passing no objects directly.
23888 compiler_needs_object=$lt_compiler_needs_object
23890 # Create an old-style archive from a shared archive.
23891 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23893 # Create a temporary old-style archive to link instead of a shared archive.
23894 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23896 # Commands used to build a shared archive.
23897 archive_cmds=$lt_archive_cmds
23898 archive_expsym_cmds=$lt_archive_expsym_cmds
23900 # Commands used to build a loadable module if different from building
23901 # a shared archive.
23902 module_cmds=$lt_module_cmds
23903 module_expsym_cmds=$lt_module_expsym_cmds
23905 # Whether we are building with GNU ld or not.
23906 with_gnu_ld=$lt_with_gnu_ld
23908 # Flag that allows shared libraries with undefined symbols to be built.
23909 allow_undefined_flag=$lt_allow_undefined_flag
23911 # Flag that enforces no undefined symbols.
23912 no_undefined_flag=$lt_no_undefined_flag
23914 # Flag to hardcode \$libdir into a binary during linking.
23915 # This must work even if \$libdir does not exist
23916 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23918 # If ld is used when linking, flag to hardcode \$libdir into a binary
23919 # during linking. This must work even if \$libdir does not exist.
23920 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23922 # Whether we need a single "-rpath" flag with a separated argument.
23923 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23925 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23926 # DIR into the resulting binary.
23927 hardcode_direct=$hardcode_direct
23929 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23930 # DIR into the resulting binary and the resulting library dependency is
23931 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23932 # library is relocated.
23933 hardcode_direct_absolute=$hardcode_direct_absolute
23935 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23936 # into the resulting binary.
23937 hardcode_minus_L=$hardcode_minus_L
23939 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23940 # into the resulting binary.
23941 hardcode_shlibpath_var=$hardcode_shlibpath_var
23943 # Set to "yes" if building a shared library automatically hardcodes DIR
23944 # into the library and all subsequent libraries and executables linked
23946 hardcode_automatic=$hardcode_automatic
23948 # Set to yes if linker adds runtime paths of dependent libraries
23949 # to runtime path list.
23950 inherit_rpath=$inherit_rpath
23952 # Whether libtool must link a program against all its dependency libraries.
23953 link_all_deplibs=$link_all_deplibs
23955 # Set to "yes" if exported symbols are required.
23956 always_export_symbols=$always_export_symbols
23958 # The commands to list exported symbols.
23959 export_symbols_cmds=$lt_export_symbols_cmds
23961 # Symbols that should not be listed in the preloaded symbols.
23962 exclude_expsyms=$lt_exclude_expsyms
23964 # Symbols that must always be exported.
23965 include_expsyms=$lt_include_expsyms
23967 # Commands necessary for linking programs (against libraries) with templates.
23968 prelink_cmds=$lt_prelink_cmds
23970 # Commands necessary for finishing linking programs.
23971 postlink_cmds=$lt_postlink_cmds
23973 # Specify filename containing input files.
23974 file_list_spec=$lt_file_list_spec
23976 # How to hardcode a shared library path into an executable.
23977 hardcode_action=$hardcode_action
23979 # ### END LIBTOOL CONFIG
23985 cat <<\_LT_EOF
>> "$cfgfile"
23986 # AIX sometimes has problems with the GCC collect2 program. For some
23987 # reason, if we set the COLLECT_NAMES environment variable, the problems
23988 # vanish in a puff of smoke.
23989 if test "X${COLLECT_NAMES+set}" != Xset
; then
23991 export COLLECT_NAMES
23998 ltmain
="$ac_aux_dir/ltmain.sh"
24001 # We use sed instead of cat because bash on DJGPP gets confused if
24002 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24003 # text mode, it properly converts lines to CR/LF. This bash problem
24004 # is reportedly fixed, but why not run on old versions too?
24005 sed '$q' "$ltmain" >> "$cfgfile" \
24006 ||
(rm -f "$cfgfile"; exit 1)
24008 if test x
"$xsi_shell" = xyes
; then
24009 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24013 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24014 \ * ) func_dirname_result="${3}" ;;\
24016 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24017 && mv -f "$cfgfile.tmp" "$cfgfile" \
24018 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24019 test 0 -eq $? || _lt_function_replace_fail
=:
24022 sed -e '/^func_basename ()$/,/^} # func_basename /c\
24025 \ func_basename_result="${1##*/}"\
24026 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24027 && mv -f "$cfgfile.tmp" "$cfgfile" \
24028 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24029 test 0 -eq $? || _lt_function_replace_fail
=:
24032 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24033 func_dirname_and_basename ()\
24036 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24037 \ * ) func_dirname_result="${3}" ;;\
24039 \ func_basename_result="${1##*/}"\
24040 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24041 && mv -f "$cfgfile.tmp" "$cfgfile" \
24042 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24043 test 0 -eq $? || _lt_function_replace_fail
=:
24046 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24049 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24050 \ # positional parameters, so assign one to ordinary parameter first.\
24051 \ func_stripname_result=${3}\
24052 \ func_stripname_result=${func_stripname_result#"${1}"}\
24053 \ func_stripname_result=${func_stripname_result%"${2}"}\
24054 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24055 && mv -f "$cfgfile.tmp" "$cfgfile" \
24056 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24057 test 0 -eq $? || _lt_function_replace_fail
=:
24060 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24061 func_split_long_opt ()\
24063 \ func_split_long_opt_name=${1%%=*}\
24064 \ func_split_long_opt_arg=${1#*=}\
24065 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24066 && mv -f "$cfgfile.tmp" "$cfgfile" \
24067 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24068 test 0 -eq $? || _lt_function_replace_fail
=:
24071 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24072 func_split_short_opt ()\
24074 \ func_split_short_opt_arg=${1#??}\
24075 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24076 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24077 && mv -f "$cfgfile.tmp" "$cfgfile" \
24078 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24079 test 0 -eq $? || _lt_function_replace_fail
=:
24082 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24086 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24087 \ *) func_lo2o_result=${1} ;;\
24089 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24090 && mv -f "$cfgfile.tmp" "$cfgfile" \
24091 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24092 test 0 -eq $? || _lt_function_replace_fail
=:
24095 sed -e '/^func_xform ()$/,/^} # func_xform /c\
24098 func_xform_result=${1%.*}.lo\
24099 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24100 && mv -f "$cfgfile.tmp" "$cfgfile" \
24101 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24102 test 0 -eq $? || _lt_function_replace_fail
=:
24105 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24108 func_arith_result=$(( $* ))\
24109 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24110 && mv -f "$cfgfile.tmp" "$cfgfile" \
24111 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24112 test 0 -eq $? || _lt_function_replace_fail
=:
24115 sed -e '/^func_len ()$/,/^} # func_len /c\
24118 func_len_result=${#1}\
24119 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24120 && mv -f "$cfgfile.tmp" "$cfgfile" \
24121 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24122 test 0 -eq $? || _lt_function_replace_fail
=:
24126 if test x
"$lt_shell_append" = xyes
; then
24127 sed -e '/^func_append ()$/,/^} # func_append /c\
24130 eval "${1}+=\\${2}"\
24131 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24132 && mv -f "$cfgfile.tmp" "$cfgfile" \
24133 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24134 test 0 -eq $? || _lt_function_replace_fail
=:
24137 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24138 func_append_quoted ()\
24140 \ func_quote_for_eval "${2}"\
24141 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24142 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24143 && mv -f "$cfgfile.tmp" "$cfgfile" \
24144 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24145 test 0 -eq $? || _lt_function_replace_fail
=:
24148 # Save a `func_append' function call where possible by direct use of '+='
24149 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24150 && mv -f "$cfgfile.tmp" "$cfgfile" \
24151 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24152 test 0 -eq $? || _lt_function_replace_fail
=:
24154 # Save a `func_append' function call even when '+=' is not available
24155 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24156 && mv -f "$cfgfile.tmp" "$cfgfile" \
24157 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24158 test 0 -eq $? || _lt_function_replace_fail
=:
24161 if test x
"$_lt_function_replace_fail" = x
":"; then
24162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24163 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24167 mv -f "$cfgfile" "$ofile" ||
24168 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24172 cat <<_LT_EOF >> "$ofile"
24174 # ### BEGIN LIBTOOL TAG CONFIG: RC
24176 # The linker used to build libraries.
24179 # How to create reloadable object files.
24180 reload_flag=$lt_reload_flag_RC
24181 reload_cmds=$lt_reload_cmds_RC
24183 # Commands used to build an old-style archive.
24184 old_archive_cmds=$lt_old_archive_cmds_RC
24186 # A language specific compiler.
24189 # Is the compiler the GNU compiler?
24192 # Compiler flag to turn off builtin functions.
24193 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
24195 # Additional compiler flags for building library objects.
24196 pic_flag=$lt_lt_prog_compiler_pic_RC
24198 # How to pass a linker flag through the compiler.
24199 wl=$lt_lt_prog_compiler_wl_RC
24201 # Compiler flag to prevent dynamic linking.
24202 link_static_flag=$lt_lt_prog_compiler_static_RC
24204 # Does compiler simultaneously support -c and -o options?
24205 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
24207 # Whether or not to add -lc for building shared libraries.
24208 build_libtool_need_lc=$archive_cmds_need_lc_RC
24210 # Whether or not to disallow shared libs when runtime libs are static.
24211 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
24213 # Compiler flag to allow reflexive dlopens.
24214 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
24216 # Compiler flag to generate shared objects directly from archives.
24217 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
24219 # Whether the compiler copes with passing no objects directly.
24220 compiler_needs_object=$lt_compiler_needs_object_RC
24222 # Create an old-style archive from a shared archive.
24223 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
24225 # Create a temporary old-style archive to link instead of a shared archive.
24226 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
24228 # Commands used to build a shared archive.
24229 archive_cmds=$lt_archive_cmds_RC
24230 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
24232 # Commands used to build a loadable module if different from building
24233 # a shared archive.
24234 module_cmds=$lt_module_cmds_RC
24235 module_expsym_cmds=$lt_module_expsym_cmds_RC
24237 # Whether we are building with GNU ld or not.
24238 with_gnu_ld=$lt_with_gnu_ld_RC
24240 # Flag that allows shared libraries with undefined symbols to be built.
24241 allow_undefined_flag=$lt_allow_undefined_flag_RC
24243 # Flag that enforces no undefined symbols.
24244 no_undefined_flag=$lt_no_undefined_flag_RC
24246 # Flag to hardcode \$libdir into a binary during linking.
24247 # This must work even if \$libdir does not exist
24248 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
24250 # If ld is used when linking, flag to hardcode \$libdir into a binary
24251 # during linking. This must work even if \$libdir does not exist.
24252 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
24254 # Whether we need a single "-rpath" flag with a separated argument.
24255 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
24257 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24258 # DIR into the resulting binary.
24259 hardcode_direct=$hardcode_direct_RC
24261 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24262 # DIR into the resulting binary and the resulting library dependency is
24263 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24264 # library is relocated.
24265 hardcode_direct_absolute=$hardcode_direct_absolute_RC
24267 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24268 # into the resulting binary.
24269 hardcode_minus_L=$hardcode_minus_L_RC
24271 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24272 # into the resulting binary.
24273 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
24275 # Set to "yes" if building a shared library automatically hardcodes DIR
24276 # into the library and all subsequent libraries and executables linked
24278 hardcode_automatic=$hardcode_automatic_RC
24280 # Set to yes if linker adds runtime paths of dependent libraries
24281 # to runtime path list.
24282 inherit_rpath=$inherit_rpath_RC
24284 # Whether libtool must link a program against all its dependency libraries.
24285 link_all_deplibs=$link_all_deplibs_RC
24287 # Set to "yes" if exported symbols are required.
24288 always_export_symbols=$always_export_symbols_RC
24290 # The commands to list exported symbols.
24291 export_symbols_cmds=$lt_export_symbols_cmds_RC
24293 # Symbols that should not be listed in the preloaded symbols.
24294 exclude_expsyms=$lt_exclude_expsyms_RC
24296 # Symbols that must always be exported.
24297 include_expsyms=$lt_include_expsyms_RC
24299 # Commands necessary for linking programs (against libraries) with templates.
24300 prelink_cmds=$lt_prelink_cmds_RC
24302 # Commands necessary for finishing linking programs.
24303 postlink_cmds=$lt_postlink_cmds_RC
24305 # Specify filename containing input files.
24306 file_list_spec=$lt_file_list_spec_RC
24308 # How to hardcode a shared library path into an executable.
24309 hardcode_action=$hardcode_action_RC
24311 # ### END LIBTOOL TAG CONFIG: RC
24315 "po-directories":C
)
24316 for ac_file
in $CONFIG_FILES; do
24317 # Support "outfile[:infile[:infile...]]"
24319 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24321 # PO directories have a Makefile.in generated from Makefile.in.in.
24322 case "$ac_file" in */Makefile.
in)
24323 # Adjust a relative srcdir.
24324 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24325 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24326 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24327 # In autoconf-2.13 it is called $ac_given_srcdir.
24328 # In autoconf-2.50 it is called $srcdir.
24329 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24330 case "$ac_given_srcdir" in
24331 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24332 /*) top_srcdir
="$ac_given_srcdir" ;;
24333 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24335 # Treat a directory as a PO directory if and only if it has a
24336 # POTFILES.in file. This allows packages to have multiple PO
24337 # directories under different names or in different locations.
24338 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24339 rm -f "$ac_dir/POTFILES"
24340 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24341 gt_tab
=`printf '\t'`
24342 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24343 POMAKEFILEDEPS
="POTFILES.in"
24344 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24345 # on $ac_dir but don't depend on user-specified configuration
24347 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24348 # The LINGUAS file contains the set of available languages.
24349 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24350 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24352 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24353 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24354 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24355 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24357 # The set of available languages was given in configure.in.
24358 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24359 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24362 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24363 # Compute UPDATEPOFILES
24364 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24365 # Compute DUMMYPOFILES
24366 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24368 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24369 case "$ac_given_srcdir" in
24371 *) srcdirpre
='$(srcdir)/' ;;
24377 for lang
in $ALL_LINGUAS; do
24378 POFILES
="$POFILES $srcdirpre$lang.po"
24379 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24380 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24381 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24383 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24384 # environment variable.
24386 if test -n "$ALL_LINGUAS"; then
24387 for presentlang
in $ALL_LINGUAS; do
24389 if test "%UNSET%" != "$LINGUAS"; then
24390 desiredlanguages
="$LINGUAS"
24392 desiredlanguages
="$ALL_LINGUAS"
24394 for desiredlang
in $desiredlanguages; do
24395 # Use the presentlang catalog if desiredlang is
24396 # a. equal to presentlang, or
24397 # b. a variant of presentlang (because in this case,
24398 # presentlang can be used as a fallback for messages
24399 # which are not translated in the desiredlang catalog).
24400 case "$desiredlang" in
24401 "$presentlang"*) useit
=yes;;
24404 if test $useit = yes; then
24405 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24410 if test -n "$INST_LINGUAS"; then
24411 for lang
in $INST_LINGUAS; do
24412 CATALOGS
="$CATALOGS $lang.gmo"
24415 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24416 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"
24417 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24418 if test -f "$f"; then
24420 *.orig |
*.bak |
*~
) ;;
24421 *) cat "$f" >> "$ac_dir/Makefile" ;;
24436 ac_clean_files
=$ac_clean_files_save
24438 test $ac_write_fail = 0 ||
24439 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24442 # configure is writing to config.log, and then calls config.status.
24443 # config.status does its own redirection, appending to config.log.
24444 # Unfortunately, on DOS this fails, as config.log is still kept open
24445 # by configure, so config.status won't be able to write to it; its
24446 # output is simply discarded. So we exec the FD to /dev/null,
24447 # effectively closing config.log, so it can be properly (re)opened and
24448 # appended to by config.status. When coming back to configure, we
24449 # need to make the FD available again.
24450 if test "$no_create" != yes; then
24452 ac_config_status_args
=
24453 test "$silent" = yes &&
24454 ac_config_status_args
="$ac_config_status_args --quiet"
24456 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24458 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24459 # would make configure fail if this is the last instruction.
24460 $ac_cs_success || as_fn_exit
1
24464 # CONFIG_SUBDIRS section.
24466 if test "$no_recursion" != yes; then
24468 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
24469 # so they do not pile up.
24470 ac_sub_configure_args
=
24472 eval "set x $ac_configure_args"
24476 if test -n "$ac_prev"; then
24481 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
24482 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
24483 ac_prev
=cache_file
;;
24484 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
24485 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
24488 --config-cache |
-C)
24490 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
24492 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
24494 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
24496 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
24498 --disable-option-checking)
24502 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
24504 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
24508 # Always prepend --prefix to ensure using the same prefix
24509 # in subdir configurations.
24510 ac_arg
="--prefix=$prefix"
24512 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
24514 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
24517 if test "$silent" = yes; then
24518 ac_sub_configure_args
="--silent $ac_sub_configure_args"
24521 # Always prepend --disable-option-checking to silence warnings, since
24522 # different subdirs can have different --enable and --with options.
24523 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
24526 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
24528 # Do not complain, so a configure script can configure whichever
24529 # parts of a large source tree are present.
24530 test -d "$srcdir/$ac_dir" ||
continue
24532 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
24533 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
24534 $as_echo "$ac_msg" >&6
24535 as_dir
="$ac_dir"; as_fn_mkdir_p
24539 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24541 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24542 # A ".." for each directory in $ac_dir_suffix.
24543 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24544 case $ac_top_builddir_sub in
24545 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24546 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24549 ac_abs_top_builddir
=$ac_pwd
24550 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24551 # for backward compatibility:
24552 ac_top_builddir
=$ac_top_build_prefix
24555 .
) # We are building in place.
24557 ac_top_srcdir
=$ac_top_builddir_sub
24558 ac_abs_top_srcdir
=$ac_pwd ;;
24559 [\\/]* | ?
:[\\/]* ) # Absolute name.
24560 ac_srcdir
=$srcdir$ac_dir_suffix;
24561 ac_top_srcdir
=$srcdir
24562 ac_abs_top_srcdir
=$srcdir ;;
24563 *) # Relative name.
24564 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24565 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24566 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24568 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24573 # Check for guested configure; otherwise get Cygnus style configure.
24574 if test -f "$ac_srcdir/configure.gnu"; then
24575 ac_sub_configure
=$ac_srcdir/configure.gnu
24576 elif test -f "$ac_srcdir/configure"; then
24577 ac_sub_configure
=$ac_srcdir/configure
24578 elif test -f "$ac_srcdir/configure.in"; then
24579 # This should be Cygnus configure.
24580 ac_sub_configure
=$ac_aux_dir/configure
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
24583 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
24587 # The recursion is here.
24588 if test -n "$ac_sub_configure"; then
24589 # Make the cache file name correct relative to the subdirectory.
24590 case $cache_file in
24591 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
24592 *) # Relative name.
24593 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
24597 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
24598 # The eval makes quoting arguments work.
24599 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
24600 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
24601 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
24607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24609 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}